/********************************************************************************************** 
Common Section 
**********************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&display=swap');
body{   
    background-color: #f1f2f6;
    margin: 0;
}
.container{    
    width: 85%;
    margin: auto; 
}
.top-bar h2{
    font-size: 50px;
    font-family: 'Dancing Script', cursive;
    color: #1e90ff;
    font-weight: 700;
}

/********************************************************************************************** 
Top Banner Section 
**********************************************************************************************/
.top-banner{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
       
}
.banner-text{
    padding-right: 18%;
}
.banner-text h1{
    font-size: 62px;    
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
.highlighted-text{
    color: #1e90ff;
}
.banner-text p{
    font-size: 20px;
    font-family: 'Roboto Slab', serif;
}
.banner-text a{
    text-decoration: none;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: white;
    border: 1px solid transparent;
    border-radius: 30px;
    background-color: #1e90ff;
    padding: 10px 25px;
    display: inline-block;
    margin: 10px 0;
    box-shadow: grey 10px 10px 15px;
    transition: 0.5s;
}
.fa-angle-right{
    visibility: hidden;
}
.banner-text a:hover {
    transform: translate(0,-5px);
    box-shadow: rgb(99, 98, 98) 12px 12px 18px;
}
.banner-text a:hover .fa-angle-right{
    visibility: visible;
    transition: visibility(2000);
}
.top-banner .gears{
    background-image: url(images/Circle\ design.svg);
    background-repeat: no-repeat;
    background-size: 95%;
}
/********************************************************************************************** 
Branding Partner Section 
**********************************************************************************************/
.branding-partners{
    margin: 10% 0;
    padding: 3% 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border-top: 1px solid #dfe4ea;
    border-bottom: 1px solid #dfe4ea;
    flex-wrap: wrap;
}
.brand-logos{
    margin: 2% 2%;
    cursor: pointer;
}
.brand-logos:hover{
    transform: scale(1.1);
}

/********************************************************************************************** 
New Arrival's Section 
**********************************************************************************************/
#new-arrivals {
    text-align: center;
    font-size: 40px;
    font-family: 'Montserrat', sans-serif;
    font-family: 600;
}
.new-arrivals{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    grid-row-gap: 55px;
    margin: 5% 0;
}
.products{
    background: white;
    padding: 1.5%;
    border: 1px solid transparent;
    border-radius: 15px;
    box-shadow: 5px 5px 12px grey;
    width: 70%;
}
.photo-frame{
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    }
.photo-frame:hover img{
    transform: scale(1.5);
    transition: transform 1.8s;
}
.fa-star, .fa-star-half-alt{
    color: goldenrod;
    margin: 0 1%;
}
.new-arrivals h2{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 10px 0;
}
.new-arrivals p{
    font-size: 15px;
    font-weight: 300;
    font-family: 'Roboto Slab', serif;
}
.ratings{
    font-weight: 900;
}
.rating-number{
    margin: 0 2%;
    background-color: #fdc4c4;
    color: red;
    padding: 2px 10px;
    border-radius: 10px;    
}
.buy-now-button{
    text-align: center;
    margin: 5% 0;
}
.new-arrivals a{    
    text-decoration: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: white;
    border: 1px solid transparent;
    border-radius: 30px;
    background-color: #1e90ff;
    padding: 5px 25px;
    display: inline-block;
    margin: 10px;
    box-shadow: grey 10px 10px 15px;
    transition: 0.5s;
}
.new-arrivals a:hover {
    transform: translate(0,-5px);
    box-shadow: rgb(99, 98, 98) 12px 12px 18px;
}
.new-arrivals .fa-caret-right{
    display: none;
}
.new-arrivals a:hover .fa-caret-right{
    display: inline-block;
}
.see-more a{
    text-decoration: none;
    display: block;
    text-align: right;
    color: #1e90ff;
    font-size: 25px;
    font-weight: 900;
}
.see-more a:hover{
    color: #3742fa;
}

/********************************************************************************************** 
Contact Section 
**********************************************************************************************/
.contact{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    margin: 6% 0;
    padding-top: 6%;
    border-top: 1px solid rgb(202, 202, 202);
}
.logo img{
    width: 15%;
}
address {
   font-size: 20px;  
   color: black;
   font-style: normal;
   font-weight: 600;
}
address p{
    margin: 5px 0;
}
address a{
    text-decoration: none;
    color: rgb(58, 57, 57); 
 }
 .subscription h2{
     text-align: center;
     font-family: 'Montserrat', sans-serif;
 }
.subscription .input-section{
    display: flex;
    flex-direction: column;
}
.input-section input:nth-child(2n+1){
    padding: 12px 20px;
    border-radius: 15px 15px 0 0;
    border-bottom-color: 1px dotted gray;
}
.input-section input:nth-child(2n){
    padding: 12px 20px;
    border-radius: 0;
    border-top-color: transparent;
    cursor: text;
}
.input-section button{
    padding: 12px 20px;
    border-radius: 0 0 15px 15px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    background-color: #1e90ff;
    color: whitesmoke;    
}
.input-section button:hover{
    background-color: #130F40;
}
.input-section input:focus{
    background-color: #eaeaff;
    color: black;
}

/********************************************************************************************** 
Footer Section 
**********************************************************************************************/
.footer-section{
    text-align: center;
    color: white;
    background-color: #130f40;
    padding: 3% 0;
}
.footer-section h2{
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    font-size: 3em;
}
.footer-section p{
    margin: 1% 0;
}
.social-media{
    display: flex;
    justify-content: center;
    column-gap: 40px;
}
.social-media a{
    text-decoration: none;
    color: white;
}
.social-icons{
    margin: 10px 0;
}
.social-icons:hover{
    transform: scale(1.5);
    color: #dff9fb;
}


/********************************************************************************************** 
Media Query For The Screen Size of 975px
**********************************************************************************************/
@media only screen and (max-width: 975px) {

    /* Top Banner .input-section */
    .top-banner{
        flex-wrap: wrap-reverse;
        justify-content: center;   
        
    }
    .banner-text{
        text-align: center;
        padding-right: 0;
    }

    /* Branding Partner Section */
    .branding-partners>div{
        margin: 10px;;
    }

    /* New Arrival's Section */
    .new-arrivals{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        grid-row-gap: 55px;
        margin: 5% 0;
    }
    address {
        text-align: center;
     }

}

/********************************************************************************************** 
Media Query For The Screen Size of 790px
**********************************************************************************************/
@media only screen and (max-width: 790px) {

    /* Top Banner .input-section */
    .top-banner{
        flex-wrap: wrap-reverse;
        justify-content: center;   
        
    }
    .banner-text{
        text-align: center;
        padding-right: 0;
    }


    /* New Arrival's Section */
    .new-arrivals{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        justify-items: center;
        grid-row-gap: 55px;
        margin: 5% 0;
    }

    @media only screen and (max-width: 790px){
        .input-section{
            width: 70%;
            margin: auto;
        }
    }
}
