@import url('https://fonts.googleapis.com/css?family=Be Vietnam Pro');

a:link {
    text-decoration: none;
}

h1 {
    font-family: 'Be Vietnam Pro';
    font-size: 3vh;
    font-weight: 1000;
    margin: 0;

}

a:visited {
    text-decoration: none;
}


a:hover {
    text-decoration: none;
}


a:active {
    text-decoration: none;
}

a {
    color: #FFFFFF;
    text-decoration: none;
}


html {
    width: 100%;
}

body {
    height: 100vh;
    width: 100%;
    background-color: #d9d9d9;
    overflow-x: hidden;
    margin: 0;
    display: grid;
    grid-template-rows: 10vh 75vh 100vh 15vh 60vh 100vh 70vh 30vh;
    font-family: 'Be Vietnam Pro';
    position: relative
}

@media only screen and (max-width: 820px) {
    body {
        max-width: 100vw;
        overflow-x: hidden;
        grid-template-rows: 10vh 75vh 100vh 15vh 60vh 100vh 110vh 30vh
    }

    * {
        overflow-x: hidden;
    }
}

/* HEADER */


header {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 30% 40% 30%;
    background-color: white;

}

.headerSideMenu {
    background-color: white;
}

#headerSideMenuButton {
    border-width: 0px;
    border-style: 0;
    border-color: 0;
    background-color: white;
    cursor: pointer;
}

.headerSideMenuPng {
    margin-top: 3%;
    margin-left: 0%;
    height: 6vh;
}

#menuSlider {
    position: fixed;
    top: 0;
    width: 20%;
    height: 100%;
    background-color: #070707;
    z-index: 999;
    transition: left 0.3s ease-in-out;

    display: grid;
    grid-template-rows: 10% 10% 10% 10% 10% 10% 20% 10% 10%;
    font-size: 3vh;

    padding-left: 5%;
}

#closeMenu {
    background-color: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 7vh;
    position: absolute;
    right: 20px;
}

.menuShow {
    display: block;
    left: 00px;
    transition: left 0.3s ease-in-out;
}

.menuHidden {
    left: -25%;
    display: none;
    transition: left 0.3s ease-in-out;
}


/* secondary menuslider */


.headerLogo {
    background-color: white;
    text-align: center;


}

.headerLogo>P {
    margin-top: 5%;
    font-size: 2vh;
    font-weight: 600;
}



.headerContactMe {
    background-color: white;
}

.headerContactMe>.linkContainer {
    float: right;
    text-align: center;
    margin-top: 3%;
    margin-right: 10%;
    width: 18vh;
    height: 6vh;
    border-radius: 10px;
    background-color: black;

}

.linkContainer>a>P {
    font-size: 2.7vh;
    font-weight: 1000;
    margin-top: 1vh;
    color: white;
}

@media only screen and (max-width: 820px) {
    header {
        grid-template-columns: 30% 40% 30%;
    }

    #menuSlider {
        width: 40%;
    }

    .menuHidden {
        left: -45%;
        display: none;
        transition: left 0.3s ease-in-out;
    }

    .headerLogo>P {
        margin-top: 3vh;
        font-size: 1.1vh;
        font-weight: 600;
    }

    .headerContactMe>.linkContainer {
        width: 10vh;
    }

    .linkContainer>a>P {
        font-size: 1.3vh;
        margin-top: 2vh;
    }



}


/* INTRODUCTION  */


.introduction {
    width: 90vw;
    height: 55vh;
    display: grid;
    grid-template-columns: 60% 40%;
    margin-top: 20vh;
    margin-left: 10vw;
    background-color: #d9d9d9;
}

.introductionLeft {
    height: 100%;
    width: 100%;

}

.introductionLeft>.i1 {
    margin: 0;
    font-size: 3vh;
    font-weight: 1000;
}

.introductionLeft>.i2 {
    margin: 0;
    font-size: 6vh;
    font-weight: 1000;
}

.introductionLeft>.i3 {
    margin: 0;
    font-size: 6vh;
    font-weight: 1000;
}

.introductionLeft>.i4 {
    margin: 0;
    font-size: 4vh;
    font-weight: 1000;
}

.introductionRight {}

@media only screen and (max-width: 820px) {
    .introduction {
        height: 60vh;
        margin-top: 15vh;
        margin-left: 10vw;
        background-color: #d9d9d9;
        grid-template-rows: 50% 50%;
        grid-template-columns: 0;

    }

    .introductionLeft {
        height: 100%;
        width: 100vw;

    }

    .introductionLeft>.i1 {
        font-size: 2vh;
    }

    .introductionLeft>.i2 {
        font-size: 3.5vh;
    }

    .introductionLeft>.i3 {
        font-size: 3.5vh;
    }

    .introductionLeft>.i4 {
        font-size: 2vh;
    }

    .introductionRight {
        display: none;
    }
}

/* MOTIVATION */


.motivation {
    width: 100%;
    height: 100%;
    background-color: #070707;
    display: grid;
    grid-auto-rows: 50% 50%;
}

.motivationTop>P {
    color: white;
    font-size: 4.6vh;
    margin: 0.5%;
    margin-left: 25%;

}

.motivationBottom>P {
    color: white;
    font-size: 4.6vh;
    margin: 0;
    margin-left: 35%;
}

@media only screen and (max-width: 820px) {
    .motivationTop>P {
        text-align: center;
        font-size: 2vh;
        margin-top: 7%;
        margin-left: 0;
    }

    .motivationBottom>P {
        font-size: 2vh;
        margin-left: 35%;
    }
}

/* projects */


.projectsContainer {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 10vh 90vh;
}

.projectsTop {
    display: grid;
    grid-template-columns: 50% 50%;
}

.projectsTitle {
    margin-left: 10vw;
    margin-top: 6vh;
    font-size: 4vh;
    font-weight: 700;
}

.expandProjects {}


.projectsBottom {
    display: grid;
    grid-template-rows: 40vh 40vh;

}

.projectsContainerTop {
    display: grid;
    grid-template-columns: 42.5vw 42.5vw;
    margin-top: 10vh;
    margin-left: 5vw;
}

.projectsContainerBottom {
    display: grid;
    grid-template-columns: 42.5vw 42.5vw;
    margin-left: 5vw;
    margin-top: 10vh;
}


.project {
    padding: 2vh;
    width: inherit;
    height: 30.5vh;
    margin-left: 5vw;
    background-color: #000000;
    color: aliceblue;
    position: relative;
    border-radius: 2%;
}


.project h2 {
    margin-top: 0;
}

.project-description {
    font-size: 2vh;
    margin-left: 2%;
}

.project-description a {
    display: inline-block;
}

.project-video {
    height: 100%;
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    margin-top: 0;
}

.project-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 27.5vh;
}

@media only screen and (max-width: 820px) {

    .projectsContainer {
        width: 100%;
        height: 100%;
        display: grid;
        grid-template-rows: 15vh 85vh;
    }

    .projectsTop {
        grid-template-columns: 90% 10%;
    }

    .projectsTitle {
        font-size: 3.5vh;
    }

    .projectsBottom {
        grid-template-rows: 40vh 40vh;
    }

    .projectsContainerTop {
        grid-template-columns: 100%;
        grid-template-rows: 20vh 20vh;
        margin-top: 0vh;
    }

    .projectsContainerBottom {
        grid-template-columns: 100%;
        grid-template-rows: 20vh 20vh;
        margin-top: 0vh;
    }

    .project {
        padding: 1vh;
        padding-bottom: 1vh;
        margin-bottom: 1vh;
        width: 80vw;
        height: 17vh;
        margin-left: 5vw;
        position: relative;
        border-radius: 2%;
    }


    .project h2 {
        margin-top: 0;
        font-size: 2vh;
    }

    .project-description {
        font-size: 1.3vh;
    }

    .project-video {
        height: 100%;
        position: relative;
        padding-bottom: 56.25%;
        /* 16:9 aspect ratio */
        margin-top: 0;
        display: none;
    }

    .project-video iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 27.5vh;

    }
}




/* CV */


.CV {
    width: 100%;
    height: 100%;
    background-color: #070707;
    display: grid;
    grid-template-columns: 80% 20%;
    color: white;
}

.cvTitle {
    margin-left: 10vw;
    font-size: 3vh;
    font-weight: 1000;
    margin-top: 2.5vh;
    color: white;
}


.circleContainer {
    text-align: center;
    margin-top: 10%;
    width: 18vh;
    height: 6vh;

    font-size: 3vh;
    font-weight: 1000;
    margin-top: 5vh;
    color: black;

}



.cvDownload {
    height: 6vh;
    width: 18vw;
    margin-left: 4vh;
    color: #000000;

}

.cvDownload>a {
    font-size: 2.5vh;
    color: #fffcfc;
    padding-top: 10%;
    z-index: 999;
    overflow: visible;
}

.downloadText {
    padding-top: 10px;
}

@media only screen and (max-width: 820px) {
    .CV {
        grid-template-columns: 60% 40%;
    }

    .cvTitle {
        font-size: 1.5vh; /* decrease font size */
        margin-top: 4vh;
    }

    .cvDownload {
        margin-left: 2vh;
        color: #000000;
    }

    .cvDownload>a {
        font-size: 1.5vh; /* decrease font size */
        color: #fffcfc;
        padding-top: 10%;
    }

}


/* skills */


.skills {

    width: 100%;
    height: 100%;
    background-color: #d9d9d9;
}

.skillsContainer {
    margin-left: 10%;
    margin-top: 5%;
}

.skillsContainer>p {
    font-weight: 550;
    font-size: 3vh;
}

.aboutMe {
    margin-left: 10%;
    width: 80%;
    font-size: 3vh;
    font-weight: 500;
}


@media only screen and (max-width: 820px) {
    .aboutMe {
        margin-left: 10%;
        width: 80%;
        font-size: 1.7vh;
        font-weight: 500;
    }
}

/* contactme */


.contactHidden {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}





.contactMain {
    display: block;
}

.contactMe {
    width: 100%;
    height: 70vh;
    background-color: #514a3f;
}


.container {
    width: 90%;
    margin: auto;
}


/* -======= Contact =====- */

.contact {
    background-color: var(--primary-color);
    height: 100%;
}

.cont {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.contact-text {
    flex-basis: 48%;
}

.contact-text p {
    font-size: 5vh;
    margin-bottom: 5vh;
    margin-right: 6%;
}

.contact-text h6,
.contact-text .address,
.contact-text .mail {
    font-size: 2.5vh;
}

.contact-text h6 {
    color: var(--dar-blue-color);
}

.contact-form {
    flex-basis: 48%;
}

.cont .contact-form form {
    display: flex;
    flex-direction: column;
}

.cont .contact-form form label {
    font-size: 2.5vh;
    padding: 0.5vh 0;
}

.cont .contact-form form input,
.cont .contact-form form textarea {
    font-size: 2.5vh;
    padding: 0.5vh 0;
    resize: none;
    margin: 1vh 0;
    border-radius: 1.2vh;
    outline: none;
    border: 0.2vh solid var(--grey-color);
}

.cont .contact-form form input[type="submit"] {
    margin: 2vh 0;
    width: 26%;
    cursor: pointer;
    border: 0.2vh solid rgb(4, 4, 55);
    font-size: 2.5vh;
    background-color: black;
    color: white;
    font-weight: 500;
    transition: 0.4s;
}

.cont .contact-form form input[type="submit"]:hover {
    background-color: black;
    color: var(--dar-blue-color);
    font-weight: 600;
}

#mobilehr {
    display: none;
}

@media only screen and (max-width: 820px) {

    .contactMe {
        width: 100%;
        height: 100%;
        background-color: #514a3f;
    }

    #mobilehr {
        display: block;
    }
}

/* -======= Media Queriers =====- */

@media (max-width: 500px) {
    .cont {
        display: block;
        flex-direction: column;
    }

    .contact {
        padding-top: 0;
    }

    .cont .contact-form form input,
    .cont .contact-form form textarea {
        width: 100%;
    }

    .cont .contact-form form input[type="submit"] {
        width: 23%;
        font-size: 2.2vh;
    }

    .contact-text p {
        margin-right: 0;
    }
}

@media (min-width: 501px) and (max-width: 768px) {
    .cont {
        display: block;
        flex-direction: column;
    }

    .contact {
        padding-top: 0;
    }

    .cont .contact-form form input,
    .cont .contact-form form textarea {
        width: 100%;
    }

    .cont .contact-form form input[type="submit"] {
        width: 23%;
        font-size: 2.2vh;
    }

    .contact-text p {
        margin-right: 0;
    }
}



/* Footer */


footer {
    width: 100%;
    background-color: #000000;
    color: rgb(67, 66, 66);
    text-align: center;
    font-size: 2vh;
}

footer>p {
    margin-top: 15vh;
}