/*************
    main 
**************/
main {
    height: 100vh;
    background: linear-gradient(black, #00000045), 
                url(../img/kosmetika_1.jpg);
    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 3s linear;
}

.main-heading h1 {
    color: white;
    font-size: 50px;
    letter-spacing: 2px;
    animation: reveal 3s linear;
}

.main-heading h2 {
    color: white;
    font-size: 40px;
    letter-spacing: 1px;
    animation: fromBottom 3s linear;
}

.main-heading input {
    width: 350px;
    font-size: 30px;
    padding: 5px 10px;
    background: #a17e20;
    color: white;
    border: none;
    border-radius: 10px;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s linear;
    animation: fromBottom 3s linear;
}

.main-heading input:hover {
    background: #be9524;
}

/*************
    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);
    }
}