body{
    font-family: 'Lato', sans-serif;
    font-family: 'Work Sans', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    line-height: 15px;
    letter-spacing: -0.02em;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*---------------------------------------------------------------    Header     -----------------------------------------------------------------*/

header{
    width: 100%;
    display: grid;
    grid-template-rows: 110px 560px;
}
nav{
    width: 100%;
    background-color: #8B5FBF;
    grid-row: 1;
    text-align: center;
    display: grid;
    grid-template-columns: 50% 50%;
}
nav > img{
    grid-column: 1;
    margin-left: 50%; 
    margin-top: 6%; 
}
.nav-toggle_abrir{
    width: 43px;
    height: 43px;
    grid-column: 2;
    background-color: #8B5FBF;
    display: none;
    border: none; 
    cursor: pointer;
}
.nav-menu{
    color: #FFFFFF;
    grid-column: 2;
    display: flex;
    margin-top: 6%; 
}
.nav-toggle_cerrar{
    display: none; 
}
.nav-menu > .nav-menu-item {
    color: #FFFFFF;
    grid-column: 2;
    display: flex;
}
.nav-menu > .nav-menu-item > li{
    margin-right: 30px;
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    line-height: 15px;
    list-style:none;
}
.nav-menu > .Empty-button-white_1{
    color: #FFFFFF;
    width: 144px;
    height: 48px;  
    border: 2px solid #FFFFFF;
    box-sizing: border-box;
    border-radius: 20px;
    background-color:#8B5FBF; 
    margin-left: 26px;
    cursor: pointer;
}

.nav-menu > .Empty-button-white_2{
    color: #FFFFFF;
    width: 144px;
    height: 48px;  
    border: 2px solid #FFFFFF;
    box-sizing: border-box;
    border-radius: 20px;
    background-color:#8B5FBF; 
    display: none;
}
/*---------------------------------------------------------------    Hero     -------------------------------------------------------------------*/

.hero{
    width: 100%;
    height: 100%;
    grid-row: 2;
    background-image:url(../images/Hero-background.png);
    background-size: 100% 100%;     
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
}
.hero > p{
    font-weight: bold;
    font-size: 60px;
    line-height: 70px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    width: 40%;
}
/*---------------------------------------------------------------    Main     -------------------------------------------------------------------*/

main{
    width: 100%;
    height: 1050px; 
    display: flex;
    justify-content: space-evenly;
    text-align: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
main > .cards-container{
    display: flex;
    justify-content: center;
    text-align: center;
    
}
.slider{
    display: flex;
    justify-content: center;
    text-align: center;
}
.card{
    width: 205px;
    height: 300px;
    margin-left: 40px;
    background-color: #FFFFFF;
    border-radius: 12px;
    filter: drop-shadow(0px 0px 12px rgba(139, 95, 191, 0.6));
    
}
.card > div{
    height: 147px;
    left: 40px;
    background: #8B5FBF;
    border-radius: 69px;
    margin: 40px 40px 0px 40px;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
}
.card > p{
    height: 87px;   
    margin: 40px 40px 0px 40px;
}
section{
    display: flex;
    justify-content: center;
    text-align: left;
    align-items: center;
    flex-direction: row;
}
section > p{
    font-size: 13px;
    line-height: 15px;
    width: 530px;
    height:135px;
    font-size: 13px;
    line-height: 15px;
    display: flex;
    align-items: center;
    letter-spacing: -0.02em;
    top: 0; 
    margin-left: 60px;
}
.Rectangle2{
    display: flex; 
    width: 362px;
    height: 362px;
    background-image:url(../images/Rectangle2.svg);
    background-size: 100% 100%;     
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 181px;

}
/*---------------------------------------------------------------    Formulario     -------------------------------------------------------------*/

.Rectangle4{
    width: 100%;
    height: 652px;
    background: #F3F3F3;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
}
form{
    width: 738px;
    height: 459px;
    background: #FFFFFF;
    box-shadow: 0px 4px 33px rgba(0, 0, 0, 0.13);
    border-radius: 10px;
    font-weight: bold;
    font-size: 20px;
    line-height: 23px;
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    
}
form > h4 {
    color: #305371;
}
form > input{
    margin-bottom: 30px;
    width: 115px;
    height: 48px;
    background: #8B5FBF;
    border-radius: 20px;
    border: none; 
    color: #FFF;
}
.Labels{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 574px;
    height: 178px;
    margin-bottom: 30px;
}
.Labels > input{
    flex-wrap: wrap;
    width: 270px;
    height: 41px;
    background: #E9E9E9;
    border-radius: 5px;
    border: none;
    color: #8A8A8A;
    display: flex;
}

/*---------------------------------------------------------------    Footer     -----------------------------------------------------------------*/

footer{
    width: 100%;
    height: 76px;
    background: #C4C4C4;
    justify-content: center;
    text-align: center;
    align-items: center;
    display: grid;
    grid-template-columns: 50% 50%;

}
footer > img{
    grid-column: 1;
    margin-left: 50%; 
}
/*--------------------------------------------------------------- Formulario PopUp --------------------------------------------------------------*/

.caja_popup {
	display: none;
    position: absolute;
    top: 25%;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 1003;
    width: 738px;
}
.Rectangle4_pop{
    border-radius: 10px;
    height: 460px;
    background: #F3F3F3;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    width: 100%;
}
.nav-toggle_cerrar_pop{
    display: block;
    position: absolute;
    top: 5%;
    right: 5%;
    width: 43px;
    height: 43px;
    background-color: #FFF;
    border: none; 
    cursor: pointer;
    color: rgba(0, 0, 0, 0.54);
}
.nav-toggle_cerrar_pop > img{
    filter: opacity(0.54) drop-shadow(0 0 0 black); 
}
/*---------------------------------------------------------------- MediaQueries ---------------------------------------------------------------*/

@media (max-width: 769px) {
    header{
        grid-template-rows: 90px 433px;
    }
    nav{
        display: flex; 
        justify-content: space-between;
        text-align: center;
        align-items: center;
    }
    nav > img{
        margin-left: 5%; 
        margin-top: 0%;         
    }
    
    .nav-toggle_abrir{
        margin-right: 5%; 
        display: block;
    }
    .nav-menu{
        flex-direction: column;
        text-align: center;
        align-items: center;
        display: flex; 
        width: 85%;
        height: 100%;
        overflow-y: auto;
        background: #8B5FBF;
        position: fixed; 
        top: 0%;
        margin-top: 0%;
        left: 100%;
        transition: left 0.3s; 
        z-index: 1002;
    }
    .item-menu_1{
        margin-top: 100px;
    }
    .nav-toggle_cerrar{
        display: block;
        position: absolute;
        top: 5%;
        right: 5%;
        width: 43px;
        height: 43px;
        background-color: #8B5FBF;
        border: none; 
        cursor: pointer;
    }
    .nav-menu > .nav-menu-item{
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: space-around;
        display: flex;
        margin-top: 20%;
        height: 120px;
    }
    .nav-menu > .nav-menu-item > li{
        color: #FFF;
        font-size: 13px;
        line-height: 15px;
        margin-bottom:;
    }
    .nav-menu > .Empty-button-white_1{
        margin-top: 10px; 
        margin-left: 0px;
        margin-bottom: 40%;
    }
    .hero{
        width: 100%;
        height: 100%;
        grid-row: 2;
        background-image:url(../images/Hero-background.png);
        background-size: 100% 100%;     
        background-repeat: no-repeat;
        background-position: center;
        display: flex;
        justify-content: center;
        text-align: center;
        align-items: center;
    }

    .hero > p{
        font-weight: bold;
        font-size: 35px;
        line-height: 41px;
        width: 80%;
        
    }
    main{
        margin-top: 30px;
    }
    main > .cards-container{
        overflow: hidden;
        width: 100%;
        height: 400px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        top: 520px;
        left: 0px;
        position: absolute;

    }
    .slider{
        position: absolute;
        top: 0;
        left: 0;
        width: 200%;
        pointer-events: none;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        /* transition: 0s ease-in; */
    }
    .card{
        pointer-events: none;
        width: 205px;
        height: 300px;
        margin-left: 40px;
        background-color: #FFFFFF;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 50px;
    }
    .card > div{
        width: 126px;
    }
    .card > p{
        height: 87px;   
    }
    section{
        margin-top: 400px; 
        flex-direction: column;
        text-align: center;
    }
    .Rectangle2{ 
        width: 234px;
        height: 234px;
        background-image:url(../images/Rectangle2.svg);
        background-size: 100% 100%;     
        background-repeat: no-repeat;
        background-position: center;
        border-radius: 181px;
        margin-bottom: 50px;
    }
    section > p{ 
        width:60%;
        height: 300px;
        text-align: center;
        margin-right: 10%;
    }
    .Rectangle4 > form {
        width: 80%;
        height: 90%;
    }
    .Labels{
        width: 60%;
        height: 60%; 
    } 
    footer{
        display: flex;
    }
    footer > img{
        margin-left: 0;
    }
  }

  @media (max-width: 426px) {

  .nav-menu > .Empty-button-white_1{
    margin-top: 10px; 
    margin-left: 0px;
    }
    .label{
        margin-top: 350px; 
        flex-direction: column;
        text-align: center;
    }
}

/*-------------------------------------------------------------    Funciones     -----------------------------------------------------------------*/

.nav-menu_visible{
        left: 15%;
}
.body_modif{
      overflow:hidden;    
}
.fadebox {
	display: none;
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0, 0.5);
	z-index:1001;
}
