@font-face {
    font-family: 'Montserrat';
    src: url('../../assets/_fontawesome6/webfonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #9AA78E;
}

#splashscreen, #main-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform 1s ease;
}

#splashscreen.active {
    transform: translateY(0);
}

#splashscreen.inactive {
    transform: translateY(-100%);
}

#main-content {
    transform: translateY(100%);
}

#main-content.active {
    transform: translateY(0);
}

#logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-img {
    max-height: 40vh;
    max-width: 40vw;
    height: auto;
    width: auto;
}

.logo-img-small {
    max-height: 20vh;
    max-width: 20vw;
    height: auto;
    width: auto;
}

.logo-img2 {
    max-height: 60vh;
    max-width: 60vw;
    height: auto;
    width: auto;
}

#splashscreen .loading {
    position: absolute;
    bottom: 20px;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #000000;
}

#main-content .startScreen {
    position: absolute;
    bottom: 10%;
    margin-top: 20px;
    font-size: 2rem;
    color: #F6F6F6;
    font-family: 'Montserrat', sans-serif; 
    text-align: center;
}

.content {
    text-align: center;
}

.container {
    
    position: relative;
}

.container img:first-child {
    position: absolute;
    right: -100px;
    top: -200px; 
}

.container img:last-child {
    display: block;
}

@media (max-width: 820px) {
    .logo-img {
        max-height: 30vh;
        max-width: 30vw;
    }

    .logo-img-small {
        max-height: 15vh;
        max-width: 15vw;
    }

    .logo-img2 {
        max-height: 50vh;
        max-width: 50vw;
    }

    .container img:first-child {
        right: -80px;
        top: -60px; 
        max-width: 80px;
    }
    .container img:last-child {
        max-width: 400px; 
    }
}

/* Definindo a animação */
@keyframes slide-up {
    from {
        transform: translateY(100);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/* Aplicando a animação ao main-content quando tiver a classe .slide-up */
#main-content.slide-up {
    animation: slide-up 1s forwards;
}
