/* Nav-bar butonları için drop-down menü */

/* Navbar'ı küçük ekranlarda alt alta düzenle */
@media (max-width: 768px) {
  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #faf3f0;
    max-width: 100%;
  }
  html {
    scroll-behavior: smooth;
  }
  * {
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
  }
  .navbar-nav {
    flex-direction: column;
  }
  nav ul li a {
    font-size: 25px;
  }
  .navbar-nav {
    font-size: 25px;
    color: black;
  }
  .navbar-nav .nav-item .nav-link {
    color: black;
  }
  .navbar-toggler {
    background-color: #1d5d9b important;
    color: #1d5d9b;
    size: 200px;
  }
  .navbar-toggler-icon {
    size: 200px;
    top: 400px;
  }
  nav img {
    top: 20px;
    left: 30px;
    width: 150px;
    height: auto; /* Örneğin, logo boyutunu ayarlamak için */
    display: block;
    position: relative;
  }
  header {
    background-position: center;
    max-width: 100%;
    height: 100vh;

    color: white;
    transition: left 0.5s ease;
    background-image: url(su-tesisat.png);
  }

  #content {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 20px;
    background: rgba(46, 76, 109, 0.6);

    padding: 20px;
    width: 100%;
    border-radius: 10px;
  }
  @keyframes fade-in {
    to {
      scale: 1;
      opacity: 1;
    }
  }
  .scroll {
    position: relative;
    display: flex;
    width: 700px;
    overflow: hidden;
  }
  .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    /* scale: 0.8;
    opacity: 0;
    animation: fade-in linear forwards;
    animation-range: -100px 200px;
    animation-timeline: view(); */
  }
  .hizmet-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    /* scale: 0.8;
    opacity: 0;
    animation: fade-in linear forwards;
    animation-range: -100px 200px;
    animation-timeline: view(); */
  }
  /* .hizmet-kart {
    scale: 0.9;
    opacity: 0;
    animation-range: -100px 200px;
    animation-timeline: view();
  }
  .service-card {
    scale: 0.9;
    opacity: 0;
    animation-range: -100px 200px;
    animation-timeline: view();
  } */
  html {
    width: 100%;
  }
  .container {
    display: flex;
    justify-content: center;
  }

  .services {
    flex-direction: column;
    margin-top: 0;
  }

  .service-card {
    width: calc(100% - 30px);
  }
  .features__left__1,
  .features__right__1 {
    width: calc(100%);
  }
  .features__right_1 h3 {
    margin-top: 10px;
    margin-left: 50px;
    top: 5px;
    left: 5px;
  }
  .features__right__1 p {
    margin-left: 20px;
  }
  .features__right__1 a {
    margin-left: 20px;
  }

  .features__left__2,
  .features__right__2 {
    width: calc(100%);
  }
  .features__right_2 h3 {
    margin-top: 10px;
    margin-left: 50px;
    top: 5px;
    left: 5px;
  }

  .button-group {
    flex-direction: column;
  }

  .button-group a {
    margin-bottom: 10px;
  }
  #backToTopBtn {
    margin-bottom: 50px;
    display: block;
    opacity: 50%;
  }
  .button-container {
    flex-direction: row;
    display: flex;
  }
}

@media (max-width: 1250px) {
  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #faf3f0;
    max-width: 100%;
  }
  html {
    scroll-behavior: smooth;
  }
  * {
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
  }
  .navbar-nav {
    flex-direction: column;
  }
  nav ul li a {
    font-size: 25px;
  }
  .navbar-nav {
    font-size: 25px;
    color: black;
  }
  .navbar-nav .nav-item .nav-link {
    color: black;
  }
  .navbar-toggler {
    background-color: #1d5d9b important;
    color: #1d5d9b;
    size: 200px;
  }
  .navbar-toggler-icon {
    size: 200px;
    top: 400px;
  }
  nav img {
    top: 20px;
    left: 30px;
    width: 150px;
    height: auto; /* Örneğin, logo boyutunu ayarlamak için */
    display: block;
    position: relative;
  }
  header {
    background-position: center;
    max-width: 100%;
    height: 100vh;

    color: white;
    transition: left 0.5s ease;
    background-image: url(su-tesisat.png);
  }

  #content {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 20px;
    background: rgba(46, 76, 109, 0.6);

    padding: 20px;
    width: 100%;
    border-radius: 10px;
  }
  @keyframes fade-in {
    to {
      scale: 1;
      opacity: 1;
    }
  }
  .scroll {
    position: relative;
    display: flex;
    width: 700px;
    overflow: hidden;
  }
  .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    /* scale: 0.8;
    opacity: 0;
    animation: fade-in linear forwards;
    animation-range: -100px 200px;
    animation-timeline: view(); */
  }
  .hizmet-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    /* scale: 0.8;
    opacity: 0;
    animation: fade-in linear forwards;
    animation-range: -100px 200px;
    animation-timeline: view(); */
  }
  /* .hizmet-kart {
    scale: 0.9;
    opacity: 0;
    animation-range: -100px 200px;
    animation-timeline: view();
  }
  .service-card {
    scale: 0.9;
    opacity: 0;
    animation-range: -100px 200px;
    animation-timeline: view();
  } */
  html {
    width: 100%;
  }
  .container {
    display: flex;
    justify-content: center;
  }

  .services {
    flex-direction: column;
    margin-top: 0;
  }

  .service-card {
    width: calc(100% - 30px);
  }
  .features__left__1,
  .features__right__1 {
    width: calc(100%);
  }
  .features__right_1 h3 {
    margin-top: 10px;
    margin-left: 50px;
    top: 5px;
    left: 5px;
  }
  .features__right__1 p {
    margin-left: 20px;
  }
  .features__right__1 a {
    margin-left: 20px;
  }

  .features__left__2,
  .features__right__2 {
    width: calc(100%);
  }
  .features__right_2 h3 {
    margin-top: 10px;
    margin-left: 50px;
    top: 5px;
    left: 5px;
  }

  .button-group {
    flex-direction: column;
  }

  .button-group a {
    margin-bottom: 10px;
  }
  #backToTopBtn {
    margin-bottom: 50px;
    display: block;
    opacity: 50%;
  }
  .button-container {
    flex-direction: row;
    display: flex;
  }
}
