* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Bebas Neue', sans-serif;
  overflow-x: hidden;
}

.logo {
  width: 140px;
  cursor: pointer;
}

.hero {
  background: url('../img/fondo2.2.jpg') center/cover no-repeat;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.info-box {
  background-color: rgba(206, 24, 24, 0.75);
  clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 50% 100%, 0% 85%);
  width: min(95%, 800px);
  margin: 5vh auto;
  padding: 3rem 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease-out forwards;
}


.info-box strong {
  font-size: 1.5rem;
}

.icon {
  color: #b9b9b9;
  font-size: 1.8rem;
  transition: color 0.3s ease;
}

.icon:hover {
  color: #334049;
}

.footer {
  background-color: #334049;
  font-size: 1.2rem;
  text-align: center;
  color: white;
  padding: 1.5rem;
}

@media (min-width: 992px) and (min-height: 900px) {

  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .hero {
    min-height: calc(100vh - 160px);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  main {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .info-box {
    margin: -16vh auto 0 auto;
    transform: none;
  }

  .footer {
    position: absolute;
    bottom: 0;
    width: 100%;
  }
}

@media (max-width: 991px),
(min-width: 992px) and (max-height: 899px),
(min-width: 820px) and (max-width: 1366px) and (orientation: portrait),
(min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {

  html,
  body {
    height: auto;
    overflow-y: auto;
  }

  .hero {
    min-height: 100vh;
  }

  .info-box {
    clip-path: none;
    border-radius: 10px;
    background-color: rgba(206, 24, 24, 0.9);
    width: min(90%, 850px);
    padding: 2.5rem 2rem;
  }

  .info-box h1 {
    font-size: 3rem;
  }

  .info-box strong {
    font-size: 2rem;
  }

  .info-box p {
    font-size: 1.4rem;
  }

  .icon {
    font-size: 2.2rem;
  }

  .footer {
    position: relative;
    font-size: 1.1rem;
  }
}

@media (min-width: 1200px) and (max-width: 2000px) and (min-height: 800px) and (max-height: 1300px) {
  .info-box {
    width: min(90%, 900px);
    padding: 3rem;
  }

  .info-box h1 {
    font-size: 4rem;
  }

  .info-box strong {
    font-size: 2.4rem;
  }

  .info-box p {
    font-size: 1.8rem;
  }

  .icon {
    font-size: 2.4rem;
  }
}

.info-box {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}