#main{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 90px 0 50px;
    /*background-image: url("/img/fondo-pantallas.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;*/
}

body{
    overflow-x: hidden;
}

#formulario-contacto{
    width: 48%;
    display: flex;
    flex-direction: column;
    margin: 35px 50px;
    align-items: center;
    padding: 50px ;
    max-width: 750px;
    min-width: 433px;
    box-sizing: border-box;
    background: var(--blanco);
    border-radius: 15px;
    position: relative;
}

#formulario-contacto::before{
    content: "";
    z-index: -1;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, #ababab 0%, #ababab 100%);
    transform: translate3d(0px, 0px, 0) scale(1);
    filter: blur(21px);
    opacity: var(1);
    transition: opacity 0.3s;
    border-radius: inherit;
}

#formulario-contacto > h3{
    font-weight: 600;
    color: var(--negro);
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

#formulario-contacto > .linea{
    margin-bottom: 70px;
}

#formulario-contacto > p{
    font-weight: 400;
    color: var(--negro);
    font-size: 1.2em;
    margin-bottom: 35px;
    text-align: center;
}

#formulario-contacto > form{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#formulario-contacto > form > span{
    font-weight: 600;
    font-size: .9em;
    width: 95%;
    text-align: center;
    color: var(--rojo);
    transition: all 0.2s ease;
    margin-bottom: 10px;
    max-width: 433px;
}

#formulario-contacto > form > div{
    width: 95%;
    max-width: 433px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: var(--blanco);
    border-radius: 5px;
    margin-bottom: 10px;
    z-index: 10;
    padding: 0 0 0 1.2%;
    position: relative;
    border: solid 1.5px #bcbcbc;
    box-sizing: border-box;
}

#formulario-contacto > form > div > img,
#formulario-contacto > form > aside > img{
    aspect-ratio: 1/1;
    padding: 12px 3.5% 12px 0;
    width: 6%;
    filter: invert(73%) sepia(20%) saturate(1159%) hue-rotate(336deg) brightness(98%) contrast(92%);
}

#formulario-contacto > form > div > input,
.iti > input{
    width: 90%;
    color: var(--negro);
    font-size: 1.05em;
    text-align: left;
    border: 0;
    outline: 0;
    font-weight: 500;
    padding: 12px 4.2% 12px 0;
    line-height: 1;
    font-family:Montserrat,sans-serif
}

#formulario-contacto > form > div > input::placeholder,
.iti > input::placeholder{
    color: var(--negro);
    opacity: 1;
    font-size: 1.05em;
    font-weight: 500;
    line-height: 1;
    font-family:Montserrat,sans-serif
}

.iti__selected-country{
    min-height: auto;
}

.iti__selected-country-primary{
    padding-left: 0;
}

.iti{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 95%;
}

.iti .iti__selected-dial-code{
    font-weight: 500;
    font-family:Montserrat,sans-serif;
    color: var(--negro);
    font-size: 1.05em;
    margin-right: 5px;
    margin-left: 0;
}

#formulario-contacto > form > div:nth-of-type(2){
    z-index: 25;
}

.iti > input[type="tel"]::-webkit-inner-spin-button,
.iti > input[type="tel"]::-webkit-outer-spin-button{
    -webkit-appearance: none;
    margin: 0;
}

.iti > input[type="tel"]{
    -moz-appearance: textfield;
}

.iti__country-list::-webkit-scrollbar {
  width: 5px; 
}

.iti__country-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
}

.iti__country-list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 5px;
}

.iti__country-list::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}

#formulario-contacto > form > div > span{
    transition: all 0.2s ease;
    display: none;
    width: 25px;
    height: 25px;
    position: absolute;
    right: 10px;
}

#formulario-contacto > form > div > span:before{
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 25px;
    border-radius: 50%;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
}

#formulario-contacto > form > div > .rojo,
#formulario-contacto > form > div > .verde{
    display: flex;
}

#formulario-contacto > form > div > .rojo:before{
    content: "\274C";
    color: #f27474;
    background: rgba(242,116,116,.2);
}

#formulario-contacto > form > div > .verde:before{
    content: "\2713";
    color: #0ac083;
    background: rgba(10,192,131,.2);
}

#formulario-contacto > form > aside{
    width: 95%;
    max-width: 433px;
    padding: 0 0 0px 1.2%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: var(--blanco);
    z-index: 10;
    border-radius: 5px;
    margin-bottom: 10px;
    border: solid 1.5px #bcbcbc;
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
}

#formulario-contacto > form > aside > ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: rgba(238, 237, 233, 1.00);
    list-style: none;
    overflow: scroll;
    position: absolute;
    top: 115%;
    left: 0;
    padding: 0;
    overflow-x: hidden;
    border-radius: 3px;
}

#formulario-contacto > form > aside > ul::-webkit-scrollbar {
    display: none
}

#formulario-contacto > form > aside > ul > li{
    width: 100%;
    padding: 10px 12.5%;
    border-bottom: 1px solid white;
    font-weight: 500;
    box-sizing: border-box;
    font-size: 1rem;
    color: #2f4858;
    transition: all 0.25s ease;
    cursor: pointer;
}

#formulario-contacto > form > aside > ul > li:hover{
    color: var(--blanco);
    background: var(--naranja);
}

#formulario-contacto > form > aside > p{
    width: 77%;
    color: var(--negro);
    font-size: 1.05em;
    font-weight: 500;
    text-align: left;
    padding: 12px 3% 12px 0;
}

#formulario-contacto > form > aside > span{
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    transition: all 0.5s ease;
    position: absolute;
    top: 0px;
    right: 10px;
}

#formulario-contacto > form > .selectabierto > span{
    transform: rotate(180deg);
    padding-left: 3%;
    padding-right: 0;
}

#formulario-contacto > form > aside > span::after{
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    border-radius: 50%;
    pointer-events: none;
    color: #f0a66c;
    font-size: 17px;
    font-weight: 700;
    content: "\25BC";
}

#formulario-contacto > form > input{
    width: 95%;
    text-align: center;
    z-index: 2;
    padding: 15px .6%;
    background: #f0a66c; 
    border: 2px solid var(--naranja);
    border-radius: 5px;
    font-weight: 600;
    color: white;
    font-size: 1.2em;
    transition: all 0.2s ease;
    cursor: pointer;
    max-width: 433px;
    box-sizing: border-box;
}

#formulario-contacto > form > input::placeholder{
    color: var(--negro);
    font-size: 1.1em;
    opacity: 1;
    font-weight: 500;
    font-family:Montserrat,sans-serif;
}

#formulario-contacto > form > input:hover{
    background: #f0a66c; color: white !important;
}

#clientes-portada{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

#clientes-portada > div{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
    width: 80%;
}

#clientes-portada > div > span{
    width: 100%;
    position: absolute;
    top: 50%;
    height: 1px;
    opacity: .4;
    background: var(--negro);
}

#clientes-portada > div > p{
    font-weight: 500;
    color: var(--negro);
    font-size: 1.2em;
    text-align: center;
    background: var(--blanco);
    z-index: 5;
    line-height: 1.5;
    padding: 2px 5px;
}

#clientes-portada > img{
    max-width: 1350px;
}

/*Relaciones de aspecto escritorio*/
@media screen and (min-width: 1100px) and (max-width: 1360px) {
    #clientes-portada > img{
        width: 90%;
        height: auto;
    }
}

/*Relaciones de aspecto tablet*/
@media screen and (min-width: 750px) and (max-width: 1099px) {
    #clientes-portada > img{
        width: 90%;
        height: auto;
    }
    #formulario-contacto{
        width: 55%;
    }
}

/*Relaciones de aspecto movil*/
/*relacion general*/
@media screen and (max-width: 750px) {
    #formulario-contacto{
        width: 90%;
        padding: 50px 2.5%;
        margin: 15px 0;
    }
    #formulario-contacto,
    #formulario-contacto > form > div,
    #formulario-contacto > form > aside,
    #formulario-contacto > form > input{
        min-width: auto;
    }
    #clientes-portada > img{
        width: 90%;
        height: auto;
    }
    #clientes-portada > div{
        width: 90%;
    }
}