

/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    list-style-type: none;
    font-family: "Oswald", sans-serif;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

/* Cierra estilos generales */

/* Navbar y Menú*/
.navbar {
    width: 100%;
    height: 20rem;
    background-image: linear-gradient(to top, #ff4800 0%, #703200 100%);;
    position: fixed;
    top: -8rem;
    padding: 3rem;
    z-index: 10;
    animation: animarNavbar 1s 0.5s forwards;
    transition: height 0.5s;
}

/* Para funcionalidad menu en JS */
.logo{
    width: 15rem;
    height: auto;
}

@keyframes animarNavbar {
  0% {
    top: -8rem;
  }

  100% {
    top: 0;
  }
}




.navbar-logo {
  position: absolute;
  top: 1.5rem;
  left: 4rem;
}

.navbar-logo  .logo{
    width: 15rem;
}

.navbar-logo span {
  font-size: 3.5rem;
  font-weight: bold;
  color: #ad580e;
  font-family: "Martel Sans", sans-serif;
}


/* Section 1 */
.section-1 {
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(to top, #000000 0%, #3d3c3c 1%, #b3b3b3 31%, #ffffff 75%, #e9e9e7 100%);
  background-blend-mode: multiply,multiply;
  background-size: cover;
}

.banner {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
}

.banner-heading {
  height: 20rem;
  margin-bottom: 4rem;
  perspective: 50rem;
  overflow: hidden;
}

.banner-heading span {
  font-family: "Oswald", sans-serif;
  font-size: 5rem;
  font-weight: 400;
  text-transform: uppercase;
  color: rgb(82, 23, 0);
  text-shadow: 0.3rem 0.3rem 0.6rem rgba(0, 0, 0, 0.5);
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  transform: translateZ(8rem);
  opacity: 0;
  letter-spacing: 3rem;
}

/* Usar animación para cada uno de los texto headings */
.heading-1 {
  animation: animarEncabezado 12s 4s infinite;
}

.heading-2 {
  animation: animarEncabezado 12s 8s infinite;
}

.heading-3 {
  animation: animarEncabezado 12s 12s infinite;
}

.heading-4 {
  animation: animarEncabezado 12s 16s infinite;
}

/* Animación span headings */
@keyframes animarEncabezado {
  0% {
    transform: translateZ(8rem);
    opacity: 0;
    letter-spacing: 3rem;
  }

  3% {
    transform: translateZ(0);
    opacity: 1;
    letter-spacing: 1.5rem;
  }

  25% {
    transform: translateZ(0);
    opacity: 1;
    letter-spacing: 1.5rem;
  }

  28% {
    transform: translateZ(8rem);
    opacity: 0;
    letter-spacing: 3rem;
  }

  100% {
    transform: translateZ(8rem);
    opacity: 0;
    letter-spacing: 3rem;
  }
}

.banner-paragraph {
    padding: 2rem;
    border-radius: 50px;
    font-size: 1rem;
    color: #fff;
    background-image: linear-gradient(to top, #ff4800 0%, #703200 100%);;
    width: auto;
    margin: 0 auto 5rem auto;
    box-shadow: 1rem 1rem 5rem rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    animation: animacionSalida 1s 1.5s forwards;
}

@keyframes animacionSalida {
    0% {
    opacity: 0;
    visibility: hidden;
    }

    100% {
        opacity: 1;
        visibility: visible;
    }
}

.banner-btn {
  width: 40rem;
  height: 8rem;
  background-color:#202122;
  color: white;
  font-size: 3rem;
  text-transform: uppercase;
  border-radius: 3rem;
  border: 0.2rem solid #ff5e00;
  box-shadow: 1rem 2rem 3rem rgba(0, 0, 0, 0.5);
  text-shadow: 0.6rem 0.3rem 0.2rem rgba(0, 0, 0, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  position: relative;
  overflow: hidden;
  animation: animacionSalida 1s 2s forwards;
}

.banner-btn::before {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, #fff, transparent);
  position: absolute;
  top: 0;
  left: -100%;
  transform: skewX(-30deg);
  transition: left 0.5s;
}

.banner-btn:hover::before {
  left: 100%;
}
/* Cierra Section 1 */

/* Section 2 */
.section-2 {
  width: 100%;
  height: 100vh;
  background-color: #222020;
  display: flex;
  align-items: center;
  padding: 0 10rem;
  position: relative;
}

.section-heading {
  font-size: 10rem;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  color: #ddd;
  margin-right: 4rem;
}

.section-heading-line {
  width: 15rem;
  height: 0.2rem;
  background-color: #ddd;
}

.video-wrapper {
  border-radius: 30px 30px 10px 10px;
  width: 100rem;
  height: 50rem;
  position: absolute;
  top: 5rem;
  right: 15rem;
  box-shadow: 3rem 3rem 6rem rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  transition: opacity 0.3s;
}

.controls {
  width: 100%;
  position: absolute;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  transform: translateY(calc(100% - 0.4rem));
  transition: transform 0.4s;
}

.video-wrapper:hover .controls {
  transform: translateY(0);
}

.video-bar-wrapper {
  width: 100%;
  height: 0.7rem;
  background-color: #000;
  position: absolute;
  top: 0;
  left: 0;
}

.video-bar {
  height: 100%;
  width: 0;
  background-color: #d30819;
  transition: width 0.2s linear;
}

.buttons {
  padding: 2rem 1rem 1rem 1rem;
}

.buttons i {
  width: 3rem;
  height: 3rem;
  font-size: 2.8rem;
  color: white;
}

.buttons button {
  background: none;
  border: none;
  cursor: pointer;
}

.fa-quote-left {
  align-self: flex-start;
  font-size: 5rem;
  color: #bbb;
  margin-bottom: 2rem;
}

.fa-quote-right {
  align-self: flex-end;
  font-size: 5rem;
  color: #bbb;
}

/* Cierra Section 2 */





/* Responsive */
@media (max-width: 1800px) {
  .video-wrapper {
    width: 90rem;
    height: 45rem;
    right: 10rem;
  }
}
@media (max-width: 1650px) {
  html {
    font-size: 57%;
  }
  .video-wrapper {
    width: 85rem;
    height: 40rem;
    right: 5rem;
  }
}

@media (max-width: 1500px) {
  .section-heading-line {
    display: none;
  }

  .video-wrapper {
    width: 70rem;
    height: 30rem;
    right: 10rem;
  }
  .pricing-cards-wrapper {
    width: 70%;
  }
}

@media (max-width: 1400px) {
  html {
    font-size: 35%;
  }
  .section-1 {
    height: 90vh;
  }

  .banner-heading span {
    font-size: 10rem;
  }

  .banner-paragraph {
    width: 80rem;
    font-size: 3rem;
    margin-bottom: 15rem;
  }

  .section-2,
  .section-3,
  .section-4 {
    flex-direction: column;
  }
  .section-2 {
    height: 90vh;
  }
  .video-wrapper {
    margin-top: 15rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: auto;
  }
  
  .pricing-card {
    width: 40rem;
    margin: 0 2rem;
  }

  .section-3,
  .section-4 {
    height: auto;
  }

  .section-3 {
    padding-left: 0;
  }
}

@media (max-width: 900px) {
  html {
    font-size: 30%;
  }

  .section-1 {
    height: 70vh;
  }

  .section-2 {
    height: 70vh;
  }

  .banner {
    top: 25%;
  }

  .banner-heading {
    height: 15rem;
  }

  .banner-heading span {
    font-size: 8rem;
  }

  .footer {
    padding: 0 5rem;
  }

  .footer-nav a {
    font-size: 1.8rem;
  }
}

@media (max-width: 700px) {
  html {
    font-size: 25%;
  }

  .banner{
    margin-top: -10rem;
  }

  .section-1 {
    height: 70vh;
  }

  .section-2 {
    height: 50vh;
  }

   .banner-heading{
    margin-top: 1rem; 

}

@media (max-width: 600px) {
  .section-2 {
    height: 40vh;
  }

    html {
    font-size: 30%;
  }

  .banner-paragraph {
    width: 40rem;
    margin-top: 5rem;
    margin-bottom: 8rem;
   
  }

  .section-1 {
    height: 70vh;
  }

  .banner{
    margin-top: -5rem;
  }
   .banner-heading span {
    font-size:4rem;
    letter-spacing: 2rem;
  }
    .banner-heading{
    margin-top: 5rem; 
 }
}

@media (max-width: 500px) {
  .section-2 {
    height: 60vh;
  }

    html {
    font-size: 30%;
  }

  .banner-paragraph {
    width: 40rem;
    margin-top: 10rem;
    margin-bottom: 5rem;
   
  }

  .section-1 {
    height: 80vh;
  }

  .banner{
    margin-top: -5rem;
  }
   .banner-heading span {
    margin-top: 1rem;
    font-size:1.5rem;
    letter-spacing: 2rem;
  }
    .banner-heading{
    margin-top: 5rem; 
 }
   .banner-btn {
    width: 20rem;
    height: 6rem;
    font-size: 2rem;

  }
}



  .section-1 {
    height: 70vh;
  }

  .banner{
    margin-top: -5rem;
  }
   .banner-heading span {
    font-size:4rem;
    letter-spacing: 2rem;
  }
    .banner-heading{
    margin-top: 10rem; 
 }

 .video-wrapper {
        margin-top: 30rem;
 }
}

  /* Animación span headings */
  @keyframes animarEncabezado {
    0% {
      transform: translateZ(8rem);
      opacity: 0;
      letter-spacing: 2rem;
    }

    3% {
      transform: translateZ(0);
      opacity: 1;
      letter-spacing: 1rem;
    }

    25% {
      transform: translateZ(0);
      opacity: 1;
      letter-spacing: 1rem;
    }

    28% {
      transform: translateZ(8rem);
      opacity: 0;
      letter-spacing: 2rem;
    }

    100% {
      transform: translateZ(8rem);
      opacity: 0;
      letter-spacing: 2rem;
    }
  }

  .video-wrapper {
    width: 60rem;
  }

  .section-2-paragraph {
    width: 60rem;
  }

  .contact-details div {
    width: 18rem;
    margin: 3rem 1rem;
  }

  .contact-form {
    width: 60rem;
  }

/* Cierra Responsive */

.copyright {
  font-size: 3rem;
  text-align: center;
  margin: 5rem 0;
  padding: 2rem;
  color: #000000;
}

span{
  color: #d30819;
}


