@import url("https://fonts.googleapis.com/css2?family=Alex+Brush&family=Arima:wght@100..700&family=Great+Vibes&family=Ms+Madi&family=SUSE:wght@100..800&display=swap");

body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.logo {
  img {
    width: 110px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    left: 27rem;
  }
}

.linee {
  background-color: rgb(204, 204, 204);
  width: 100%;
  height: 3px;
}

header {
  background: linear-gradient(34deg,
      rgba(0, 0, 0, 0.8436624649859944) 0%,
      rgba(0, 0, 0, 0.7372198879551821) 93%);

  height: 150px;

  a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;

    h1 {
      font-family: "Alex Brush", serif;
      font-optical-sizing: auto;
      font-weight: 100;
      font-style: normal;
      font-size: 55px;
      letter-spacing: 2px;
      margin-top: 0;
    }

    h1:hover {
      text-shadow: 0px 0px 5px rgb(255, 217, 0);
      transition: 0.5s ease;
    }
  }

  .hamburger {
    width: 25px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: left;
    cursor: pointer;
    margin-left: 1rem;
    position: absolute;
    top: 4rem;
    left: 2;
  }

  .line {
    height: 4px;
    background-color: white;
    transition: 0.3s;
    display: flex;
  }

  nav {
    background: rgb(0, 0, 0);
    background: linear-gradient(90deg,
        rgba(0, 0, 0, 0.8240546218487395) 23%,
        rgba(25, 25, 25, 0.63) 100%);

    display: none;
    width: 250px;
    margin-top: 4.5rem;
    height: 100vh;
    position: fixed;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    top: 5rem;
    left: 2;
    z-index: 999;

    a {
      text-decoration: none;
      color: white;
      font-size: 20px;
      margin-left: -50px;
      padding: 1rem;
      font-family: "SUSE", sans-serif;
      font-optical-sizing: auto;
      font-weight: 300;
      font-style: normal;
      letter-spacing: 2px;
    }

    a:hover {
      transform: scale(1.1);
      transition: 0.5s ease;
    }

    ul li {
      list-style: none;
      margin-top: 2rem;
    }

    img {
      max-width: 100px;
      height: auto;
      position: fixed;
      top: 90%;
      left: 4%;

    }
  }

  .menu.active {
    display: block;
  }
}

.carousel-inner {
  width: 100%;
  max-height: auto;
  object-fit: cover;

  .carousel-item img {
    max-width: auto;
    height: 100vh;
    object-fit: cover;

  }
}

.frontinfo {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;

  p {
    font-size: 18px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    padding: 5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    letter-spacing: 3px;
    text-wrap: pretty;
  }

  &.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .container {
    max-width: 100%;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    .slider-container {
      min-width: 100%;
      height: auto;
      margin: 1rem;
      border-radius: 20px;
      display: block;
      flex-wrap: nowrap;
      align-items: center;
      justify-content: center;
      background-color: transparent;
      overflow: hidden;

      .buttons {
        width: 100%;
        position: absolute;
        display: flex;
        justify-content: space-between;
        background-color: transparent;

        button {
          font-size: 30px;
          cursor: pointer;
          background-color: transparent;
          border: none;
        }

        button:hover {
          transform: scale(1.2);
          transition: 1.2s ease;
        }
      }
    }

    .slider {
      max-width: 100%;
      height: auto;
      background-color: transparent;
      display: flex;
      align-items: center;
      justify-content: space-between;

      &::-webkit-scrollbar {
        display: none;
      }

      img {
        width: 8%;
        height: 100%;
        background-color: transparent;
        margin: 2rem;
        margin-top: 0;
        overflow-y: hidden;
      }

      img:hover {
        transform: translateY(-10px);
        transition: 0.4s ease;
        filter: contrast(150%);
      }
    }
  }

  .middleimg {
    padding-bottom: 4rem;

    img {
      width: 100%;
      height: 100%;
    }

    .info {
      h1 {
        font-family: "Arima", system-ui;
        font-weight: 200;
        letter-spacing: 3px;
        font-size: 45px;
        padding-top: 6rem;
      }

      p {
        font-family: "Arima", system-ui;
        font-size: 23px;
        font-weight: 300;
        letter-spacing: 2px;
        line-height: 45px;
      }
    }

    .boximg {
      display: flex;
      padding-top: 2rem;
      width: 100%;

      img {
        min-width: 50%;
        max-height: 100vh;
      }

      .boxtext {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        h1 {
          font-family: "Arima", system-ui;
          font-weight: 150;
          font-size: 50px;
          text-shadow: 20px 0px 25px rgb(0, 0, 0);
          text-decoration: underline;
          text-underline-offset: 20px;
          text-decoration-thickness: 1px;
        }

        p {
          font-family: "Arima", system-ui;
          font-size: 23px;
          font-weight: 250;
          letter-spacing: 2px;
          line-height: 45px;
        }
      }
    }

    .boximgright {
      display: flex;
      align-items: center;

      padding-top: 0rem;
      width: 100%;

      .boxtext {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        right: 50%;

        h1 {
          font-family: "Arima", system-ui;
          font-weight: 150;
          font-size: 50px;
          text-shadow: 20px 0px 25px rgb(0, 0, 0);
          text-decoration: underline;
          text-underline-offset: 20px;
          text-decoration-thickness: 1px;

        }

        p {
          font-family: "Arima", system-ui;
          font-size: 22px;
          font-weight: 250;
          text-wrap: balance;
          line-height: 2.5;
          letter-spacing: 3px;
        }
      }

      img {
        position: relative;
        left: 50%;
        min-width: 50%;
        max-height: 100vh;
      }
    }

    .rb {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      padding-top: 1rem;
      max-width: 100%;

      img {
        width: 10%;
      }

      p {
        letter-spacing: 5px;
        font-size: 60px;
        font-family: "Great Vibes", cursive;
        font-weight: 200;
        font-style: italic;
        padding: 0rem;
      }
    }
  }
}

.footer {
  width: auto;
  min-height: auto;
  text-align: center;
  background-color: rgb(190, 190, 190);
  padding: 2rem;

  i {
    margin-top: 3rem;
    color: rgb(133, 133, 133);
  }

  i:hover {
    transform: scale(1.2);
    color: rgb(68, 68, 68);
    transition: 0.3s ease-in-out;
    cursor: pointer;
  }

  #anasayfa {
    color: black;
    font-weight: 500;
    filter: drop-shadow(2px 5px 5px black)
  }

  a {
    text-decoration: none;
    color: white;
    margin: 1rem;
    font-size: 20px;
    font-weight: 500;
    font-family: "Arima", system-ui;
    letter-spacing: 2px;
    color: rgb(88, 88, 88);
    transition: 0.3s ease;
  }

  a:hover {
    font-weight: 700;
    color: rgb(70, 70, 70);
    transition: 0.3s ease;
  }

  p {
    margin: 2rem;
    font-size: 16px;
    letter-spacing: 1px;
  }
}

@media (max-width: 1700px) {
  .frontinfo {
    .middleimg {
      .boximg {
        .boxtext {
          h1 {
            font-size: 40px;
          }

          p {
            line-height: 1.5;
          }
        }
      }

      .boximgright {
        .boxtext {
          h1 {
            font-size: 40px;
          }

          p {
            padding: 1rem;
            line-height: 1.5;
          }
        }
      }
    }
  }
}

@media (max-width: 1377px) {
  .frontinfo {
    .middleimg {
      .boximg {
        .boxtext {
          h1 {
            font-size: 40px;
          }

          p {
            line-height: 1.5;
            padding: 1rem;
          }
        }

        img {
          width: 100%;
        }
      }

      .boximgright {
        .boxtext {
          h1 {
            font-size: 40px;
          }

          p {
            padding: 1rem;
            line-height: 1.5;
          }
        }
      }
    }

    .container {
      .slider {
        img {
          width: 100%;
          margin: 15px;
          overflow-y: auto;
        }
      }
    }
  }
}

@media (max-width: 1255px) {
  .frontinfo {
    .middleimg {
      .info {
        h1 {
          font-size: 60px;
          padding-top: 2rem;
        }

        p {
          line-height: 2.5;
          font-size: 25px;
        }
      }

      .boximg,
      .boximgright {
        display: flex;
        flex-direction: column;

        .boxtext {
          padding-top: 2rem;

          h1 {
            font-size: 45px;
          }

          p {
            padding: 0rem 5rem 1rem;
            line-height: 2;
            font-size: 25px;
          }
        }

        img {
          width: 100%;
          height: auto;
        }
      }

      .boximgright {
        img {
          left: 0;
        }

        .boxtext {
          left: 0;
        }
      }
    }

    .container {
      .slider {
        img {
          width: 100%;
          margin: 15px;
          overflow-y: auto;
        }
      }
    }
  }
}

@media (max-width: 1000px) {
  .carousel-inner {
    .carousel-item img {
      max-width: 100%;
      height: 60vh;
      object-fit: fill;
    }
  }

  .frontinfo {
    .container {
      .slider {
        img {
          width: 100%;
          margin: 15px;
          overflow-y: auto;
        }
      }
    }
  }
}

@media (max-width: 900px) {
  header nav img {
    left: 8%;
  }

  @media (max-width: 700px) {

    header {
      a h1 {
        margin-top: 1rem;
        font-size: 45px;

      }

      .hamburger {
        width: 30px;
        height: 30px;
      }

      .line {
        height: 3px;
      }

      nav {
        width: 200px;

        img {
          left: 8%;
        }
      }

      .frontinfo {

        .boximg,
        .boximgright {
          .boxtext {
            padding-top: 2rem;

            h1 {
              font-size: 45px;
            }

            p {
              padding: 0rem 1rem 3rem;
              line-height: 2;
              font-size: 25px;
            }
          }
        }
      }
    }

  }

  .carousel-inner {
    .carousel-item img {
      max-width: 100%;
      max-height: 40vh;
      object-fit: fill;
    }
  }
}

@media (max-width: 500px) {
  .logo img {

    margin-top: 35px;
    width: 90px;

  }

  header {

    a h1 {

      margin-top: 1rem;
      font-size: 35px;

    }

    nav a {
      font-size: 18px;
      font-weight: 100;
    }

    .hamburger {
      width: 25px;
      height: 25px;
    }

    .line {
      height: 3px;
    }

    nav {
      width: 200px;

      img {
        left: 12%;
      }
    }


  }

  .frontinfo {
    .middleimg {
      .info {
        h1 {
          font-size: 35px;
        }

        p {
          font-size: 15px;
          padding: 0 1rem 0rem;
        }
      }

      .boximg,
      .boximgright {
        .boxtext {
          padding-top: 2rem;

          h1 {
            font-size: 35px;
          }

          p {
            padding: 1rem 1rem 3rem;
            line-height: 1.5;
            font-size: 16px;
          }
        }
      }
    }

    .container {
      .slider {
        img {
          width: 100%;
          margin: 5px;
          overflow-y: auto;
        }
      }
    }
  }

  .carousel-inner {
    .carousel-item img {
      max-width: 100%;
      max-height: 30vh;
      object-fit: fill;
    }
  }

  .footer {
    a {
      font-size: 16px;
      margin: 0.5rem;
    }
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light;
  }
}

@media only screen and (max-width: 390px) and (max-height: 844px) {
  .logo img {

    margin-top: 35px;
    width: 90px;

  }

  header {

    a h1 {

      margin-top: 1rem;
      font-size: 35px;

    }

    nav a {
      font-size: 18px;
      font-weight: 100;
    }

    .hamburger {
      width: 25px;
      height: 25px;
    }

    .line {
      height: 3px;
    }

    nav {
      width: 200px;

      img {
        left: 12%;
      }
    }


  }

  .frontinfo {
    .middleimg {
      .info {
        h1 {
          font-size: 35px;
        }

        p {
          font-size: 15px;
          padding: 0 1rem 0rem;
        }
      }

      .boximg,
      .boximgright {
        .boxtext {
          padding-top: 2rem;

          h1 {
            font-size: 35px;
          }

          p {
            padding: 1rem 1rem 3rem;
            line-height: 1.5;
            font-size: 16px;
          }
        }
      }
    }

    .container {
      .slider {
        img {
          width: 100%;
          margin: 5px;
          overflow-y: auto;
        }
      }
    }
  }

  .carousel-inner {
    .carousel-item img {
      max-width: 100%;
      max-height: 30vh;
      object-fit: fill;
    }
  }

  .footer {
    a {
      font-size: 16px;
      margin: 0.5rem;
    }
  }
}