@media only screen and (max-width: 767px) {
    .Content-Portada{
        background-size: 190%;
        height: 120vw;
        background-position-x: 10vw;
    }
    .Portada>div{
        width: 80%;
    }
    
    .Portada>div>div:nth-of-type(1){
        font-size: 10vw;
    }
    .Portada>div>div:nth-of-type(2){
        font-size: 4vw;
    }
    .Contacto{
        display: flex;
        flex-direction: column;
    }
    .Contacto>div>div{
        padding-left: 12vw;
    }
    .Contacto>div{
        padding-top: 15vw;
    }
    .Contacto>div>div:nth-of-type(2){
        font-size: 7vw;
    }
    .Contacto>div>div:nth-of-type(3){
        font-size: 4vw;
    }
    .Contacto>div:nth-of-type(3){
        padding-bottom: 15vw;
    }
    .Email>form>div:nth-of-type(5), .Email>form>div:nth-of-type(6), .Email>form>div:nth-of-type(7){
        width: 100%;
    }
    i{
        color: var(--primary);
        font-size: 10vw !important;
    }
    .Email{
        padding: 10vw;
    }
    .Email>form>div:nth-of-type(4)>input{
        width: 75vw !important;
        height: 7vw !important;
        margin-bottom: 2vw !important;
        padding-left: 4vw;
        font-size: 3vw;
    }
    .Email>form>div:nth-of-type(5)>input{
        width: 75vw !important;
        height: 7vw !important;
        margin-bottom: 2vw !important;
        padding-left: 4vw;
        font-size: 3vw;
    }
    
    .Email>form>div:nth-of-type(6)>textarea{
        padding-left: 4vw;
        padding-top: 2vw;
        font-size: 3vw;
        width: 75vw;
    }
    .Email>form>div:nth-of-type(7)>button{
        font-size: 3vw;
        width: 80vw;
        height: 7vw ;
    }
    .Email>form>div:nth-of-type(1){
        margin-bottom: 4vw;
        font-size: 8vw;
    }
    .Email>form>div:nth-of-type(2){
        font-size: 3.5vw;
        margin-bottom: 5vw;
    }
    .Email>form>div:nth-of-type(3){
        width: 6vw;
    }
}
@media only screen and (min-width: 768px) {
    .Content-Portada{
        background-size: 80%;
        height: 40vw;
        background-position-x: 30vw;
    }
    
    .Portada>div{
        width: 60%;
    }
    .Portada>div>div:nth-of-type(1){
        font-size: 6.2vw;
    }
    .Portada>div>div:nth-of-type(2){
        font-size: 2vw;
    }
    .Contacto{
        display: flex;
        flex-direction: row;
        height: 30vw;
    }
    .Contacto>div>div:nth-of-type(2){
        font-size: 3vw;
    }
    .Contacto>div>div:nth-of-type(3){
        font-size: 1.2vw;
    }
    .Contacto>div{
        padding-top: 2vw;
    }
    i{
        color: var(--primary);
        font-size: 4vw !important;
    }
    .Email>form>div:nth-of-type(4)>input{
        width: 28vw !important;
        margin-left: 1vw;
        height: 3vw !important;
        margin-bottom: 2vw !important;
        padding-left: 1.5vw;
        font-size: 1vw;
    }
    .Email>form>div:nth-of-type(5)>input{
        width: 59vw !important;
        height: 3vw !important;
        padding-left: 1.5vw;
        font-size: 1vw;
    }
    
    .Email>form>div:nth-of-type(5){
        padding-left: 1vw;
    }

    .Email>form>div:nth-of-type(6){
        padding-left: 1vw;
    }

    .Email>form>div:nth-of-type(7){
        padding-left: 1vw;
        margin-bottom: 4vw !important;
    }
    .Email>form>div:nth-of-type(6)>textarea{
        padding: 1.5vw;
        width: 58vw;
        font-size: 1vw;
    }
    .Email>form>div:nth-of-type(7)>button{
        
        padding: 1.5vw;
        font-size: 1.5vw;
        width: 61vw;
    }
    .Email>form>div:nth-of-type(1){
        margin-bottom: 1vw;
        font-size: 4vw;
    }
    .Email>form>div:nth-of-type(2){
        font-size: 1.2vw;
        margin-bottom: 2vw;
    }
    .Email>form>div:nth-of-type(3){
        width: 2vw;
    }
}
.Content-Portada{
    position: relative;
    background-image: url(../images/Portada-Contactemonos.jpg);
    width: 100%;
    background-repeat: no-repeat;
    background-position-y: -3vw;
    overflow: hidden;
}
.Portada{
    position: relative;
    /* linear-gradient(rgba(246, 249, 251, 0.9), rgba(246, 249, 251, 1)); */
    background: linear-gradient(to right, rgb(235 235 235), rgb(235 235 235), rgb(255 255 255 / 54%), rgb(240 248 255 / 0%));
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
}
.Portada>div{
    height: 100%;
    display: flex;
    flex-direction: column;
    
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.Portada>div>div:nth-of-type(1){
    font-weight: 1000;
    padding-left: 9vw;
    line-height: 90%;
}
.Portada>div>div:nth-of-type(2){
    padding-left: 9vw;
    font-weight: 550;
    margin-top: 2vw;

}

.Contacto{
    width: 100%;
}

.Contacto>div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    margin-right: 8.5vw;
}
.Contacto>div>div{  
    padding-top: 2vw;
    color: var(--primary);
}
.Contacto>div:nth-of-type(1)>div{
    padding-left: 12vw;
}
.Contacto>div>div:nth-of-type(2){
    font-weight: 850;
}
.Contacto>div>div:nth-of-type(3){
    font-weight: 500;
}

.Email{
    color: var(--primary);
    background-color: rgb(235 235 235);
}
.Email>form{
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.Email>form>div:nth-of-type(1){
    font-weight: 850;
    margin-top: 4vw;
}
.Email>form>div:nth-of-type(2){
    font-weight: 850;
}
.Email>form>div:nth-of-type(3){
    border: 1px solid var(--second);
    margin-bottom: 3vw;
}
.Email>form>div:nth-of-type(4)>input{
    border: 0 !important;
}
.Email>form>div:nth-of-type(5)>input{
    border: 0 !important;
    margin-bottom: 2vw !important;
}
.Email>form>div:nth-of-type(6)>textarea{
    border: 0;
    margin-bottom: 2vw !important;
}
.Email>form>div:nth-of-type(7)>button{
    font-weight: 600;
    border: 0;
    background-color: var(--primary);
    text-align: center;
    color: var(--fondo);
    cursor: pointer;
}
.MesanjeAlert{
    position: fixed;
    width: 19vw;
    height: 8vw;
    z-index: 4000;
    right: 2vw;
    top: 1vw;
    border-radius: 8px;
    padding: 2vw;
    display: none;
    font-weight: 700;
    
}

.alert{
    color: rgb(234 239 42 / 82%);
    background: rgb(235 8 8 / 76%);
    animation: Mensaje-sistema 6s linear;
    animation-fill-mode: forwards;
    display: block;
}
.alert>div:nth-of-type(1){
    font-size: 1.5vw;
    margin-bottom: 1vw;
}
.alert>div:nth-of-type(2){
    font-size: 1.23vw;
}


.success{
    color: var(--fondo);
    background: #1b213bd9;
    animation: Mensaje-sistema 6s linear;
    animation-fill-mode: forwards;
    display: block;
}
.success>div:nth-of-type(1){
    font-size: 1.5vw;
    margin-bottom: 1vw;
}
.success>div:nth-of-type(2){
    font-size: 1.23vw;
}

@keyframes Mensaje-sistema {
    0%{
        opacity: 0.2;
    }
    5%{
        opacity: 0.5;
    }
    15%,25%,30%,40%,50%,60%,75%,80%{
        opacity: 1;
    }
    90%{
        opacity: 0.5;
    }
    95%{
        opacity: 0.2;
    }
    100%{
        display: none ;
        opacity: 0;
    }
}

.Email>form>div:nth-of-type(7)>button:disabled{
    background-color: #3b3d5ce0;
    cursor: no-drop;
}