#webgl-content * {
    border: 0;
    margin: 0;
    padding: 0;
}

.webgl-content .logo,
.progress {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.webgl-content .logo {
    background: url('progressLogo.Light.png') no-repeat center / contain;
    width: 154px;
    height: 130px;
}

.webgl-content .progress {
    height: 18px;
    width: 141px;
    margin-top: 90px;
}

.webgl-content .progress .empty {
    background: url('progressEmpty.Light.png') no-repeat right / cover;
    float: right;
    width: 100%;
    height: 100%;
    display: inline-block;
}

.webgl-content .progress .full {
    background: url('progressFull.Light.png') no-repeat left / cover;
    float: left;
    width: 0%;
    height: 100%;
    display: inline-block;
}

.webgl-content .logo.Dark {
    background-image: url('progressLogo.Dark.png');
}

.webgl-content .progress.Dark .empty {
    background-image: url('progressEmpty.Dark.png');
}

.webgl-content .progress.Dark .full {
    background-image: url('progressFull.Dark.png');
}

.webgl-content .footer {
    margin-top: 5px;
    height: 38px;
    line-height: 38px;
    font-family: Helvetica, Verdana, Arial, sans-serif;
    font-size: 18px;
}

.webgl-content .footer .webgl-logo,
.title,
.fullscreen {
    height: 100%;
    display: inline-block;
    background: transparent center no-repeat;
}

.webgl-content .footer .webgl-logo {
    background-image: url('webgl-logo.png');
    width: 204px;
    float: left;
}

.webgl-content .footer .title {
    margin-right: 10px;
    float: right;
}

#canvasView {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

#loadingText {

    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;

}

.loader {
    border: 1vh solid #ffffff !important; /* Light grey */
    border-top: 1vh solid #3498db !important; /* Blue */
    border-radius: 50%;
    width: 5vh;
    height: 5vh;
    animation: spin 2s linear infinite;
    -webkit-animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

#unity-fullscreen-button {
    width: 100%;
    height: fit-content;
    /* display: flex;
    justify-content: center;
    align-items: center; */
}

body {
    background-color: #383B28;
    -webkit-overflow-scrolling: touch;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

#gameView {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    justify-content: center;
    box-sizing: border-box;
}

#fullscreen-title {
    height: 100%;
    display: flex;
    justify-content: space-around;
}

#instructions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

#text {
    color: white;
    font-size: 3vmin;
    margin-top: 10px;
}

#fullscreen-button-text {
    color: white;
    font-size: 3vmin;
}

.inter-regular {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "slnt" 0;
}

.font-responsive {
    font-size: 1.6vmin;
}

#icon {
    width: auto;
    height: 2.5vmin;
    margin-inline: 2vmin;
}

#fullscreen-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

#fullscreen-button-content {

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #3498db;
    margin: 10px;
    padding: 5px;

}

#webgl-content {
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    
}

#separator {

    margin-left: 10%;

}

#pai-canvas {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 100%; /* Use 100vh para garantir altura total */
    overflow: hidden;
}

#cabecalho {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #383B28;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#instrucoes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 100px;
}
#text {
    color: #ffffff;
    font-size: 1rem;
}
#botao-fullscreen {
    display: flex;
    align-items: center;
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#botao-fullscreen:hover {
    background-color: #0056b3;
}
#fullscreen-button-text {
    margin-right: 10px;
    text-align: center;
    line-height: 1.2;
}
#icon {
    width: 24px;
    height: 24px;
}
@media (max-width: 600px) {
    #cabecalho {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    #instrucoes {
        width: 100%;
    }
    #botao-fullscreen {
        align-self: center;
    }
}

#gameContainer {
    /* max-width: 100%; */
    /* max-height: 100vh; */
    width: 100%;
    height: 100%;
    object-fit: contain;
    aspect-ratio: 16 / 9; /* Mantém a proporção original do canvas */
}

#corpo {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100%; /* Subtrai altura do cabeçalho */
}