:root {
    --red-color: #F03524;
    --yellow-color: #F0B724;
    --white-color: #FFFFFF;
}

@font-face {
    font-family: "AnekLatin";
    src: url('../fonts/AnekLatin-Medium.ttf');
}

@font-face {
    font-family: "AnekLatinBold";
    src: url('../fonts/AnekLatin-ExtraBold.ttf');
}

@font-face {
    font-family: "AnekLatinThin";
    src: url('../fonts/AnekLatin-Thin.ttf');
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

a{
    color: var(--white-color);
}

body {
    height: 100svh;
    width: 100%;
    overflow: hidden;
    font-family: "AnekLatin";
}

h1,
h2,
h3,
h4,
h5,
h6,p {
    font-family: "AnekLatinBold";
}

.main {
    display: none;
}

.logo {
    align-self: center;
    height: 300px;
}

.main_wrapper {
    transition: transform 0.5s;
}

.main_wrapper>img {
    align-self: center;
}

.text-camera{
    color: var(--red-color);
}

.desktop_cover {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100svh;
    justify-content: space-around;
}

.col-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5rem;
    text-align: center;
    width: 30%;
}

.col-logo>h2 {
    font-size: 3.25rem;
    color: var(--red-color);
}

.col-logo>span {
    font-size: 1.5rem;
    color: var(--yellow-color);
    font-weight: 500;
}

.col-qr {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
    align-self: center;
    gap: 2rem;
}

.col-qr > span {
    align-self: center;
    font-size: 1.5rem;
    color: var(--red-color);
    font-weight: 500;
}

/* loading */

h3 {
    margin-top: 25px;
    letter-spacing: 0.05rem;
    color: var(--red-color);
}

.loading-model {
    color: var(--red-color);
    letter-spacing: 0.05rem;
}

.dots_container {
    display: flex;
    justify-content: space-evenly;
    width: 50%;
    transform: translateY(20px);
}

.dot {
    width: 15px;
    height: 15px;
    background-color: var(--red-color);
    border-radius: 50%;
}

.dot:nth-child(1) {
    animation: bounce ease-in-out 2s infinite;
}

.dot:nth-child(2) {
    animation: bounce ease-in-out 2s infinite 0.25s;
}

.dot:nth-child(3) {
    animation: bounce ease-in-out 2s infinite 0.5s;
}

.dot:nth-child(4) {
    animation: bounce ease-in-out 2s infinite 0.75s;
}

.dot:nth-child(5) {
    animation: bounce ease-in-out 2s infinite 1s;
}

model-viewer {
    display: none;
}

.open_model_buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100svh;
    width: 100%;
    gap: 1rem;
}

.open_model_buttons>button {
    border: none;
    padding: 10px 0px;
    color: var(--white-color);
    background-color: var(--red-color);
    align-self: center;
    font-size: 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    width: 50%;
}

.model-section{
    display: none;
}

.white-div{
    display: block;
    height: 100svh;
    background-color: #FFFFFF;
    width: 100%;
    position: absolute;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-40px);
    }

    100% {
        transform: translateY(0);
    }
}

.block {
    display: none;
}

@media only screen and (max-width: 992px) {

    .main {
        display: flex;
        align-self: center;
        text-align: center;
        position: relative;
        z-index: 10;
        transition: transform 0.5s;
    }

    .main_wrapper>section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        height: 100svh;
        width: 100%;
    }

    .model-section{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        text-align: center;
        height: 100svh;
        width: 100%;
    }
    .main_wrapper>section>span {
        max-width: 75%;
        align-self: center;
    }

    .main_wrapper>section>h2 {
        max-width: 75%;
        align-self: center;
    }

    .desktop_cover {
        display: none;
    }

    .logo {
        height: 180px;
    }

    .logo_jaca_model_viewer {
        position: absolute;
        top: 0svh;
        height: 80px;
        padding: 1rem;
        z-index: 2;
        left: 50%;
        transform: translateX(-50%);
    }

    #start-button,
    #ar-button {
        display: block;
        border: 0px;
        width: 60%;
        padding: 10px 0px;
        color: var(--white-color);
        background-color: var(--red-color);
        align-self: center;
        font-size: 1.2rem;
        border-radius: 20px;
        cursor: pointer;
    }

    #start-button{
        display: none;
    }

    #ar-button {
        position: absolute;
        top: 85svh;
        left: 20%;
        z-index: 2;
    }

    model-viewer {
        display: block;
        pointer-events: none;
        width: 100%;
        height: 100svh;
        transition: opacity 0.5s;
    }

    .img-poster{
        position: absolute;
        z-index: 2;
        width: 100%;
    }
    .block{
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 999999;
        position: absolute;
        top: 0;
        height: 100svh;
        width: 100%;
        background-color: var(--white-color);
        text-align: center;
    }

    
}