

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');


.sidebar{


top: 0;
height:70px;
width: 100%;

background-color: darkblue;
color: white;
text-decoration: none;

display: flex;
justify-content: space-evenly;

align-items: center;
}
a{

    text-decoration: none;
    color: white;
    margin-left: 40px;
    font-family: cairo;
}

a:hover {
    text-decoration: underline;
    text-decoration-style: solid;
   text-decoration-color: yellow;
   text-underline-offset: 10px;
   text-decoration-thickness: 3px;
}

.toggle-btn{

    display: none;
}


footer{

   
   width: 100%;
   background-color: darkblue;
   height: 400px;
   

   display: grid;
   grid-template-columns: 1fr 1fr 1fr;

   grid-template-rows: 1fr 1fr 1fr 1fr ;
   padding: 5px; 
   border-color: white;
   
   border: 2px solid white; 
}


.footer-logo{

    grid-column: 3;
    grid-row: 1;
    justify-self: center;
    margin-top: 10px;
}

footer h1{

    grid-column: 3;
    grid-row: 2;
    justify-self: center;
    font-family: cairo;
    color: white;
   
}

footer div{

    grid-column: 3;
    grid-row: 3;
    font-family: cairo;
    color: white;
    text-align: center;
}


body {
    
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: white;
   
}

.slideshow-container {
    width: 600px;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slides2 {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

 

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    user-select: none;
}

.prev { right: 10px; }
.next { left: 10px; }




.prev2, .next2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    user-select: none;
}

.prev2 { right: 10px; }
.next2 { left: 10px; }

.dots {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
}


.dots2 {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}


.dot2 {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #333;
}



.dot2.active {
    background-color: #333;
}

.slideshow-container:hover .slides {
    animation-play-state: paused;
}




.slideshow-container2:hover .slides {
    animation-play-state: paused;
}


.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

  .product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    align-self: center;
  }

.product-card .content {
    padding: 15px;
}

.product-card h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.product-card p {
    margin: 10px 0;
    color: #777;
    font-size: 0.9rem;
}

.product-card .price {
    font-size: 1.2rem;
    color: darkblue;
    font-weight: bold;
}

.product-card .buy-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: darkblue;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.product-card .buy-btn:hover {
    background-color:darkblue;
}



@media (max-width:768px) {

    .toggle-btn{

        display: block;
        width: 50px;
        height: 50px;
        background-color: darkblue;
        color: white;
        font-size: larger;
    }

    .links{
        display: none;
    }

   

    .sidebar{

        background-color: aliceblue;  
    }

     .shop{
        width: 60px;
        height: 60px;
     }
    
}




