/*********************
        Main
**********************/
main {
    height: 100vh;
    background: linear-gradient(rgb(18, 18, 18), rgba(16, 17, 16, 0.337)),
                url(../img/background.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.main-heading {
    text-align: center;
}

.main-heading img {
    width: 200px;
    margin-bottom: 20px;
    animation: fromTop 1s linear;
}

.main-heading h1 {
    color: white;
    font-size: 50px;
    letter-spacing: 1px;
    animation: fromRight 1s linear;
}

.main-heading h2 {
    color: white;
    font-size: 40px;
    letter-spacing: 1.5px;
    animation: fromBottom 1s linear;
}

/* .main-heading h1,h2 {
    animation: fromBottom 1s linear;
} */

/*********************
        Keyframes
**********************/
@keyframes reveal {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

@keyframes fromTop {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes fromBottom {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes fromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes fromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}