@font-face {
    font-family: 'Jaldi.Regular';
    src: url("../fonts/Jaldi-Regular.ttf");
    
}

@font-face {
    font-family: 'Jotione-Regular';
    src: url("../fonts/JotiOne-Regular.ttf");
}

@font-face {
    font-family: 'Jaldi-Bold';
    src: url("../fonts/Jaldi-Bold.ttf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Jaldi-Regular';
    margin-top: 20vh;
}


header {
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px;
    height: 10vh;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 5px solid rgb(216, 216, 216);
    z-index: 999;
    position: fixed;
    font-family: jaldi-bold;

}

.header img {
    width: 90px;
}

.logo {
    width: 100px;
}

.menu{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;

    
}

.menu a:last-child {
    border: none;
    padding-right: 0;
}

.item{
    font-family: 'JotiOne-Regular';

    text-decoration: none;
    color: black;
    font-size: 1.5em;
    border-right: 1px solid black;
    padding-right: 15px;
    font-family: Jaldi-Bold;

}


    


p{
    color: #575757;
}


nav a:hover {
    color: blue;
}

.blue {
   color: rgba(119, 0, 255, 0.915); 
   font-family: 'JotiOne-Regular';
   text-decoration: none;
   font-size: 1.5em;
   border-right: 1px solid black;
   padding-right: 15px;
   font-family: Jaldi-Bold;
    
}

.blue:hover {

    color: #000000;
}

h1 {
    text-align: center;
    font-size: 4em;
    margin-top: 50px;
    margin-bottom: 80px;
    font-family: 'JotiOne-Regular';
}
h2 {
    display: block;
    font-size: 2.9em;
    margin-block-start: 0.83em;
    margin-block-end: 0px ;
    font-weight: bold;
    text-align: center;
    justify-content: center;

    font-family: 'JotiOne-Regular';
}




.galerias {

    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 50px;
    margin: 5% 0;
    transition: 1s;
}


.servicios img {
    text-align: center;
    transition: transform 1s;
    height: 25vh;
    margin-bottom: 20px;
    text-align: center;
    transition: transform 1s;
}

.servicios {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}








.cuadro {

    background-image: url("../imagenes/imagen-contacto.jpg");
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    gap: 7%;
    width: 100%;
    height: 100vh;
    padding: 5%;



}


.cuadro-texto {

    width: 80%;
    height: 40vh;
   
    padding-bottom: 3%;
    background-attachment: fixed;
    background-color: #ffffff;
    border-radius: 8px;


}




.titulo h2 {
    background-color: rgb(251, 251, 251);
    border-radius: 10px;
font-size: 30px;
    text-align: center;
    padding: 20px;
    line-height: 40px;
    font-family: jotione-regular;
    width: 85%;
    height: 40%;
}

.titulo p {
    font-family: Jaldi-Bold;
    text-align: left;
    border-left: 10;
    


}


.form {
    margin-top: 1%;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: start;
    font-size: 1em;
    gap: 10%;
}

.formulario h2 {
    margin-bottom: 20px;
    font-size: 3em;
    margin-left: 25px;

}

.formulario {
    background-color: white;
    width: 70%;
    height: 80vh;
    margin: 20%;
    padding: 5%;
    border-radius: 5%;
   
}

.form-group {
    color: rgb(0, 0, 0);
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: column;
    padding: 10% 15px;
}


.register {
    max-width: 105%;
    max-height: 110px;
    border-radius: 50px;
    
    font-size: 1.2em;
    border: 1px solid black;
    background-color: rgb(126, 126, 255);
}

label {
    color: rgb(0, 0, 0);
    font-size: 100%;
    font-family: JotiOne-Regular;
    height: 20px;
    padding-bottom: 10%;
    font-size: 1.6em;

}

input[type=text] {
    width: 103%;
    height: 120vh;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 50px;
    margin-bottom: 2%;
    padding: 3%;
    font-size: 100%;
    background-color: rgb(157, 154, 252);
    box-shadow: 1px 1px rgb(0, 0, 0);

}



.boton {

 width: 100%;
 border: none;
 background-color: #5802a2;
 border-radius: 50px;
 color: #ffffff;
 padding: 3%;
 font-weight: 500;
 font-size: 1.7em;
 font-family: "JotiOne-Regular";
 box-shadow: 2px 2px 2px #0011ff;



   


}

p{
    line-height: 30px;

}

.boton:active {

    width: 100%;
    background-color: navy;
    border: none;
    padding: 15px;
    margin: 16px 0;
    font-size: 16px;
    color: rgb(255, 255, 255);
    box-shadow: 7px 13px 37px rgb(255, 255, 255);
}

.boton:hover {
    width: 100%;
    height: 60px;
    background-color: rgb(0, 3, 85);
    color: #000000;
    box-shadow: 7px 13px 37px rgb(38, 0, 255);

}


  

footer {
    width: 100%;
    display: flex;
    
    justify-content:center;
    align-items: center;
    padding: 2% 0px;
    font-family: "Jaldi-Regular";
    font-size: 1.5em;
    color: #575757;
    font-family: 'Jaldi-Bold';
}

.nombre{
    text-decoration: none;

}

.whatsapp {
    position: fixed;
    bottom: 100px;
    left: 40px;
    font-size: 4em;
    z-index: 100;
    text-shadow: 10px 10px 10px #ffffff;
    background-color: green;

    box-shadow: #ffffff00 6px 3px 3px 6px;
}

.animation-whats:hover {
    animation-name: whatsapp;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

#button-top{
    position: fixed;
    bottom: 100px;
  right:10%;
    width: 60px;
    height: 80px;
    text-align: center;
    border-radius: 4px;
    transition: background-color .3s,
     opacity .5s, visibility .7s;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    background-color: transparent;
    box-shadow: none;
    border: none;

}

#button-top img:hover{

    background: #7700ff;
    border-radius: 48px;
    box-shadow: rgb(255, 255, 255) 1px 2px 2px 1px;
    


}

#button-top img{
    width: 100px;
}

#button-top.show{
    opacity: 1;
    visibility: visible;
}



@media all and (max-width : 700px) {

    /* Header */
    .h1-class {
        font-size: 1.5em;
    }

    .menu {
        display: none;
    }

    .logo img {
        width: 100%;
    }

    .toggle-button {
        display: flex;
        align-items: center;
    }

    .toggle-button i {
        font-size: 3em;

    }

    .menu.mobile a {
        color: #FFF;
        gap: 10px;
        display: flex;
        justify-content: center;
    }

    .menu.mobile a:hover {
        color: #AAA;
    }

    .menu.mobile {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        height: 90vh;
        position: fixed;
        top: 10vh;
        left: 0;
        background-color: #4823e0;
        animation: slideDown 0.5s;
        z-index: 1;
        margin-top: 2%;
    }

    .menu span {
        display: none;
    }

    /* Main */
    main {
        margin-top: 150px;
    }

    /* SecciÃ³n 1 */
    section {
        flex-direction: column;
        gap: 10px;
    }

    .seccion-principal {
        padding-bottom: 100px;
    }

    article {
        width: 100%;
    }

    .article-image img {
        width: 50%;
    }

    /* Contact */
    .contactar {
        flex-direction: column;
    }

    input[type=text],
    input[type=email],
    input[type=password] {
        padding: 4% 5%;
    }

    button {
        padding: 4% 2%;
    }

    /* Footer */
    footer {
        font-size: 1em;
        padding: 4% 0px;
    }
}
