body {
    margin: auto;
    height: 100vh;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    color: white;
}

/** Background **/
.fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("./img/fondo.jpg");
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    z-index: 0;
}

/** Content **/
.contenido {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-width: 100vw;
    /* Evita que el contenido exceda el ancho de la ventana */
    padding: 20px;
    /* Agrega espacio para evitar bordes abruptos */
    overflow: hidden;
    /* Evita desbordamiento */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

h1 {
    font-size: 3em;
    padding: 2px;
}

p {
    font-size: 20px;
}

/** Ajustes para imágenes **/
img, .logo {
    max-width: 100%;
    /* La imagen nunca excederá el tamaño del contenedor */
    height: auto;
    /* Mantiene las proporciones de la imagen */
}

/** Buttons **/
button {
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 16px;
    margin: 10px;
    transition: background-color 0.3s, transform 0.2s;
}

button a {
    text-decoration: none;
    color: white;
    display: block;
}

/** Button States **/
button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.ytb:hover:not(:disabled),
.kckb:hover:not(:disabled),
.ig:hover:not(:disabled),
.freepik:hover:not(:disabled),
.warnb:hover:not(:disabled),
.dc:hover:not(:disabled) {
    transform: translateY(-3px);
    opacity: 0.9;
}

/** Button Colors **/
.ytb {
    background-color: #FF0000;
}

.ig {
    background-color: purple;
}

.kckb {
    background-color: #00FF00;
}

.dc {
    background-color: #23272a;
}

.freepik {
    background-color: rgb(0, 48, 153);
}

.warnb {
    background-color: #bbff00;
    font-weight: bold;
}

/** Warning Modal **/
.modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.modal-content {
    background: rgb(0, 0, 0);
    padding: 20px;
    border-radius: 5px;
}

.warnimg {
    width: 200px;
}

.warn {
    color: red;
}

.warndesc {
    font-size: 20px;
}

/** Logo **/
.logo {
    margin-top: 20px;
    width: 200px;
    border-radius: 50%;
    border: solid 4px white;
}

/** Footer **/
.footer {
    margin-top: auto;
}

/** Media Queries para pantallas pequeñas **/
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    p {
        font-size: 16px;
    }

    button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .logo {
        width: 150px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5em;
    }

    p {
        font-size: 14px;
    }

    button {
        font-size: 12px;
        padding: 6px 12px;
    }

    .logo {
        width: 120px;
    }
}