
* {
    box-sizing: border-box;
}

body {
    background-color: rgb(30, 0, 161);
    margin: 0;
    padding: 20px;
}
/* TIPOGRAFÍA DEL BLOG */

body {
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    color: #2b008f;
}

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

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

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

.extra-box,
.extra-boxes {
    font-family: 'Quicksand', sans-serif;
}






/* texto*/
.prinzessin mark { 
font-family: arial;
font-size:4em;
font-weight:bold;
background: none;
color:rgb(0, 3, 151);
animation: princess 2s infinite;
animation-timing-function: cubic-bezier(0.25, 0.85, 0.4, 1);
}

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

@-webkit-keyframes princess {
from { transform:scale(0.90); color:rgb(170, 0, 99); }
50% { transform:scale(1); color:rgb(255, 32, 143); }
to { transform:scale(0.90); color:rgb(15, 0, 228); }
}

@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); }
}



.grid-parent {
    
    background-size: 0px ;
    display: grid;
    gap: 10px;

    /* Centrar y limitar el contenedor */
    width: 100%;
    max-width: 850px;
    margin: 30px auto;

    /* Diseño para computadora */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(9, minmax(100px, auto));
}



/* scrolling version*/
.lacescr {
border-width:7px;
border-radius: 15px;
border-style:solid;
border-color: aliceblue;
border-image: url("https://i.imgur.com/NJa4bp2.png") 8 fill round;
width: 630px;;
height:400px;
overflow-y:auto;
} 


.grid-parent > div {
    
    padding: 20px;
    
    
    background-color:transparent
    padding: 20px;
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Caja 1: arriba */
.grid-child1 {
    border-style: dashed;
    border-color: rgb(55, 175, 255);
    background-color: rgb(255, 66, 230);
    border-radius: 15px;
    grid-column: 1 / -1;
    grid-row: 1 / 2;
}

/* Caja 2: abajo, a la derecha */
.grid-child2 {
     border-style: dashed;
    border-color: rgb(76, 189, 255);
    border-radius: 15px;
    background-color: rgb(114, 112, 255);
    border-radius: 15px;
    grid-column: 2 / -1;
    grid-row: 3 / 9;
}

/* Caja 3: abajo, a la izquierda */
.grid-child3 {
    border-style: dashed;
    border-color: rgb(76, 189, 255);
    background-color: rgb(97, 94, 252) ;
    border-radius: 15px;
    grid-column: 1 / 2;
    grid-row: 2 / 9;
    
}


/* Adaptación para celulares */
@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;
    }
}


.extra-boxes {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}

.extra-box {
    margin-top: 20px;
    padding: 5px;
    border-radius: 15px;
    background-color: rgb(255, 93, 193);
    text-align: center;
    font-size: 12px;
    box-sizing: border-box;
    min-width: 0;
    overflow-wrap: anywhere;
}