@font-face {
    font-family: 'MiTipografia1';
    src: url(../font/Montreal-Bold.ttf);
}

@font-face {
    font-family: 'MiTipografia2';
    src: url(../Font/Montreal-Regular.ttf);
}

@font-face {
    font-family: 'MiTipografia3';
    src: url(../font/Syne-VariableFont_wght.ttf);
}

@font-face {
    font-family: 'MiTipografia4';
    src: url(../font/PPNeueMontreal-Bold.otf);
}

@font-face {
    font-family: 'MiTipografia5';
    src: url(../../font/PPNeueMontreal-Book.otf);
}

@font-face {
    font-family: 'MiTipografia6';
    src: url(../font/PPNeueMontreal-Italic.otf);
}

@font-face {
    font-family: 'MiTipografia7';
    src: url(../font/PPNeueMontreal-Medium.otf);
}

@font-face {
    font-family: 'MiTipografia8';
    src: url(../font/PPNeueMontreal-SemiBolditalic.otf);
}

@font-face {
    font-family: 'MiTipografia9';
    src: url(../../font/PPNeueMontreal-Thin.otf);
}
@font-face {
    font-family: 'MT10';
    src: url(../../font/Syne-VariableFont_wght.ttf);
}

body, html {
    color: white;
    background-color: black;
    margin: 0;
    padding: 0;
}

h1,h2,h4,p,span{
    cursor: default;
}

/*composicion de banner inicio*/
.subrayado {
    text-decoration: none; /* Eliminamos el subrayado normal */
    position: relative;
}

.subrayado::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px; /* Grosor del subrayado */
    background-color: white; /* Color del subrayado */
    bottom: 0; /* Posicionamiento */
    left: 0; /* Posicionamiento */
    transform: rotate(-2deg); /* Inclinación del subrayado */
}

.contenedor-wb {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    box-sizing: border-box;
}

.contenedor-interno-wb {
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bienvenida-wb {
    font-family: 'MiTipografia9';
    font-size: 50px;
    flex: 1;
    text-align: left;
}

.texto-intermedio-wb {
    font-family: 'MiTipografia9';
    font-size: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center; /* Alinea el texto al centro */
    z-index: 1; /* Asegura que esté sobre los otros elementos */
}

.imagen-wb {
    flex: 1;
    text-align: right;
}

.imagen-wb img {
    border-radius: 50%;
    max-width: 70%;
    height: auto;
}
/**/

.subrayado {
    text-decoration: none; /* Eliminamos el subrayado normal */
    position: relative;
}

.subrayado::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px; /* Grosor del subrayado */
    background-color: white; /* Color del subrayado */
    bottom: 0; /* Posicionamiento */
    left: 0; /* Posicionamiento */
    transform: rotate(-2deg); /* Inclinación del subrayado */
}

/* formulario */
.contenedor-form {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.area{
    padding: 50px;
}
.formulario {
    font-family: 'MiTipografia9';
    background-color: rgba(79, 79, 79, 0.605);
    width: 80%;
    border-radius: 50px;
    justify-content: center;
    align-items: center;
}

.interes {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.interes h2 {
    font-size: 50px;
}


.botonera {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.botonera button {
    width: 300px;
    font-size: 20px;
    color: white;
    padding: 20px 0 20px 0;
    border: none;
    background-color: rgb(0, 0, 0);
    border-radius: 50px;
    cursor: pointer;
}

.botonera button:hover {
    background: linear-gradient(90deg, orange 0%, rgb(251, 132, 5) 20%, red 90%);
    
}

.botonera .boton-servicio.selected {
    background: linear-gradient(90deg, orange 0%, rgb(251, 132, 5) 20%, red 90%);
    color: white;
    transition: 0.2s;
}

.icono-adorno {
    filter: invert(100%);
    margin-left: 10px;
    margin: auto;
}

.icono-adorno img {
    width: 40px;
    height: 40px;
}

.datos-personales {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.campo {
    flex: 1 1 300px;
    /* Cada campo ocupa el mismo espacio */
    display: flex;
    flex-direction: column;
    padding-top: 10px;
}

.campo input[type="text"],
.campo input[type="email"],
.campo input[type="file"],
.campo textarea {
    width: 95%;
    padding-top: 8px;
    margin-top: 50px;
    border: none;
    background-color: rgba(0, 0, 0, 0);
    font-size: 20px;
    border-bottom: 1px solid white;
    color: white;
    outline: none; /* Elimina el borde de enfoque */
}

.campo input[type="file"] {
    width: 100%;
    padding-top: 50px;
    margin-top: 5px;
    border: none;
    background-color: rgba(0, 0, 0, 0);
    font-size: 20px;
    color: white;
    outline: none; /* Elimina el borde de enfoque */
}

.campo span {
    font-size: 14px;
}

.campo a {
    margin-top: 5px;
    color: rgb(250, 147, 45);
    text-decoration: none;
}

.campo a {
    text-decoration: underline;
}

.mensaje {
    font-size: 50px;
    margin-bottom: 20px;
}

.mensaje label {
    display: block;
    margin-bottom: 10px;
    padding-top: 50px;
}

.mensaje textarea {
    font-family: 'MiTipografia9';
    font-size: 20px;
    color: white;
    width: 100%;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0);
}

.opciones {
    display: flex;
    align-items: center;
}

.radiobuttons {
    margin-right: auto;
}

.radiobuttons input[type="radio"] {
    margin-right: 5px;
}

#enviar {
    width: 150px;
    padding: 20px 30px;
    border: none;
    background-color: grey; /* color gris cuando está deshabilitado */
    color: white;
    cursor: not-allowed; /* cursor no permitido cuando está deshabilitado */
    border-radius: 50px;
    transition: background-color 0.3s;
    position: relative; /* Necesario para la animación de carga */
}

#enviar:enabled {
    background-color: rgb(255, 73, 49);
    cursor: pointer;
}

#enviar:enabled:hover {
    background-color: rgb(255, 123, 0);
}

/* Estilos para la animación de carga */
#enviar.loading {
    background-color: rgb(255, 85, 0);
    cursor: not-allowed;
}

#enviar .loading-text {
    margin-left: 10px; /* Espacio entre "Enviar" y el porcentaje */
    display: inline-block;
}

/**/

/*correos*/
.contenedor-contactos {
    background-color: black;
    padding-top: 100px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contactos {
    width: 80%;
    display: flex;
    justify-content: space-between;
}

.grupo1 {
    font-family: 'MiTipografia5';
    font-size: 20px;
    background-color: white;
    color: black;
    padding-left: 30px;
    border-radius: 0 150px 0 0;
    width: 50%;
}

.grupo1 h4 {
    font-family: 'MiTipografia5';
    font-size: 30px;
    background-color: white;
    color: black;
    border-radius: 0 150px 0 0;
    width: 50%;
    height: 10px;
}

.subgrupo1, .subgrupo2 {
    margin-bottom: 20px; /* Espacio entre cada subgrupo */
}

.subgrupo1, .subgrupo2, .subgrupo3 {
    width: 100%;
    box-sizing: border-box; /* Incluir el padding y el borde en el ancho */
}

.subgrupo1, .subgrupo2 {
    display: inline-block;
    width: calc(50% - 5px); /* Ajuste del ancho para dos subgrupos en la misma línea */
}

.subgrupo3 {
    padding-bottom: 30px;
}

.grupo2 {
    font-family: 'MiTipografia5';
    width: 50%; /* Ocupa todo el ancho disponible */
    display: flex;
    flex-direction: column; /* Alinea elementos verticalmente */
    align-items: center; /* Centra horizontalmente dentro de grupo2 */
    justify-content: center; /* Centra verticalmente dentro de grupo2 */
}

.g2-1 p{
    font-size: 20px;
    color:rgb(255, 253, 253);
}
.g2-1 span{
    font-size: 30px;
    color: white;
}

.g2-1{
    width: 50%;
    height: 45%;
    text-align: left;
}

.g2-2{
    width: 50%;
    text-align: left;
}

.g2-2 p{
    height: 20px;
    font-size: 40px;
}

.g2-2 a{
    text-decoration: none;
    color: white;
    font-size: 20px;
}

/*animacion de separador*/
.separador {
    width: 80%;
    border: 2px solid white;
    animation: crecer 1s ease-in-out infinite alternate; /* Animación */
}

@keyframes crecer {
    0% {
        transform: scaleX(1); /* Escala normal */
    }
    100% {
        transform: scaleX(0.2); /* Escala más pequeña */
    }
}

.g2-1 p .pequeño{
    font-size: 18px;
    color: rgb(137, 134, 134);
}

/*efecto de aparicion letra por letra*/
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

h2 span {
    display: inline-block;
    opacity: 0;
    animation: slideUp 0.5s forwards;
    white-space: pre; /* Evita la ruptura de palabras */
}

/*efecto subt*/
@keyframes slideInLeft {
    from {
        transform: translateX(-20%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.subt {
    font-family: 'MT10';
    font-size: 50px;
    font-weight: bold;
    display: inline-block;
    animation: slideInLeft 1s forwards;
    opacity: 0; /* Aseguramos que la opacidad sea siempre 1 */
    margin-left: 5px; /* Opcional: espacio entre | y TRABAJO */
}

/* Mantén los estilos existentes para body */
body.appear {
    margin: 0;
    padding: 0;
    background-color: black;
    position: relative;
    z-index: 1;
}

/* Contenedor del video como fondo */
body.appear .video-background {
    position: fixed; /* El video permanece fijo como fondo */
    top: 0;
    right: 0; /* Ajustado para estar en el lado derecho */
    width: 60%; /* Ocupa solo el 50% del ancho */
    height: 100%; /* Ocupa toda la altura */
    overflow: hidden; /* Oculta cualquier parte que sobresalga */
    z-index: -1; /* Envía el video detrás de los elementos principales */
    display: flex;
    justify-content: center;
    align-items: center; /* Centra el video en el contenedor */
}

/* Estilo del video */
body.appear .video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(110deg); /* Rota el video */
    min-width: 100%; /* Asegura que el video tenga al menos el 100% del ancho */
    min-height: 100%; /* Asegura que el video tenga al menos el 100% de la altura */
    object-fit: cover; /* Hace que el video cubra todo el área del contenedor */
}

/*efecto cursor*/
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.cursor {
    display: inline-block;
    animation: blink 1s step-end infinite;
}

.be1{
    font-family: 'MiTipografia5';
    margin: auto;
    width: 190px;
    font-size: 14px;
    border-radius: 20px;
    margin-bottom: 40px;
    border: 2px solid black;
    text-align: center;
}

.be1:hover{
    background-color: black;
    transition: 0.5s;
    color: white;
}

.esp-respons1{
    display: none;
}
/***************************************************MEDIAQUERY MAX 480PX**************************************************/
@media (max-width: 480px) {

    body.appear .video-background {
        width: 100%; /* Asegura que ocupe todo el ancho */
        height: 100%; /* Asegura que ocupe toda la altura */
    }
    
    .contenedor-interno-wb {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .bienvenida-wb {
        font-size: 30px;
        text-align: center;
        margin-bottom: 20px;
    }

    .texto-intermedio-wb {
        font-size: 18px;
    }

    .imagen-wb {
        text-align: center;
        margin-top: 20px;
    }

    .subt{
        font-size: 30px;
    }

    .imagen-wb img {
        max-width: 100%;
        border-radius: 50%;
    }

    .esp-respons1{
        display: block;
    }

    /*formulario*/
    .contenedor-form {
        flex-direction: column;
        align-items: stretch;
    }

    .area {
        padding: 20px;
    }

    .formulario {
        width: 100%;
        border-radius: 0px;
    }

    .interes h2 {
        font-size: 30px;
        text-align: center;
    }

    .botonera {
        flex-direction: column;
        gap: 10px;
    }

    .botonera button {
        width: 100%;
        font-size: 16px;
        padding: 15px;
    }

    .datos-personales {
        flex-direction: column;
        gap: 10px;
    }

    .campo {
        flex: 1 1 100%;
        padding-top: 5px;
    }

    .campo input[type="text"],
    .campo input[type="email"],
    .campo input[type="file"],
    .campo textarea {
        font-size: 16px;
        margin-top: 20px;
    }

    .opciones{
        display: block;
    }
    .radiobuttons{
        margin-block-end: 20px;
    }

    .mensaje {
        font-size: 30px;
        text-align: center;
    }

    #enviar {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }
    /**/

    /*boton empieza*/
    .be1{
        width: 110px !important;
        font-size: 12px !important;
    }

    /*banner direccion y correos*/
    .contenedor-contactos {
        width: 100%;
        padding-top: 25px;
    }

    .espaciado{
        display: none;
    }

    .contactos {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .grupo1 {
        width: 90%;
        border-radius: 0;
    }

    .grupo2 {
        width: 100%;
    }

    .grupo1 .subgrupo1, 
    .grupo1 .subgrupo2, 
    .grupo1 .subgrupo3, 
    .grupo2 .g2-1, 
    .grupo2 .g2-2 {
        width: 80%;
    }

    .grupo1 .subgrupo1 h4, 
    .grupo1 .subgrupo2 h4, 
    .grupo1 .subgrupo3 h4 {
        font-size: 16px;
    }

    .grupo1 .subgrupo1 p, 
    .grupo1 .subgrupo2 p, 
    .grupo1 .subgrupo3 p, 
    .grupo2 .g2-1 p, 
    .grupo2 .g2-2 p {
        font-size: 14px;
    }

    .g2-1 span{
        font-size: 25px;
    }

    .g2-2 a {
        display: block;
        margin-bottom: 5px;
    }

    .g2-p {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .icono-adorno img{
        display: none;
    }

    /*mapa*/
    .mapa{
        width: 300px;
    }
}