* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "ProximaNovaS";
  font-style: normal;
  font-weight: 300;
  src: url("./assets/fonts/ProximaNovaS-Light.ttf") format("truetype");
}

@font-face {
  font-family: "ProximaNova";
  font-style: normal;
  font-weight: 300;
  src: url("./assets/fonts/ProximaNova-Light.ttf") format("truetype");
}

@font-face {
  font-family: "ProximaNova";
  font-style: normal;
  font-weight: 500;
  src: url("./assets/fonts/ProximaNova-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "ProximaNova";
  font-style: normal;
  font-weight: 700;
  src: url("./assets/fonts/ProximaNova-Semibold.ttf") format("truetype");
}

@font-face {
  font-family: "ProximaNova";
  font-style: normal;
  font-weight: 900;
  src: url("./assets/fonts/ProximaNova-Bold.ttf") format("truetype");
}

body {
  font-family: ProximaNova;
  height: 100vh;
}

header {
  max-height: 15%;
  width: 100%;
  display: flex;
  background-color: #000000;
}

.text_container {
  color: white;
  width: 100%;
  font-size: 0.8rem;
}

.text_container h1 {
  font-weight: 200;
}

.text_container h1 span {
  font-weight: 600;
  font-size: 1.5em;
  line-height: 0.5;
}

.icons_and_button {
  display: flex;
  gap: 20px;
  flex-direction: column;
}


main {
  display: flex;
  padding: 30px;
  flex-direction: column;
  background-image: url('./assets/images/background.webp');
  background-size: cover;
  /* Ajusta la imagen para cubrir todo el contenedor */
  /* Centra la imagen */
  background-repeat: no-repeat;
  /* Evita que la imagen se repita */
  width: 100vw;
  height: 100%;
  gap: 70px;
  text-align: center;
  box-sizing: border-box;
  align-items: center;
  background-position: 22% center;
}


.social {
  display: flex;
  padding: 30px;
  gap: 50px;
}

.social img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.social img:hover {
  transform: scale(1.2);
}


.button_container {
  display: flex;
  justify-content: center;
  align-items: start;
  width: 100%;
  height: 100%;
}

.button {
  padding: 0.8em 1.8em;
  border: 2px solid #ffffff;
  position: relative;
  overflow: hidden;
  background-color: transparent;
  text-align: center;
  text-transform: uppercase;
  font-size: 16px;
  transition: .3s;
  z-index: 1;
  font-family: inherit;
  color: #ffffff;
  text-decoration: none;
}

.button::before {
  content: '';
  width: 0;
  height: 300%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  background: #ffffff;
  transition: .5s ease;
  display: block;
  z-index: -1;
}

.button:hover::before {
  width: 105%;
}

.button:hover {
  color: #000000;
}


.img_logo {
  padding: 15px;
  width: 100%;
  box-sizing: border-box;
}

.go-to-carbuila{
  display: none;
}


@media (min-width: 700px) {
  main{
    gap:35px;
  }

  .button {
    padding: 0.8em 1.8em;
    border: 2px solid #ffffff;
    position: relative;
    overflow: hidden;
    background-color: transparent;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    transition: .3s;
    z-index: 1;
    font-family: inherit;
    color: #ffffff;
  }

  .button::before {
    content: '';
    width: 0;
    height: 300%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    background: #ffffff;
    transition: .5s ease;
    display: block;
    z-index: -1;
  }

  .go-to-carbuila{
    display: flex;
    flex-direction: column;
    border:2px solid rgb(255, 255, 255);
    padding: 20px;
    font-size: 1.47em;
    color: white;
  }

  .title-go-to-carbula{
    font-size: 1.5em;
  }

  .go-to-carbuila a{
    color: white;
  }


/*
  .social {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    padding: 10px;
    z-index: 1000;
  }*/

  .social a img{
    width: 40px;
    height: 40px;
  }

}



@keyframes spin_4991 {
  0% {
    -webkit-transform: translateY(-0%);
    transform: translateY(-0%);
  }

  25% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }

  50% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }

  75% {
    -webkit-transform: translateY(-0%);
    transform: translateY(-0%);
  }

  100% {
    -webkit-transform: translateY(-0%);
    transform: translateY(-0%);
  }
}