:root
{
--top-75: 8vw;
--top-25: 19vw;
--left-75: 7vw;
--right-25: 6vw;
--top-color: #1f2b50;
--height-25: 32.5vw;
--width-25: 28vw;
--color-boton:#2c59ea;
--color-fondo:#f5f5f5;
--verde-carta:#39d353;
--tamano-medio: 1.7vw;
--tamano-titulo: 5vw;
--tamano-pequeno: 1.5vw;
}
html{
    color: white;
    font-family: "Lato", sans-serif;
}
body{
    margin: 0;
}
header{
    display: block;
}
.h_top{
    display: flex;
    text-align: center;
    background-color: var(--top-color);
    height: 80px;
    justify-content: flex-end;
    padding: 0vw 0vw;
}
.h_top h1{
    margin: 0;
    align-content: center;
    width: 29vw;
    text-align: start;
}
.h_top a{
    font-size: 1.1vw;
    text-decoration: none;
    color: white;
    letter-spacing: 0.2vw;
}
.h_top img{
    width: 24vw;
}
.h_menu{
    background-color: transparent;
    border-style: none;
    border-radius: 5px;
    width: 6%;
    padding: 0% 0%;
    color: white;
    height: 64px;
    text-align: center;
    align-self: center;
    font-size: 2.5vw;
    margin: 0vw 6vw 0vw 26vw;
}
.h_bottom{
    position: relative;
    width: 100%;
    height: 30vw;
    background: linear-gradient(to top, rgba(31,43,80,1), rgba(31,43,80,0)), url(imagenes/panel_solar.webp);
    background-repeat: no-repeat;
    background-size: cover;
    align-content: end;
    padding: 4vw 0vw;
}
.h_bottom .content{
    display: flex;
    text-align: center;
    justify-content: space-evenly;
}
.h_bottom h1{
    display: inline;
    font-size: 4vw;
}
.h_bottom p{
    font-size: 1.3vw;
    margin: 1vw 0vw;
}
.h_bottom .button{
    background-color: var(--color-boton);
    border-style: none;
    border-radius: 0.5vw;
    padding: 2.5% 7%;
    margin: 2.4vw;
    color: white;
    font-size: 1.3vw;
}
#left,
#right{
    background-color: rgba(0, 0, 0, 0.2);
    border-style: none;
    padding: 2.5% 5%;
    margin: 0.4vw;
    color: white;
    font-size: var(--tamano-pequeno);
    height: 10.5vw;
    align-self: center;
    border-radius: 5vw;
}
#right:hover,#left:hover{
    background-color: rgba(0, 0, 0, 0.4);
}
.h_bottom .radio{
    display: flex;
    text-align: center;
    justify-content: center;
    margin: 4vw 0vw;
}
.h_bottom label{
    background-color: white;
    height: 1vw;
    width: 1vw;
    border-radius: 50%;
    align-self: center;
    margin: 0.5vw;
}
.h_bottom input[type=radio]{
    display: none;
}
.h_bottom input[type=radio]:checked + label{
    background-color: var(--color-boton);
    border: var(--color-boton) solid 0.3vw;
}
.h_text{
    width: 56vw;
}
.h_form{
    display: flex;
    /*height: 37vw;*/
    justify-content: center;
    background-color: var(--color-fondo);
    align-items: center;
    /*flex-wrap: wrap;*/
    margin:5%;
}
.h_form .h1{
    font-size: 3vw;
    color: white;
    text-align: center;
}
.h_form .h2{
    font-size: 2vw;
    color: white;
    text-align: center;
}
.h_form form{
    display: grid;
    width: 58vw;
    padding: 2vw 0vw 3vw 0vw;
    height: auto;
    justify-content: center;
    align-items: end;
    border-radius: 2vw;
    background-color: var(--top-color);
    margin: 0;
}
.h_form input[type=text]{
    background-color: rgba(250, 250, 250, 1);
    border: solid .1vw;
    height: 4vw;
    width: 41vw;
    padding: 1vw;
    margin: 0.5vw;
    font-size: 1.2vw;
    border-radius: .4vw;
}

.h_form input[type=email]{
    background-color: rgba(250, 250, 250, 1);
    border: solid .1vw;
    height: 4vw;
    width: 41vw;
    padding: 1vw;
    margin: 0.5vw;
    font-size: 1.2vw;
    border-radius: .4vw;
}

.h_form input[type=submit]{
    background-color: var(--color-boton);
    font-size: 2vw;
    color: white;
    border-style: hidden;
    padding: .7vw;
    width: 41vw;
    justify-self: center;
    border-radius: .4vw;
}
@media (max-width: 800px){
    .h_top{
        height: 80px;
    }
    .h_top h1 {
        display:none;
        width: 30vw;
        text-align: end;
    }
    .h_top a {
        font-size: 2vw;
    }
    .h_top img{
        width: 60vw;
    }
    .h_menu{
        height: 7vw;
        font-size: 6vw;
        margin: 0vw 3vw 0vw 0vw;
    }
    .h_bottom{
        height: 56vw;
    }
    .h_bottom .content{
        height: 46vw;
        align-items: center;
    }
    .h_text{
        width: 89vw;
        position: relative;
    }   
    .h_bottom h1{
        font-size: 6.5vw;
    }
    .h_bottom p{
        font-size: 2vw;
        margin: 1vw 0vw;
    }
    .h_bottom .button{
        margin: 4vw 0 0vw 0vw;
        padding: 3.5% 8%;
        font-size: 1.7vw;
    }
    #left{
        height: 56vw;
        position: absolute;
        left: -0.3vw;
        top: -.5vw;
        border-radius: 0;
        background-color: transparent;
        color: transparent;
    }
    #right{
        height: 56vw;
        position: absolute;
        right: -0.3vw;
        top: -.5vw;
        border-radius: 0;
        background-color: transparent;
        color: transparent;
    }
    #left:hover{
        background:linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0,0,0,0));
    }
    #right:hover{
        background:linear-gradient(to left, rgba(0, 0, 0, 0.4), rgba(0,0,0,0));
    }
    .h_form{
        height: 56vw;
    }
    .h_form form{
        width: 74vw;
        height: 44vw;
    }
    .h_form .h1{
        font-size: 5vw;
    }
    .h_form .h2{
        font-size: 3vw;
    }
    .h_form input[type=text]{
        height: 6vw;
        width: 56vw;
        font-size: 2.2vw;
    }
    .h_form input[type=email]{
        height: 6vw;
        width: 56vw;
        font-size: 2.2vw;
    }
    
    .h_form input[type=submit]{
        font-size: 3vw;
        padding: 1.2vw;
        width: 56vw;
    }
}
.contenedorPags{
       background-color:var(--color-fondo); 
       color:var(--top-color); 
       margin:5%;
       padding:5%
}
