@import url('https://fonts.googleapis.com/css2?family=Hammersmith+One&display=swap');

*{
    box-sizing: border-box;
    margin: 0%;
    padding: 0%;
    font-family: 'Signika', sans-serif;
    height: auto;
    width: auto;
}

body{
    background-color: #a1c349ff;
    font-family: 'Signika', sans-serif;
    position: relative;
    padding-bottom: 3em;
    min-height: 400vh;

}
nav{
    background-color:#cad593ff;
    display: flex;
    justify-content: center;
    
}

.contenedor{
    position:sticky;
    top: 0;
}


nav .navegación li{
    display: inline-block;
    justify-content:center;
    background-color: #cad593ff;
    padding: 0 40px;
    list-style: none;
    font-family: 'Moul';
    position: sticky;
    top: 0;
}

nav a{
    text-decoration: none;
    color: #243010ff;
    display: block;
    padding: 10px;
}

    
.navegación a:hover{
    background-color:#ffffb3ff;
    transform: scale(1.1);
    transition: 0.2s;
    border-radius: 10px;
    content: 5px 20px;
    
}

header #titulo{
    background-color: #243010ff;
    display: flex;
    justify-content: center;
    color: antiquewhite;
    height: 100px;
    transition: 0.2s;
}

/*Titulo "curiosidades sobre shrek"*/

.titulos{
    display: none;
}

.titulos {
    padding-top: 25px;
    padding-bottom: 25px;
    font-size: 30px;
    margin: 0px auto;
    text-align: center;
    font-family: 'Signika', sans-serif;
    letter-spacing: 0.25em;
    word-spacing: 0.25em;
    text-shadow: 4px 4px 4px #aaa;

}

.titulos {
    font-family: 'Signika', sans-serif;
    letter-spacing: .5vw;
    display: inline-block;
    text-align: center;
    width: 100%;
    background-color: #a1c349ff;
    color: rgb(0, 0, 0);
    -webkit-animation: titulos 3s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	animation: titulos 3s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes titulos {
    0% {
    letter-spacing: 1em;
    -webkit-transform: translateZ(300px);
    transform: translateZ(300px);
    -webkit-filter: blur(12px);
    filter: blur(12px);
    opacity: 0;
    }
    100% {
    -webkit-transform: translateZ(12px);
    transform: translateZ(12px);
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
    }
    }
    @keyframes titulos {
    0% {
    letter-spacing: 1em;
    -webkit-transform: translateZ(300px);
    transform: translateZ(300px);
    -webkit-filter: blur(12px);
    filter: blur(12px);
    opacity: 0;
    }
    100% {
    -webkit-transform: translateZ(12px);
    transform: translateZ(12px);
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
    }
    }
/*Termina titulo */


.container {
    max-width: 100%;
    margin: auto;
    flex-wrap: wrap;
}

.datos img {
    max-width: 100%;
    object-fit: contain;
    height: 100%;

}

.datos  {
    display: flex;
    height: 50%;
}

.datos-izquierda, .datos-derecha {
    max-width: 50%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80%;
    align-content: stretch;
    flex-direction: column;
}

.sub-titulo {
    width: 100%;
    padding-top: 80px;
    text-align: center;
    color: white;
}

.sub-titulo h4 {

    font-size: 300%;
}


.informacion p {
    max-width: max-content;
    padding: 40px 30px 40px 30px;
    text-align: center;
    font-size: 200%;
}

.container-datos {
    margin: 40px 0px 40px 0px;
    display: flex;
}




footer{
    background-color:#243010ff;
    padding: 1rem 0;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}


/*Responsive*/
@media screen and (max-width: 440px) {

body{
    background-color: rgb(140, 73, 195);
    font-family: 'Signika', sans-serif;
    position: relative;
    padding-bottom: 3em;
    min-height: 400vh;
}
    
.titulos {
    display: none;
}


.titulos {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 15px;
    margin: 0px auto;
    text-align: center;
    font-family: 'Signika', sans-serif;
    letter-spacing: 0.25em;
    word-spacing: 0.25em;
    text-shadow: 4px 4px 4px #aaa;

}

.titulos {
    font-family: 'Signika', sans-serif;
    letter-spacing: .5vw;
    display: inline-block;
    text-align: center;
    width: 100%;
    background-color: #a1c349ff;
    color: rgb(0, 0, 0);
    -webkit-animation: titulos 3s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	animation: titulos 3s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes titulos {
    0% {
    letter-spacing: 1em;
    -webkit-transform: translateZ(300px);
    transform: translateZ(300px);
    -webkit-filter: blur(12px);
    filter: blur(12px);
    opacity: 0;
    }
    100% {
    -webkit-transform: translateZ(12px);
    transform: translateZ(12px);
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
    }
    }
    @keyframes titulos {
    0% {
    letter-spacing: 1em;
    -webkit-transform: translateZ(300px);
    transform: translateZ(300px);
    -webkit-filter: blur(12px);
    filter: blur(12px);
    opacity: 0;
    }
    100% {
    -webkit-transform: translateZ(12px);
    transform: translateZ(12px);
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
    }
    }
/*Termina titulo */


.container {
    max-width: 100%;
    margin: auto;
    flex-wrap: wrap;
    max-height: 50%;
}

.datos  {
    display: flex;
    height: 50%;
}

.datos img {
    width: 600px;
    object-fit: contain;
    max-width: 100%; 

}




.datos-izquierda, .datos-derecha {
    max-width: 30%;
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30%;
    align-content: stretch;
    flex-direction: column;
}

.datos-izquierda, .datos-derecha img {
    width: 500px;
    height: 500px;
    object-fit: contain;
    max-width: 30%;

}

.sub-titulo h4 {
    width: 100%;
    text-align: center;
    color: white;
    font-size: 15px;
}

.informacion p {
    font-size: 10px;
    max-width: max-content;
    padding: 10px 10px 10px 10px;
    text-align: center;
}

.container-datos {
    margin: 40px 0px 40px 0px;
    display: flex;
}
}

@media screen and (max-width: 768px) {

}

