/*  
	Theme Name: Artsurfcamp 
	Version: 1.0 2025
    Contenido: Banner
	Author: hctr
*/

.banner {
  width: 100%;
}

.banner__container {
  width: 100%;
  aspect-ratio: 1440 / 409;
  overflow: hidden;
}

.banner__contenido {
  width: 100%;
  padding: 3.8rem 3.2rem 0 3.2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6%;
}

.banner__contenido h2 {
  font-size: var(--size--45);
  font-weight: normal;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color--secundario);
}

.banner__botones {
  flex: 1 0.43 43%;
  min-width: 43rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  row-gap: 1rem;
}

.banner__botones a {
  width: 100%;
  padding: 0.7rem 0.7rem 0.5rem 0.7rem;
  background-color: var(--color--secundario);
  color: var(--color--terciario);
  text-decoration: none;
  font-size: var(--size--13);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner__botones a::after {
  content: "";
  width: 2.5rem;
  aspect-ratio: 19 / 11;
  background: url("../img/flecha-blanco.svg");
  background-size: contain;
  background-repeat: no-repeat;
  overflow: hidden;
}

.banner__container picture {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.banner__container picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 799px) {
  .banner__container {
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 639px) {
  .banner__contenido {
    height: 100%;
    padding: 3.8rem 3.2rem 3.8rem 3.2rem;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
  }
  .banner__botones {
    flex: initial;
    min-width: initial;
  }
}
