
@font-face {
    font-family: 'fonta';
    src: url('../fonts/Caveat-VariableFont_wght.ttf');
}

@font-face {
    font-family: 'dolce';
    src: url('../fonts/DolceVita.ttf');
}

/*========== BASE ==========*/

*,::before,::after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

ul{
    padding: 0;
    list-style: none;
}

a{
    text-decoration: none;
    color: white;
}

a>.fa-home{
    font-size: 2vw;
}

/*=========================*/

/*========HEADER================*/
.l-header{
    width: 100%;
    position: fixed;
    font-family: 'fonta';
    z-index: 2;
    font-size: 1.4vw;
    text-align: center;
}

.nav__menu{
    margin-right: 2%;
    line-height: 30px;
    overflow: hidden;
    transition: .5s ease!important;
    transform: translate(-100%,-100%);
    margin: 0;
    border-radius: 50%;
}

.show-menu{
    transform: translate(0%);
    border-radius: 0;
}

.nav__list{
    justify-content: center;
    text-transform: uppercase;
}

.nav__item{
    padding: 1%;
}

.nav__item>a:hover{
    color: #3187eb;
}

.nav__item ul li a,a>i{
    color: white;

}

#sub-menu{
    text-align: center;
    height: 0px;
    overflow: hidden;
    transition: .3s ease!important;
}


.nav__item ul li a:hover{
    color: #000; 
}


.bot{
    cursor: pointer;
    color: white;

}

.nav__item ul li:hover{
    background: white;
    transition: .3s linear!important;
}


.nav__link{
    transition: .3s;
}
.nav__link p{

}

.nav__toggle i{
    cursor: pointer;
    z-index: 20;
}

.nav__logo>img{
    width: 20%;
    object-fit: cover;
}

.active-link{
    color: #f0f0f0;
    border-bottom: 2px solid;
}

/*==========================================*/

.contact-container {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    background: black;
    color: white;
}

.left-col {
    position: relative;
    height: 100%;
    background-image: url("/talleres/cont.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}


.logo {
    top: 50px;
    width: 10rem;
    padding: 1.5rem;
    margin-top: 7%;
}

.right-col {
    height: 100vh;
    padding: 5rem 3.5rem;
}

h1, label, button, .description {
    font-family: 'lato';
    font-weight: 100;
    letter-spacing: 0.1rem;
}

h1 {
    color:white;
    text-transform: uppercase;
    font-size: 2.5vw;
    letter-spacing: 0.5rem;
    text-align: center;
}

.right-col p {
    color: white;
    font-size: 0.9rem;
    letter-spacing: 0.01rem;
    margin: 3% 0;
    text-align: center;
}

label, .description {
    color: white;
    text-transform: uppercase;
    font-size: 1rem;
}

form {
    width: 100%;
    position: relative;
    margin-top: 2rem;
    /*    padding: 4%;*/
    /*    border: 1px solid gray;*/
}

input, textarea, label {
    width: 100%;
}

p, placeholder, input, textarea {
    font-family: 'lato';
    font-weight: 100;
}

input::placeholder, textarea::placeholder {
    color: darkslategray;
}

input, textarea {
    color: black;
    font-weight: 700;
    background: #e0d7d7;
    border: none;
    padding: 1%;
    margin-bottom: 4%;
    outline: none;
}

textarea {
    resize: none;
}

button {
    text-transform: uppercase;
    font-weight: 100;
    background: white;
    color: black;
    width: 100%;
    padding: 2%;
    border: none;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    transition: .3s all ease;
}

input:hover, textarea:hover, button:hover {
    background: gray;
    color: white;
}


#error, #success-msg {
    width: 40vw;
    margin: 0.125rem 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-family: 'lato';
    color: red;
}
}

#success-msg {
    transition-delay: 3s;
}

/*
@media only screen and (max-width: 950px) {
.logo {
width: 8rem;
}
h1 {
font-size: 1.75rem;
}
p {
font-size: 0.7rem;
}
input, textarea, button {
font-size: 0.65rem;
}
.description {
font-size: 0.3rem;
margin-left: 0.4rem;
}
button {
width: 7rem;
}

}
*/

@media screen and (max-width: 920px){
    .nav__toggle{
        padding: 3%;
        position: fixed;
        color: white;
        font-size: 1.4em;
        z-index: 2;
    }
    .nav__list .fa-home{
        font-size: 1.6em;
        border: 0;
    }
    .l-header{
        width: 100%;
        font-size:.8em;

    }
    .nav__menu{
        padding-top: 4%;
        background: rgba(20,20,20,.7);
    }

    .nav__list{
        display: grid;
    }

    .nav__item{
        display: grid;
        padding: 0;
        line-height: 32px;
    }

    .active-link{
        border: 0;
    }
    .nav__item a:hover{
        background: white;
        color: black;
    }

    .contact-container {
        display: grid;
        grid-template-columns: 100%;
    }

    .left-col {
        position: relative;
        height: 0%;
    }
    
    .right-col{
        margin-bottom: 10%;;
        padding: 15% 6%;
    }


    .logo {
        position: absolute;
        /*    bottom: 0;*/
        top: 0;
        right: 0;

        width: 5rem;
        padding: 1rem;
        margin: 0%;
    }

    h1 {

        font-size: 1.2em;
        padding: 0;
        margin: 0;
    }

    .right-col p {
        font-size: 0.8rem;
    }

    label, .description {
        color: white;
        text-transform: uppercase;
        font-size: 1rem;
    }
    
    label{
        font-size: .9em;
    }

    input, textarea {

        font-weight: 100;
        padding: 2%;
        margin-bottom: 3%;

    }

    button {
        padding: 3%;
    }

}

@media screen and (min-width: 921px) {
    
.nav__toggle{
        display: none;
    }


    .l-header{
        width: 100%;
        font-size: 1.4vw;
    }

    .nav__menu{

        transform: translate(0%);
        border-radius: 0%;
        background: rgba(20,20,20,.5);
    }


    .nav__list{
        display: flex;
    }

    .scroll-header{
        background: rgba(20,20,20,.8);
    }

    .nav_item>.bot{
        display: none;
        color: red;
    }

    .nav_item .bot:hover{
        display: block;
    }

    .nav__item ul li:hover{
        background: white;
        transition: .3s linear!important;
    }


    .nav__link{
        transition: .3s;
    }
}