@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&family=Poppins:ital,wght@1,200&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    font-size: 62.5%;
}
.container{
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;


}

body{
    font-family: 'Montserrat', sans-serif;
}

.header{
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5) ), url(../img/header-image.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}



.header .navbar a{
    color: white;
    text-decoration: none;
    font-size: 1.6rem;
    margin-left: 1rem;
    

}
.navbar li:hover{
    
    transform: scale(1.2);
   
    
}

ul li{
    list-style: none;
    font-size: 1.6rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.5em;
    margin-left: 1.5em;
    margin-top: 2em;
    text-transform: uppercase;

    
}
.header .navbar .logo{
    float: left;
    width: auto;
    height: 5rem;
    margin-top: 2em;

}

.header-content{
    position: absolute;
    color: white;
    left: 11%;
    right: 11%;
    text-align: center;
    line-height: 3rem;
    letter-spacing: 0.15rem;
    word-spacing: 0.15rem;
    top: 40%;

}

.lg-heading{
    font-weight: 700;
    font-size: 3.5rem;
}
.text-light{
    font-size: 1.6rem;
    line-height: 5rem;
}

.button{
    display: inline-block;
    font-size: 2rem;
    text-decoration: none;
    color: red;
    border: 1px solid white;
    border-radius: 3rem;
    background: white;
    padding: 0.5em;
    line-height: 4rem;
}
.button:hover{
    padding: 1.3rem;
}
.header .navbar .nav-items{
    float: right;
    
    
}

.navbar ::after{
    content: '';
    display: block;
    clear: both;
}
.header .navbar .nav-items .nav-item{
    display: inline-block;

}

/* ############################ SHOWCASE SECTION ################# */


.showcase{
    background: #ddd;
    padding: 10rem 0;
}

.row{
    height: 350px;
    box-shadow: 5px 5px 20px 0 gray;
    background-color: white;
}
.row1{
    margin-bottom: 10rem;
}
.row1 .img-box, .row2 .text-box{
    float: left;
    width: 50%;
}

.row2 .img-box, .row1 .text-box{
    float: right;
    width: 50%;
}


.row .img-box{
  
    height: 100%;
}

.row .text-box{
    
    padding: 3em;
}

.row .img-box img{
    display: inline-block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.heading1{
    font-size: 2rem;
    margin-top: 1em;
    margin-bottom: 1em;
    color: gray;
    letter-spacing: 0.25rem;
}
.body1{
    font-size: 1.5rem;
    letter-spacing: 0.15rem;
    word-spacing: 0.3rem;
    line-height: 2rem;
    
}

.heading2{
    font-size: 2rem;
    margin-top: 1em;
    margin-bottom: 1em;
    color: gray;
    letter-spacing: 0.25rem;
}
.body2{
    font-size: 1.5rem;
    letter-spacing: 0.15rem;
    word-spacing: 0.3rem;
    line-height: 2rem;
}
.row .text-box .btn{
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    display: inline-block;
    border: 2px solid red;
    color: red;
    border-radius: 2rem;
    padding: 0.8em;
    margin-top: 2em;
    letter-spacing: 0.2rem;
}

.btn:hover{
    transform: scale(1.2);

    
}

/* ####################### LAST ITEM ############### */


.last-content{
    padding: 7rem;
} 

.box{
    width: 33.333333%;
    
    padding: 2em;
    text-align: center;
}
.boxes{
    box-shadow: 5px 5px 20px 0 gray;
    color: white;
   
}

.left{
    float: left;
}
.middle{
    float: left;
}

.right{
    float: left;
}

.boxes::after{
    content: "";
    display: block;
    clear: both;
}

.para{
    font-size: 2rem;
}

.left ,.right{
    background-color: #263238;
}
.middle{
    background: linear-gradient(25deg,#d64c7f, #ee4758 50%) ;
}

.md-heading{
    font-size: 2.5rem;
    margin-bottom: 0.5em;

}

/* ############################ FOOTER ############### */
.footer{
    background-color: #263238;
    padding: 2em;
    color: white;
    text-align: center;
    
    
}

.social-media i{
    margin: 2rem;
    

}
.copy{
    font-size: 1.5rem;
    text-align: center;
   
    margin-top: 1em;
}
.color{
    color: white;
}




/* ########################## MEDIA QUERY ####################################################### */

@media (max-width: 500px){
    html{
        font-size: 7px;
    }

    .header .navbar .logo{
        float: none;
        display: block;
        margin-left: 40%;
        margin-top: 0;
    }

    .header .navbar .nav-items{
        float: none;
        text-align: center;
    }

    .row{
        height: auto;
        width: 100%;
    }

    .row1 .img-box, .row2 .text-box,
    .row2 .img-box, .row1 .text-box{
        float: none;
        width: 100%;
        height: auto;
        text-align: center;

    }

    .left{
        float: none;
    }
    .middle{
        float: none;
    }
    
    .right{
        float: none;
    }

    .box{
        width: 100%;
    }
    
}


@media (min-width: 501px) and (max-width: 768px){
    html{
        font-size: 8px;
    }
    p{
        font-size: 1.8rem;
    }

    .header .navbar .logo{
        float: none;
        display: block;
        margin-left: 40%;
        margin-top: 0;
    }

    .header .navbar .nav-items{
        float: none;
        text-align: center;
    }

    .row{
        height: auto;
        width: 100%;
    }

    .row1 .img-box, .row2 .text-box,
    .row2 .img-box, .row1 .text-box{
        float: none;
        width: 100%;
        height: auto;
        text-align: center;

    }

    .left{
        float: none;
    }
    .middle{
        float: none;
    }
    
    .right{
        float: none;
    }

    .box{
        width: 100%;
    }
    
}



@media (min-width : 769px) and (max-width: 1200px){
    html{
        font-size: 54%
    }
}


