/* Variables */
:root {
	--azul-oscuro: #252850;
	--azul: #100D3C;
    --morado-oscuro: #281236;
    --morado: #4D2A64;
    --rosa-oscuro: #A74B94;
    --rosa: #EEBCED;
    --celeste: #D8D5F2;
    --fuente-principal: 'Exo 2', sans-serif;
    --fuente-secundaria: 'Roboto Slab', serif;
}

/* Default */
html {
	box-sizing: border-box;
    scroll-behavior: smooth;
	font-size: 62.5%;
}
*,
*:before,
*:after {
	box-sizing: inherit;
}
body {
	font-size: 1.4rem;
    font-family: var(--fuente-secundaria);
	line-height: 1;
	color: #fff;
}
h1, h2, h3{
    font-family: var(--fuente-principal);
}
h1{
    font-size: 2.4rem;
}
h2{
    font-size: 2.2rem;
}
h3{
    font-size: 2rem;
}
.contenido{
    padding: 1rem 0;
    background: linear-gradient(to top, var(--rosa-oscuro), var(--morado), var(--morado-oscuro), var(--azul));
}

form{
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px){
    form{
        display: block;
    }
}
label{
    display: inline-block;
    margin-bottom: 1rem;
}
select{
    width: 100%;
}
select,
input,
textarea{
    padding: 1rem;
    margin-bottom: 2rem;
    background-color: #e1e1e1;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 0 .4rem #aaaaaa;
}
textarea{
    width: 100%;
    height: 20rem;
    resize: none;
}
/*Submit*/
input[type="submit"]{
    /* color: #fff;
    background-color: transparent; */
    cursor: pointer;
}
@media (min-width: 768px){
    input[type="submit"]{
        display: block;
        margin: 0 auto;
    }
}
input[type="submit"]:hover{
    color: #000;
    background-color: #fff;
}

/* Globales */
img {
	max-width: 100%;
}
.container {
	width: 94%;
	max-width: 120rem;
	margin: 0 auto;
}
.capa{
    background-color: rgba(255, 255, 255, .04);
    border-radius: 2rem;
    padding: 4rem 2rem;
    margin-bottom: 4rem;
    box-shadow: 0 5px 20px rgb(0, 0, 0);
}
.capa h3{
    margin-top: 0;
}
.boton{
    display: inline-block;
    color: #000;
    background-color: #fff;
    font-weight: 700;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 1rem;
    box-shadow: .4rem .4rem 1rem rgba(0, 0, 0, .7);
    cursor: pointer;
    transition: all 400ms;
}
.boton:hover{
    box-shadow: inset 0 0 1rem rgba(0, 0, 0, .7);
}
.boton:disabled{
    color: #e1e1e1;
}
@media (min-width: 768px){
    .btn-mini{
        padding: .5rem 1rem;
    }
    .btn-grande{
        padding: 1rem 3rem;
    }
}
.btn-transparente{
    color: #fff;
    background-color: transparent;
    border: .2rem solid #fff;
    box-shadow: none;
}
.btn-transparente:hover{
    color: #000;
    background-color: #fff;
    box-shadow: .4rem .4rem 1rem rgba(0, 0, 0, .7);
}
/* HEADER */
.header{
    height: 100vh;
    position: relative;
    /* background: linear-gradient(to right, var(--azul), #000); */
    background: linear-gradient(180deg, #000 0%, var(--azul) 95%);
}
#particles-js{
    width: 100%;
    height: 100%;
}
.contenido-header{
    position: absolute;
    bottom: 0;
    left: 2rem;
    margin-bottom: 3rem;
}
.contenido-header h1{
    font-size: 8rem;
    margin: 0;
    user-select: none;
    margin-bottom: 1rem;
}
/*MAIN*/
h2{
    text-align: center;
    font-size: 3rem;
}
/*CAPAS*/
@media (min-width: 768px){
    #form-capa6 .form-datos{
        display: flex;
        flex-direction: row;
        gap: 2rem;
    }
    #form-capa6 .form-box{
        display: flex;
        flex-direction: column;
        flex-basis: 50%;
    }
}
.campo{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/*ENVIO DE VOLTAJES*/
.envio-datos{
    border-bottom: 1px solid #000;
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.dispositivo{
    position: relative;
    color: #000;
    background-color: #D1CDCD;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 5px;
    height: 35px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
.dispositivo::after,
.dispositivo::before{
    content: '';
    position: absolute;
    height: 25px;
    width: 5px;
    border-radius: 2px;
    top: -20px;
    
    transform: rotate(355deg);
    background-color: #D1CDCD;
}
.dispositivo::after{
    left: 10px;
    transform: rotate(355deg);
}
.dispositivo::before{
    right: 10px;
    transform: rotate(5deg);
}
.dispositivo p{
    margin: 0;
}
.recorrido{
    display: flex;
    position: relative;
    flex-basis: 100%;
    height: 100%;
    overflow: hidden;
}
.contenedor-voltaje{
    position: absolute;
    bottom: 0;
    display: flex;
}
.voltaje{
    height: 100px;
    border-bottom: 10px solid #C82717;
}
.cuadrado-voltaje{
    width: 10px;
}
.vol0{
    width: 20px;
}
.vol1{
    width: 60px;
    border: 10px solid #C82717;
    border-bottom: 0;
}
.vol1-left{
    border-bottom: 0;
    border-right: 0;
}
.vol1-right{
    border-bottom: 0;
    border-left: 0;
}
.vol1-center{
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
}