@import url('https://fonts.googleapis.com/css2?family=Roboto Slab:wght@300;400;500;600;700;800;900&display=swap');


* {
    color: #788081;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Slab', sans-serif;
}

body {
    background: #061321;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.icon {
    height: 25px;
    color: #f0f1f2;
}

.logo {
    font-size: 25px;
    color: #f0f1f2;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slightRight 1s ease forwards;

}

.navbar a {
    display: inline-block;
    font-size: 18px;
    color: #788081;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
    opacity: 0;
    animation: slightLeft 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.navbar a:hover,
.navbar a.active {
    color: #f0f1f2;
}

.home {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 10% 0;
}

.home-content {
    max-width: 650px;
}

.home-content h1 {
    font-size: 52px;
    margin: -3px 0;
    opacity: 0;
    animation: slightBottom 1s ease forwards;
}

.home-content h3 {
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.5;
    animation: slightRight 1s ease forwards;
}

.home-content p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.5;
    opacity: 0;
    animation: slightTop 1s ease forwards;
}

.home-img img {
    margin-right: 100px;
    max-width: 300px;
    opacity: 0;
    animation: zoomIn 1s ease forwards, floatImage 4s ease-in-out infinite;
    animation-delay: 1s, 2s;
}

.social-media a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid #788081;
    border-radius: 20%;
    font-size: 20px;
    text-decoration: none;
    margin: 15px 15px 30px 0px;
    transition: .5s ease;
    opacity: 0;
    animation: slightLeft 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.social-media a:hover {
    background: #788081;
}

.social-media a:hover i {
    color: #061321;
}

.btn {
    display: inline-flex;
    padding: 12px 28px;
    background: #788081;
    border-radius: 10px;
    box-shadow: 0 0 10px #788081;
    color: #061321;
    font-size: 16px;
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: 600;
    opacity: 0;
    animation: slightTop 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

/* KEYFRAMES ANIMATIONS */
@keyframes slightRight {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slightLeft {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slightTop {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

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

@keyframes slightBottom {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }

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

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }

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

@keyframes floatImage {
    0% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(100px);
    }

    100% {
        transform: translateX(0px);
    }
}