@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Open+Sans&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}
body{
    background-color: antiquewhite;
    margin: 0 !important;
    padding: 0 !important;
}

.title{
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(./images/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 50vh; 
    width: 100%;
}
.title h1{
    margin-left: 80px;
    margin-top: 130px;
    color: white;
    letter-spacing: 5px;
    font-size: 45px;
}
.container{
    position: relative;
    height: 280px;
    width: 250px;
    margin: 40px auto;
    background: white;
    left: -36%;
    top: 20px;
    border-radius: 5%;
}
.container .box{
    position: relative;
}
.imgBox img{    /* profile image */
    border-radius: 50%;
    position: relative;
    left: 28%;
    margin-top: 10px;
}
.social-media p{
    margin-top: 20px;
    text-align: center;
    font-size: 15px;
}
.social-media ul li{
    margin-top: 30px;
    margin-left: 48px;
    float: left;
    padding-right: -10px;
}
.fa-facebook, .fa-facebook-square {
    color: #3b5998;
    
}
.fa-linkedin, .fa-linkedin-square {
    color: #007bb6;
}
.fa-github, .fa-github-square {
    color: #222729;
}
.container .box h1{
    font-size: large;
    text-align: center;
    margin-top: 20px;
    font-weight: bolder;
}
.container .box .education  {
    border-bottom: 5px gray;
    margin-left: 10px;
    margin-top: 10px;
    line-height: 1.5;
    font-size: 14px;
    border-bottom: 1px dashed gray ;
}
.container .box .interest li{
    margin-top: 15px;
    margin-left: 25px;
    line-height: 1.8; 
}
.main-container{
    margin: 40px auto;
    background: white;
    border-radius: 1%;
    position: relative;
    top: -940px;
    left: 130px;
    height: 799px;
    width: 800px;
    margin-bottom: 0;
}
.projects{
    margin-left: 20px;
    line-height: 1.8;
}
.main-container .box .projects h1{
    font-weight: bolder;
    font-size: 26px;
    margin-left: 10px;
    color: rgb(121, 34, 34);
}
.main-container .box .projects p{
    width: 90%;
    margin-left: 10px;
    text-align: justify;
    font-size: 15px;
}
.main-container .box .projects #repos{
    margin-left: 25px;
}

/* Media Queries  */
@media screen and (max-width:1140px){
    .main-container{
        position: relative;
        top: -940px;
        left: 120px;
        height: 820px;
        width: 690px;
    }
}
@media screen and (min-width:851px) and (max-width: 980px){
    .main-container{
        position: relative;
        top: -940px;
        left: 149px;
        height: 850px;
        width: 535px;
    }
    .container{
        left: -31%;
    }
    .main-container .box .projects h1{
        font-weight: bold;
        font-size: 23px;
    }
    .main-container .box .projects p{
        font-size: 15px;
    }
    .main-container .box .projects #repos span{
        font-size: 15px;
    }
}
@media screen and (min-width:769px) and (max-width: 850px){
    .main-container{
        position: relative;
        top: -940px;
        left: 150px;
        height: 875px;
        width: 455px;
    }
    .container{
        left: -31%;
    }
    .main-container .box .projects h1{
        font-weight: bold;
        font-size: 20px;
    }
    .main-container .box .projects p{
        font-size: 14px;
    }
    .main-container .box .projects #repos span{
        font-size: 14px;
    }
}
@media screen and (max-width:768px){
    .title h1{
        font-size: 35px;
    }
    .main-container{
        position: static;
    }
    .container{
        left: 10px;
        height: 290px;
        width: 450px;
    }
    .imgBox img{    
        left: 38%;
    }
    .social-media ul li{
            margin-left: 58px;
            padding-left: 40px;
    }
    .container .box .education  {
        line-height: 1.8;
        font-size: 14px;
    }
    .main-container{
        height: 800px;
        width: 620px;
    }
    .container .box .interest li{
        font-size: 14px;
        margin-top: 25px;
    }
    .main-container .box .projects h1{
        font-weight: bold;
        font-size: 25px;
    }
    .main-container .box .projects p{
        font-size: 14px;
    }
    .main-container .box .projects #repos span{
        font-size: 14px;
    }
}
@media screen and (min-width:526px) and (max-width: 767px){
    .title h1{
        font-size: 20px;
        margin-left:15px;
    }
    .main-container .box .projects h1{
        font-weight: bold;
        font-size: 16px;
    }  
    .main-container{
        height: 800px;
        width: 500px;
        position: static;
    }
    .main-container .box .projects p{
        font-size: 13px;
    } 
}
@media screen and (min-width:425px) and (max-width: 525px){
    .title h1{
        font-size: 20px;
        margin-left:15px;
    }
    .container{
        left: -3px;
        width: 340px;
    }
    .social-media ul li{
            margin-left: 45px;
            padding-left: 30px;
    }
    .main-container{
        height: 850px;
        width: 360px;
        position: static;
    }
    .main-container .box .projects h1{
        font-weight: bold;
        font-size: 16px;
    }  
    .main-container .box .projects p{
        font-size: 12px;
    }
}
@media screen and (min-width:320px) and (max-width: 424px){
    .title{
        height: 35vh;
    }
    .title h1{
        margin-left: 30px;
        margin-top: 80px;
        font-size: 15px;
    }
    .container{
        left: -3px;
        width: 270px;
    }
    .imgBox img{    
        left: 30%;
    }
    .social-media ul li{
            margin-left: 40px;
            padding-left: 20px;
    }
    .container .box h1{
        font-size: 16px;
    }
    .container .box .education {
        font-size: 12px;
    }
    .main-container{
        height: 760px;
        width: 300px;
        position: static;
    }
    .main-container .box .projects h1{
        font-weight: bold;
        font-size: 14px;
    } 
    .main-container .box .projects p,.main-container .box .projects #repos span, .container .box .interest li{
        font-size: 11px;
        line-height: 1.5;
    }  
}
