:root{
    --green:#8a987c;
}

html{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body{
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #e8eed0;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    background-image: url(../assets/images/nuvens_bg.jpg);
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    overflow-y: auto;


}

.main-frame{
    width: 100%;
    height: 100%;
    min-height: 600px;
    display: flex;
    box-sizing: border-box;
    padding: 20px;
    align-items: center;
    justify-content: center;
    position: block;
    top: 0;
    left: 0;
}

.main-frame .card{
    width: 98%;
    max-width: 320px;
    height: 98%;
    position: absolute;
    top: 50%;
    left:50%;
    transform: translate(-50%, -50%);
    
}

.main-frame .card .text::before{
    display: block;
    width: 100%;
    height: 200px;
    content: '';
}

.bear{
    position: absolute;
    top: -40px;
    left: 50%;
    display: block;
    width: 550px;
    height: 730px;
    transform-origin: top left;
    transition: all linear 600ms;
    transform: scale(0.35) translateX(-50%);
}
/* 
@media screen and (max-width: 768px) {
    .bear{
        position: absolute;
        bottom: 0;
        left: 20px;
        transform: translateY(-150%) scale(0.7) ;
    }   
}

@media screen and (max-width: 767px) {
    .bear{
        position: absolute;
        bottom: -10%;
        left: 0px;
        transform: scale(0.7) ;
    }   
} */

.cloud-1{
    position: absolute;
    bottom: 80px;
    left: 0px;
}

.cloud-2{
    position: absolute;
    bottom: 80px;
    left: 320px;
}

.cloud-3{
    position: absolute;
    bottom: 30px;
    left: 140px;
}

.moon{
    position: absolute;
    bottom: 150px;
    left: 90px;
}

.hand{
    position: absolute;
    bottom: 170px;
    left: 200px;
    animation: hand 3s linear infinite alternate;
    transform-origin: bottom center;
}

@keyframes hand {
    0%{
        transform: rotate(0);
    }

    100%{
        transform: rotate(10deg);
    }
}

.head{
    position: absolute;
    bottom: 210px;
    left: 200px;
    animation: head 3s linear infinite alternate;
    transform-origin: bottom center;
}

@keyframes head {
    0%{
        transform: rotate(0);
    }

    100%{
        transform: rotate(10deg);
    }
}

.ballon{
    position: absolute;
    bottom: 280px;
    left: 0px;
    animation: ballon 10s linear infinite alternate;
    transform-origin: bottom right;
}

@keyframes ballon {
    0%{
        transform: rotate(-10deg);
    }

    100%{
        transform: rotate(10deg);
    }
}


.text{
    position: absolute;
    right: 2%;
    top: 2%;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 10px;
    color: #775343;
    font-size: 1em;
    border-radius: 10px;
}

.text .title{
    font-size: 4.5em;
    font-weight: 400;
    box-sizing: border-box;
    padding: 0 10px;
    font-family: 'Sacramento', cursive;

    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}

.text .date{
    font-weight: 500;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-green{
    color: var(--green);
}

.buttons{
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: relative;
}

.buttons .button{
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    background-color: var(--green);
    color: #FFF;
    justify-content: center;
    align-items: center;
    margin: 10px 10px;
    border-radius: 50%;
}

.buttons .button .legend{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
    color: var(--green);

}