*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}




nav {
    display: flex;
    justify-content: space-between;
    padding: 5px 50px;
    width: 100%; /* Genişliği yüzde olarak ayarladık */
    box-sizing: border-box; /* Padding dahil genişliği ayarlar */
    background-color: #2b333a;
    height: 80px;
    position: relative; /* Konumlandırma hatalarını önler */
}

nav img {
    height: 80px;
    margin-top: -5px;
    width: 80px;
}

nav i {
    font-size: 30px;
    transition: color 0.3s ease; /* Renk geçişi için geçiş efekti ekleyin */
}

nav a {
    text-decoration: none;
    color: white;
    margin-right: 50px;
    margin-top: 20px;
}

nav a:hover i {
    color: #ffc800 !important; /* İkonun üzerine gelindiğinde rengi değiştirir */
}

nav p{
    font-size: 40px;
    color: white;
    align-items: center;
    text-align: center;
    position: relative;
    margin-top: 0px;
}

body{
    background: linear-gradient(to right, #4facfe, #00f2fe); /* Mavi-Aqua */

}

.bayrak {
    width: 30px;
    height: 20px;
}

.language {
    display: block;
    justify-content: right;
    position: absolute;
    font-size: 20px;
    padding-right: 10px;
    right: 40px;
    top: 80px;
}

.language a {
    text-decoration: none;
}


#Products .carousel-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 10px;
  }
 #Products .carousel-wrapper {
    height: auto; /* Yüksekliği otomatik yapıyoruz */
    width: calc(33% - 10px); /* Genişliği %50 yapıyoruz ve aradaki boşluğu hesaba katıyoruz */
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
    overflow: hidden; /* Hem x hem y ekseninde taşmayı gizliyoruz */
    margin-bottom: 15px; /* Alt boşluk */
  


  }

#Products  #wrapper{
    cursor: zoom-in;
  }
 #Products .carousel-item img {
    width: 100%; /* Resmin genişliğini kutuya uyacak şekilde %100 yapıyoruz */
    height: 100%; /* Resmin yüksekliğini de kutuya uyacak şekilde %100 yapıyoruz */
    object-fit: cover; /* Resmin kutuyu tam doldurması için */
    transition: .2s linear;
  }

 #Products .carousel-item img:hover{
    transform: scale(1.8);

  }

  .buy{
    margin-top: 30px;
    text-align: center;
    background: linear-gradient(to right, #bdc3c7, #2c3e50); /* Açık Gri-Koyu Gri */
    padding: 2px;
    margin-bottom: 10px;
    margin-left: 60px;
    margin-right: 60px;
  }

  .buy i{
    font-size: 30px !important;
  }

  .buy p{
    color: white;
    font-size: 20px;
    margin-top: -20px;
  }

  
.buy button {
    border: 1px solid white;
    margin: 30px 20px; /* Butonlar arasında yatay boşluk */
    text-align: center;
    padding: 1px;
    border-radius: 50%; /* Tam yuvarlak */
    background-color: linear-gradient(to right, #bdc3c7, #2c3e50); /* Açık Gri-Koyu Gri */; 
    transition: background-color 0.3s ease, transform 0.3s ease; /* Hover geçiş efekti */
}

.buy button:hover {
    background-color: #212529; /* Hover durumunda arka plan rengi */


}

.buy i:hover{
    color: #f0f0f0;
}



.buy i {
    color: black;
    width: 3.5rem;
    height: 3.5rem; /* İkonların yuvarlak butona uyacak şekilde boyutlandırılması */
    border-radius: 50%; /* Tam yuvarlak */
    font-size: 2rem;
    line-height: 3.5rem; /* İkonu ortalamak için */
    display: flex;
    align-items: center;
    justify-content: center;
}



  footer {
    background-color: #212529;
    text-align: center;
    color: white;
    height: 40px;
    align-items: center;
    padding: 0;
    position: relative;
    width: 100%;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width:870px) {
    a i{
        font-size: 30px;
    }

    nav p{
        font-size: 35px;
        margin-top: 8px;
    }

    .language .bayrak{
        width: 25px;
        height: 15px;
    }

    #Products .carousel-wrapper {
        width: calc(50% - 10px); /* Genişliği %50 yapıyoruz ve aradaki boşluğu hesaba katıyoruz */
        margin-bottom: 15px; /* Alt boşluk ekliyoruz */
    }

    #Products .carousel-item img {
        width: 100%;
        height: auto !important;
    }
}


