/*font URL import*/
@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2&family=Bree+Serif&family=Lobster&family=Permanent+Marker&family=Roboto:ital,wght@1,100&family=Satisfy&family=Ubuntu&display=swap');
/*Css RESET*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, 
body{
    line-height: 1.4;
    font-weight: 300;
    font-family:  'Baloo Bhai 2', cursive;
}


/*Hero section styling*/

.hero-section{
 background-image: url(../images/nubelson-fernandes--Xqckh_XVU4-unsplash.jpg);
 min-height: 100vh;
 background-position: center;
 background-size: cover;
 background-repeat: no-repeat;

}

.text-container{
    color: white;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 64px;
    padding-left: 16px;
    
}
.lg-text{
    font-size: 72px;
    font-weight: 400;
}

/*Black-box section*/
.black-box{
    background-color: #000;
    padding: 20px;
}
.black-box h2{
    font-size: 72px;
    color: yellow;
    text-align: center;
    font-weight: 300;
}

.black-box h2 span{
    font-weight: 400;
    font-size: 96px;
}

/*image resizing*/

.image-container img{
    height: 200px;
    width: 300px;
}


/*CSS grid use to make the picture fit*/
.work{
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    margin: 20px 0;
    max-width: 1100px;
    margin: 50px auto;
}

.card{
    max-width: 300px;
    height: 400px;
    border-radius: 10px;
    box-shadow: 3px  5px 5px rgba(1, 1, 1,0.2);
    transition: 0.2s ease-in-out;
}

.grid-item{
    display: flex;
    justify-content: center;
    align-items: center;
}

.card:hover{
    transform: scale(1.04);
    box-shadow: 3px  5px 5px rgba(1, 1, 1,0.3);
}

.card-content{
    padding: 20px;
}

.card-content h3{
    margin-bottom: 10px;
}


/*Bottom section of about and contact me*/
.bottom-section{
    display: flex;
    flex: 1;
}

.contact{
background-color:#515603;
min-height: 200px;
color: white;
padding: 32px;

}

.about{
background-color: #722330;
min-height: 200px;
color: white;
padding: 32px;
}

.contact p{
    margin-bottom: 20px;
}


.about h2{
    font-size: 60px;
    font-weight: 300;
}

.contact h2{
    font-size: 60px;
    font-weight: 300;
}

/*Footer part*/
footer{
    text-align: center;
    text-transform: uppercase;
    background-color: #000;
    color: white;
    padding: 20px;
}

/*For the responsiveness of the website we used media queries*/
@media(max-width:786px){
    .hero-section{
        min-height: 50vh;
    }

    .text-container{
        padding: 10px 0;
        text-align: center;
    }
    .lg-text{
        font-size: 32px;
    }

    .black-box h2{
        font-size: 24px;
    }

    .black-box h2 span{
        font-weight: 400px;
        font-size: 32px;
    }
    .bottom-section{
        flex-direction: column;
    }
    h1{
        font-size: 32px;
    }
    .about h2,
    .contact h2{
        font-size: 32px;
    }
}
