* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --padding: 60px;
    --white-color: #EEEEEE;
    --dark-blue-color: #181D31;
    --blue-color: #21aee2;
    --primary-btn-color: #2560e0;
    --title-font-size: 25px;
    --p-font-size: 16px;
    --lg-title-font-size: 40px;
}

html {
    scroll-behavior: smooth;
    font-family: 'Roboto', sans-serif;
}

body {
    overflow-x: hidden;
}

/* START OF NAV */

nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.1);
    position: fixed;
}

.nav-logo {
    width: 50vw;
    padding-left: var(--padding);
    text-transform: uppercase;
    font-size: 20px;
    color: #FEFCF3;
}

.nav-list {
    width: 70vw;
    display: flex;
    justify-content: center;
}

.nav-list li {
    display: flex;
    padding: 20px;
    padding-right: 30px;
    font-weight: 800;
    font-size: 18px;
}

.nav-list li a {
    text-decoration: none;
    color: var(--white-color);
}

.nav-list li a:hover {
    color: var(--blue-color);
}

/* HAMBURGER MENU */
.menu-toggle {
    display: none;
    flex-direction: column;
    height: 20px;
    justify-content: space-between;
    position: relative;
}

.menu-toggle span{
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--white-color);
    border-radius: 3px;
    transition: 0.5s;
}

.menu-toggle input {
    position: absolute;
    width: 40px;
    height: 28px;
    opacity: 0;
    cursor: pointer;
    left: -6px;
}

/* Menu toggle animation */

.menu-toggle span:nth-child(2) {
    transform-origin: 0 0;
}

.menu-toggle span:nth-child(4) {
    transform-origin: 0 100%;
}

.menu-toggle input:checked ~ span:nth-child(2) {
    background-color: var(--white-color);
    transform: rotate(45deg) translate(-1px, -1px);
}

.menu-toggle input:checked ~ span:nth-child(4) {
    background-color: var(--white-color);
    transform: rotate(-45deg) translate(-1px, 0);
}

.menu-toggle input:checked ~ span:nth-child(3) {
    opacity: 0;
    transform: scale(0)
}
.white {
        background-color: whitesmoke;
    }

/* END OF NAVIGATION */

/* START OF HERO INFO */

.hero-container {
    background-color: #181D31;
    width: 100%;
    height: 90vh;
    display: flex;
}

.hero-info {
    margin: auto 230px auto 15px;
    width: 50vw;
}

.hero-title {
    margin: auto;
    color: #FEFCF3;
    padding-left: var(--padding);
    font-size: 25px;
}

.hero-title h2 {
    color: #21aee2;
    font-weight: 1300;
}

.hero-p {
    padding-left: var(--padding);
    padding-top: 40px;
    color: var(--white-color);
    font-size: 16px;
    padding-bottom: 40px;
}

.contact-btn {
    margin-left: var(--padding);
    color: var(--white-color);
    background-color: #2560e0;
    border: 1px #2560e0 solid;
    border-radius: 30px;
    padding: 10px 25px;
    cursor: pointer;
    box-shadow: 0px 0px 3px 1px #336ff0;
}

.picture-container {
    margin: auto;
}

.picture-container img{
    width: 850px;
    height: 700px;
    margin-top: 60px;
}

/* END OF HERO INFO */

/* START OF PROFILE PICTURE */

.picture-container {
    width: 50vw;
    height: 90vh;
    display: flex;
}

/* END OF PROFILE PICTURE */

/* START OF TECT STACK */

.ts-container {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    background-color: var(--white-color);
}

.ts-title {
    font-size: 40px;
    font-weight: 900;
    padding: 30px;
}

.tech-logo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-logo-container img {
    width: 180px;
    height: 180px;
    padding: 30px;
    filter: grayscale(1);
    
}

.tech-logo-container img:hover {
    filter: grayscale(0);
    cursor: pointer;
}

/* START OF RESUME */

.resume-container {
    height: 50vh;
    width: 100vw;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.resume-container img {
    width: 33vw;
    padding-left: var(--padding);
    border-radius: 20px;
}

.resume-info-container {
    width: 50vw;
    height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: var(--padding);
}

.resume-title {
    text-transform: capitalize;
    align-self: start;
    width: 30vw;
    padding: 30px 0;
}

.resume-p {
    font-size: 17px;
}

/* END OF RESUME */

/* START OF PROJECTS */

.projects-container {
    background-color: rgb(32, 30, 30);
    display: flex;
    align-items: center;
    flex-flow: column wrap;
    width: 100vw;
    height: 250%;
    color: var(--white-color);
}

.projects-title {
    padding-top: 40px;
    font-size: var(--lg-title-font-size);
}

.card-container {
    width: 100vw;
    height: 250%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
 
}

.card-main img{
    width: 80vw;
    border-radius: 20px;
}

.dcard-container {
    display: flex;
    flex-flow: row wrap;
    width: 100vw;
    justify-content: center;
}

.card2 img{
    width: 40vw;
    border-radius: 20px;
}

.card3 img{
    width: 40vw;
    border-radius: 20px;
}

.card2,.card3 {
    padding: 15px;
}

.projects-word {
    display: flex;
    flex-direction: column;
}

.projects-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 20px;
}

.card-btn {
    background-color: var(--primary-btn-color);
    border-radius: 30px;
    padding: 10px 20px;
}

.card-btn a{
    text-decoration: none;
    color: var(--white-color);
}

.card-btn:hover {
    box-shadow: 0 5px 18px rgba(33, 134, 235, 0.4);
}

.contact-title {
    text-align: center;
    font-size: var(--lg-title-font-size);
    background-color: var(--white-color);
}

.contact-container {
    background-color: var(--white-color);
    display: flex;
    justify-content: space-around;
    height: 45vh;
}

.last-word {
    margin: 50px;
}

i {
    width: 20px;
    height: 20px;
    font-size: 50px;
    margin: 30px 30px;
    color: #181D31;
}

.fa-github:hover {
    color: #000;
    transform: translateY(-5px);
}

.fa-instagram:hover {
    transform: translateY(-5px);
}

.fa-codepen:hover {
    transform: translateY(-5px);
}

input,textarea {
    width: 35vw;
    padding: 5px;
    margin: 10px 0;
}

.copyright {
    text-align: center;
    background-color: rgb(30, 29, 29);
    color: var(--white-color);
    padding: 5px;
}


@media screen and (max-width: 576px) {
    .menu-toggle {
        display: flex;
        left: 90px;
        top: 3px;
        z-index: 999;
        position: relative;
    }

    .menu-toggle > input {
        position: absolute;
        margin-top: -5px;
        margin-left: -4px;
    }

    nav {
        width: 100vw;
        z-index: 99;
    }

    nav ul {
        position: absolute;
        right: 0;
        top: 0;
        height: 100vh;
        justify-content: space-evenly;
        flex-direction: column;
        align-items: center;
        background-color: var(--dark-blue-color);
        transform: translateX(100%);
        transition: all 1s;
        opacity: 0;
        
    }

    .nav-logo {
        font-size: 16px;
    }

    .hero-container {
        width: 100%;
        height: 100vh;
    }

    .picture-container {
        position: absolute;
        width: 100vw;
        height: 80vw;
        top: 100px;
    }

    .hero-info {
        display: block;
        width: 100vw;

    }

    .hero-title {
        font-size: calc(9vw - 1em);
    }

    .hero-p {
        font-size: calc(8vw - 1em);
    }

    .picture-container {
        position: absolute;
        width: 20vw;
        height: 20vh;
        right: 20px;
    }

    .picture-container img {
        position: absolute;
        width: 170px;
        height: 120px;
        right: -75px;
        top: -80px;
    }

    .nav-list li {
        padding: 25px 30px;
    }

    .nav-list li a {
        color: rgba(255, 255, 255, 0.89);
    }

    nav ul.slide {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-logo {
        padding: 13px;
        margin-left: calc(10vw - 10em);
    }

    /* START OF MOBILE TECH STACK */

    .resume-container {
        display: flex;
        flex-direction: column;
    }

    .resume-container img {
        width: 90vw;
        height: 40vh;
        margin: auto;
        margin-top: 14em;
        padding: 15px 0;
    }

    .resume-info-container {
        width: 100vw;
        height: 50vh;
        margin-top: -34px;
        background-color: var(--white-color);
    }

    .resume-title {
        font-size: calc(9vw - 1em);
        width: 100vw;
        padding: 10px;
    }

    .resume-p {
        font-size: calc(8vw - 1em);
        width: 100vw;
        margin: auto;
        padding: 10px;
    }

    /* END OF TECH STACK */


    /* START OF PROJECTS CONTAINER */
    .projects-container {
        display: block;
        height: 160%;
        width: 100vw;
        margin-top: 150px;
        text-align: center;
    }

    .projects-info {
        font-size: calc(7vw - 1em);
        flex-direction: column;
        align-items: center;
    }

    .projects-container img {
        width: 80vw;
    }

    .card-btn {
        width: 120px;
        border: 0px;
        margin-top: 10px;
    }

    /* END OF PROJECT CONTAINER */

    /* START OF CONTACT CONTAINER */

    .contact-title {
        font-size: calc(12vw - 1em);
    }

    .contact-container{
        height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .contact-logo {
        text-align: center;
    }

    form {
        width: 100vw;
        height: 80vh;
    }

    input,label,textarea {
        width: 90vw;
        margin: 9px 15px;
    }

}