﻿body {
    background-color: #e4e4e4;
    margin: 0;
    font-family: Arial, sans-serif;
}

.container {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; 
    padding-top: 50px; 
}

    .container img {
        max-width: 80%;
        height: auto;
        margin-top: -277px; 
        max-height: 1150px; 
    }

.button-container {
    text-align: center;
    margin-top: -112px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.button {
    width: 110px;
    height: 110px;
    /*background: radial-gradient(circle, #f5b9fc, #9e82f8);*/
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2), 0 0 15px #c8b6ff;
    border: 5px solid rgba(255, 255, 255, 0.5);
    position: relative;
    cursor: pointer;
    margin-bottom: -3px; 
}

    .button::before,
    .button::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        border: 2px solid #FBC83C; 
        animation: rotate 4s linear infinite;
    }

    .button::before {
        width: 110px;
        height: 110px;
    }

    .button::after {
        width: 110px;
        height: 110px;
        animation-direction: reverse;
    }

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.button img {
    max-width: 60%; 
    max-height: 60%; 
    object-fit: contain; 
    margin:auto;
}

.button-label {
    font-size: 18px;
    color: #FF5E5E;
    font-weight: bold;
    margin-top: 9px; 
}

/* Media Queries: desde 800px hasta 240px */
@media (max-width: 800px) and (min-width: 240px) {

    /* Ajuste del contenedor para pantallas pequeñas */
    .container {
        padding-top: 20px; /* Ajustar el padding superior */
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }

        /* Ajustar la imagen */
        .container img {
            max-width: 80%; /* Reducir el ancho máximo */
            height: auto;
            margin-top: -100px; /* Ajustar el margen superior */
            max-height: 500px; /* Limitar la altura */
        }

    /* Ajustes para el contenedor del botón */
    .button-container {
        text-align: center;
        margin-top: 10px; /* Ajustar el margen superior */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .button {
        width: 80px; /* Reducir el tamaño del botón */
        height: 80px; /* Reducir el tamaño del botón */
        background: radial-gradient(circle, #e4e4e4, #9e82f8);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2), 0 0 15px #c8b6ff;
        border: 5px solid rgba(255, 255, 255, 0.5);
        position: relative;
        cursor: pointer;
        margin-bottom: 10px; /* Ajustar el margen inferior */
    }

        /* Ajustes de los bordes del botón */
        .button::before,
        .button::after {
            content: "";
            position: absolute;
            border-radius: 50%;
            border: 2px solid #FBC83C;
            animation: rotate 4s linear infinite;
        }

        .button::before {
            width: 80px; /* Reducir el tamaño */
            height: 80px; /* Reducir el tamaño */
        }

        .button::after {
            width: 80px; /* Reducir el tamaño */
            height: 80px; /* Reducir el tamaño */
            animation-direction: reverse;
        }

        /* Ajustar la imagen dentro del botón */
        .button img {
            max-width: 50%; /* Reducir el tamaño de la imagen */
            max-height: 50%; /* Reducir el tamaño de la imagen */
            object-fit: contain;
            margin: auto;
        }

    /* Ajustar el tamaño de la etiqueta del botón */
    .button-label {
        font-size: 14px; /* Reducir el tamaño de la fuente */
        color: #e4e4e4;
        font-weight: bold;
        margin-top: 5px; /* Ajustar el margen superior */
    }
}
