@import "reset.css";
@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css";
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=MedievalSharp&family=Roboto+Slab:wght@100..900&display=swap');

html, body {
    background-color: #342B29;
    font: 100%/1.4 "Roboto Slab", Arial, sans-serif;
    scroll-behavior: smooth;
}

.no-scroll {
    overflow: hidden;
}

#mob-button-inmenu {
    display: none;
}

/* Navigation */

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5em;
    background-color: #887561;
    border-bottom: 2px solid #181716;
}

nav ul li {
    display: inline;
    padding: 1em;
}

nav ul li a {
    color: #BAA896;
    font-size: 1.5rem;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    padding-bottom: 18px;
}

nav ul li a:hover {
    color: #181716;
    transition: 0.4s;
}

nav ul li a.active {
    border-bottom: 5px solid #181716;
}

.logo {
    color: #BAA896;
    font-size: 2.5rem;
    letter-spacing: 6px;
    font-weight: bold;
}

nav a {
    text-decoration: none;
}

.language-button {
    color: #BAA896;
    background-color: #181716;
    border-radius: 15px;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    padding: 0.5em 0.8em 0.5em 0.8em;
    margin-left: 30px;
}

#mob-button {
    display: none;
}


/* Main header */


.header {
    width: 100%;
    height: 100vh;
    position: relative;
    background-color: #342B29;
    background-size: 40px 40px;
    background-image: radial-gradient(circle, #181716 2px, rgba(0, 0, 0, 0) 2px);
}

.mauro-interaction svg {
    animation: speechBob 4s ease-in-out infinite;
    position: absolute;
    left: 10%;
    top: 10%;
    min-width: 500px;
}

/* Speech bubble animation */

@keyframes speechBob {
    0%, 100% {
        transform: translateY(0%);
    }
    50% {
        transform: translateY(-10%);
    }
}

.mauro-interaction svg text
{
    overflow: hidden;
    border-right: .15em solid orange;
    white-space: nowrap;
    margin: 0 auto;
    animation: 
    typing 3.5s steps(40, end),
    blink-caret .75s step-end infinite;
}

/* Typewriter animation */

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
  }

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: orange }
  }

.cls-1 {
    fill: #181716;
}

.me {
    position: absolute;
    bottom: 0;
    right: 8%;
    min-width: 500px;
    width: 45%;
    user-select: none;
    pointer-events: none;
    animation: fade-in 0.35s ease-in;
}

/* Me fade-in animation */

@keyframes fade-in
{
    from { opacity: 0; }
    to { opacity: 1; }
}

/* About section */

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 55vh;
    background-color: #181716;
    text-align: center;
}

.about h1 {
    color: #887561;
    padding: 0.65em;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 2.25rem;
    font-family: "MedievalSharp";
}

.about p {
    width: 50%;
    color: #BAA896;
    padding: 1em;
    font-size: 1.5rem;
}

/* Portfolio section */

#portfolio {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 250vh;
    text-align: center;
}

.project-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.project-1 .project-background {
    width: 50%;
    height: 100%;
    background-image: url(../Images/web-design.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.project-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.project-2 .project-background {
    width: 50%;
    height: 100%;
    order: 1;
    background-image: url(../Images/monkey.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.project-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.project-3 .project-background
{
    width: 50%;
    height: 100%;
    background-image: url(../Images/coding.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.project-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 50%;
    background-color: #342B29;
}

.project-info svg {
    margin-top: -50px;
    padding: 1em;
}

.project-info p {
    margin-top: 50px;
    color: #BAA896;
    font-size: 1.5rem;
    width: 85%;
}

/* About me page */

#skills {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.skill-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    width: 50%;
    height: 90vh;
    border-right: 15px #887561 dashed;
}

.skill-selector-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#arrowleft {
    display: none;
    position: absolute;
    top: 50%;
    left: 20px;
}

#arrowright {
    display: none;
    position: absolute;
    top: 50%;
    right: 20px;
}

.skill-selector span {
    color: #BAA896;
    font-size: 1.8rem;
}

.skill-selector i {
    vertical-align: middle;
    padding: 0.1em;
}

.skill-selector-flex svg {
    margin-top: -15px;
}

.skill-status {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 50%;
    height: 90vh;
}

.skill-status svg {
    margin-top: -20px;
}

.skill-bars {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.skill-bars svg {
    margin-top: 3em;
}

#hobbies {
    width: 100%;
    height: 130vh;
    background-color: #887561;
    border-bottom: 10px #342B29 dashed;
}

.hobby-container {
    width: 100%;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hobby-container svg {
    padding: 5em;
}

.flex-container-hobbies {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
    text-align: center;
}

.hobby-text {
    background-color: #342B29;
    height: 100%;
    box-shadow: #181716 5px 5px;

}

.hobby-text p {
    color: #BAA896;
    padding: 1em;
}

.music-hobby {
    width: 300px;
    height: 250px;
    border-radius: 25px 25px 0px 0px;
    background-color: #BAA896;
    box-shadow: #181716 5px 5px;
}

.music-hobby i {
    font-size: 5rem;
    padding: 1em;
}

.chess-hobby {
    width: 300px;
    height: 250px;
    border-radius: 25px 25px 0px 0px;
    background-color: #BAA896;
    box-shadow: #181716 5px 5px;
}

.chess-hobby i {
    font-size: 5rem;
    padding: 1em;
}

.gaming-hobby {
    width: 300px;
    height: 250px;
    border-radius: 25px 25px 0px 0px;
    background-color: #BAA896;
    box-shadow: #181716 5px 5px;
}

.gaming-hobby i {
    font-size: 5rem;
    padding: 1em;
}

.reading-hobby {
    width: 300px;
    height: 250px;
    border-radius: 25px 25px 0px 0px;
    background-color: #BAA896;
    box-shadow: #181716 5px 5px;
}

.reading-hobby i {
    font-size: 5rem;
    padding: 1em;
}

.h {
    transition: 0.35s;
}

.h:hover {
    transform: translateY(-10%);
}

.about-2 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 90vh;
    background-color: #181716;
}

.image-container {
    width: 30%;
    float: left;
}

.image-container img {
    width: 100%;
    user-select: none;
    pointer-events: none;
}

.text-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 50%;
    height: 70vh;
    background-color: #342B29;
    border-radius: 35px;
    text-align: center;
}

.text-container p {
    color: #BAA896;
    font-size: 1.5rem;
    padding: 1em;
}

.text-container a {
    background-color: #BAA896;
    color: #887561;
    text-decoration: none;
    padding: 0.5em 1em 0.5em 1em;
    margin: 1em;
    border-radius: 15px;
    font-size: 2.25rem;
    text-transform: uppercase;
    font-weight: bold;
}

/* Portfolio page */

#portfolio-fullview {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 300vh;
    text-align: center;
}

.project-1-full {
    width: 100%;
    height: 100%;
}

.project-1-full .project-background-full {
    width: 100%;
    height: 50%;
    background-image: url(../Images/web-design.webp);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.project-2-full {
    width: 100%;
    height: 100%;
}

.project-2-full .project-background-full {
    width: 100%;
    height: 50%;
    background-image: url(../Images/gaming.gif);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.project-3-full {
    width: 100%;
    height: 100%;
}

.project-3-full .project-background-full {
    width: 100%;
    height: 50%;
    background-image: url(../Images/coding.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.project-background-info {
    position: relative;
    width: 100%;
    background-color: #342B29;
}

.project-background-info svg {
    padding: 3em;
}

.project-background-info p {
    position: absolute;
    left: 50%;
    top: 140%;
    transform: translate(-50%,-50%);
    color: #BAA896;
    font-size: 1.35rem;
    width: 60%;
}

/* CV page */

.cv-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 70vh;
    background-color: #887561;
    border: 15px #342B29 dashed;
}

.download-button {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 35px;
    text-align: center;
    width: 40%;
    height: 200px;
    background-color: #342B29;
}

.download-button i {
    font-size: 3rem;
    padding: 1rem;
    color: #887561;
}

.download-button span {
    font-size: 3rem;
    text-transform: uppercase;
    color: #887561;
    font-weight: 500;
}

.download-button a {
    text-decoration: none;
}

.download-hover:hover {
    color: #BAA896;
}

.view-button {
    width: 55%;
    text-align: center;
    margin-top: 15px;
    font-size: 1.25rem;
}

.view-button span {
    color: #342B29;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: underline;
    z-index: 5;
}

/* Contact page */

#contact-main {
    display: flex;
    justify-content: center;
    align-items: center;
}

.border-footer {
    border-top: 15px #342B29 dashed;
}

/* Contact form*/

.contact-form {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 80vh;
    background-color: #342B29;
}

.contact-form form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 3em;
    background-color: #887561;
    border-radius: 35px;
    text-transform: uppercase;
    border-bottom: 50px #181716 solid;
}

.contact-form label {
    font-size: 1.25rem;
    color: #342B29;
    font-weight: 500;
}

#fname {
    width: 80%;
    height: 25px;
    margin: 1em;
    border: 0px;
    background-color: #BAA896;
}

#mail {
    width: 80%;
    height: 25px;
    margin: 1em;
    border: 0px;
    background-color: #BAA896;
}

#subject {
    width: 80%;
    height: 25px;
    margin: 1em;
    border: 0px;
    background-color: #BAA896;
}

#text-field {
    margin: 2em;
    max-width: 400px; 
    max-height: 100px;
    border: 0px;
    background-color: #BAA896;
}

#submit {
    width: 80%;
    height: 30px;
    background-color: #BAA896;
    border: 0px;
    color: #342B29;
    font-family: "Roboto Slab";
}

.formulierverzonden-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #181716 2px, rgba(0, 0, 0, 0) 2px);
}

#verzonden-note {
    font-size: 2rem;
    color: #BAA896;
}

/* Contact info */

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 100%;
    height: 100vh;
    background-color: #887561;
}

.contact-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    width: 65%;
    height: 65vh;
    border-radius: 35px;
    background-color: #342B29;
    border-bottom: 50px #181716 solid;
}

.contact-container h1 {
    text-align: center;
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 15px;
    color: #887561;
    flex-basis: 100%;
}

.contact-data {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 1.3rem;
}

.contact-data .mail p {
    display: inline;
    color: #BAA896;
    margin-left: 10px;
}

.contact-data .mail i {
    vertical-align: middle;
    color: #BAA896;
}

.contact-data .phone p {
    display: inline;
    color: #BAA896;
    margin-left: 10px;
}

.contact-data .phone i {
    vertical-align: middle;
    color: #BAA896;
}

.socials {
    display: flex;
    justify-content: center;
    align-items: center;
}

.socials i {
    font-size: 6.5rem;
    padding: 0.2em;
}

.socials a {
    color: #BAA896;
}

/* Footer */

#footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    background-color: #887561;
    width: 100%;
    min-height: 30vh;
    text-align: center;
}

#footer .first-row i {
    color: #342B29;
    display: inline-block;
    vertical-align: middle;
}

#footer .first-row p {
    display: inline-block;
}

#footer .first-row {
    width: 33.33%;
    display: flex;
    flex-direction: column;
}

#footer .second-row {
    width: 33.33%;
}

#footer .third-row {
    width: 33.33%;
}

#footer h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #BAA896;
    padding: 0.5em;
    margin-bottom: 40px;
    letter-spacing: 6px;
}

.social-icons {
    display: inline;
    color: #342B29;
}

.social-icons i {
    padding: 5px;
}

.social-icons a {
    color: #342B29;
}

.mail {
    padding: 1em;
    text-align: center;
}

.phone {
    padding: 1em;
    text-align: center;
}

#footer p {
    color: #342B29;
}

#footer .third-row a {
    color: #BAA896;
    font-size: 1.5rem;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
}

#footer .third-row ul {
    padding: 1em;
}

#footer .third-row ul li {
    padding: 0.55em;
}

/* Responsive navbar */

@media (max-width: 920px) {

    .logo-menu {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
    }

    nav ul li {
        padding: 0;
    }

    ul {
        display: none;
    }

    .mobile-active ul {
        display: block;
        text-align: center;
    }

    .mobile-active ul li a {
        display: block;
    }

    .language-button {
        margin-left: 0;
    }

    #mob-button-inmenu {
        display: block;
    }

    #nav-list.mobile-active {
        display: flex;
        width: 100%;
        height: 100%;
        position: fixed;
        justify-content: space-around;
        align-items: center;
        flex-direction: column;
        background-color: rgba(136, 117, 97, 0.85);
        border-bottom: 2px solid #181716;
        z-index: 99;
    }

    .flex-container-hobbies {
        flex-direction: column;
    }

    #contact-main {
        display: flex;
        flex-direction: column;
    }

    .contact-form {
        order: 1;
    }
}