body{
    margin: 0 auto;
    padding: 0%;
}



.cantainer{
    height:900px;
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    grid-template-rows: 100px  1fr 1fr;
    gap: 10px;
    grid-template-areas: "nav nav nav"
                        "nav2 nav2 nav2"
                         "main main main"
                         "footer footer footer";

}

.child1{
    height:200px;
    display: flex;
    grid-area: nav;
}

.child2{
    background-color: black;
    height: 500px;
    grid-area:nav2;
}

.child3{
    grid-area: main ;
    display: flex;
    justify-content: space-around;
}
.child-1{
    margin-top: 5%;
    width: 200px;
    height: 300px;
}

.h6{
    cursor: pointer;
    margin-top: 90%;
    color: rgb(0, 0, 0);
    margin-left:30%;
}
.m-1{
    cursor: pointer;
    object-fit: cover;
    width: 200px;
    height: 300px;
}

.m-2{
    cursor: pointer;
    object-fit: cover;
    width: 200px;
    height: 300px;
}

.m-3{
    cursor: pointer;
    object-fit: cover;
    width: 200px;
    height: 300px;
}

.m-4{
    cursor: pointer;
    object-fit: cover;
    width: 200px;
    height: 300px;
}

.m-5{
    cursor: pointer;
    object-fit: cover;
    width: 200px;
    height: 300px;
}

.m-6{
    cursor: pointer;
    object-fit: cover;
    width: 200px;
    height: 300px;
}
.child5{
    grid-area: footer;
}


.h2{
    cursor: pointer;
    font-family: serif;
    font-size: 40px;
    margin-left: 5%;

}

.navbar{
    cursor: pointer;
    background-color: white;
    font-family:'Roboto', sans-serif ;
    display: flex;
    justify-content: space-around;
    margin-top: 1px;
}

.searchbar{
    height: 100px;
    width: 100px;
    margin-left: 30%;
    margin-top: 3%;
}



.search-container{
    height: 100px;
    margin-top: 3%;
    margin-left: 25%;
    border: none;

}


.search-input{
    background-color: gainsboro;
    width: 300px;
    padding: 10px 15px ;
    flex-grow: 1;
    border: none;
    outline: none;
    font-size: 16px;
}

.search-button {
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
}

.logo{
    border: solid black;
    width: 100px;
    height: 50px;
    margin-left: 20%;
    margin-top: 2%;
}

.cart-icon-link {
    font-size: 40px;
    color: #333;
    text-decoration: none;
    margin-left: 25px;
}

.box-cantainer{
    margin-top: 5%;
    display: flex;
    flex-direction:row;
    justify-content: center;
    justify-content: space-around;
}

.box1{
    display: flex;
    justify-content: space-between;
    border: solid white;
    background-color: white;
    width: 400px;
    height:300px;
}

.box2{
    display:flex;
    justify-content: space-around;
    border: solid white;
    background-color: white;
    width: 400px;
    height: 300px;
}

.box3{
    display:flex;
    justify-content: space-around;
    border: solid white;
    background-color: white;
    width: 400px;
    height: 300px;
}
.under-box-3{
    object-fit: cover;
    background-color: white;
    margin-top: 8%;
    margin-left: 1%;
    width: 350px;
    height: 150px;
}
.h5{
    cursor: pointer;
    font-size:30px;
    margin-left: 5%;
    font-family:'Playfair Display', Georgia, serif;
}

.para5{
    margin-top: 20px;
    margin-left: 15%;
    font-family: sans-serif;
    color: gray;
}

.image-under-box3{
    cursor: pointer;
    object-fit: cover;
    width: 350px;
    height: 150px;

}

.under-box-2{
    object-fit: cover;
    background-color:white;
    margin-top: 14%;
    margin-right:15px ;
    height: 235px;
    width: 180px;
}
.image-under-box2{
    cursor: pointer;
    object-fit: cover;
    width:180px;
    height: 235px;
}

.image-info-2{
    width: 160px;

}

.h4{
    cursor: pointer;
    margin-left: 10%;
    margin-top: 65%;
    font-size: 30px;
}

.para3{
    margin-left: 11%;
    color: grey;
}

.bot_2{
    cursor: pointer;
    border: 2px solid rgb(206, 82, 37);
    height: 50px;
    width: 120px;
    margin-left: 10%;
        font-family: sans-serif;
    color: rgb(206, 82, 37);
}



.under-box-1{
    background-color: rgb(223, 214, 214);
    object-fit: cover;
    margin-top: 14%;
    margin-right: 25px;
    height: 235px;
    width: 180px;
}

.under-box-1:hover{
     transform: rotatex(5deg) rotateY(5deg) scale(1.2);
    box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.3);
}

.under-box-2:hover{
     transform: rotatex(5deg) rotateY(5deg) scale(1.2);
    box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.3);
}

.under-box-3:hover{
     transform: rotatex(5deg) rotateY(5deg) scale(1.2);
    box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.3);
}



.image-under-box1{
    cursor: pointer;
    object-fit: cover;
    width: 180px;
    height: 300px;
}


.image-info{
    width: 130px;

}

.h3{
    font-size: 40px;
    margin-top: 30%;
    margin-left: 10%;
}

.para1{
    margin-left: 11%;
    color: grey;
}

.bot_1{
    cursor: pointer;
    border: 2px solid rgb(206, 82, 37);
    height: 50px;
    width: 120px;
    margin-left: 10%;
    color: rgb(206, 82, 37);;
    font-family: sans-serif;
    font-size: 15px;
}

.child4{
    grid-area: footer;
    background-color:black;
    height: 500px;
}

.premium-footer {
    background-color: #050505;
    color: #f5f5f5;
    padding: 70px 5%;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 50px auto;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
}

.footer-section {
    width: 30%;
    min-width: 200px;
    margin-bottom: 25px;
}

.brand-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px; 
    color: #ffffff;
    margin-bottom: 5px;
}

.tagline {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #aaa;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff; 
}


.subscribe-form input[type="email"] {
    padding: 10px;
    border: 1px solid #333;
    background-color: #1a1a1a;
    color: #f5f5f5;
    width: 60%;
    margin-right: 5px;
}

.subscribe-form button {
    padding: 10px 15px;
    border: none;
    background-color: #ffffff;
    color: #000000;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.subscribe-form button:hover {
    background-color: #ccc;
}


.footer-bottom-bar {
    text-align: center;
    padding-top: 20px;
}


.social-links {
    margin-bottom: 15px;
}

.social-links a {
    color: #aaa;
    font-size: 18px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ffffff;
}


.copyright-text {
    font-size: 13px;
    color: #777;
    margin-top: 10px;
}

.copyright-text span {
    color: #aaa; 
    font-weight: 500;
}

/* Media Query for Mobile */
@media (max-width: 768px) {
    .footer-grid {
        flex-direction: column;
    }
    .footer-section {
        width: 100%;
        text-align: center;
        min-width: unset;
    }
    .footer-section h4 {
        margin-top: 15px;
    }
    .subscribe-form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .subscribe-form input, .subscribe-form button {
        width: 80%;
        margin: 5px 0;
    }
}


/* all hover effect */

.h2:hover{
color: #ff6600;
transition: 2s ease;
}

.logo:hover{
    background-color: #ff6600;
    transition: 1s ease-in;
}

.m-1:hover{
    box-shadow: 5px 5px 30px 5px rgb(100, 235, 10);
    transform: scale(1.2);
}

.m-2:hover{
    box-shadow: 5px 5px 30px 5px rgb(193, 71, 230);
    transform: scale(1.2);
}

.m-3:hover{
    box-shadow: 5px 5px 30px 5px rgb(126, 174, 223);
    transform: scale(1.2);
}

.m-4:hover{
    box-shadow: 5px 5px 30px 5px rgb(51, 142, 233);
    transform: scale(1.2);
}

.m-5:hover{
    box-shadow: 5px 5px 30px 5px rgb(230, 200, 69);
    transform: scale(1.2);
}

.m-6:hover{
    box-shadow: 5px 5px 30px 5px rgb(179, 91, 10);
    transform: scale(1.2);
}


.bot_1:hover{
    background-color: #ff6600;
    transition: 1s ease-in;
    color: white;
}

.bot_2:hover{
    background-color: #ff6600;
    transition: 1s ease-in;
    color: white;
}

.home:hover{
    color:#ff6600;
    transform: scale(1.1);

}

.new:hover{
    color:#ff6600;
    transform: scale(1.1);

}

.book:hover{
    color:#ff6600;
    transform: scale(1.1);

}

.ebooks:hover{
    color:#ff6600;
    transform: scale(1.1);

}

.audio:hover{
    color:#ff6600;
    transform: scale(1.1);

}

.rec:hover{
    color:#ff6600;
    transform: scale(1.1);

}

@media (max-width: 768px){

    .child2{
        height: 200px;
        display: flex;
        flex-wrap: wrap;
        flex-direction:row row-reverse;
    }




}





