.smile {
  overflow: hidden;
  padding: 0px;
}
.smile--texts {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.smile--texts p {
  font-size: 2.125rem;
  line-height: 2.25rem;
  color: var(--primary);
  margin-bottom: 40px;
}
.smile--texts p:last-child {
  margin-bottom: 0px;
}

.smile--texts-end {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: white;
  padding: 0;
  height: calc(100vh + 1px);
}
.smile--texts-end p {
  font-size: 3.125rem;
  line-height: 3.25rem;
  color: var(--primary);
  margin-bottom: 40px;
}
.smile--texts-end p:last-child {
  margin-bottom: 0px;
}

.smile--horizontal-wrapper {
  background: var(--primary);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.smile--horizontal-wrapper h2 {
  margin-top: 0px;
  margin-bottom: 30px;
  font-size: 34px;
  line-height: 36px;
}
.smile--horizontal-wrapper p {
  margin: 0px;
  font-size: 34px;
  line-height: 36px;
}
.smile--horizontal-wrapper > .container {
  overflow: hidden;
  padding-left: 0px;
  padding-right: 0px;
}
.smile--horizontal-wrapper .box {
  display: flex;
  max-width: 900px;
  width: 100%;
  position: relative;
  margin-bottom: 40px;
}
.smile--horizontal-wrapper .item {
  min-width: 100%;
  color: white;
  padding-left: 42px;
  padding-right: 42px;
  padding-right: 0px;
  box-sizing: border-box;
  cursor: grab;
  user-select: none;
}
.smile--horizontal-wrapper .slider-prev,
.smile--horizontal-wrapper .slider-next {
  position: absolute;
  top: 25px;
  cursor: pointer;
  z-index: 10;
  border: none;
  appearance: none;
  font-size: 0px;
  width: 60px;
  height: 20px;
  background-size: 36px, auto !important;
  border-radius: 100px;
}

.smile--horizontal {
  display: flex;
  width: max-content;
}
.smile--horizontal .box {
  flex: 0 0 100vw;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  color: white;
}
.smile--horizontal .box .container {
  display: flex;
  align-items: center;
  gap: 100px;
}
.smile--horizontal .box .container h2 {
  font-size: 100px;
  line-height: 90px;
  margin: 0px;
}
.smile--horizontal .box .container p {
  font-size: 38px;
  line-height: 40px;
  margin: 0px;
}

.socrates {
  width: 300px;
  position: relative;
  text-align: center;
  margin: 100px auto;
}
.socrates .cara {
  position: relative;
  width: 100%;
  height: 340px;
}
.socrates .cara-superior,
.socrates .cara-inferior {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
  pointer-events: none;
  transition: transform 0.2s ease-in-out;
}
.socrates .cara-inferior {
  transform-origin: top center;
  top: 226px;
  left: -11px;
  transition: transform 0.2s ease-in-out;
}
.socrates .bocadillo {
  position: absolute;
  bottom: 60px;
  left: -100px;
  transform: translateX(-50%) scale(0);
  transform-origin: bottom center;
  transition: transform 0.2s ease-out;
  pointer-events: none;
  width: 200px;
}
.socrates .bocadillo-activo {
  animation: bocadilloAnim 0.3s infinite alternate;
}

@keyframes bocadilloAnim {
  0% {
    transform: translateX(-50%) scale(1) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) scale(1.1) rotate(5deg);
  }
}

@media (max-width: 1200px) {
  .smile--texts p {
    font-size: 2.125rem;
    line-height: 2.25rem;
  }
}
@media (max-width: 992px) {
  .smile--horizontal-wrapper .item {
    padding-left: 32px;
    padding-right: 32px;
  }
  .smile--horizontal-wrapper h2 {
    margin-top: 0px;
    margin-bottom: 30px;
    font-size: 24px;
    line-height: 26px;
  }
  .smile--horizontal-wrapper p {
    margin: 0px;
    font-size: 18px;
    line-height: 22px;
  }
}

@media (max-width: 768px) {
  .smile--texts p {
    font-size: 1.125rem;
    line-height: 1.25rem;
    margin-bottom: 20px;
  }
  .smile--texts-end p {
    font-size: 2.125rem;
    line-height: 2.25rem;
  }
}

@media (max-width: 480px) {
  .smile--horizontal-wrapper .item {
    padding-left: 16px;
    padding-right: 16px;
  }
  .smile--texts p {
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 10px;
  }
}

@media (max-width: 320px) {
  .smile--horizontal-wrapper .item {
    padding-left: 12px;
    padding-right: 12px;
  }
  .smile--texts-end p {
    font-size: 1.525rem;
    line-height: 1.65rem;
  }
}
