:root{
  --denim: #2641B3;
  --red-handed: #DA2630;
  --powder-white: #FAFCFF;
  --border-powder-white: #DDDDDD;
  --white: #FFFFFF;
  --black:#000000;


}
@font-face {
  font-family: 'InterTight-Light';
  src: url('fonts/InterTight-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'InterTight-Regular';
  src: url('fonts/InterTight-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Rokkitt-Bold';
  src: url('fonts/Rokkitt-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Rokkitt-ExtraBold';
  src: url('fonts/Rokkitt-ExtraBold.ttf') format('truetype');
}


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

body {
  font-family: 'InterTight-Regular';
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color:var(--white);
}

.container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  background-color: var(--powder-white);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  border: 1px solid var(--border-powder-white);
}

.left-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 12%;
  background-color: var(--red-handed);
}

.content {
  margin-left: 14%;
  text-align: left;
  width: 88%;
  z-index: 1;
  display: flex; /* Activa Flexbox */
  flex-direction: column; /* Apila los elementos */
  align-items: flex-start; /* Alinea el contenido al inicio */
}

.button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #d32f2f;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: calc(0.9rem + 0.2vw);
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: flex-end; /* Coloca el botón a la derecha */
  margin-right: 20px;
  text-decoration: none;
}

.icon {
  width: 150px; /* Icono más grande */
  height: auto;
  margin-bottom: 20px;
}

.subtitle {
  font-size: calc(2rem + 0.5vw); /* Más pequeña */
  font-family: 'Rokkitt-Bold';
  color: var(--black);
  
}

.title {
  font-size: calc(3.5rem + 1vw); /* Más grande */
  font-family: 'Rokkitt-Bold';
  color: var(--denim);
}

.red-line {
  width: 90%; /* Más larga */
  height: 7px; /* Grosor reducido */
  background-color: var(--red-handed);
  margin-top: 15px;
  margin-left: auto; /* Pegada a la derecha */
}


.button:hover {
  background-color: var(--red-handed);
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    height: 100%;
  }

  .icon {
    width: 60px;
  }

  .subtitle {
    font-size: calc(0.8rem + 0.5vw);
  }

  .title {
    font-size: calc(1.5rem + 1vw);
  }

  .red-line {
    width: 85%; /* Ajuste para pantallas más pequeñas */
    height: 2px;
  }

  .button {
    font-size: calc(0.8rem + 0.2vw);
    padding: 8px 16px;
  }
}