
* {
    font-family: "Roboto Flex", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
      "slnt" 0,
      "wdth" 100,
      "GRAD" 0,
      "XOPQ" 96,
      "XTRA" 468,
      "YOPQ" 79,
      "YTAS" 750,
      "YTDE" -203,
      "YTFI" 738,
      "YTLC" 514,
      "YTUC" 712;
}

body {
    margin: 0;
    padding: 0;
    background-color: #fff;
    /* background-color: #EDEFF3; */
    font-size: 16px;
    overflow-y: hidden;
}

/* 
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.avatar-container {
    position: fixed;
    top: 30%;
    right: -500px; 
    transform: translateY(-50%);
    transition: right 1s ease-in-out;
}

    .avatar-container.show {
    right: 0; 
}
*/

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}
header {
    top: 0;
    width: 100%;
    background-color: #c6ce6f;
    text-align: center;
    border-bottom: 1px solid #b8b8b8;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}
header a {
    font-size: 16px;
}
header img {
    font-size: 16px;
    width: 10em;
    max-width: 100%;
    height: auto;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); */
}

#head_image {
    width: 9em;
}

#logo_image {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

video {
    position: relative;
    z-index: 10;  /* Asegúrate de que la posición no sea bloqueada por otros elementos */
}

.video-container {
    flex-grow: 1;  
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #b8b8b8;
}

.video-container2 {
    flex-grow: 1;  
    background-color: #474838;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.video-container video, .video-container2 video {
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(
      5px 5px 2px hsla(0, 0%, 100%, 0.644)
    );
}

.buttons-container {
    width: 75%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 10px;
    column-gap: 10px;
    padding: 10px;
    background-color: #fff;
    align-self: center;
}

.buttons-container2 {
    width: 75%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
    background-color: #474838;
    align-self: center;
}

.minivideos-container {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 10px;
    background-color: #474838;
    border-top: 1px solid #c6ce6f;
    text-align: center;
}

.minivideos-container figure a img {
    width: 70%;
    border-radius: 10px;
}

.buttons-container .btn, .buttons-container2 .btn {
    display: grid;
    justify-content: center;
    align-items: center;
    background-color: #c6ce6f;
    color: white;
    padding: 15px;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.buttons-container .btn:hover, .buttons-container2 .btn:hover {
    background-color: #777c44;
}
.buttons-container .btn:active, .buttons-container2 .btn:active {
    background-color: #34361d;
}

.buttons-container a .btn, .buttons-container2 a .btn {
    background-color: transparent;
    font-weight: bold;
}

.buttons-container a, .buttons-container2 a {
    text-decoration: none;
}

#main-btnL, #main-btnR {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#main-btnL {
    margin-right: 7.5%;
}

#main-btnR {
    margin-left: 7.5%;
}

/* .buttons-container .btn:nth-child(5) {
    grid-column: 1 / 3; 
    justify-self: center; 
    width: 50%;
} */

.div-page-ex {
    text-align: center;
    color: #fff;
    background-color: #474838;
    padding: 20px;
}

footer {
    flex-shrink: 0;  
    background-color: #474838;
    text-align: center;
    font-size: 14px;
    width: 100%;
    padding-top: 15px;
    padding-bottom: 5px;
    border-top: 1px solid #505050;
}

footer p {
    font-size: 14px;
    margin-top: 10px;
}

footer a {
    font-size: 14px;
}

footer a i:hover {
    zoom: 95%;
}

.fullscreen-menu {
    height: 100vh;
    width: 100%;
    background-color: #c6ce6f;
    position: absolute;
    text-align: center;
    justify-items: center;
    bottom: 0;
    top: 0;
    padding-top: 15em;
    z-index: 10;
}

.fsmenu-elements {
    display: grid;
    width: 50%;
    padding: 50px 20px;
    color: #474838;
    background-color: #EDEFF3;
    border-radius: 20px;
    justify-items: center;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-left: auto;
    margin-right: auto;
}

.classic-mode {
    font-size: 20px;
    padding: 20px;
    color: #fff;
    background-color: #474838;
    border: 1px solid #474838;
    border-radius: 20px;
}

@media screen and (min-width: 1440px) {
    /* Desktop */
    body {
        font-size: 22px;
    }
}

/* -- MEDIA QUERIES -- */

@media screen and (min-width: 1024px) {
    /* Desktop */
    body {
        font-size: 20px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    /* Tablet */
    video {
        width: 80%;
    }
    body {
        font-size: 18px;
    }
}

@media screen and (max-width: 767px) {
    /* Smartphone */
    header img {
        width: 6em;
    }
    #head_image {
        width: 5em;
    }
    body {
        font-size: 12px;
    }
    video {
        width: 100%;
    }
    .buttons-container .btn {
        font-size: 12px;
        padding: 8px;
    }
    .minivideos-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
        padding: 1px;
    }
    .minivideos-container figure a img {
        width: 90%;
    }
    footer a img {
        width: 3em;
    }
}

@media screen and (max-width: 250px) {
    header {
        justify-content: center;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    header img {
        margin-left: auto;
    }
    .minivideos-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .buttons-container {
        grid-template-columns: 1fr; 
    }
    .buttons-container .btn {
        padding: 2px;
    }
    footer a img {
        width: 2em;
    }
    #logo_image {
        display: none;
    }
    #main-btnL {
        margin-right: 0;
    }
    
    #main-btnR {
        margin-left: 0;
    }
}

/* @media (max-width: 350px) {
    header p {
        text-indent:-999px;
        font: 0/0 a;
        text-shadow: transparent;
        color: transparent;
        text-decoration: none;
    }
    .buttons-container {
        grid-template-columns: 1fr; 
    }
    .buttons-container .btn:nth-child(5) {
        grid-column: 1;
        width: 90%;
    }
} 

@media (max-width: 200px) {
    .buttons-container .btn {
        padding: 5px;
        font-size: small;
    }
    #logo_image {
        display: none;
    }
    #head_image {
        width: 2em;
    }
}

@media (max-width: 130px) {
    .buttons-container .btn {
        display: none;
    }
    body * {
        font-size: xx-small;
    }
    #head_image {
        width: 1em;
    }
}
*/
