@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');


/**
    USE THIS ONLY FOR THE LANDING PAGE (index.html)
*/

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
}

p, button {
    font-weight: 300;
}

section {
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

/* section that does not have the child with a class image-container */
section:not(:has(.image-container)) {
    padding: 0 10px;
}

.btn, .start-btn {
    background: none;
    border: 2px solid black;

    padding: 10px 20px;
    border-radius: 15px;
    /* transform scale */
    transition: background-color .2s, color .2s, transform .2s;
    cursor: pointer;

    position: relative;
}

.btn:hover, .start-btn:hover {
    background-color: black;
    color: white;
    transform: scale(1.1);
}

.btn.spinner {
    background-color: black;
    color: black;
}

.btn.spinner::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

.content-container {
    max-width: 600px;
    padding: 30px;
    width: 70%;
    border-radius: 50px;
    overflow: hidden;
    font-size: 20px;
}

.content-container:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: -1;

}

img {
    max-width: 100%;
}

h3 {
    font-size: 30px;
}

.sub-header {
    font-size: 20px;
    margin-bottom: 20px;
}

.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    width: 100%;
}

.image-container:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-img);
    background-size: cover;

    z-index: -1;
}

.image-container > .content-container {
    z-index: 1;
    border-radius: 20px;
}

.image-container > .content-container:not(:first-child) {
    margin-top: 10px;
}

.image-container > h4 {
    padding: 30px;
    border-radius: 20px;
    background-color: var(--bg-color);
    font-size: 2rem;
}

.content-container > h4 {
    font-size: 2rem;
    margin-top: 10px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 15px;
}

.logo-container > * {
    width: 30%;
}

.logo-container > * > img {
    width: 100%;
}

.text-input {
    width: 70%;
    font-size: 20px;
    padding: 8px 20px;
    font-family: 'Lato', sans-serif;
    border-radius: 15px;
    border-width: 2px;
}

#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

p {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-style: normal;
}