@font-face{
    font-family: 'Poppins', sans-serif;
    src: url("fonts/Poppins-ExtraLight.ttf");
    src: url("fonts/Poppins-Light.ttf");
    src: url("fonts/Poppins-SemiBold.ttf");
}

:root{
   
    --links:#d5a01a;
    --linksHover:#d5a01a;

}

*{
    margin: 0;
    padding: 0;
    outline: 0;
    appearance: 0;
    border: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: "Poppins", sans-serif;
}




/****************************************************/
/*PARTE CENTRAL*/
section{
    width: 700px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    border-bottom-left-radius: 8px;
    border-top-left-radius: 8px;
    box-shadow: 0 0 32px -16px rgba(0,0,0,0.5);
    padding: 15px 15px;
    
}
section aside{
    width: 350px;
}

/*ASIDE FORMULARIO*/
section .aside_formulario_logo{
    height: 130px;
   
}
section .aside_formulario_logo img{
    width: 80%;
}
section .aside_formulario{
    text-align: center;
}
section .aside_formulario i{
    position: relative;
    right: 5px;
    top:2px;
    font-size: 1.2em;
}
section .aside_formulario h5{
    font-size: 1.1em;
}
section .aside_formulario input{
    display: inline-block;
}

section .aside_formulario .mensajeError{
    color: crimson;
    font-size: 0.8em;
    display: none;
}
section .aside_formulario button{
    background-color: var(--links);
    color: white;
}
section .aside_formulario button:hover{
    color: #fff;
    background-color: var(--linksHover);
}

/*ASIDE_IMAGEN*/
section .aside_imagen{
    width: 370px;
    display: flex;
    justify-content: center;
    align-items: center;
}

section .aside_imagen img{
    width: 100%;
}


/***********************************************/
/*FOOTER*/
footer{
    position: absolute;
    bottom: 0px;
    text-align: center;
}
footer p{
    color: #888888;
    font-size: 0.8em;
    margin-top: -15px;
}


/************************************************/
/*MENSAJE DE DISPOSITIVOS MOVILES*/
.mensajeDispositivos{
    display: none;
    top:0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: white;
}

.mensajeDispositivos img{
    width: 200px;
}
.mensajeDispositivos p{
    color: gray;
    text-align: center;
    margin-top: 10px;
}
.mensajeDispositivos p i{
    position: relative;
    top:1px;
}



/*=============== BREAKPOINTS ===============*/

  /* FOR MEDIUM DEVICES */
  @media screen and (max-width: 800px){



    nav{
        display: none;
    }

    

    section{
        flex-direction: column-reverse;
        align-items: center;
        width: 330px;
        border-radius: 8px;
        box-shadow: 0 0 32px -16px rgba(0,0,0,0.2);
        background-color: white;
        padding: 20px 0;
    }

    /*ASIDE FORMULARIO*/
    section .aside_formulario_logo{
        height: 170px;
    
    }
    section .aside_formulario_logo img{
        width: 40%;
    }
    section #form input{
        margin-top: 5px;
    }

    /*ASIDE_IMAGEN*/
    section .aside_imagen{
        width: 200px;
        display: none;
    }


    


  }

  @media screen and (max-width: 500px){

    .mensajeDispositivos{
        display: flex;
    }
  }