.emilys-candy-regular {
  font-family: "Emilys Candy", serif;
  font-weight: 400;
  font-style: normal;
}

.comic-relief-regular {
  font-family: "Comic Relief", system-ui;
  font-weight: 400;
  font-style: normal;
}

.comic-relief-bold {
  font-family: "Comic Relief", system-ui;
  font-weight: 700;
  font-style: normal;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-color: #e0a3cc #a76290;
}

body{
    font-family: "Comic Relief";
}

.contenedor {
    width: 1100px;
    margin: auto;
}

#foto1 {
    margin-right: 30px;
}

@keyframes oscilar {
  0%   { transform: rotate(-15deg); }
  50%  { transform: rotate(15deg); }
  100% { transform: rotate(-15deg); }
}

#foto2 {
    margin-left: 30px;
}

#banner {
    background: url("../img/banner.jpg") no-repeat center center;
    background-size: cover;
    padding: 0%;

}

#banner .contenedor {
    height: 670px;
    background-color: rgba(218, 126, 179, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#banner h2{
    font-family: "Emilys Candy";
    font-size: 100px;
    margin-bottom: 30px;
    color: #a76290;
    text-shadow: none;
}

#banner p{
    font-size: 25px;
    color: #ffffff;
}

section {
    padding: 48px 0;
}

section h2 {
    font-size: 32px;
    margin-bottom: 35px;
    color: #d8aa45;
    text-align: center;
    text-shadow: 3px 0 #fff, -3px 0 #fff, 0 3px #fff, 0 -3px #fff,
                 2px 2px #fff, -2px -2px #fff, 2px -2px #fff, -2px 2px #fff,
                 #53484f 6px 4px 6px;

}

.contenido {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenido p {
    margin-bottom: 16px;
    line-height: 22px;
}

.copete {
    font-size: 20px;
    font-weight: 300;
    line-height: 26px;
    color: #a76290;
    text-shadow: 0 0 10px #9e1d8d
}

#filosofia {
    background-color: #ddebeb;
}

#filosofia .copete {
    color: #274b5c;
    text-shadow: 0 0 10px #1d9e9c
}


.contenido div {
    width: 400px;
}

#publicidad {
    width: 1100px;
    margin: auto;
    margin-bottom: 40px;
    border-color: #1d9e9c;
    border-style: dotted;
    padding: 0%;
} 

#publicidad ul {
    display: flex;
}

#publicidad ul li{
    list-style: none;
    padding: 40px;
}


#pastillas {
    background: url(../img/fondo1.jpg) no-repeat center center;
    background-size: cover;
}

#pastillas p {
    color: #3b373a;
}


#pastillas .copete{
    text-align: center;
    margin-bottom: 48px;
    color: #ffffff;
    text-shadow: 0 0 8px #8b3c74, 0 0 8px #8b3c74, 0 0 8px #8b3c74, 0 0 8px #8b3c74, 0 0 8px #8b3c74;
}

#pastillas ul{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#pastillas ul li{
    list-style: none;
    flex: 1 300px;
    background-color: #b8b8b8;
    padding: 40px;
    border: 3px solid #6d5c66;
    text-align: center;
    text-align: center;
    border-radius: 20px;
    transition: all 300ms ease;
}

#pastillas ul li:hover{
    transform:translateY(-5px) ;
    border: 5px solid #581f4c;
    border-radius: 50px;
}

#pastillas ul li:hover img{
    width: 120px;          
    animation: oscilar 4s infinite ease-in-out;
    transform-origin: center
}

@keyframes oscilar {
    0%  { transform: rotate(0deg); }
    33%  { transform: rotate(-15deg); }
    66%  { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
}

#pastillas ul li:hover h3{
    color: #5c0c4b;
}

#medusita {
    position: fixed;
    top: 825px;
    left: 1775px;
    z-index: 2000;
    transition: all 0.4s ease;
}

#medusita:hover {
    animation: salto 0.4s infinite ease-in-out forwards;
    transform-origin: center;
}

@keyframes salto { 
    0% { ransform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

header {
    background-color: #fff0d1;
    position: sticky;
    top: 0px;
    z-index: 1000
}

header .contenedor{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0px;
}

.ancla {
    scroll-margin-top: 120px;
}

nav ul{
    display: flex;
    gap: 10px;
}

nav ul li{
    list-style: none;
    width: 120px;
}

nav ul li a{
    text-decoration: none;
    display: block;
    padding: 20px;
    text-align: center;
    color: #857a81;
}

nav ul li a:hover{
    color: #53484f;
}

#logo {
    background: url(../img/logo.png);
    width: 181px;
    height: 93px;
    font-size: 0%;
}

footer{
    background-color: #b8b8b8;
    text-align: center;
    padding: 100px 0px;
    color: #53484f;
}

footer.contenedor{
    display: flex;
    justify-content: space-evenly;
}

footer p{
    flex: 0 300;
    margin-bottom: 5px;
}

.info {
    display: flex;
    gap: 20px;
    justify-content: center;
}
