@import url("https://fonts.googleapis.com/css2?family=Anton&family=Roboto:wght@300;900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Anton", sans-serif;
  color: aliceblue;
  background-color: black;
  height: 100vh;
}

.header {
  height: 10vh;
  font-family: "Anton", sans-serif;

  display: flex;
  padding: 2rem 5vw;
  align-items: center;
  width: 100%;
}

.logo {
  max-width: 80px;
  height: auto;
  position: relative;
  right: 0.7%;
}

.header-title {
  font-size: 2.5vw;
  letter-spacing: 0.2em;
}

.header-subtitle {
  font-size: 1.5em;
  letter-spacing: 0.1em;
  font-weight: 300;
  text-transform: capitalize;
  font-family: "Roboto", sans-serif;
}

.content {
  width: 100%;

  height: 65vh;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background-color: #ce0000;

  border-bottom: solid #ce0000 1px;
}

.content:before {
  content: "";
  position: absolute;
  top: 10vh;
  left: 0;

  width: 40%;
  height: 65%;
  background: linear-gradient(to right, #5a0000, transparent);
}

.img-container {
  width: 50%;
  height: 65vh;

  /* background-image: url("../img/grupal.jpg"); */
  background-repeat: no-repeat;
  background-size: cover;
  animation: changeImage 20s infinite; /* Ajusta la duración según tus necesidades */
}

.img-container:before {
  content: "";
  position: absolute;
  top: 10vh;
  left: 50%;

  width: 50%;
  height: 65vh;
  background: linear-gradient(90deg, #ce0000 0%, transparent 30%);
}

.header-title-pos {
  position: relative;
  left: 10vh;
  z-index: 1;
}



.footer {
  display: flex;
  flex-direction: row;
  justify-content: space-around;

  height: 15vh;
  align-items: center;
}

.btn {
  filter: brightness(53%);
  transition: all 0.3s ease;

  display: inline-block;
}

.btn:hover {
  filter: brightness(130%);
  transform: scale(1.1);
}

.copy {
  position: absolute;
  color: white;
  font-family: "Raleway", sans-serif;
  letter-spacing: 2px;
  font-size: 1rem;
  font-weight: 600;
  width: 100%;
  bottom: 2VH;
  
  text-align: center;
}

@media (max-width: 768px) {
  .header {
    padding: 2rem 3vw; /* Ajustado el padding para dispositivos móviles */
  }
  .header-title {
    font-size: 4vw; 
  }

  .header-title-pos {
    left: 5vh;
  }
  .header-subtitle {
    font-size: 0.8em;
  }
  .logo {
    width: 20%; 
  }

  .content {
    height: fit-content; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .img-container {
    width: 100%; /* Cover the entire width */
    background-size: 100% 100%; /* Cover the entire container */
  }
  
  h3.header-title-pos {
    position: absolute;
    font-size: 1.5rem;
    top: 25%; /* Centra verticalmente */
    left: 50%; /* Centra horizontalmente */
    transform: translate(-50%, -50%); /* Centra perfectamente */
    z-index: 1; /* Asegura que esté sobre la imagen */
  }
  .img-container:before {
    content: "";
    position: absolute;
    /*  top: 0; */
    left: 0;
    width: 100%;
    
    background: linear-gradient(90deg, #ce00006f 0%, transparent 50%);
  }

  .footer {
    flex-direction: column;
    justify-content: space-around;
    align-items: center;

    width: 100%;
    height: fit-content;
  }
  .btn {
    filter: drop-shadow(5px 5px 5px #ffffff);
    filter: brightness(53%);
    transition: all 0.3s ease;
  }

  #btn {
    display: block;
    width: 100px;
    padding-top: 2rem;
  }

  #btn img {
    width: 100%;
  }
}

@keyframes changeImage {
  0% {
    background-image: url("../img/imagen5.jpg");
  }
  25% {
    background-image: url("../img/imagen2.jpg");
  }
  50% {
    background-image: url("../img/imagen3.jpg");
  }
  75% {
    background-image: url("../img/imagen4.jpg");
  }
  100% {
    background-image: url("../img/imagen5.jpg");
  }
}