@font-face {
    font-family: Dosis;
    src: url("../Dosis/Dosis-VariableFont_wght.ttf");
}

body {
    font-family: Dosis, sans-serif;
    display: flex;
    align-items: top;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-image: url("../images/image.png");
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 250px;
}

/* Esto para que la imagen de la parte inferior izquierda vaya al fondo de la pantalla en caso de que el contenido sea mas que el alto del dispositivo */
@media (max-width: 678px) {
    body {
        height: 100%;
    }
}

/* Se agrega el logo de cast en la parte superior derecha con un pseudo elemento */
body::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-image: url("../images/logocast.jpg");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 200px;
    z-index: -1;
}

.container {
    width: 100%;
    padding: 20px;
}

.heading {
    text-align: center;
    color: #504e4e8e;
    margin-bottom: 30px;
}

.list {
    margin-top: 70px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    align-items: center;
    list-style: none;
    padding: 0;
}

/* Para que los botones se vean de arriba hacia abajo en dispositivos moviles */
@media (max-width: 678px) {
    .list {
        flex-direction: column;
    }
}
    
.list__item {
    width: 250px;
    height: 250px;
    background-color: #4287f5; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); 
    border-radius: 10px; 
    transition: all 0.3s ease-in-out; 
}

.list__item:hover {
    transform: scale(1.05); 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); 
}

.list__link {
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease-in-out;
    font-weight: 900;
    border-radius: inherit;
}

.list__link:hover {
    opacity: 0.8;
}

.list__link--NG {
    background: #26ADE0; 
}

.list__link--P3 {
    background: #F58221; 
}

.list__link--CA {
    background: #99C945; 
}

.footer__version {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 10px;
    color: #4342428e;
    font-weight: 700;
    font-size: 1rem;
}