/* COMMON STYLES */
body {
  background-image: url("Background-gradient.png");
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
}

section {
  margin-top: 10svh;
  padding: 5rem 5rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: 5svh;
}


/* <><> TITLE SECTION <><> */
.title-section {
  display: flex;
  flex-direction: row;
  margin-top: 0;
  padding-top: 5rem;
  min-height: 80svh;
  padding-bottom: 20svh;
}

.title-profile {
  flex: 0.75;
}

.title-text {
  flex:1
}


.person {
  align-items: center;
  display: flex;
  flex-direction: column;
  width: 280px;
}
.container {
  border-radius: 50%;
  height: 312px;
  -webkit-tap-highlight-color: transparent;
  transform: scale(0.48);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 400px;
}
.container:after {
  background-color: #f2f2f2;
  content: "";
  height: 10px;
  position: absolute;
  top: 390px;
  width: 100%;
}
.container:hover {
  transform: scale(0.54);
}
.container-inner {
  clip-path: path(
    "M 390,400 C 390,504.9341 304.9341,590 200,590 95.065898,590 10,504.9341 10,400 V 10 H 200 390 Z"
  );
  position: relative;
  transform-origin: 50%;
  top: -200px;
}
.circle {
  background-color: #fee7d3;
  border-radius: 50%;
  cursor: pointer;
  height: 380px;
  left: 10px;
  pointer-events: none;
  position: absolute;
  top: 210px;
  width: 380px;
}
.img {
  pointer-events: none;
  position: relative;
  transform: translateY(20px) scale(1.5);
  transform-origin: 50% bottom;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);

  left: 22px;
  top: 320px;
  width: 340px;
}
.container:hover .img {
  transform: translateY(0) scale(1.8);
}
.divider {
  background-color: #ba2871;
  height: 1px;
  width: 160px;
}
.name {
  color: rgb(231, 206, 176);
  font-size: 36px;
  font-weight: 600;
  margin-top: 16px;
  text-align: center;
}
.role-title {
  color: rgb(211, 188, 159);
  font-size: 1.3rem;
  font-style: oblique 1deg;
  letter-spacing: 0.1rem;
  margin-top: 4px;
}

/* <><> Projects section <><> */
.card-1-column {
  background-color: rgba(95, 95, 95, 0.05);
  max-width: 80%;
  margin: 10svh auto;
  padding: 3rem 4rem;

  display: grid;
  grid-template-columns: 1fr;
  gap: 8%;

  border-radius: 2rem;
  box-shadow: 0 0.5rem 0.4rem rgba(0, 0, 0, 0.03);
  
  column-gap: 4rem;
  row-gap: 3rem;
}
.card-2-column {
  background-color: rgba(95, 95, 95, 0.05);
  max-width: 80%;
  margin: 10svh auto;
  padding: 3rem 4rem;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8%;

  border-radius: 2rem;
  box-shadow: 0 0.5rem 0.4rem rgba(0, 0, 0, 0.03);
  
  column-gap: 4rem;
  row-gap: 3rem;
}



.projects-title {
  grid-column: 1/-1;
  grid-row: 1/2;
  text-align: center;
  
  padding: 0 1rem 0.8rem;
  border-bottom: 2px solid #ba2871;
  width: fit-content;
  margin: 0 auto;
  
  width: 100%;
}

.projects-card {
  padding: 2rem 1rem;
  padding-top: 2.5rem;
  background-color: rgba(42, 42, 42, 0.25);

  border-radius: 1rem;
  box-shadow: 0 1rem 0.8rem rgba(0, 0, 0, 0.075);

  transition: all ease-in-out 0.4s;
  position: relative;
  overflow: hidden;
}

/* HELPER CLASS */
.projects-card--fullwidth{
  grid-column: 1/-1;
}


.projects-card:hover {
  transform: scale(1.1);
  background-color: rgba(67, 67, 67, 0.25);
  box-shadow: 0 1rem 0.8rem rgba(0, 0, 0, 0.15);
  cursor: pointer;
  border: 1px solid #ba2871;
  
}

.promotion {
  width: 100%;
  position: absolute;
  background-color: rgb(255, 255, 0);
  padding: 0.2rem 4rem;
  
  font-size: 0.75rem;
  font-weight: bold;
  top: 0%;
  left: 0%;
  text-align: center;
  
  color: black;
  opacity: 0.75;
}

.promo-wip {
  background-color: #e43131;
  opacity: 0.5;
}

.promo-opensrc {
  background-color: #008600;
  opacity: 0.5;
}


.projects-card h3 {
  margin-bottom: 2rem;
}

.projects-card ul {
  margin-left: 1rem;
}

/* <><> ENQUIRE SECTION <><> */
.enquire-section {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.enquire-section h3 {
  grid-column: 1/-1;
  text-align: center;
}
.enquiry-p{
  width: 100%;
  border-bottom:2px solid #ba2871;
  font-size: 1.2rem;
  padding: 0 0 0.2rem 0.5rem;
  color:#faebd7;
}

#enquiry-form {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

#enquiry-form input,
#enquiry-form textarea {
  min-height: none;
  font-size: 1.5rem;
  background-color: rgba(34, 34, 34, 0.5);
  border-radius: 0.4rem;

  border: none;
  padding: 0.5rem;
  color: #afa597;
  
  padding: 1rem
}

#enquiry-container {
  position: relative;
}

#enquiry-form textarea {
  padding-top: 1rem;
  width: 100%;
  min-height: 25svh;
  max-height: 50svh;
  resize: vertical;
}

#charcount-div {
  position: absolute;
  top: 0;
  right: 2%;
  opacity: 50%;
}

#submitBtn {
  font-size: 1.2rem;
}

.text-section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: start;
  min-height: 100%;
  font-size: 1.5rem;
}

.socials-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  padding-top: 7.5rem;
}


.socials-icon {
  max-width: 100%;
  width: 7rem;
}


/* ####################################
ANIMATIONS:
 - All css fade and reveal animations for 
#################################### */

.reveal {
  transform: translate(0, 10svh);
  opacity: 0;
  transition: 0.4s all ease;
}

.active {
  transform: translate(0, 0);
  opacity: 1;
}