*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
.header{
    min-height: 80vh;
    width: 100%;
    background-image: -webkit-linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/promotional.png);
    background-position: center;
    background-size: cover;
}
.name-logo{
    font-size: 50px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    padding-left: 30px;
}
nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 80px;
    background-color: rgba(4,9,30,0.7);
}
.nav-links{
    flex: 1;
    text-align: right; /*for aligning home,contacts to the right*/
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative; /*placing links in a staight line and padding*/
}
.nav-links ul li a{
    color: white;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto; /*under line */
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
.text-box{
    width: 90%;
    color: beige;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align:left;
}
.text-box h1{
    font-size: 40px;
   
}
.text-box p{
    font-size: 20px;
    
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position:relative;
    cursor: pointer;
    border-radius: 3px;
}
.hero-btn:hover{
    border: 2px solid #f44336;
    background: #f44336;
    border-radius: 3px;
    transition: 0.5s;
}
#icon{
    display: none;
}
@media(max-width: 700px){
    .text-box h1{
        font-size: 20px;
    }
    .text-box p{
        font-size: 15px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: absolute;
        background: #f44336;
        height: 80vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    #icon{
        display: block;
        width: 30px;
        margin: 10px;
        background-color: transparent;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
    .row{
        flex-direction: column;
    }
    .resume-download{
        flex-direction: column;
    }

}
/* about*/
.about{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 40px;
    font-weight: 600;
    }
.about p{
    font-size: 20px;
    font-weight: 300;
    line-height: 22px;
    padding: 0;
    text-align: left;
}
.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-evenly;
    
}
.Education-col{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 10% 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
.skills-col{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 10% 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
.skills-col ul li{
    list-style: none;
}
.Education-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}
.skills-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}
.resume{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 20px;
}
.resume h2{
    text-align: center;
    text-decoration: underline;
    padding-bottom: 30px;
}
.popup .overlay{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    z-index: 1;
    display: none;
}
.popup .content{
    position: absolute;
    top: 150%;
    left: 30%;
    transform: translate(-50%, -50%) scale(0);
    background: #fff;
    width:400px;
    height:600px;
    z-index: 2;
    box-sizing: border-box;
}
#pdfv{
    height:600px; 
    width:400px;
}
.popup .close-btn{
    position: absolute;
    left: 10px;
    top: 20px;
    width: 30px;
    height: 30px;
    background: #222;
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    text-align: center;
    border-radius: 50%;
    line-height: 30px;
    cursor: pointer;
}
.popup.active .overlay{
    display: block;
}
.popup.active .content{
    transition: all 300ms ease-in-out;
    transform:translate(-50%, -50%) scale(1);

}
.resume-download{
    display: flex;
    background: transparent;
    align-content: flex-start;
}
.downloadlink{
    display: inline-block;
    text-decoration: none;
    color: black;
    border: 1px solid black;
    border-radius: 3px;
    padding: 12px 34px;
    font-size: 20px;
    background: transparent;
    position:relative;
    cursor: pointer;
    top: 20px;
}
.downloadlink:hover{
    border: 2px solid #f44336;
    color: whitesmoke;
    background: #f44336;
    transition: 0.5s;
}
.contact{
    background-color: rgba(4,9,30,0.7);
    width: 100%;
    margin: auto;
    padding-top: 30px
}
.contact h2{
    padding-left: 15%;
    font-size: 40px;
}
.contact h3{
    font-size: 30px;
}
.contact-det{
    padding-left: 10px;
}
.form-container{
    flex-basis: 31%;
    background: transparent;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px;
    box-sizing: border-box;
}
.form-container h3{
    font-size: 20px;
    position: relative;
    bottom: 20px;
}
.input-row{
    margin-bottom: 10px;
}
.input-row label{
    display: block;
    margin-bottom: 3px;
}
.input-row input,
.input-row textarea{
    width: 80%;
    padding: 10px;
    border: 0;
    border-radius: 3px;
    outline: 0;
    margin-bottom: 3px;
    font-size: 18px;
    font-family: Arial;
}
.input-row textarea{
    height: 100px;
}
.btn-primary{
    display: block;
    margin: 0, auto;
    text-align: center;
    color: black;
    cursor: pointer;
    background: #f44336;
    border-radius: 5px;
    padding: 12px 34px;
    font-size: 20px;
}

#myBtn{
    display:inline-block;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: transparent;
    color: black;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 14px;
}
#myBtn:hover{
    background-color: #f44336;
}

.footer-content{
    width: 100%;
    background-color: #222;
    display: flex;
    align-items: center;
    flex-direction: column;
}
#footcons{
    display: block;
    width: 30px;
    margin: 10px;
    background-color: transparent;
    cursor: pointer;
    padding: 10px;
}
.footer-content ul{
   display: flex;
   list-style: none;
}
