@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

*::selection {
    background: #0ef;
    color: #1f242d;
}

body {
    background: #1f242d;
    color: #fff;
}

.header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
    opacity: 0;
    animation: slideRight 1s ease forwards;
}

.navbar a {
    display: inline-block;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
    opacity: 0;
    animation: slideTop .5s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.navbar a:hover,
.navbar a.active {
    color: #0ef;
}

.home {
    position: relative;
    margin: auto;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 10% 0;
}

.home-content {
    max-width: 50%;
}

.home-content h3 {
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .7s;
}

.home-content .introText h3:nth-of-type(1) {
    margin-bottom: 30px;
    min-height: 110pt;
    animation: slideTop 1s ease forwards;
    animation-delay: .7s;
}

.home-content h3 span {
    color: #0ef;
}

.home-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin: -3px 0;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}

.home-content p {
    font-size: 16px;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}

.skills.tags {
    margin-top: 10px;
    display: flex;
    height: auto;
    float: left;
    box-sizing: border-box;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}

.skills.tags a.tag {
    color: #FFFFFF;
    text-decoration-line: none;
    border: 2px solid #78EFFD;
    border-radius: 40px;
    padding: 0 5px;
    margin: 10px;
    margin-left: 0;
    margin-top: 0;
}

.skills.tags .tag:hover {
    color: #000000;
    background-color: #78EFFD;
    cursor: pointer;
}

.prevent-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.home-img-norm img {
    max-width: 450px;
    margin-right: -20px;
    opacity: 0;
    animation: zoomIn 1s ease forwards, floatImage 4s ease-in-out infinite;
    animation-delay: 2s, 3s;
}

@media (min-width: 768px) {

    .home-content {
        margin-right: 20px;
    }
    .home-img-flex {
        display: none;
    }
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #0ef;
    border-radius: 50%;
    font-size: 20px;
    color: #0ef;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    transition: .5s ease;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.social-media a:hover, .skills.tags .tag:hover {
    background: #0ef;
    color: #1f242d;
    box-shadow: 0 0 20px #0ef;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: #0ef;
    border-radius: 40px;
    box-shadow: 0 0 10px #0ef;
    font-size: 16px;
    color: #1f242d;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
}

@font-face {
    font-family: 'icomoon';
    src:  url('fonts/icomoon.eot?e9cxzv');
    src:  url('fonts/icomoon.eot?e9cxzv#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?e9cxzv') format('truetype'),
    url('fonts/icomoon.woff?e9cxzv') format('woff'),
    url('fonts/icomoon.svg?e9cxzv#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-d1_537c_4efa_9a8f_80ca0453791a_adobe_express-svg:before {
    content: "\e900";
}
.icon-fmap-logo-test-white:before {
    content: "\e902";
}

@media (max-width: 768px) {

    .header {
        display: flex;
    }

    .navbar {
        margin-top: 5px;
        align-self: start;
    }

    .home {
        max-width: 600px;
        display: flex;
        flex-direction: column;
    }

    .home-content {
        display: inherit;
        flex-direction: inherit;
        max-width: 100%;
    }

    .home-img-norm {
        display: none;
    }

    .home-img-flex {
        display: inherit;
        justify-content: center;
        margin-top: 30px;
    }

    .home-img-flex img {
        max-width: 300px;
        margin-right: -20px;
        opacity: 0;
        animation: zoomIn 1s ease forwards, floatImage 4s ease-in-out infinite;
        animation-delay: 2s, 3s;
    }

    /*.home-content h3:nth-of-type(2) {
        min-height: 150pt;
    }*/

    .social-media {
        display: flex;
        justify-content: center;
    }

    .social-media a {
        margin: 30px 10px;
    }

    .btn {
        align-self: center;
    }

    .footer {
        height: 50px;
    }
}


/* KEYFRAMES ANIMATION */
@keyframes slideRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideTop {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideBottom {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-24px);
    }

    100% {
        transform: translateY(0);
    }
}