/* - INDIVIDUAL DESIGNER PAGE STYLING - */

body {
  font-family: "Inter", Arial, sans-serif;
}

/* CONTAINERS */
.individual-designer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 100%;
  width: 100%;
  align-items: center;
  gap: 6rem;
  margin: 2rem 0rem 5rem;
  justify-items: center;
}

/* For tablet-sized screens */
@media only screen and (max-width: 1380px) {
  .individual-designer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
      "first first first"
      "second second second"
      "third third third";
    justify-content: center; 
    align-items: center; 
    gap: 1rem;
    margin: 2rem 0rem 5rem;
  }

  .portfolio-section-container {
    margin-top: 9rem;
    grid-area: second; 
  }
}
.profile-section-container {
  display: flex;
  max-width: 27rem;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  align-content: center;
}

/* BUTTONS */
/* Button Styling: Back Button */
.back_button {
  transition: 0.28s ease-in-out;
  display: inline-flex;
  text-decoration: none;
  color: #000;
  align-items: center;
  justify-content: center;
  margin-top: 2.4rem;
  margin-left: 6rem;
  padding: 8px 35px 8px 15px;
  border: 1px solid #000;
  border-radius: 30px 30px;
  cursor: pointer;

  &:active {
    transition: 0.1s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2.4rem;
    margin-left: 6rem;
    padding: 8px 35px 8px 15px;
    border: 1px solid #000;
    border-radius: 30px 30px;
    cursor: pointer;
    transform: scale(0.6);
  }
  &:hover {
    background-color: #bfcf5c;
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 35px 8px 15px;
    border: 1px solid #000;
    border-radius: 30px 30px;
    cursor: pointer;
  }
}
.back_button_text {
  background: transparent;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 600;
  margin-left: 25px;
}
/* Button Styling: Arrow Buttons */
.arrow_button_large {
  background: transparent;
  width: 35px;
}
.left-arrow-button-medium {
  display: inline-block;
  width: 3.5rem;
  height: 3.5rem;
  background: url("../assets/SVG/elements/arrows/left-arrow.svg") no-repeat
    center;
  background-size: contain;
  transition: background 0.3s ease-in-out; /* Transition all background properties */

  &:hover {
    background-image: url("../assets/SVG/elements/arrows/red-left-arrow.svg");
  }
}
.right-arrow-button-medium {
  display: inline-block;
  width: 3.5rem;
  height: 3.5rem;
  background: url("../assets/SVG/elements/arrows/right-arrow.svg") no-repeat
    center;
  background-size: contain;
  transition: background 0.3s ease-in-out; /* Transition all background properties */

  &:hover {
    background-image: url("../assets/SVG/elements/arrows/red-right-arrow.svg");
  }
}
.arrow_button_small {
  width: 15px;
  background: transparent;
}
.arrow-portfolio-gallery-button {
  width: 2.5rem;
  background-color: transparent;
  border: none;
  appearance: none;
  &:active {
    transition: 0.1s ease-in-out;
    padding: 8px 35px 8px 15px;
    border-radius: 30px 30px;
    cursor: pointer;
    transform: scale(0.6);
  }
  &:hover {
    transition: 0.1s ease-in-out;
    width: 2.5rem;
    background-color: transparent;
    appearance: none;
    transform: scale(1.2);
    cursor: pointer;
  }
}

/* SOCIAL MEDIA ICONS STYLING */
.designer-social-media-icon-links {
  display: flex;
  width: 2.2rem;
  margin-left: 1.3rem;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
}
.designer-social-media-icon {
  transition: all 0.1s ease-in-out;
  &:hover {
    transform: scale(1.3);
  }
}

/* DESIGNER PROFILE IMAGE STYLING */
.designer-profile-image-container {
  position: relative;
  width: 20rem;
  height: auto;
}
.designer-profile-image,
.shadow-svg {
  position: absolute;
}
.designer-profile-image {
  filter: grayscale(85%);
  transition: all 0.2s ease-in-out;
  z-index: 2;
  left: 22px;
  max-width: 100%;
  aspect-ratio: 3/3;
  vertical-align: middle;
  clip-path: url(#clip-designer-frame-container);
  &:hover {
    filter: none;
  }
}
.shadow-svg {
  max-width: 100%;
  width: 98%;
  z-index: 1;
  top: 0px;
  left: 1px;
}

/* DESIGNER PROFILE DESCRIPTION STYLING */
.designer-profile-details-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Designer Profile Heading */
.designer-profile-heading {
  text-align: center;
}
/* Designer Name */
.designer-profile-name {
  color: #d51c34;
  font-family: "Inter", sans-serif;
  font-size: 2.3rem;
  font-style: italic;
  font-weight: 700;
}
/* Designer Title */
.designer-profile-title {
  color: #000;
  font-family: "Inter", sans-serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.7rem;
}
/* Designer Statement Container*/
.designer-statement-container {
  max-width: 100%;
  min-width: 83%;
  position: relative;
}
.designer-statement-frame {
  width: 350px;
  margin-top: 15px;
}
.designer-statement-frame-shadow {
  position: absolute;
  top: 2px;
  left: -5px;
  z-index: 1;
  width: 103%;
  margin-top: 15px;
}
.designer-statement-text-container {
  position: absolute;
  max-width: 100%;
  max-height: 262px;
  height: 100%;
  width: 85%;
  padding: 10px 20px 17px;
  background: transparent;
  border-width: 1px 1px 0 0;
  border-style: solid;
  border-color: black;
  border-top-right-radius: 5%;
  box-sizing: content-box;
  overflow-y: scroll;
  scrollbar-color: #939b21 #000;
  scrollbar-width: thin;
  top: 17px;
  right: -5px;
  z-index: 2;
  clip-path: url(#clip-designer-statement);
}
.designer-statement {
  color: black;
  background: transparent;
  font-size: 1rem;
}

/* DESIGNER PORTFOLIO SECTION STYLING */
/* Portfolio Section Container */

/* Portfolio Gallery Frame */
.portfolio-gallery-frame {
  width: 614px;
  height: 411px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  gap: 7px;
  background-color: black;
  border-radius: 0 4em 0 4em;
}

.slideshowIMG {
  width: 462px;
  height: 401px;
}

/*SLIDESHOW STYLES*/

/* Slideshow container */
.slideshow-container {
  max-width: 462px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* Portfolio Gallery Big Image Frame */
.portfolio-gallery-big-image-frame {
  position: absolute;
  max-width: 10rem;
  max-height: 10rem;
  width: 100%;
  height: auto;
  overflow: hidden;
}
/* Portfolio Gallery Big Image Frame */
.portfolio-gallery-big-image {
  top: 0.1rem;
  position: absolute;
  width: 80%;
  height: 57.9%;
  overflow: hidden;
}
/* Small Image Gallery Container */
.small-portfolio-image-container {
  width: 100%;
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  gap: 7px;
}
/* Small Portfolio Image */
.small-portfolio-image {
  max-width: 10rem;
  max-height: 10rem;
  width: 100%;
  border-top-right-radius: 30px;
  border-bottom-left-radius: 30px;
  overflow: hidden;
}
.small-portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* UTILITY CLASSES */
.flex_row {
  display: flex;
  flex-direction: row;
}

.flex_column {
  display: flex;
  flex-direction: column;
}

.mob-arrows {
  display: none;
}

/*Mobile Layout*/

@media only screen and (max-width: 430px) {
  /*Indiv. Designer page*/
  .individual-designer-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
  }
  .reg-pre,
  .reg-nex {
    display: none;
  }
  .mob-arrows {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 300px;
  }
  .portfolio-gallery-frame {
    width: 378px;
    height: 253px;
  }
  .slideshowIMG {
    width: 284px;
    height: 247px;
  }
  .small-portfolio-image {
    max-width: 6rem;
    max-height: 6rem;
  }
  .arrow-portfolio-gallery-button {
    width: 20px;
    height: 35px;
  }
  .back_button {
    margin-top: 15px;
    margin-left: 10px;
    padding: 8px 35px 8px 15px;
  }
  .back_button_text {
    font-size: 1rem;
  }
  .arrow_button_small {
    width: 10px;
  }
  .designer-statement {
    font-size: 1rem;
  }
  .designer-statement-container {
    width: 90%;
  }
  .designer-statement-text-container {
    max-height: 200px;
  }
  .designer-profile-name {
    font-size: 2rem;
  }
  .designer-profile-title {
    font-size: 1.2rem;
  }
  /*.designer-profile-details-container {
    display: flex;
    flex-direction: column;
    align-items: center;*/
}
