
/*INITIAL SETTINGS*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body, html {
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

.loco-scroll {
    position: fixed;
    z-index: 1;
    width: 100%;
}

.c-scrollbar_thumb {
    background-color: #000000 !important;
}

.section-divider {
    padding: 4rem 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-divider p {
    text-transform: uppercase;
    font-size: 18px;
}

/*MOBILE MENU*/
.mobile-menu-container {
    position: fixed;
    z-index: 9999;
    background: #000000;
    width: 100vw;
    height: 100vh;
    top: -150%;
    transition: top .3s ease-in;
}

.mobile-nav-menu {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-menu-list {
    list-style: none;
}

.mobile-menu-item {
    width: 100vw;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-item a {
    text-decoration: none;
    color: #ffffff;
    font-size: 2rem;
    text-transform: capitalize;
}

/*NAV MENU*/
header {
    width: 100%;
    height: 60px;
    position: fixed;
    display: flex;
    z-index: 3;
}

.desktop-header-container, .mobile-header-container {
    width: 97%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.desktop-header-container {
    opacity: 0;
    transition: opacity .5s ease;
}

.logo {
    width: 50px;
    padding-top: 10px;
}

.nav-menu {
    display: none;
}

/*HERO SECTION*/
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity .5s ease;
    opacity: 0;
}

.hero div {
    position: relative;
    transition: top .5s ease;
    top: 50px;
}

.role-title {
    font-family: 'Zen Dots', cursive;
    font-size: 2.5rem;
    text-transform: capitalize;
    width: 300px;
}

.role-title span {
    font-family: 'Zen Dots', cursive;
    display: block;
    padding-left: 3rem;
}

.name {
    font-family: 'Zen Dots', cursive;
    text-transform: capitalize;
    width: 300px;
    text-align: right;
}

/*INTRODUCTION TEXT SECTION*/
.introduction-container {
    display: flex;
    justify-content: center;
    padding: 4rem 0 8rem 0;
}

.introduction-text {
    font-size: 20px;
    width: 90%;
    text-transform: uppercase;
    line-height: 2rem;
}

/*PROJECT SECTION*/
.project__container {
    width: 100%;
    /*margin: 100px auto;*/
    color: #ffffff;
    padding: 20px 0px;
    /*padding: 4rem 0;*/
    text-align: center;
    z-index: 1;
}

.project__container-images {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 2150px;
    /*padding: 40px 0;*/
    margin: 0 auto;
}

.project__image {
    width: 90%;
    height: 500px;
    margin: 40px auto;
    top: 0;
    left: 0;
}

.project__image-one p,
.project__image-three p {
    position: absolute;
    bottom: 0;
    left: 20px;
    transform: translateY(50%);
    font-family: 'Zen Dots', cursive;
    font-size: 3rem;
    text-transform: capitalize;
}

.project__image-two p,
.project__image-four p {
    position: absolute;
    bottom: 0px;
    left: 20px;
    transform: translateY(50%);
    font-family: 'Zen Dots', cursive;
    font-size: 3rem;
    text-transform: capitalize;
}

.project__image-one {
    background: url(../images/drawing1.jpg) no-repeat 50% 50%;
    background-size: cover;
}

.project__image-two {
    position: relative;
    background: url(../images/drawing2.jpg) no-repeat 50% 50%;
    background-size: cover;
}

.project__image-three {
    position: relative;
    background: url(../images/drawing3.jpg) no-repeat 50% 50%;
    background-size: cover;
}

.project__image-four {
    position: relative;
    background: url(../images/drawing4.jpg) no-repeat 50% 50%;
    background-size: cover;
}

/*ABOUT SECTION*/
.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 0;
}

.profile-photo {
    background: url("../images/mobile-daniel-gonzalez-XxJ_HIXw25M-unsplash.jpg") no-repeat 50% 50%;
    background-size: cover;
    width: 90%;
    height: 500px;
    margin-bottom: 2rem;
}

.about-text {
    width: 90%;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 18px;
    line-height: 1.8rem;
}

/*FORM SECTION*/
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 4rem 0;
}

.contact-title {
    font-size: 7rem;
    text-transform: capitalize;
    line-height: 7rem;
}

.contact-title span {
    display: block;
}

.contact-form {
    width: 90%;
    display: flex;
    flex-direction: column;
    margin: 2rem 0;
    position: static;
    max-height: 100%;
}

.contact-form label {
    margin-bottom: 0;
}

.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    height: 2.5rem;
    margin-bottom: 1rem;
    padding: 0 .5rem;
    font-size: 18px;
    background: none;
    border: none;
    border-bottom: 1px solid #ffffff;
    color: #ffffff;
}

.contact-form textarea {
    height: 150px;
    padding-top: .5rem;
    resize: none;
}

.contact-form label {
    font-size: 18px;
    text-transform: capitalize;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
}

.contact-form button {
    height: 3rem;
    width: 50%;
    background: #ffffff;
    border: none;
    border-radius: 50px;
    text-transform: capitalize;
    font-size: 18px;
    align-self: center;
    color: black;
    cursor: pointer;
}

.contact-form button:hover {
    background: rgba(255, 255, 255, 0.9);
}

form input:-webkit-autofill, form input:-webkit-autofill:hover {
    -webkit-box-shadow: 0 0 0 1000px #000000 inset !important;
    box-shadow: 0 0 0 1000px #000000 inset !important;
    -webkit-text-fill-color: white;
    font-family: 'Poppins', sans-serif !important;
    width: 100%;
}

.contact-links {
    height: 60vh;
    display: flex;
    width: 90%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.contact-links p {
    width: 90%;
    font-size: 18px;
}

.contact-links a {
    color: #ffffff;
    padding: 1rem 0;
    font-size: 1.5rem;
    font-family: 'Zen Dots', cursive;
}

/*SOCIAL MEDIA*/
.social-media {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    opacity: 0;
    transition: opacity .5s ease;
}

.social-media svg{
    width: 42px;
    height: 42px;
    margin: .5rem;
}

/*SCROLL ANIMATION*/
.circle {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 64px;
    height: 64px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    z-index: 2;
    opacity: 0;
    transition: opacity .5s ease;
}

.text {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateText 10s linear infinite;
}

.text span {
    font-family: 'Zen Dots', cursive;
    text-transform: uppercase;
    font-size: .8rem;
    position: absolute;
    left: 50%;
    top: -25px;
    transform-origin: 0 55px;
}

@keyframes rotateText {
    0% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.intro-animation {
    position: absolute;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    top: 0;
    left: 0;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .5s ease-in-out;
}

.intro-animation svg {
    animation: preload 2s ease;
    width: 40vw;
}

@keyframes preload {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.modal-container {
    background: #FFFFFF;
    color: rgb(99, 99, 99);
    width: 300px;
    height: 200px;
    position: absolute;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: none;
    transition: .5s all ease;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
}

.modal-container-active {
    display: flex;
}

.modal-container h2 {
    margin-top: 1rem;
    font-weight: 400;
}

@media screen and (min-width: 480px) {
    .role-title {
        font-size: 3.5rem;
        width: 470px;
    }

    .role-title span {
        padding-left: 7rem;
    }

    .name {
        width: 470px;
    }

    .introduction-container {
        justify-content: flex-start;
        padding-left: 1rem;
        max-width: 1280px;
        margin: 0 auto;
    }

    .introduction-text {
        max-width: 480px;
    }

    .profile-photo {
        width: 420px;
        height: 500px;
    }

    .contact-form {
        max-width: 480px;
    }
}

@media screen and (min-width: 769px) {

    .burger-button {
        display: none;
    }

    .nav-menu {
        display: flex;
    }

    .menu-list {
        display: flex;
    }

    .menu-item {
        list-style: none;
        position: relative;
    }

    .menu-item::after {
        content: "";
        background: #ffffff;
        height: 2px;
        width: 0;
        position: absolute;
        left: 0;
        bottom: 0;
        transition: width .3s ease-in-out;
    }

    .menu-item:hover::after {
        width: 100%;
    }

    .menu-item a {
        text-decoration: none;
        color: #ffffff;
        text-transform: capitalize;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 80px;
        height: 60px;
    }

    .role-title {
        font-size: 6rem;
        width: 720px;
    }

    .role-title span {
        padding-left: 7rem;
    }

    .name {
        width: 720px;
    }

    .contact-container {
        height: 80vh;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
        height: 2.5rem;
    }

    .contact-form textarea {
        height: 150px;
        padding-top: .5rem;
    }

    .contact-links {
        width: 40%;
    }
}

@media screen and (min-width: 840px) {

    .contact-container {
        flex-direction: row;
        justify-content: space-around;
        max-width: 1280px;
        margin: 4rem auto;
    }

    .contact-title {
        font-size: 7rem;
        line-height: 7rem;
    }
}

@media screen and (min-width: 1025px) {

    .role-title {
        font-size: 8rem;
        width: 980px;
    }

    .role-title span {
        padding-left: 10rem;
    }

    .name {
        width: 980px;
    }
    
    .project__image-two {
        left: -260px;
    }

    .project__image-three {
        left: 300px;
    }

    .contact-title {
        font-size: 9rem;
        line-height: 9rem;
    }

    .project__container-images {
        height: 2000px;
    }

    .project__container {
        width: 90%;
        /*margin: 100px auto;*/
        /*padding: 120px 40px;*/
        margin: 0 auto;
        padding: 20px 40px;
    }

    .project__image {
        width: 600px;
    }

    .project__image-two {
        top: -100px;
        left: -160px;
    }

    .project__image-three {
        left: 200px;
    }

    .project__image-four {
        top: -200px;
        left: -100px;
    }

    .project__image-one p,
    .project__image-three p {
        position: absolute;
        top: 50px;
        left: -50%;
        transform: translateX(80%);
        font-family: 'Zen Dots', cursive;
        font-size: 3rem;
        text-transform: capitalize;
    }

    .project__image-two p,
    .project__image-four p {
        position: absolute;
        bottom: 50px;
        left: 50%;
        transform: translateX(50%);
        font-family: 'Zen Dots', cursive;
        font-size: 3rem;
        text-transform: capitalize;
    }

    .about-container {
        flex-direction: row;
        max-width: 1280px;
        margin: 0 auto;
    }

    .about-container {
        align-items: flex-start;
    }

    .profile-photo {
        width: 600px;
        height: 650px;
        margin-left: 10px;
    }

    .about-text p {
        width: 90%;
        margin: 0 auto 1rem auto;
    }
}