html {
  box-sizing: border-box;
}

*, ::before, ::after {
  box-sizing: inherit;
}

body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-size: 1rem;
  line-height: 1.45;
  color: #333333;
  margin: 0;
}

.page-wrapper {
  margin: 0 auto;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: "Fraunces", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  line-height: 1.2;
  color: #800080;
}

h1 {
  font-size: clamp(1.875rem, 2vw + 1rem, 3.125rem);
  margin: 0;
}

h2 {
  font-size: clamp(1.5rem, 1.6vw + 0.9rem, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 1.3vw + 0.8rem, 2rem);
}

h4 {
  font-size: clamp(1.125rem, 1vw + 0.7rem, 1.75rem);
}

h5 {
  font-size: clamp(1rem, 0.8vw + 0.6rem, 1.5rem);
}

h6 {
  font-size: clamp(0.875rem, 0.6vw + 0.5rem, 1.25rem);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #800080;
  z-index: 999;
}
.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 70rem;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
}
.header__logo-link {
  font-family: "Fraunces", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  color: white;
  text-decoration: none;
  font-size: clamp(0.875rem, 1rem + 1vw, 1.25rem);
  display: inline-block;
}
.header__logo-title {
  margin: 0;
}
.header__animated {
  border-right: 2px solid white;
  animation: cursor 0.75s step-end infinite;
}
@media screen and (max-width: 21.875rem) {
  .header__animated {
    display: none;
  }
}
.header__animated.typing-complete {
  animation: none;
  border-right: none;
}

@keyframes cursor {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: white;
  }
}
.header__nav-list {
  display: flex;
  margin: 0;
  padding: 0;
}
.header__nav-item {
  list-style-type: none;
}
.header__nav-link {
  display: inline-block;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  transition: background-color 0.2s ease, outline 0.2s ease;
}
.header__nav-link:hover {
  background-color: rgb(146, 6, 146);
}
.header__nav-link:focus-visible {
  outline: 3px solid #FFAA00;
  outline-offset: 2px;
  background-color: rgb(146, 6, 146);
  font-weight: 600;
}
.header__nav-link:active {
  background-color: rgb(110, 0, 110);
  font-weight: 600;
}
.header__nav-link_cta {
  background-color: white;
  color: #800080;
}
.header__nav-link_cta:hover, .header__nav-link_cta:focus-visible, .header__nav-link_cta:active {
  background-color: #f5f5f5;
  opacity: 0.9;
  outline: 3px solid #FFAA00;
  outline-offset: 2px;
}

.header__menu-toggle {
  display: none;
}

@media screen and (max-width: 59.375rem) {
  .header__menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 0.25rem;
    gap: 0.5rem;
    z-index: 1000;
  }
  .header__hamburger-line, .header__hamburger-line::before, .header__hamburger-line::after {
    content: "";
    display: block;
    width: 1.5rem;
    height: 3px;
    border-radius: 2px;
    background-color: white;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .header__hamburger-line {
    position: relative;
  }
  .header__hamburger-line::before, .header__hamburger-line::after {
    position: absolute;
    left: 0;
  }
  .header__hamburger-line::before {
    top: -0.5rem;
  }
  .header__hamburger-line::after {
    top: 0.5rem;
  }
  .header__menu-text {
    color: white;
    text-transform: uppercase;
  }
}
@media screen and (max-width: 59.375rem) and (max-width: 26.25rem) {
  .header__menu-text {
    display: none;
  }
}
@media screen and (max-width: 59.375rem) {
  .header__menu-toggle.is-active .header__hamburger-line {
    transform: rotate(45deg);
    background-color: #800080;
  }
  .header__menu-toggle.is-active .header__hamburger-line::before {
    transform: rotate(-90deg) translateX(-0.5rem);
    background-color: #800080;
  }
  .header__menu-toggle.is-active .header__hamburger-line::after {
    opacity: 0;
  }
  .header__menu-toggle.is-active .header__menu-text {
    color: #800080;
  }
  .header__nav-list {
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 40%;
    height: 100vh;
    background-color: white;
    padding: 5rem 1rem 2rem 0;
    margin: 0;
    box-shadow: -4px 0 0.6em rgba(0, 0, 0, 0.2);
    transform: translateX(0);
    transition: transform 0.3s ease;
    transition: right 0.3s ease;
    z-index: 999;
  }
}
@media screen and (max-width: 59.375rem) and (min-width: 31.25rem) {
  .header__nav-list {
    width: 20%;
  }
}
@media screen and (max-width: 59.375rem) {
  .header__nav-list--visible {
    right: 0;
  }
  .header__nav-item {
    padding-left: 1rem;
    margin-bottom: 0.5rem;
  }
  .header__nav-link {
    color: #800080;
  }
  .header__nav-link:focus {
    font-weight: 600;
  }
  .header__nav-link:hover, .header__nav-link:active {
    background-color: #f5e7f9;
  }
  .header__nav-link_cta {
    background-color: #800080;
    color: white;
  }
  .header__nav-link_cta:hover, .header__nav-link_cta:focus-visible, .header__nav-link_cta:active {
    background-color: rgb(146, 6, 146);
    color: white;
    opacity: 0.9;
    outline: 3px solid #FFAA00;
    outline-offset: 2px;
  }
}
.active {
  font-weight: 600;
}

.no-scroll {
  overflow: hidden;
}

/* Screen reader only class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer {
  background-color: #800080;
  color: white;
  font-size: 0.875rem;
}
.footer__container {
  max-width: 70rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.footer__heading {
  color: white;
  margin-bottom: 0;
  margin-top: 0;
  font-size: clamp(1.125rem, 1vw + 0.7rem, 1.4rem);
}
.footer__subheading {
  color: white;
  margin-bottom: 0;
  margin-top: 0.3rem;
  font-size: clamp(1rem, 0.8vw + 0.6rem, 1.5rem);
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 0.875rem;
}
.footer__text {
  margin: 0;
}
.footer__section {
  margin-bottom: 2rem;
}
.footer__tagline {
  text-transform: uppercase;
  margin: 0.3rem 0 0 0;
}
.footer__contact-link {
  color: white;
  text-decoration: none;
  font-style: normal;
}
.footer__address {
  font-style: normal;
}
.footer__social-icon {
  font-size: 1.875rem;
  color: white;
}
.footer__social-link {
  text-decoration: none;
  display: inline-block;
  margin-right: 0.1rem;
  transition: transform 0.2s ease;
}
.footer__social-link:hover {
  transform: translateY(-2px);
}
.footer__social-link:focus-visible {
  outline: 2px solid #007acc;
  outline-offset: 2px;
}
.footer__social-links {
  margin-top: 0.5rem;
}
.footer__section_info {
  margin-bottom: 0;
}

@media screen and (min-width: 38.75rem) {
  .footer__container {
    display: grid;
    gap: 1.25rem;
    grid-template-areas: "about contact" "info social";
  }
  .footer__section_about {
    grid-area: about;
  }
  .footer__section_contact {
    grid-area: contact;
  }
  .footer__section_social {
    grid-area: social;
  }
  .footer__section_info {
    grid-area: info;
  }
}
@media screen and (min-width: 53.75rem) {
  .footer__container {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: "about contact social" "info info info";
  }
  .footer__section_about {
    grid-area: about;
  }
  .footer__section_contact {
    grid-area: contact;
  }
  .footer__section_social {
    grid-area: social;
  }
  .footer__section_info {
    grid-area: info;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-columns: 1fr, 2fr;
  }
  .footer__copyright {
    grid-column: 1/2;
  }
  .footer__credit {
    grid-column: 2/4;
  }
}
/* hero */
.hero__container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 70rem;
  max-height: -moz-fit-content;
  max-height: fit-content;
  margin: 0 auto;
  padding-bottom: 1rem;
  background-color: #f5e7f9;
}

.hero__text-container {
  flex: 1;
  margin-left: 1.25rem;
}

.hero__image-container {
  flex: 1;
  position: relative;
}

.hero__image {
  max-width: 100%;
  max-height: auto;
  clip-path: circle(50% at 61% 50%);
}

.hero__heading {
  padding-top: 4rem;
}

.hero__button-cta {
  background-color: #C71585;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0.6rem 2rem;
  border-radius: 1.25rem;
  margin-top: 2rem;
}

.hero__link {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  font-family: "Fraunces", serif;
}

@media screen and (min-width: 53.75rem) {
  .hero__container {
    flex-direction: row;
  }
}
/* portfolio */
.portfolio__container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 70rem;
  max-height: -moz-fit-content;
  max-height: fit-content;
  margin: 1.25rem auto;
}

.portfolio__text-container {
  margin-left: 1.25rem;
  text-align: center;
}

/* .portfolio__slider {
    max-width: 100%;
    position: relative;
    margin: auto 1.25rem;
    border: 5px solid purple;
    margin-bottom: 2rem;
}

.portfolio__slide {
    display: none;
    position: relative;
    width: 100%;
    height: 300px; 
    overflow: hidden;
}

.portfolio__slider-prev,
.portfolio__slider-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.portfolio__slider-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.portfolio__slider-prev:hover,
.portfolio__slider-next:hover  {
    background-color: rgba(0,0,0,0.8);
}

.portfolio__slide-text {
    color: white;
    padding: 0.5em 1em;
    position: absolute;
    bottom: 0.5em;
    width: 100%;
    text-align: center;
}

.portfolio__slide-img {
    width: 100%;
    height:min-content;
    object-fit: contain; 
    object-position: center;
}

.portfolio__slider-dots {
    text-align: center;
}

.portfolio__slider-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.portfolio__slider-dot:hover {
    background-color: #717171;
}

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

@keyframes fade {
    from {opacity: .4}
    to { opacity: 1}
} */
.portfolio__gallery {
  display: grid;
  grid-template-columns: 1fr;
}

@media screen and (min-width: 50rem) {
  .portfolio__gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}
.portfolio__figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  margin: 0;
  z-index: 1;
}

.portfolio__image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.portfolio__caption {
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  background: rgba(255, 255, 255, 0.9);
  width: 90%;
  height: 90%;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio__text {
  margin: 0;
}

.portfolio__description {
  text-transform: uppercase;
}

.portfolio__figure:hover .portfolio__caption {
  transform: translateY(-5%);
}

.portfolio__figure:hover .portfolio__image {
  transform: scale(1.2);
}

@media screen and (min-width: 62.5rem) {
  .portfolio__gallery {
    grid-template-columns: repeat(auto-fill, minmax(18.75rem, 1fr));
  }
}
/* animation image*/
.hero__image-container {
  overflow: hidden;
}

.hero__image {
  animation: moveImage 1.5s ease-in-out 1s forwards;
  opacity: 0;
}

@keyframes moveImage {
  0% {
    transform: translate(500px, 0);
  }
  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}
/* animation text */
.hero__text-container {
  overflow: hidden;
}

.hero__heading,
.hero__text,
.hero__button-cta {
  animation: moveText 1s ease-in-out forwards;
}

@keyframes moveText {
  0% {
    transform: translate(-500px, 0);
  }
  100% {
    transform: translate(0px, 0);
  }
}/*# sourceMappingURL=style.css.map */