html{
    scroll-behavior: smooth;
}

body{
    background-color: rgb(240, 235, 235);
    font-family: "Roboto", sans-serif;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style-type: none;
}

header{
    display: flex;
    justify-content: space-between;
    background-color: black;
    color: white;
    align-items: center;
    padding: 2rem 1rem;
    position: sticky;
    top: 0;
    z-index: 10;
    min-height: 5vh;
}

.logo i{
    font-size: 4rem;
    border: 1px solid white;
}

.nav-section li{
    display: inline-block;
    padding: 1rem;
    margin-right: 2rem;
    transition: all 0.4s;
}

.nav-section li a{
    font-size: 1.4rem;
    color: white;
    text-transform: uppercase;
    font-family: "Roboto", sans-serif;
}

.nav-section li:last-child{
    margin-right: 0;
}

.nav-section li:hover{
    background-color: blue;
    border-radius: 0.5rem;
}

.banner-section{
    display: flex;
    padding: 5rem 1rem;
    justify-content: center;
    align-items: center;
    min-height: 95vh;
}

.banner-text h1{
    background-color: black;
    color: white;
    padding: 0.8rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.banner-text p{
    padding: 1rem 0;
    text-align: justify;
    font-size: 1rem;
}

.banner-img img{
    width: 500px;
    height: 500px;
    border: 0.2rem solid black;
    margin: 0 0.4rem;
}

.section-heading{
    font-size: 5rem;
    text-align: center;
    font-family: "Italianno", cursive;
    margin: 4rem 0;
}

#about-section{
    background-color: #444444;
    min-height: 95vh;
    padding: 5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    color: white;
}

.card-container{
    display: flex;
    align-items: center;
    margin-top: 2rem;
}

.card{
    flex: 1;
    background-color: #a09d9d;
    padding: 3rem 1rem;
    margin: 1rem;
    border-radius: 0.6rem;
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
    color: black;
}

.card:hover{
    transform: scale(1.1);
}

.card-header{
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.card p{
    padding: 0.4rem 0;
    text-align: justify;
    font-size: 1rem;
    margin-bottom: 5rem;
}

.card-btn{
    background-color: rgb(245, 158, 8);
    border: none;
    cursor: pointer;
    border-radius: 0.3rem;
    box-shadow: 0.1rem 0.1rem 0.1rem #222;
    font-size: 1rem;
    padding: 1rem;
    text-transform: uppercase;
}

#archive-section{
    padding: 5rem 1rem;
    min-height: 95vh;
}

.archive-img{
    width: 100%;
    height: 100%;
    border-radius: 0.6rem;
    transition: 0.3s;
}

.archive-img:hover{
    transform: scale(1.1);
}

.archive-container{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 2rem;
    border-bottom: 0.1rem solid;
    border-top: 0.1rem solid;
    margin-top: 5rem;
}

.archive-container ul{
    display: flex;
    text-align: center;
}

.archive-container li{
    margin: 1rem;
}

#blog-section{
    padding: 5rem 1rem;
    min-height: 95vh;
}

.blog-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.blog{
    display: flex;
    height: 200px;
    width: 70%;
    margin-bottom: 0.7rem;
    box-shadow: 0.1rem 0.1rem 0.1rem #222, -0.1rem 0 0.1rem #222;
    transition: 0.4s;
}

.blog:hover{
    transform: scale(1.1);
}

.blog img{
    height: 200px;
    width: 200px;
    

}

.blog-text{
    margin-left: 1rem;
    padding: 1rem 1rem;
}

.blog-text h4{
    padding: 1rem 0;
}

.blog-text p{
    padding-bottom: 1rem;
    text-align: justify;
}

.blog-btn{
    background-color: rgb(245, 158, 8);
    border: none;
    cursor: pointer;
    border-radius: 0.3rem;
    box-shadow: 0.1rem 0.1rem 0.1rem #222;
    text-transform: uppercase;
    padding: 0.3rem;
}

#contact-section{
    padding: 5rem 1rem;
    min-height: 95vh;
    background-color: #444444;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact-form{
    padding: 1rem;
    box-shadow: 0.1rem 0.1rem 0.1rem #222, -0.1rem 0 0.1rem #222;
    margin: 1rem;
    display: flex;
    flex-direction: column;
}

.form-control{
    margin: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-control label{
    font-size: 1.4rem;
    flex: 0.3;
}

input,textarea{
    flex: 0.7;
    width: 40rem;
    font-size: 1.6rem;
    padding: 2rem 1rem;
    border: none;
    border-radius: 0.6rem;
}

textarea{
    resize: none;
}

.contact-btn{
    background-color: rgb(245, 158, 8);
    border: none;
    cursor: pointer;
    border-radius: 0.3rem;
    box-shadow: 0.1rem 0.1rem 0.1rem #222;
    text-transform: uppercase;
    padding: 0.3rem;
    font-size: 1.6rem;
    width: 30%;
}

.form-btn{
    display: flex;
    justify-content: end;
}

footer{
    background-color: black;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.foot-text p{
    padding: 1rem;
}

.foot-social ul{
    display: flex;
    padding: 1rem;
}

.foot-social li{
    margin-right: 3rem;
}

.foot-social li:last-child{
    margin-right: 0;
}

.foot-social li i{
    font-size: 2rem;
    transition: 0.4s;
}

.foot-social li i:hover{
    transform: scale(1.3);
}





/* Responsive section */

@media(max-width:992px){
    .banner-section{
        flex-direction: column;
    }

    .banner-text{
        width: 70%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 1rem;
    }

    .banner-img img{
        height: 600px;
        width: 700px;
    }

    header{
        height: 6rem;
    }

    .card-container{
        width: 50%;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .card{
        width: 700px;
        position: relative;
        right: 120px;
    }

    .blog{
        height: 250px;
    }

    .blog img{
        height: 250px;
    }
}

@media(max-width:768px){
    .banner-img img{
        height: 500px;
        width: 600px;
    }

    .card-container{
        width: 80%;
    }

    .card{
        width: 600px;
        position: relative;
        right: 30px;
    }

    #archive-section{
        min-height: auto;
    }

    .blog{
        width: 85%;
    }

    #contact-section{
        min-height: auto;
    }

    #contact-form{
        width: 90%;
    }

    footer{
        flex-direction: column;
    }

    .foot-social li{
        margin-right: 1.5rem;
    }

    .foot-text{
        margin-top: 1rem;
    }
}

@media(max-width:600px){
    header{
        flex-direction: column;
        position: static;
        height: fit-content;
    }

    .nav-section li{
        display: block;
        margin-right: 0;
        margin: 2rem 0;
        text-align: center;
    }

    .banner-img img{
        height: 500px;
        width: 500px;
    }

    .card-container{
        width: 90%;
    }

    .card{
        width: 500px;
    }

    .archive-container ul{
        flex-wrap: wrap;
    }

    .blog{
        width: 100%;
    }

    #contact-form{
        width: 90%;
    }

    .form-control{
        flex-direction: column;
    }

    .form-control label{
        margin-bottom: 0.5rem;
    }

    input,textarea{
        width: 90%;
    }
}

@media(max-width:400px){
    .banner-img img{
        height: 300px;
        width: 300px;
    }

}


