
/* CONFIGURACIÓN GENERAL */

* {
    box-sizing: border-box;
}

body {
    background-image: url('https://sozaino.site/wp-content/uploads/2022/06/hoshi449-1280x720.png');
    background-size: ;
    background-color: transparent;
    color: #2b008f;
    margin: 0;
    padding: 20px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}

/* TÍTULOS */

.grid-parent h1,
.grid-parent h2,
.glow h3 {
    color: #2b008f;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

/* ARCHIVO DE AÑOS */

summary {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

.grid-child3 summary {
    color: #9b34bb;
    cursor: pointer;
    padding: 6px;
    list-style-position: inside;
}

.grid-child3 summary:hover {
    color: #ff38b8;
}

.grid-child3 details p {
    margin: 8px 0 8px 14px;
    font-size: 14px;
}

/* ENLACES */

a {
    color: #9b34bb;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    text-decoration: none;
}

a:hover {
    color: #ff38b8;
    text-decoration: underline;
}

/* TEXTO ANIMADO */

.prinzessin mark {
    font-family: Arial, sans-serif;
    font-size: 4em;
    font-weight: bold;
    background: none;
    color: rgb(47, 4, 165);
    animation: princess 2s infinite;
    animation-timing-function: cubic-bezier(0.25, 0.85, 0.4, 1);
    display: inline-block;
}

.prinzessin mark:nth-child(1)  { animation-delay: 0s; }
.prinzessin mark:nth-child(2)  { animation-delay: 0.2s; }
.prinzessin mark:nth-child(3)  { animation-delay: 0.4s; }
.prinzessin mark:nth-child(4)  { animation-delay: 0.6s; }
.prinzessin mark:nth-child(5)  { animation-delay: 0.8s; }
.prinzessin mark:nth-child(6)  { animation-delay: 1s; }
.prinzessin mark:nth-child(7)  { animation-delay: 1.2s; }
.prinzessin mark:nth-child(8)  { animation-delay: 1.4s; }
.prinzessin mark:nth-child(9)  { animation-delay: 1.6s; }
.prinzessin mark:nth-child(10) { animation-delay: 1.8s; }

@keyframes princess {
    from {
        transform: scale(0.90);
        color: rgb(0, 87, 250);
    }

    50% {
        transform: scale(1);
        color: rgb(248, 52, 215);
    }

    to {
        transform: scale(0.90);
        color: rgb(80, 68, 255);
    }
}

/* CONTENEDOR PRINCIPAL */

.grid-parent {
    display: grid;
    gap: 10px;
    width: 100%;
    max-width: 850px;
    margin: 50px auto 30px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(9, minmax(100px, auto));
}

/* CAJAS */

.grid-parent > div {
    border-radius: 15px;
    
    padding: 20px;
    min-width: 0;
    overflow-wrap: anywhere;
}

/* CAJA SUPERIOR */

.grid-child1 {
    border: 2px dotted rgba(12, 91, 180, 0.644);
    background-color: rgb(255, 122, 222);
    grid-column: 1 / -1;
    grid-row: 1 / 2;
}

/* CAJA DEL CONTENIDO */

.grid-child2 {
    border: 2px dotted rgba(12, 91, 180, 0.644);
    background-color: rgb(255, 236, 237);
    grid-column: 2 / 6;
    grid-row: 2 / 9;
    
}

/* ÁREA DE LAS ENTRADAS */

.glow {
    width: 100%;
    height: 300px;
    overflow-y: auto;
    padding: 15px;
    background: rgb(255, 192, 252);
    border: 3px solid rgb(255, 192, 252);
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(255, 192, 252), 0 0 14px rgb(255, 192, 252);
}

/* CAJA DEL ARCHIVO */

.grid-child3 {
    border: 2px dotted rgba(12, 91, 180, 0.644);
    background-color: rgb(253, 238, 152);
    grid-column: 1 / 2;
    grid-row: 2 / 9;
    border-radius: 15px;
}



.boton-inicio {
    display: inline-block;
    background-color: #bc85ff;
    color: #2706e6;
    text-align: center;
    padding: 8px 12px;
    border-style: none;
    font-family: 'Quicksand' monospace;
    font-size: 13px;
}

.boton-inicio:hover {
    background-color: #ffabf1;
}


/* CELULARES */

/* CENTRAR TEXTO DE LAS ENTRADAS */

.glow section {
    text-align: center;
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .grid-parent {
        padding: 10px;
        gap: 8px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        grid-template-rows: repeat(3, minmax(100px, auto));
    }

    .grid-parent > div {
        padding: 12px;
    }

    .grid-child1 {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .grid-child3 {
        grid-column: 1;
        grid-row: 2 / 9;
    }

    .grid-child2 {
        grid-column: 2;
        grid-row: 2 / 9;
    }
}
