#loader {
  position: fixed;
  inset: 0;
  background: black;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 1.2s ease-in-out;
}

#loader video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#content {
  display: none;
}

#parrafo {
    font-size: 30px;
    text-align: center;
    margin-top: 6%;
}

.rowing {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.minidiv {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#d5imgsdiv {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.ralewayClassNormal {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
.ralewayClassBold {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

.animacion {
    animation: normal 3s carga;
}

@keyframes carga {
    0% {
        opacity: 0;
    }
    33% {
        opacity: 0;
    }
    100% {
        opacity: 1;

    }
}

body, html {
    margin: 0;
    padding: 0;
    background-color: #FEFEFE;
    overflow-x: hidden;
}

/* Contenedor de la parte superior */
.hero-video {
    position: relative;
    width: 100%;
    height: 100vh; /* Ocupa toda la pantalla inicial */
    overflow: hidden; /* Corta lo que sobresalga del video */
}

#video-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta el video sin deformarlo */
}

.capa-texto {
    position: relative;
    z-index: 3;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60%;
}

/* Sección de abajo */
.contenido-normal {
    
    padding: 50px;
    background: white;
    height: 1000px; /* Solo para probar el scroll */
}

#boton {
    background-color: #5c5c5c; /* Verde */
    border: none;
    color: white;
    padding: 15px 50px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 120%;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 40px;
}

#boton:hover {
    background-color: #7a7a7a;
    box-shadow: 0 0 10px #888888;
}
.dm-serif-display-regular {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: normal;
}

.dm-serif-display-bold {
  font-family: "DM Serif Display", serif;
  font-weight: 900;
  font-style: normal;
}

.dm-serif-display-regular-italic {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: italic;
}

.dm-serif-display-bold-italic {
  font-family: "DM Serif Display", serif;
  font-weight: 600;
  font-style: italic;
}

#d1 {
    background-color: black;
    color: white;
    padding-bottom: 1%;
    padding-top: 2%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 180%;
}

#d2 {
    padding-top: 2%; margin-bottom: 2%;
}

#d2text {
    width: 38%;
}

#d2img {
    width: 45%;
}

#yate {
    width: 110%;
    justify-content: center;
}

#d3 {
    background-color: black;
    color: white;
    padding-top: 2%;
    padding-bottom: 2%;
}

#d3text {
    width: 36%;
}

#d3space {
    width: 4%;
}

#d3img {
    width: 43%;
}

#portaaviones {
    width: 100%;
}

#d4 {
    padding-top: 2%; margin-bottom: 3%;
}

#d4space {
    width: 8%;
}

#d4rowing {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#d5 {
    background-color: black;
    color: white;
    padding-top: 2%;
    padding-bottom: 2%;
}

#d5text {
    width: 40%;
}

#d5imgs {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 45%;
}

#maintitle {
    text-shadow: 4px 4px 0px #555555;
    font-size: 1000%;
    margin-bottom: 40px;
    text-align: center;
}

.resaltador {
    font-size: 105%;
    background-color: black;
}

.titles {
    font-size: 320%;
    text-shadow: 0 0 5px #555555;
}

.textico {
    font-size: 120%;
    text-align: left;
}

.companiesimg {
    width: 120px;
    margin-top: -20px;
}

.weare {
    width: 320px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 10%;
    font-size: 25px;
}

.weareimg {
    width: 120px;
    border: gray solid 2px;
    border-radius: 50%;
}

.formdecoracion {
    border: 2px solid black;
    padding: 40px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 0 10px #888888;
}

.alineacionform {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.sections {
    width: 50%;
}

.transformbtw {
  width: auto;       /* Ocupa todo el ancho de la pantalla */
  max-width: 100vw;
  height: 50px;          /* La altura de tu imagen */

  background-image: url('finalcontent/pruebaaa.png'); /* Ruta de tu imagen */

  /* ESTA ES LA MAGIA: */
  background-repeat: repeat-x; /* Se multiplica horizontalmente sin estirarse */
  
  background-size: auto 100%; /* Asegura que mantenga sus 60px originales de ancho */

}

.transformwtb {
  width: auto;           /* Ocupa todo el ancho de la pantalla */
  height: 50px;          /* La altura de tu imagen */

  background-image: url('finalcontent/aaaaass.png'); /* Ruta de tu imagen */

  /* ESTA ES LA MAGIA: */
  background-repeat: repeat-x; /* Se multiplica horizontalmente sin estirarse */
  
  background-size: auto 100%; /* Asegura que mantenga sus 60px originales de ancho */

}

.centrado {
    text-align: center;
}

.centrarboton {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

#footer {
    background-color: black;
    padding: 10px 0;
    text-align: center;
}









@media (max-width: 768px) {
    .rowing {
    display: flex;
    flex-direction: column;
}

#d5imgsdiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.minidiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    #parrafo {
    font-size: 30px;
    text-align: center;
    margin-top: 6%;
}


body, html {
    margin: 0;
    padding: 0;
    background-color: #FEFEFE;
    overflow-x: hidden;
}



#maintitle {
    text-shadow: 4px 4px 0px #555555;
    font-size: 520%;
    text-align: center;
}

.capa-texto {
    position: relative;
    z-index: 3;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60%;
}


#d1 {
    background-color: black;
    color: white;
    padding-bottom: 3%;
    padding-top: 4%;
    padding-left: 10%;
    padding-right: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 180%;
    
}

#d2 {
    padding-top: 2%; margin-bottom: 2%;
}

#d2text {
    width: 80%;
}

#d2img {
    width: 80%;
}

#yate {
    width: 110%;
    justify-content: center;
}

#d3 {
    background-color: black;
    color: white;
    padding-top: 4%;
    padding-bottom: 4%;
}

#d3text {
    width: 80%;
}

#d3space {
    height: 20px;
}

#d3img {
    width: 80%;
}

#portaaviones {
    width: 100%;
}

#d4 {
    padding-top: 2%; margin-bottom: 3%;
}

#d4space {
    width: 8%;
}

#d5 {
    background-color: black;
    color: white;
    padding-top: 23%;
    padding-bottom: 4%;
    width: 100%;
}

.wearetitles {
    font-size: 120%;
}

.wearetext {
    font-size: 90%;
}

#d5text {
    width: 53%;
}

#d5imgs {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 60%;
    margin-bottom: 13%;
}

.resaltador {
    font-size: 105%;
    background-color: black;
}

.titles {
    font-size: 300%;
    text-shadow: 0 0 5px #555555;
}

.textico {
    font-size: 110%;
    text-align: left;
}

.companiesimg {
    width: 120px;
}

.weare {
    width: 320px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 10%;
    font-size: 25px;
}

.weareimg {
    width: 120px;
    border: gray solid 2px;
    border-radius: 50%;
}

.formdecoracion {
    border: 2px solid black;
    padding: 40px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 0 10px #888888;
}

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

.sections {
    width: 100%;
}

.centrado {
    text-align: center;
}

.centrarboton {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

#footer {
    background-color: black;
    padding: 10px 0;
    text-align: center;
}

.transformbtw {
  width: auto;
  max-width: 100vw;
  height: 50px;

  background-image: url('finalcontent/pruebaaa.png');

  background-repeat: repeat-x;
  
  background-size: auto 100%;

}

.transformwtb {
  width: auto;
  height: 50px;

  background-image: url('finalcontent/aaaaass.png');

  margin-bottom: -1px;

  background-repeat: repeat-x;
  
  background-size: auto 100%; 
}

#loader video {
  width: 100vw;
  height: auto;
  object-fit: cover;
}

#boton {
    background-color: #5c5c5c; /* Verde */
    border: none;
    color: white;
    padding: 15px 50px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 100%;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 40px;
}


}