.container {
    overflow: hidden; /* Taşan kısımları gizle */
    width: 100%; /* Konteyner genişliği ekran boyutuna göre ayarlanır */
    height: auto; /* Esnek bir yükseklik */
    aspect-ratio: 22 / 8.05; /* Konteyner için en-boy oranı ayarla */
    
}

.slider{
    width: 100%;
    max-width: 100vw;
    height: auto; /* Esnek bir yükseklik */
    margin: auto;
    position: relative;
    overflow: hidden;
    width: 100%; /* Slider genişliği ekran boyutuna göre ayarlanır */
    aspect-ratio: 22 / 8.05; /* Slider boyutu için en-boy oranı ayarla */
   
}
.slider .list{
    position: absolute;
    width: max-content;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    transition: 1s;
}
.slider .list img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.slider .buttons{
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
}
.slider .buttons button{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(82, 64, 64, 0.333);
    color: #fff;
    border: none;
    font-family: monospace;
    font-weight: bold;
}
.slider .dots{
    position: absolute;
    bottom: 10px;
    left: 0;
    color: #fff;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}
.slider .dots li{
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: #fff;
    margin: 10px;
    border-radius: 20px;
    transition: 0.5s;
}
.slider .dots li.active{
    width: 30px;
}




.slider .list {
    position: absolute;
    width: max-content;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    transition: 1s;
}


.slider .buttons {
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
}

.slider .buttons button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(82, 64, 64, 0.333);
    color: #fff;
    border: none;
    font-family: monospace;
    font-weight: bold;
}

.slider .dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    color: #fff;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.slider .dots li {
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: #fff;
    margin: 10px;
    border-radius: 20px;
    transition: 0.5s;
}

.slider .dots li.active {
    width: 30px;
}
.mobile-image {
    display: none;
  }
  @media (max-width: 480px) {
    .desktop-image {
      display: none;
    }
    .mobile-image {
      display: block;
    }
  }

@media screen and (max-width: 768px) {
    .slider {
        width: 100%; /* Slider genişliği ekran boyutuna göre ayarlanır */
        height: auto; /* Esnek bir yükseklik */
        aspect-ratio: 19 / 8; /* Slider boyutu için en-boy oranı ayarla */
        overflow: hidden; /* Taşmaları gizleyin */
    }
    .container {
        width: 100%; /* Konteyner genişliği ekran boyutuna göre ayarlanır */
        height: auto; /* Esnek bir yükseklik */
        aspect-ratio: 19 / 8; /* Konteyner için en-boy oranı ayarla */
        overflow: hidden;
    }
    .slider .list img {
        width: 100%; /* Mobilde resimlerin genişliği ekran genişliğine uyum sağlar */
        height: 100%; /* Resim yüksekliği %100 olacak şekilde ayarlandı */
        object-fit: contain;
    }
}

@media screen and (max-width: 480px) {
    .slider {
        width: 100%; /* Slider genişliği ekran boyutuna göre ayarlanır */
        height: auto; /* Esnek bir yükseklik */
        aspect-ratio: 17 / 9; /* Slider boyutu için en-boy oranı ayarla */
        overflow: hidden; /* Taşmaları gizleyin */
    }

    .container {
        width: 100%; /* Konteyner genişliği ekran boyutuna göre ayarlanır */
        height: auto; /* Esnek bir yükseklik */
        aspect-ratio: 17 / 9; /* Konteyner için en-boy oranı ayarla */
        overflow: hidden;
    }

    .slider .list img {
        width: 100%; /* Görüntü genişliği konteyner genişliğine uyar */
        height: 100%; /* Görüntü yüksekliği konteyner yüksekliğine uyar */
        object-fit: contain; /* Resim taşmadan sığar */
    }

    .slider .buttons button {
        width: 40px; /* Mobilde buton boyutunu küçült */
        height: 40px;
        font-size: 14px;
    }

    .slider .dots li {
        width: 8px; /* Mobilde nokta boyutunu küçült */
        height: 8px;
        margin: 0 4px;
    }
}
