@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;350;400;500;600;700;800;900&display=swap");

* {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    font-family: "Inter", "Roboto", sans-serif;
    font-weight: 400;
    display: flex;
    /* Adicionada a propriedade display com o valor flex */
    /* flex-direction: column; */
    background-color: #FAEABC;
    flex-direction: column;
    align-items: center;
}

.textos {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 1s ease; /* ✅ */
}

h1 {
    text-align: center;
    color: #eac471;
    font-size: 18px;
    line-height: 20px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 15px 25px;
    margin-top: 30px;
    position: absolute;
    background-color: #193859;
    border-radius: 40px;

}

h2 {
    text-align: center;
    color: #adbfdb;
    font-size: 12.5px;
    line-height: 20px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 15px 25px;
    margin-top: 80px;
    position: absolute;
    border-radius: 40px;

}

canvas {
    display: block;
}


.controls {
    position: absolute;
    top: 10px;
    left: 10px;
    display: none;
    flex-direction: column;
    gap: 5px;
    border: 2px solid red;
}

.controls button {
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
}

div#cameraPositionDisplay {
    border: 2px solid red;
    display: flex;
    display: none;
}


.container-3d {
    width: 100%;
    height: 680px;
    /* background-color: #193859; */
    background: radial-gradient(ellipse at right, #416386 0%, #0f2944 70%, #010e1d 100%);
    /* background: radial-gradient(ellipse at right, #e6ba6a 0%, #6a4d23 70%, #201004 100%); */

    /* padding-bottom: 100px; */
}


canvas.taca {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0 auto;
}


/* container texto */


div.container-infos {
    width: 340px;
    height: 265px;
    background-color: #ffffff;
    border-radius: 20px;
    position: fixed;
    bottom: 30px;
    /* left: calc(50% - 170px); */
    display: flex;
    flex-direction: row;
    transition: opacity 3s ease;
    justify-content: center;
    box-shadow: 0px 10px 20px -8px rgba(0, 0, 0, 0.3);
}

div.container-infos .container-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 42px 24px 42px;
    justify-content: space-between;
}

div.container-infos .arrow {
    background-color: #bf9946;
    width: 40px;
    height: 40px;
    border-radius: 30px;
    position: absolute;
    top: calc(50% - 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.arrow.left {
    left: -20px;
    transform: rotate(180deg);
}

div.container-infos .arrow img {
    width: 20px;
    height: 20px;
}

.arrow.right.pulse {
    animation: pulsebtn 2s infinite;
}

div.container-infos div.pontos {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 7px;
}

div.container-infos div.pontos>div.active {
    width: 8px;
    height: 8px;
    background-color: #595959;
    border-radius: 10px;
}

div.container-infos div.pontos>div {
    width: 8px;
    height: 8px;
    background-color: #eaeaea;
    border-radius: 10px;
}

.arrow.right {
    right: -20px;
    margin-right: 2px;
}



@keyframes pulsebtn {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0px rgb(166, 143, 15);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(188, 168, 18, 0.2);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0px rgba(189, 163, 15, 0.3);
    }
}


div.container-infos .container-result p.descricao {
    text-align: center;
    color: #808080;
    font-size: 14px;
    line-height: 20px;
    font-weight: 300;
    padding-bottom: 10px;
}

div.container-infos .container-result p.titulo {
    text-align: center;
    color: #193859;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

/* 
canvas.taca {
    height: 80%;
    padding-bottom: 300px;
} */


#loadingMessage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -190%);
    /* background: rgba(0, 0, 0, 0.7); */
    color: rgb(237, 220, 145);
    padding: 20px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-family: sans-serif;
    z-index: 10;
    text-transform: uppercase;
  }
  



  /* Responsividade para telas menores */
@media (max-width: 550px) {
    h1 {
      font-size: 18px;
      padding: 12px 20px;
    }

    body {
        display: flex;
        flex-direction: column;
    }
  
    .container-3d {
      height: 500px;
    }

    div.container-infos {
        width: 85%;
        /* left: 0; */
    }

    div.container-infos .container-result {
        padding: 32px 36px 22px 36px;

    }

    div.container-infos .container-result p.titulo {
        font-size: 13px;
    }

    div.container-infos .container-result p.descricao {
        font-size: 13px;
        line-height: 19px;
    }

    h2 {
        display: none;
    }
  
    
  }
  