@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400;800&family=Open+Sans:ital,wght@0,300;0,400;0,800;1,300&display=swap');

:root {
    --black: #0B0C10;
    --dark-grey: #1F2833;
    --grey-color: #C5C6C7;
    --light-blue: #66FCF1;
    --dark-blue: #45a29e;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    
    margin: 0;
    background-color: var(--black);
    color: #45a29da1;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    z-index: 2000;
    transition: all 0.3s ease-in-out;
}

.navbar.active {
    background-color: var(--dark-grey);
    border-bottom: 1px solid var(--dark-blue);
}

.navbar h3 {
    margin-left: 20px;
    font-weight: 300;
}

.navbar h3 a {
    color: var(--grey-color);
    text-decoration: none;
}

.navbar .navlist {
    display: flex;
    list-style-type: none;
}

.navbar .navlist .nav-item {
    margin: 10px 30px;
    color: var(--grey-color);
    transition: all 0.2s ease-in;
    cursor: pointer;
}

.nav-item a {
    color: inherit;
    text-decoration: none;
}

.navbar .navlist .nav-item:hover {
    transform: scale(1.3);
    color: #fff;
}

.intro-section {
    background:linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1555066932-e78dd8fb77bb?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80');
    width: 100vw;
    height: 500px;
    background-size: cover;
    padding-top: 50px;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.intro-section h1 {
    font-family: 'Montserrat', serif;
    font-weight: 800;
    font-size: 4rem;
    color: var(--light-blue);
    margin: 20px 0;
    animation: title 10s;
    
}

@keyframes title {
    0% {
        opacity: 0;
    }
    20%, 100% {
        opacity: 1;
    }
}

.intro-section h2 {
    font-family: 'Open Sans';
    font-weight: 300;
    color: var(--dark-blue);
    font-style: italic;
    animation: name duration timing-function delay iteration-count direction fill-mode;
    animation: subtitle 10s;
}

@keyframes subtitle {
    0%, 10% {
        opacity: 0;
    }
    30%, 100%{
        opacity: 1;
    }
}

.intro-section p {
    font-family: 'Open Sans';
    font-weight: 300;
    color: var(--grey-color);
    font-style: italic;
    animation: exclamation 10s;
    padding: 0 20px;
}

@keyframes exclamation {
    0%, 20% {
        opacity: 0;
    }
    40%, 100% {
        opacity: 1;
    }
}

.intro-section img {
    border-radius: 50%;
}

section {
    text-align: center;
    letter-spacing: 1.25px;
}

.section-title {
    color: var(--dark-blue);
    font-size: 48px;
}

.about-section {
    padding: 70px 20px;
    position: relative;
    overflow: hidden;
}

.about-section .svg {
    position: absolute;
    left: 60%;
    bottom: 20px;
    height: 300px;
    width: 300px;
    z-index: -1;
    /* animation: moveLeft 40s ; */
}

.about-section .computer-svg {
    position: absolute;
    height: 200px;
    width: 200px;
    right: 65%;
    z-index: -1;
}

.about-section .svg-credit {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 8px;
}

/* @keyframes moveLeft {
    0% {
        transform: translateX(-200vw);
    }

    50% {
        transform: translateX(-200vw);
    }

    100% {
        transform: translateX(0);
    }
} */

.about-section p{
    margin: 10px auto;
    max-width: 600px;
    padding: 10px 10px;
    color: var(--grey-color)
}

.about-section .box-1 {
    background-color:#1f28336c;
    padding: 10px;
    z-index: -1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.text-divider {
    margin: 0 auto;
    max-width: 300px;
    height: 1px;
    background-color: var(--dark-blue);
    z-index: 2;
    position: relative;
    
}

.skills-section {
    padding: 50px 10px;
    background-color: var(--dark-grey);
}

.skills-section h3 {
    font-size: 48px;
}

.skills-icon-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 20px auto;
    justify-content: center;
}

.skills-icon {
    height: 100px;
    width: 100px;
    margin: 10px;
    color: var(--grey-color);
}



.skills-icon a {
    text-decoration: none;
    color: inherit;
    transition: all .1s ease-in;
}

.skills-icon a:hover{
    color: var(--dark-blue);
    
}

.skills-icon i {
    font-size: 60px;
}


.skills-icon p {
    margin: 5px;
}

.projects-section {
    width: 90%;
    margin: 0 auto;
    padding-top: 70px;
}

.projects-section .project {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    background-color: var(--dark-grey);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    padding: 20px;
    color: var(--grey-color)
}

.projects-section .project img {
    max-width: 80%;
}

.projects-section .project h3 {
    font-size: 2rem;
}

.projects-section .project h4 {
    color: var(--dark-blue);
}

.projects-section .project .links {
    margin: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.projects-section .project .links a {
    color: var(--light-blue);
    text-decoration: none;
    margin: 10px 20px;
    transition: all 0.1s ease-in;
}

.projects-section .project .links a:hover {
    color: var(--grey-color);
    transform: scale(1.2);
}

.contact-section {
    padding: 70px;
}

.contact-text {
    color: var(--grey-color);
}

.contact-section .contact-links {
    display: flex;
    list-style-type: none;
    justify-content: center;
    padding: 0;
}

.contact-section .contact-links a {
    margin: 20px;
    color: var(--dark-blue)
}

.contact-section .contact-links a {
    color: var(--dark-blue)
}

.contact-section .contact-links a li {
    transition: all .1s ease-in;
}

.contact-section .contact-links a li:hover {
    transform: scale(1.3);
    color: var(--grey-color)
}

.contact-section p a {
    color: var(--grey-color);
}



@media (max-width: 780px) {
    .intro-section img {
        height: 150px;
    }

    .intro-section h1 {
        font-size: 36px;
    }

    .navbar .navlist {
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        top: 45px;
        right: -1000px;
        padding: 0;
        background-color: var(--dark-grey);
        z-index: -1;
        transition: all .6s ease-in-out;
    }

    
    .navbar .navlist li {
        text-align: center;
        width: 100%;
        padding: 30px 0;
        border-top: 1px solid var(--grey-color);
        
    }

    .navbar .navlist li:last-child {
        border-bottom: 1px solid var(--grey-color);
        
    }

    .navbar .navlist .nav-item {
        margin: 0;
    }

    .navbar .navlist.show {
        right: 0;
    }

    .mobile-menu-button {
        height: 40px;
        width: 40px;
        position: absolute;
        right: 10px;
        border: 1px solid var(--black);
        border-radius: 4px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;

    }

    .mobile-menu-button .bar{
        height: 3px;
        width: 80%;
        border-radius: 10px;
        background-color: var(--dark-blue);
    }


}