@import url('https://fonts.googleapis.com/css2?family=Gochi+Hand&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chewy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chewy&family=Coral+Pixels&family=Fredoka:wght@300..700&family=Gloria+Hallelujah&family=Reenie+Beanie&family=Rum+Raisin&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chewy&family=Coral+Pixels&family=Fredoka:wght@300..700&family=Gloria+Hallelujah&family=Reenie+Beanie&family=Rum+Raisin&family=Shadows+Into+Light&family=Shadows+Into+Light+Two&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat+Brush&family=Chewy&family=Coral+Pixels&family=Fredoka:wght@300..700&family=Gloria+Hallelujah&family=Reenie+Beanie&family=Rum+Raisin&family=Shadows+Into+Light&family=Shadows+Into+Light+Two&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat+Brush&family=Chewy&family=Coral+Pixels&family=Fredoka:wght@300..700&family=Gloria+Hallelujah&family=Gochi+Hand&family=Reenie+Beanie&family=Rum+Raisin&family=Shadows+Into+Light&family=Shadows+Into+Light+Two&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat+Brush&family=Chewy&family=Coral+Pixels&family=Fredoka:wght@300..700&family=Gloria+Hallelujah&family=Gochi+Hand&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Reenie+Beanie&family=Rum+Raisin&family=Shadows+Into+Light&family=Shadows+Into+Light+Two&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Atma:wght@300;400;500;600;700&family=Caveat+Brush&family=Chewy&family=Coral+Pixels&family=Fredoka:wght@300..700&family=Gloria+Hallelujah&family=Gochi+Hand&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Reenie+Beanie&family=Rum+Raisin&family=Shadows+Into+Light&family=Shadows+Into+Light+Two&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Atma:wght@300;400;500;600;700&family=Caveat+Brush&family=Chewy&family=Coral+Pixels&family=Fredoka:wght@300..700&family=Gloria+Hallelujah&family=Gochi+Hand&family=Meow+Script&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Reenie+Beanie&family=Rum+Raisin&family=Shadows+Into+Light&family=Shadows+Into+Light+Two&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Atma:wght@300;400;500;600;700&family=Caveat+Brush&family=Caveat:wght@400..700&family=Chewy&family=Coral+Pixels&family=Fredoka:wght@300..700&family=Gloria+Hallelujah&family=Gochi+Hand&family=Meow+Script&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Reenie+Beanie&family=Rum+Raisin&family=Shadows+Into+Light&family=Shadows+Into+Light+Two&display=swap');

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

header {
    font-size: 1rem;
    font-weight: 400;
    background-color: #f43aa3;
    padding-top: 30px;   
    padding-bottom: 20px;  
    text-align: center;
    border-top: none;
    max-width: 100%;
    width: 100%;
    overflow: visible;
}

.titulo-3d {
    font-family: "Shadows Into Light Two", cursive;
    font-size: 5rem;
    color: rgb(255, 233, 106); 
    text-transform: uppercase;
    margin: 0 0 5px 0;         
    padding: 10px 20px;
    line-height: 1.1;
    display: block;
    word-break: break-word;
    text-shadow: 
        2px 2px 0 rgb(255, 232, 104), 
        4px 4px 0 #ef9a65, 
        -3px -3px 0 #ef9a65, 
        5px 5px 0 #da5158, 
        -4px -4px 0 #da5158, 
        6px 6px 0 #d62f66,
        -5px -5px 0 #d62f66,
        7px 7px 0 #73106d,
        -6px -6px 0 #73106d;    
}

header h3 {
    font-size: 2rem;
    font-family: "Caveat Brush", cursive;
    color: rgb(245, 216, 47);
    margin-top: -25px;      
    margin-bottom: 0;    
}

body {
    font-size: 1rem;
    background-image: url(glitter1.jpg);
    background-size: cover;
    border: none;
}

main {
    background-color: #faecf4;
    width: 70%;
    max-width: 95%;
    margin: 0 auto 0 auto;
}

h2 {
    font-family: "Gochi Hand", cursive;
    font-size: 1.5rem;
    color: #561882;
    padding-left: 5%;
    padding-top: none;
}

article h3 {
    font-family: "Shadows Into Light", cursive;
    font-size: 1.5rem;
    padding-left: 5%;
    background-color: rgba(255, 251, 0, 0.4);
    color: #561882;
}

article p {
    font-family: "Gloria Hallelujah", cursive;
    padding-left: 5%;
    padding-right: 5%;
    line-height: 1.6;
    font-size: 1rem;
}

section {
    display: flex;
    gap: 30px;
    padding: 10px;
    align-items: flex-start;
}

article {
    flex: 1;
    max-width: 65%;
}

article ul li {
    list-style-type: none;
    font-family: "Gochi Hand", cursive;
    color: #0b90ab;
    font-size: 1.1rem;
}

article ul li::before {
    content:"";
    background-image: url(estrella.png);
    display: inline-block;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 8px;
    vertical-align: middle;  
}

aside {
    flex: 0 0 30%;
    position: relative;
}

aside h3 {
    font-family: "Caveat", cursive;
    font-size: 1.5rem;
    color: #00c2f8;
    margin-bottom: 15px;
    padding-left: 0;
    text-align: center;
}

aside p { 
    background-size: 8px 8px;
    background-image: url(cuadrille.jpg);
    padding: 12px;
    font-family: "Reenie Beanie", cursive; 
    font-size: 1rem;
    text-align: justify;
}

nav ul {
    list-style: none;
}

nav li {
    display: inline;
}

nav a {
    font-family: "Gloria Hallelujah", cursive;
    font-size: 0.9rem;
    text-decoration: none;
    color: #b72578;
    padding: 12px 15px;
    background-color: #fcd0e9;
    display: inline-block;
}

nav a:hover {
    color: #fedef0;
    background-color: #9557ac;
    border-bottom: 2px solid #e7038e;
    border-right: 2px solid #e7038e;
    border-top: 2px solid #fedef0;
    border-left: 2px solid #fedef0;
}

footer {
    font-size: 1rem;
    padding: 30px;
    text-align: center;
}

footer a {
    text-decoration: none;
    color: #561882;
    font-family: "Gloria Hallelujah", cursive;
    font-weight: bold;
}

footer a:hover {
    color: #f43aa3;
    text-decoration: underline;
}

.centrado {
    display: block;
    margin: 0 auto;
    width: 80%;
}

article img {
    width: 60%;
    max-width: 600px;
    margin-left: 30px;
    height: auto;
}

.icono-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    width: 100%;
}

.icono-contenido {
    flex: 1;
    min-width: 0;
}

.icono-imagen {
    width: 300px;
    height: auto;
    flex-shrink: 0;
    transform: rotate(-15deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-top: 100px;
}

@media screen and (max-width: 900px) {
    section {
        flex-direction: column;
        gap: 20px;
    }
    
    article {
        max-width: 100%;
    }
    
    aside {
        flex: 0 0 100%;
    }
    
    .icono-container {
        flex-direction: column;
    }
    
    .icono-imagen {
        width: 250px;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
    }
    
    nav a {
        font-size: 0.8rem;
        padding: 8px 10px;
    }
}

@media screen and (max-width: 600px) {
    html {
        font-size: 14px;
    }
    
    .titulo-3d {
        font-size: 1.8rem;
    }
    
    header, footer {
        padding: 15px;
    }
    
    main {
        width: 95%;
    }
    
    h2, article h3 {
        font-size: 1.2rem;
    }
    
    aside h3 {
        font-size: 1.2rem;
    }
    
    article p, aside p {
        font-size: 0.9rem;
        padding-left: 3%;
        padding-right: 3%;
    }
    
    article ul li {
        font-size: 0.95rem;
    }
    
    article img {
        margin-left: 0;
    }
    
    .icono-imagen {
        width: 100%;
        margin-top: 20px;
    }
    
    nav a {
        font-size: 0.7rem;
        padding: 6px 8px;
        display: block;
        margin: 5px 0;
    }
}