@font-face {
  font-family: "Cormorant";
  src: url("./font/CormorantGaramond-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Cormorant-bold";
  src: url("./font/CormorantGaramond-Bold.ttf");
  font-weight: bold;
  font-style: bold;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cormorant";
}

:root {
  --font-color-lila: rgba(94, 23, 235, 0.8);
  --font-color-paragraph: rgb(182, 182, 182);
  --font-color-paragraph-header: rgb(235, 235, 235);
  --font-color-background-light: rgb(245, 248, 255);
}

.basic-headline {
  color: var(--font-color-lila);
  font-size: 3.5rem;
  margin-top: 0;
  @media (max-width: 700px) {
    font-size: 2.6rem;
  }
}

.basic-section {
  display: flex;
  justify-content: center;
  padding: 100px 32px;
  .inner-box {
    max-width: 1200px;
    width: 100%;
  }
}

a {
  color: black;
  &:hover {
    color: rgba(0, 0, 0, 0.701);
  }
}

@keyframes slideshow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.slideshow {
  display: flex;
  align-items: center;
  justify-content: center;
  .slider {
    display: flex;
    height: 266px;
    width: 1500px;
    position: relative;
    overflow: hidden;
    .slide {
      height: 100%;
      display: flex;
      align-items: center;
      animation: slideshow 60s linear infinite;
      img {
        height: 100%;
        margin-right: 16px;
      }
    }
    &::before,
    &::after {
      height: 100%;
      width: 200px;
      position: absolute;
      content: "";
      background: linear-gradient(
        to right,
        var(--font-color-background-light) 0%,
        var(--font-color-background-light) 10%,
        rgba(245, 248, 255, 0) 100%
      );
      z-index: 2;
    }
    &::before {
      left: 0;
      top: 0;
    }
    &::after {
      right: 0;
      top: 0;
      transform: rotateZ(180deg);
    }
    @media (max-width: 800px) {
      height: 200px;
    }
  }
}

header {
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(
      90deg,
      rgb(0, 0, 0, 0.5) 0%,
      rgb(0, 0, 0, 0.7) 35%,
      rgb(0, 0, 0, 0.8) 65%,
      rgb(0, 0, 0, 0.92) 100%
    ),
    url("./images/header.jpg");
  background-size: cover;
  background-position: 20%;
  height: 100vh;
  @media (max-width: 950px) {
    height: auto;
  }
  @media (max-width: 650px) {
    background-image: linear-gradient(
        90deg,
        rgb(0, 0, 0, 0.5) 0%,

        rgb(0, 0, 0, 0.5) 100%
      ),
      url("./images/header.jpg");
  }
  .nav-outer {
    padding: 48px 0px;
    display: flex;
    justify-content: center;
    gap: 16px;
    background-color: rgba(30, 30, 30, 0.171);
    .nav-inner {
      flex-grow: 1;
      max-width: 1200px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding-right: 200px;
      @media (max-width: 1100px) {
        padding-right: 126px;
      }
      @media (max-width: 950px) {
        padding-right: 0px;
      }
    }
    nav {
      display: flex;
      gap: 32px;
      align-items: center;
      justify-content: center;
      a {
        white-space: nowrap;
        font-family: "Cormorant-bold";
        text-decoration: none;
        font-size: 24px;
        color: var(--font-color-paragraph-header);
        &:hover {
          color: rgb(203, 203, 203);
        }
      }
      @media (max-width: 950px) {
        display: none;
      }
    }
    .logo-box {
      display: flex;
      justify-content: end;
      flex-shrink: 0;
      width: 168px;
      padding-right: 32px;
      img {
        width: 125px;
      }
      @media (max-width: 1100px) {
        padding-right: 16px;
        width: 110px;
        img {
          width: 110px;
        }
      }
      @media (max-width: 950px) {
        padding-right: 0px;
        width: 150px;
        img {
          width: 150px;
        }
      }
    }
  }
  .outer {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    .inner {
      max-width: 1200px;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      h1 {
        text-align: center;
        margin: 0;
        font-size: 4rem;
        padding: 150px 32px 150px 32px;
        line-height: 82px;
        color: var(--font-color-paragraph-header);
        .highlight {
          padding: 8px 16px;
          background-color: var(--font-color-lila);
          border-radius: 10px;
        }
        @media (max-width: 650px) {
          font-size: 2.65rem;
          line-height: 68px;
        }
      }
      .info-box {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 0 32px 100px 32px;
        gap: 32px;
        .info-item {
          text-align: center;
          max-width: 400px;
          background-color: rgba(26, 26, 26, 0.678);
          border-radius: 30px;
          h3 {
            font-size: 1.4rem;
            background-image: linear-gradient(
              180deg,
              rgba(94, 23, 235, 1) 0%,
              rgba(94, 23, 235, 0.6) 35%,
              rgba(94, 23, 235, 0.4) 65%,
              rgba(94, 23, 235, 0.1) 100%
            );
            color: var(--font-color-paragraph-header);
            font-family: "Cormorant-bold";
            margin: 0;
            padding: 16px;
            border-radius: 16px 16px 0 0;
          }
          p {
            font-size: 1.125rem;
            color: var(--font-color-paragraph);
          }
        }
        @media (max-width: 950px) {
          grid-template-columns: repeat(1, minmax(0, 1fr));
          align-self: center;
        }
      }
    }
  }
}

.section-1 {
  .inner-box {
    display: flex;
    gap: 96px;
    .text-box {
      width: 50%;
      p {
        font-size: 1.4rem;
        line-height: 1.75rem;
      }
    }
    .gallery {
      width: 50%;
      max-width: 600px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      align-self: self-start;
      img {
        width: 100%;
        height: 210px;
        object-fit: cover;
      }
      .image-4 {
        grid-column-start: 1;
        grid-column-end: 4;
        object-fit: cover;
        object-position: 50% 42%;
      }
      @media (max-width: 1200px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        .image-4 {
          grid-column-start: auto;
          grid-column-end: auto;
        }
      }
    }
    @media (max-width: 1200px) {
      .gallery {
        max-width: 500px;
      }
    }

    @media (max-width: 950px) {
      flex-direction: column;
      align-items: center;
      gap: 32px;
      .text-box {
        width: auto;
      }
      .gallery {
        width: auto;
        max-width: 100%;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        img {
          height: auto;
        }
      }
    }
    @media (max-width: 750px) {
      .gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        img {
          width: 100%;
          max-height: 295px;
        }
        .image-4 {
          grid-column-start: 1;
          grid-column-end: 4;
        }
      }
    }
    @media (max-width: 580px) {
      .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        img {
          width: 100%;
          max-height: 245px;
        }
        .image-4 {
          grid-column-start: auto;
          grid-column-end: auto;
        }
      }
    }
  }
}

.section-2 {
  background-color: var(--font-color-background-light);
  .inner-box {
    h2 {
      margin: 0;
      padding-bottom: 100px;
      text-align: center;
    }
    .middle-box {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 32px;
      .left-side {
        .personal {
          display: flex;
          align-items: center;
          gap: 20px;
          img {
            width: 130px;
            border-radius: 50%;
          }
          .textbox {
            display: flex;
            flex-direction: column;
            gap: 8px;
            h3 {
              font-size: 1.4rem;
              font-family: "Cormorant";
              margin: 0;
              padding-bottom: 4px;
            }
            p {
              margin: 0;
              font-size: 1.1rem;
            }
          }
          @media (max-width: 500px) {
            flex-direction: column;
            .textbox {
              text-align: center;
            }
          }
        }
        .quote {
          padding-top: 48px;
          font-size: 1.3rem;
        }
      }
      .right-side {
        max-width: 600px;
        .list {
          display: flex;
          flex-direction: column;
          gap: 16px;
          .item {
            display: flex;
            align-items: center;
            padding-top: 16px;
            border-top: 1px solid var(--font-color-paragraph);
            gap: 24px;
            .image {
              font-size: 2rem;
              color: var(--font-color-lila);
            }
            .text-content {
              font-size: 1.3rem;
            }
            &:last-child {
              padding-bottom: 16px;
              border-bottom: 1px solid var(--font-color-paragraph);
            }
          }
        }
        @media (max-width: 1200px) {
          max-width: 460px;
        }
      }
      @media (max-width: 1050px) {
        flex-direction: column;
        .right-side {
          padding-top: 32px;
        }
      }
    }
    .image-box {
      padding-top: 100px;
      display: flex;
      align-items: center;
      justify-content: center;
      @media (max-width: 700px) {
        img {
          width: 100%;
        }
      }
    }
  }
}

.section-3 {
  .inner-box {
    text-align: center;
    p {
      font-size: 1.3rem;
      margin: 0;
    }
  }
  .gallery {
    padding-top: 2rem;
    .box {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 2rem;
      img {
        max-height: 25rem;
        &:hover {
          opacity: 0.85;
        }
      }
      @media (max-width: 700px) {
        img {
          max-height: 20rem;
        }
      }
    }
  }
}

.section-4 {
  background-color: var(--font-color-background-light);
  text-align: center;
  p {
    font-size: 1.3rem;
    margin: 0;
  }
}

.section-5 {
  background-color: var(--font-color-background-light);
  padding-bottom: 100px;
}

.section-6 {
  text-align: center;
  p {
    font-size: 1.3rem;
    margin: 0;
    padding-bottom: 46px;
  }
  .slider {
    width: auto;
    height: 210px;
    &::before,
    &::after {
      background: linear-gradient(
        to right,
        white 0%,
        rgba(245, 248, 255, 0) 100%
      );
    }
  }
}

.section-7 {
  background-color: var(--font-color-background-light);
  text-align: center;
  p {
    font-size: 1.3rem;
    margin: 0;
  }
  .inner-box {
    .gallery {
      padding-top: 58px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      .box {
        display: flex;
        flex-direction: column;
        gap: 24px;
        img {
          display: block;
          width: 100%;
        }
      }
      @media (max-width: 1000px) {
        grid-template-columns: repeat(2, 1fr);
      }
      @media (max-width: 600px) {
        grid-template-columns: repeat(1, 1fr);
      }
    }
  }
}

footer {
  .inner-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    img {
      display: block;
      width: 150px;
    }
    p {
      font-size: 1.1rem;
      margin-bottom: 0;
    }
    .link-box {
      display: flex;
      gap: 16px;
    }
  }
}

.legal {
  header {
    height: auto;
    background-image: none;
    .nav-inner {
      justify-content: space-between;
      padding: 0 50px;
      .logo-box {
        padding: 0;
        justify-content: center;
      }
    }
    a {
      color: rgb(116, 116, 116) !important;
      &:hover {
        opacity: 0.8;
      }
    }
  }
  .content {
    padding: 50px;
  }
}
