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

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/********* Header *********/

header {
    height: 100vh;
    width: 300px;
    padding: 15px 30px;
    background-color: #1E1E1F;
    overflow: auto;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 99;
    position: fixed;
    transition: .5s;
    border-right: 2px solid #FFC562;
    border-top: 0;
    border-bottom: 0;
}

header .profile {
    text-align: center;
    margin: 10px 0;
}

header .profile img {
    /* width: 200px; */
    border-radius: 50%;
    border: 10px solid #383839;
}

header .profile h1 {
    color: white;
    font-weight: bolder;
}

header .profile .social_media a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 43px;
    background-color: #383839;
    color: white;
    font-size: 20px;
    margin: 2px;
    transition: .5s;
}

header .profile .social_media a:hover {
    background-color: #FFC562;
    color: black;
}

/********* Navbar ************/

header nav {
    margin-top: 30px;
}

header nav ul li {
    list-style: none;
}

header nav ul li a {
    text-decoration: none;
    display: inline-block;
    padding: 7px 10px;
    margin: 7px 0;
    margin-left: 30px;
    color: lightgray;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 0.6px;
}

header nav ul li a i {
    margin-right: 10px;
    font-size: 20px;
    transition: .5s;
}

header nav ul li a:hover i {
    color: #FFC562;
}

header nav ul li .active i {
    color: #FFC562;
}

/********** footer **********/

header .footer {
    text-align: center;
    background-color: #1E1E1F;
    width: 300px;
    color: lightgrey;
    font-size: 14px;
    letter-spacing: 0.6px;
    padding: 15px;
    position: fixed;
    bottom: 0;
    left: 0;
    transition: .5s;
    border-right: 2px solid #FFC562;
    border-top: 0;
    border-bottom: 0;
}

header .footer p a {
    color: #FFC562;
}

/********** Mobile Nav ************/

#menuBtn {
    position: fixed;
    top: 25px;
    right: 25px;
    font-size: 20px;
    width: 40px;
    height: 40px;
    color: #1E1E1F;
    background-color: #FFC562;
    text-align: center;
    line-height: 42px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 20%);
    z-index: 999;
}

@media only screen and (max-width: 1050px) {
    header {
        left: -300px;
    }

    header .footer {
        left: -300px;
    }

    #menuBtn {
        display: block;
    }
}

/* @media only screen and (min-width: 1024px) {
    header {
        left: -300px;
    }

    header .footer {
        left: -300px;
    }

    #menuBtn {
        display: block;
    }
} */

.mobile-nav-active header {
    left: 0;
}

.mobile-nav-active header .footer {
    left: 0;
}

/**** Main content ****/

main {
    margin-left: 300px;
    transition: .5s;
    background-color: lightgrey;
}

@media only screen and (max-width:1050px) {
    main {
        margin-left: 0;
        overflow-x: hidden;
    }
}

#home {
    height: 100vh;
    width: 100%;
    background-color: #383839;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px;
    position: relative;
}

#home::before {
    content: '';
    width: 100%;
    height: 100%;
    background-color: #383839;
    position: absolute;
    top: 0;
    left: 0;
}

#home .home-row {
    z-index: 1;
}

#home .home-row h1 {
    color: white;
    font-size: 60px;
    font-weight: bolder;
    letter-spacing: -1px;
    margin-bottom: 10px;
    line-height: 70px;
}

#home .home-row h1 span {
    color: #FFC562;
}

#home .home-row p {
    color: whitesmoke;
    font-size: 30px;
    font-weight: bold;
}

#home .home-row p span {
    border-bottom: 4px solid #FFC562;
}

@media only screen and (max-width:1050px) {
    #home {
        padding: 30px;
        overflow-x: hidden;
    }

    #home .home-row h1 {
        font-size: 35px;
        letter-spacing: 0;
        line-height: 50px;
    }

    #home .home-row h1 br {
        display: none;
    }

    #home .home-row p {
        font-size: 20px;
        font-weight: 400;
    }
}


/******* About Me *******/

#about {
    padding: 70px 30px;
    background-color: #383839;
    margin-bottom: 10px;
}

.sub-heading {
    color: white;
    font-size: 30px;
    font-weight: bolder;
    margin-bottom: 10px;
}

.divider {
    width: 140px;
    height: 4px;
    background-color: #FFC562;
    border-radius: 3px;
}

.sub-para {
    color: #B3B3B3;
    font-size: 15px;
    letter-spacing: 0.5px;
    font-weight: bolder;
    margin-top: 15px;
}

#about .about-col {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

#about .about-col .img-col {
    flex-basis: 25%;
    text-align: center;
}

#about .about-col .img-col img {
    width: 100%;
    border-radius: 10%;
}

#about .about-col .info-col {
    flex-basis: 70%;
}

#about .about-col .info-col h2 {
    color: #FFC562;
    font-weight: bolder;
    font-size: 35px;
    letter-spacing: 0.5px;
    margin-top: -10px;
}

#about .about-col .info-col p {
    color: #B3B3B3;
    letter-spacing: 0.5px;
    font-size: 15px;
    font-style: italic;
    font-weight: bolder;
}

#about .about-col .info-col .icon-list-col {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

#about .about-col .info-col .icon-list-col .icon-list ul li {
    list-style: none;
    margin: 15px 0;
}

#about .about-col .info-col .icon-list-col .icon-list ul li i {
    color: #FFC562;
}

#about .about-col .info-col .icon-list-col .icon-list ul li strong {
    color: black;
    font-weight: bolder;
    margin-right: 2px;
}

#about .about-col .info-col .icon-list-col .icon-list ul li span {
    color: #B3B3B3;
    font-size: 14px;
    font-weight: bolder;
}

@media only screen and (max-width:850px) {
    #about {
        padding: 50px 10px;
        overflow-x: hidden;
    }

    #about .divider ~ p {
        font-size: 15px;
        letter-spacing: 0px;
        text-align: justify;
    }

    #about .about-col {
        flex-direction: column;
    }

    #about .about-col .img-col img {
        width: 50%;
    }

    #about .about-col .info-col h2 {
        font-weight: bolder;
        font-size: 25px;
        letter-spacing: 0px;
    }

    #about .about-col .info-col p {
       font-size: 14px;
       margin-top: 20px;
       gap: 40px;
    }

    #about .about-col .info-col .icon-list-col {
        flex-direction: column;
        gap: 20px;       
    }

    #about .about-col .info-col .icon-list-col .icon-list ul li {
        margin: 10px 0;
    }

    #about .about-col .info-col .icon-list-col .icon-list ul li strong {
        font-weight: bolder;
        margin-right: 0px;
    }

    #about .about-col .info-col .icon-list-col .icon-list ul li span {
        font-size: 13px;
    }

}

@media only screen and (max-width:400px) {
    #about .about-col .img-col img {
        width: 90%;
    }
}

/************** Resume ***************/

#resume {
    padding: 70px 30px;
    background-color: #383839;
    margin-top: -20px;
}

#resume .divider {
    width: 120px;
}

#resume .resume-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 35px;
}

#resume .resume-row .resume-col h2 {
    color: #FFC562;
    font-weight: bolder;
    font-size: 25px;
    margin: 15px 0;
}

#resume .resume-row .resume-col .my-info {
    padding: 0 20px 0 20px;
    margin: 20px 0;
    border-left: 2px solid #FFC562;
    position: relative;
}

#resume .resume-row .resume-col .my-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid #FFC562;
    background-color: #383839;
}

#resume .resume-row .resume-col h3 {
    color: whitesmoke;
    font-size: 17px;
    font-weight: bolder;
    text-transform: uppercase;
}

#resume .resume-row .resume-col .my-info ul li {
    margin: 10px 0;
    margin-left: 20px;
    color: #B3B3B3;
    font-size: 15px;
    font-weight: bolder;
    list-style-type: none;
}

#resume .resume-row .resume-col .my-edu {
    padding: 0 20px 0 20px;
    border-left: 2px solid #FFC562;
    position: relative;
}

#resume .resume-row .resume-col .my-edu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid #FFC562;
    background-color: #383839;
}

#resume .resume-row .resume-col .my-edu span {
    color: #FFC562;
    font-weight: bold;
    font-size: 14px;
    padding: 4px 22px;
    margin: 15px 0;
}

#resume .resume-row .resume-col .my-edu span + p {
    color: #B3B3B3;
    font-size: 15px;
    font-weight: bold;
    font-style: italic;
    margin-bottom: 15px;
}

#resume .resume-row .resume-col .my-edu span + p + p {
    font-size: 15px;
    font-weight: bold;
    color: #B3B3B3;
    padding-bottom: 15px;
}

@media only screen and (max-width:820px) {
    #resume {
        padding: 50px 15px;
    }

    #resume .resume-row {
        flex-direction: column;
    }
    
    #resume .resume-row .resume-col {
        flex-basis: 100%;
    }
    

}

/************* Technical Skills***************************/

#tech-skills {
    background-color: #383839;
    padding: 70px 0px;
    margin-top: -50px;
}

#tech-skills h1 {
    color: #FFC562;
    font-weight: bolder;
    font-size: 25px;
    margin: 15px 0;
}

#tech-skills .tech-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 30px;
    margin-top: 50px;
}

#tech-skills .tech-row .tech-info {
    display: flex;
    align-items: center;
}

#tech-skills .tech-row .tech-info i {
    color: #FFC562;
    font-size: 40px;
}

#tech-skills .tech-row .tech-info strong {
    color: #B3B3B3;
    font-size: 20px;
    margin-left: 5px;
    font-weight: bolder;
}

@media only screen and (max-width:700px) {
    #tech-skills {
        padding: 40px 15px;
    }

    #tech-skills .tech-row {
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
    }
}

@media only screen and (max-width:370px) {
    #tech-skills .tech-row .tech-info i {
        font-size: 30px;
    }
    
    #tech-skills .tech-row .tech-info strong {
        font-size: 20px;
    }
    
}

/*************** Skills ********************/

#skills {
    padding: 70px 30px;
    background-color: #383839;
    margin-top: -50px;
}

#skills .divider {
    width: 70px;
}

#skills .skills-row {
    margin-top: 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

#skills .skills-row .skill-box .skills-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

#skills .skills-row .skill-box .skills-info h2 {
    color: #B3B3B3;
    font-size: 15px;
    font-weight: bolder;
    font-style: italic;
}

#skills .skills-row .skill-box .skills-outerline {
    width: 100%;
    height: 10px;
    background-color: lightgrey;
    border-radius: 15px;
}

#skills .skills-row .skill-box .skills-outerline .skills-innerline {
    height: 10px;
    background-color: #FFC562;
    border-radius: 15px;
}

@media only screen and (max-width:450px) {
    #skills {
        padding: 50px 15px;
    }

    #skills .skills-row {
        grid-template-columns: 1fr;
        grid-gap: 10px;
    }
}

/************* Project *****************/

#project {
    padding: 70px 0px;
    margin-top: -150px;
}

#project h1 {
    text-decoration: none;
    color: #FFC562;
    font-weight: bolder;
    font-size: 25px;
    margin: 15px 0;
}

#project .my-project {
    padding: 0 20px 0 20px;
    margin-top: 30px;
    border-left: 2px solid #FFC562;
}

#project .my-project::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid #FFC562;
    background-color: #383839;
}

#project .my-project h3 a {
    font-size: 20px;
    font-weight: bolder;
    color: white;
}

#project .my-project p {
    font-size: 15px;
    font-weight: bolder;
    color: #B3B3B3;
}

/************ Contact ******************/

#contact {
    background-color: #383839;
    padding: 70px 30px;
    margin-top: -100px;
}

#contact .divider {
    width: 125px;
}

#contact .contact-row {
    margin-top: 50px;
    display: flex;
    gap: 20px;
    width: 100%;
}

#contact .contact-row .contact-left {
    flex-basis: 40%;
    min-width: 40%;
    background-color: #4f4f51;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    padding: 30px;
}

#contact .contact-row .contact-left .icon-box {
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 20px 0;
}

#contact .contact-row .contact-left .icon-box .icon i {
    text-align: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #FFC562;
    line-height: 47px;
    font-size: 20px;
    color: #FFC562;
    transition: .5s;
}

#contact .contact-row .contact-left .icon-box:hover .icon i {
    background-color: #FFC562;
    color: #383839;
}

#contact .contact-row .contact-left .icon-box .info h4{
    font-size: 20px;
    color: whitesmoke;
    font-weight: bolder;
}

#contact .contact-row .contact-left .icon-box .info h4 + p {
    color: #B3B3B3;
    font-size: 15px;
    font-weight: bolder;
}

#contact .contact-row .contact-right {
    flex-basis: 60%;
    min-width: 60%;
    background-color: #4f4f51;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    padding: 30px;
}

#contact .contact-row .contact-right form input,
#contact .contact-row .contact-right form textarea {
    width: 100%;
    display: block;
    margin: 25px 0;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: bolder;
    color: whitesmoke;
    border: 2px solid lightgrey;
    background-color: transparent;
    border-radius: 2px;
    outline: none;
    resize: none;
    transition: .5s;
}

#contact .contact-row .contact-right form input:focus,
#contact .contact-row .contact-right form textarea:focus {
    border: 2px solid #FFC562;
}

#contact .contact-row .contact-right form input[type=submit] {
    background-color: #FFC562;
    color: #383839;
    border: 2px solid #FFC562;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

@media only screen and (max-width:800px) {
    #contact {
        padding: 50px;
    }
    
    #contact .contact-row {
        flex-direction: column;
        gap: 10px;
    }

    #contact iframe {
        width: 350px;
    }
}

@media only screen and (max-width:500px) {
    #contact {
        padding: 50px 10px;
    }

    #contact iframe {
        width: 350px;
    }
}