﻿

:root {
    --transition-speed: 0.3s;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-color: rgb(204, 203, 199, 5%);
    display: contents;
}

.login {
    background-color: rgb(204, 203, 199, 15%);
}


/* Main Content Area */
.main-content {
    padding: 0rem;
    width: 99%;
    min-height: 100vh;
    margin-left: 10px;
    transition: margin var(--transition-speed);
}

/* Header */
.header {
    background: #2a4cbb;
    border-radius: 10px;
    padding: 0.2rem;
    margin-left: 0px;
    margin-bottom: 0.4rem;
    position: relative;
    width: 100%;
}

    .header h1 {
        color: #ffffff;
        margin-top: 5px;
        margin-left: -20px;
        font-size: 1.2rem;
    }

/* Content Containers */
.content-wrapper {
    height: calc(100vh - 65px);
    overflow: hidden;
    border-radius: 10px;
    background: white;
    position: relative;
}

.presentation-container {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 95%;
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-grow: 1;
}

.embed-container {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 95%;
    padding: 0px;
    margin-top: 0px;
    /* display: none; */
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-grow: 1;
}

    .embed-container.active,
    .presentation-container.active {
        display: block;
    }

.presentation-container {
    background-size: cover;
    background-position: center;
}

.report-conteiner {
    z-index: 0;
}

/* BOTON FLOTANTE DE PANTALLA COMPLETA */

.fullscreen-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: #2a75bb;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 5000;
}

    .fullscreen-button:hover {
        background-color: #003470;
    }

/* Spinner */
.container-spinner {
    width: 60vw;
    height: 70vh;
    margin: 5vh auto;
}

.child-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader {
    width: 100px;
    --b: 20px;
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 1px;
    background: conic-gradient(#0000 10%, #93223e) content-box;
    -webkit-mask: repeating-conic-gradient(#0000 0deg, #000 1deg 20deg, #0000 21deg 36deg), radial-gradient(farthest-side, #0000 calc(100% - var(--b) - 1px), #000 calc(100% - var(--b)));
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
    animation: l4 1s infinite steps(10);
}

@keyframes l4 {
    to {
        transform: rotate(1turn)
    }
}
