* {
    margin: 0;
} 

html {
    background-color: #181818;
    background-image: url("../images/homebanner.jpg");
    overflow-x: hidden;
}

@font-face {
    font-family: 'Bebas';
    src: url('bebas_neue.otf') format('opentype');
}
@font-face {
    font-family: 'Mermaid';
    src: url('mermaid.ttf') format('truetype');
}
@font-face {
    font-family: 'DOGMA DEMO Regular';
    src: url('DOGMA.OTF') format('opentype');
}

@keyframes slide {
    from {
        transform: translateX(0);
    } to {
        transform: translateX(-100%);
    }
}

@keyframes nav_slide {
    from {
        transform: translateX(100);
    }
    to {
        transform: translateX(-5%);
    }
}

@keyframes fade-down {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0px) scale(1); 
    }
}

@keyframes shake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0)
}

.firstDiv {
    position: relative;
    background-image: url("../images/homebanner2.jpg");
    min-height: 30em;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: center;     
    justify-content: center;  
    padding: 0 10px;   
    padding-bottom: 2em;  
}

.firstDiv h1{
    background: -webkit-linear-gradient(141deg, rgb(245, 184, 135) 0%, rgb(224, 224, 224) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.151));
    font-size: 12vw; 
    text-align: center;
    font-family: DOGMA DEMO Regular, Arial, Helvetica, sans-serif;
    padding-top: 0.4em;
    font-weight: 200;
    word-break: break-word;
}

.secondDiv {
    background-image: url("../images/homebanner.jpg");
    min-height: 78em; 
    padding-bottom: 1em;
    padding-top: 0;
    margin-top: 0;
}

.secondDiv > *:first-child {
    margin-top: 0;
}

.whoAmI {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2em;
    margin: 6em 0 4em 0; 
    flex-wrap: wrap;
}

.whoAmI img {
    width: 35em;
    height: auto;
    border-radius: 10px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.253));
    flex-shrink: 0;
    margin-top: 4em;
}

.whoAmI-content {
    max-width: 35em;
}

.whoAmI h1 {
    color: rgb(255, 33, 33);
    font-family: DOGMA DEMO Regular, Arial, Helvetica, sans-serif;
    font-weight: 100;
    font-size: 3em;
    margin-bottom: 0.5em;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.13));
}

.whoAmI p {
    color: rgb(255, 255, 255);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    font-size: 1.5em;
}

.motive {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 2em;
    margin: 4em 0;
    flex-wrap: wrap;
}

.motive img {
    width: 35em;
    height: auto;
    border-radius: 10px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.253));
    animation: transitionIn 1.5s;
    flex-shrink: 0;
    margin-top: 2em;
}

.motive-content {
    max-width: 35em;
}

.motive h1 {
    color: rgb(255, 33, 33);
    font-family: DOGMA DEMO Regular, Arial, Helvetica, sans-serif;
    font-weight: 100;
    font-size: 3em;
    margin-bottom: 0.5em;
    animation: transitionIn 1.5s;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.13));
}

.motive p {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    font-size: 1.5em;
    animation: fade-up 0.7s;
}

.thirdDiv {
    background-image: url("../images/homebanner2.jpg");
    min-height: 30em;
    padding: 2em 1em 3em 1em;
    box-sizing: border-box;
    width: 100%;
}

.thirdDiv h1 {
    text-align: center;
    font-family: DOGMA DEMO Regular, Arial, Helvetica, sans-serif;
    font-size: 7vw; 
    color: #ffffff;
    font-weight: 100;
}

.thirdDiv p {
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 300;
    color: #ffffff;
    font-size: 1.3em;
    margin-bottom: 2em;
}

.thirdDiv b {
    background: -webkit-linear-gradient(141deg, rgb(255, 174, 174) 0%, rgb(250, 171, 118) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em 1em;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.row figcaption {
    margin-top: 1em;
    width: 100%;
    font-family: Bebas, Arial, Helvetica, sans-serif;
    font-weight: 100;
    text-align: center;
    color: #ffffff;
    font-size: 1.5em;
}

.skillsColumn {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;     
    min-width: 180px;
    max-width: 350px;
    margin: 1em 0;
    box-sizing: border-box;
}

.skillsColumn img {
    width: 100%;
    max-width: 9.5em;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.562));
    transition: 0.5s;
}

.skillsColumn img:hover {
    filter: drop-shadow(0 0 15px rgba(248, 209, 209, 0.329));
    transform: scale(1.1);
}

.fourthDiv {
    background: linear-gradient(164deg, rgb(218, 216, 216) 0%, rgb(209, 209, 209) 100%);
    min-height: 18em; 
    padding: 1em 1em 2em 1em;
    box-sizing: border-box;
    width: 100%;
}

.fourthDiv h1 {
    text-align: center;
    font-family: DOGMA DEMO Regular, Arial, Helvetica, sans-serif;
    font-weight: 200;
    font-size: 7vw; 
    padding-top: 0.2em;
    color: #494949;
}

.fourthDiv p {
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 300;
    color: #0b0b0b;
    font-size: 1.3em;
    margin-bottom: 1em;
}

.fourthDiv b {
    background: -webkit-linear-gradient(141deg, rgb(206, 139, 245) 0%, rgb(148, 84, 250) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.moving {
    height: 10em;
    overflow: hidden;
    background-color: transparent;
    white-space: nowrap;
    z-index: -2;
    width: 100%;
    box-sizing: border-box;
    margin: 1 auto;
}

.moving-slide {
    display: inline-block;
    animation: 40s slide infinite linear;
    will-change: transform;
}

.moving-slide img {
    padding-top: 1.5em;
    height: 6em;
    margin: 0 2vw;
    z-index: -2;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.219));
    transition: 0.5s;
    max-width: 90vw;
    width: auto;

    /*OPTIONAL: SET THE IMAGE MONOSCHROME WHEN NOT HOVERING

    filter: grayscale(100%)  drop-shadow(0 0 5px rgba(0, 0, 0, 0.219));*/
}

.moving-slide img:hover {
    filter: drop-shadow(0 0 10px rgba(176, 97, 250, 0.884));
    transform: scale(1.1);

    /*OPTIONAL: SHOW COLORS WHEN HOVERING THE IMAGES*

    filter: none;
    -webkit-filter: grayscale(0%);*/
}

.fifthDiv {
    height: 7.5em;
    background-image: url("../images/homebanner.jpg");
}

.copyright p {
    color: white;
    font-family: DOGMA DEMO Regular, Arial, Helvetica, sans-serif;
    text-align: center;
    padding-top: 2em;
}

.socials {
    text-align: center;
}

.socials a {
    text-decoration: none;
    color: white;
}

.socials li {
    font-size: 2em;
    padding: 20px;
    overflow-wrap: break-word;
    display: inline-block;
    vertical-align: top;
    padding-right: 10px;
}

.socials ul li {
    list-style-type: none;
}

.socials a:hover {
    color: rgb(238, 150, 67);
    transition: 0.3s;
    animation: shake 0.5s ease-in-out;
}

#nav_menu ul li a.about {
    color: orange;
    text-decoration: underline;
    transition: 1s;
}

#nav_menu ul li a.about:hover {
    color: #ffd29f;
}

#nav_menu ul li {
    list-style: none;
    width: 10%;
    display: inline-block;
}

#nav_menu ul {
    text-align: right;
    width: 22em;
    display: flex;
    flex-direction: column;
    flex-basis: 60%;
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: fixed;
    background-image: url("../images/NavBan.jpg");
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.925));
    z-index: 4;
}

#nav_menu ul li a:hover, ul li a:focus {
    color: rgb(231, 43, 43);
    transition: 0.5s;
}

#nav_menu ul li a {
    width: 100%;
    text-align: center;
    display: block;
    text-decoration: none;
    padding: 1em 0;
    color: #fff;
    font-family: DOGMA DEMO Regular, Arial, sans-serif;
    font-weight: 100;
    transition: 1s;
}

#nav_menu ul {
    width: 100%;
    margin: 0;
    padding: 0;
    margin-top: 0;
    display: inline-block;
}

#mobile-nav-bar img {
    width: 7.5em;
    padding: 13px;
    display: block;
    position: absolute;
    position: fixed;
    z-index: 5;
    animation: fade-down 1s;
}

#mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 1.5em;
    right: 0.8em;
    z-index: 1100;
    background: transparent;
    color: rgb(255, 255, 255);
    filter: drop-shadow(0 0 8px rgb(0, 0, 0));
    border: none;
    font-size: 2em;
    padding: 0.2em 0.4em;
    border-radius: 8px;
    cursor: pointer;
}

#mobile-nav-toggle .bar {
    display: block;
    width: 1.8em;
    height: 0.25em;
    margin: 0.4em auto;
    background: white;
    border-radius: 2px;
    transition: 0.4s;
    position: relative;
}

#mobile-nav-toggle.open .bar:nth-child(1) {
    transform: translateY(0.65em) rotate(45deg);
}

#mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

#mobile-nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-0.65em) rotate(-45deg);
}

@media (max-width: 1024px) {

    #mobile-nav-toggle {
        display: block;
        font-size: 1em;
        top: 1em;
        right: 1em;
        width: 2.5em;
        height: 2.5em;
    }

    #nav_menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 70vw;
        height: 100vh;
        z-index: 1000;
        pointer-events: none;
    }

    #mobile-nav-bar img {
        display: none;
    }

    #nav_menu ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        right: 0;
        width: 70vw;
        height: 100vh;
        margin: 0;
        opacity: 0;
        transform: translateX(100%);
        pointer-events: none;
        transition:
            opacity 0.5s cubic-bezier(0.77,0,0.175,1),
            transform 0.5s cubic-bezier(0.77,0,0.175,1);
    }

    #nav_menu ul.open {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    }

    #nav_menu ul li {
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 0;
    }

    #nav_menu ul li a {
        font-size: clamp(1.5em, 6vw, 3em);
        padding: 1em 0;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .firstDiv {
        display: none;
    }

    .firstDiv h1 {
        font-size: clamp(5em, 10vw, 5em);
    }

    .secondDiv h1 {
        font-size: clamp(3.5em, 10vw, 6em);
    }

    .secondDiv p {
        font-size: clamp(1em, 4vw, 2.5em);
        padding: 0 1em;
    }

    .whoAmI,
    .motive {
        flex-direction: column;
        align-items: center;
        gap: 2em;
        margin: 3em 0 2em 0;
    }

    .whoAmI img,
    .motive img {
        width: 90vw;
        max-width: 30em;
        margin-top: 2em;
    }

    .whoAmI-content,
    .motive-content {
        max-width: 95vw;
        text-align: center;
    }

    .row {
        gap: 1.5em 1.5em;
    }

    .secondDiv img {
        width: 80%;
        max-width: 100%;
        height: auto;
    }

    .skillsColumn {
        padding: 5vw 0 0 0;
        min-height: 5vw;
        width: 10vw;
        max-width: 300px;
    }

    .fourthDiv h1 {
        font-size: clamp(3.5em, 7vw, 3em);
    }

    .thirdDiv h1 {
        font-size: clamp(3em, 9vw, 3em);
    }

    .moving {
        height: 12em;
    }

    .moving-slide img {
        height: 8em;
        padding-top: 2em;
    }

    .thirdDiv figcaption {
        font-size: clamp(1em, 4vw, 2em);
    }

    .copyright p {
        font-size: clamp(0.8em, 2vw, 2em);
    }

    .socials li {
        font-size: clamp(1.5em, 6vw, 3em);
        padding: 15px;
    }
}


