.cuadroblanco {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    text-align: center;
    display: inline-block;
    width: fit-content; 
    display:block;
}


footer {
    text-align: center;
    color: white;
    padding: 20px 0;
    opacity: 100%;

}

.animacion {
    transition: all 0.3s ease;
    text-decoration: none;
    color: black;
}

.animacion:hover {
    color: #b823fd;
    transform: scale(1.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Playwrite IN", serif;
}

body {
    max-width: 100%;
    overflow-x: hidden;
}

header {
    color: white;
    font-family: "Playwrite IN", serif;
    text-align: center;
    height: 7%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    overflow-x: hidden;


}

nav {
    padding: 10px;
    height: 40px;
    max-width: 100%;
    overflow-x: hidden;
    max-height: 100%;
    min-height: fit-content;

}

nav .refs a {
    text-decoration: none;
    color: white;
    padding: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease;
    width: fit-content;
    display: inline-block
}

nav .refs a:hover {
    color: #b823fd;
    transform: scale(1.2);
    max-height: auto;

}

.refs {
    display: flex;
    justify-content:center;
    align-items: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    opacity: 100%;
    max-width: 100%;
    overflow: visible;


}

main {
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;

}

.fondo {
    background-image: linear-gradient( #7902a8 60% ,#af28ff );
}

.fondo2 {
    background-image: linear-gradient( #7902a8 60% ,#af28ff );
}

.fondodecuadros {
    background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url(../IMG/FONDO.png);
    background-size: cover;
    background-position: center;
    padding-top: 5%;
    padding-bottom: 5%;
}

body {
    opacity: 0;
    animation: fadeInBody 1.5s ease-in forwards;
}

@keyframes fadeInBody {
    to {
        opacity: 1;
    }
}

 


img {
    margin-left: auto;
    margin-right: auto;
    display: block;
    border-radius: 20px;
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
    min-height: 500px;
    margin-top: 10px;
    width: auto;
    max-height: 900px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);

    }



h4 {
   width: 50%; 
   text-align: center;
   margin-left: auto;
   margin-right: auto;
}