*{
    padding: 0px; 
    margin: 0px; 
   /* box-sizing: border-box;    */
}
html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Quicksand", sans-serif;
    font-size: 62.5%;
    font-size: 10px;
    width: auto;
}
/*-- Inspiration taken from abdo steif -->
/* --> https://codepen.io/abdosteif/pen/bRoyMb?editors=1100*/

/* Navbar section */

.nav {
    width: 100%;
    height: 65px;
    position: fixed;
    line-height: 65px;
    text-align: center;
}

.nav div.logo {
    float: left;
    width: auto;
    height: auto;
    padding-left: 3rem;
}

.nav div.logo a {
    text-decoration: none;
    color: #fff;
    font-size: 2.5rem;
}

.nav div.logo a:hover {
    color: #e60000 !important;
}

.nav div.main_list {
    height: 65px;
    float: right;
}

.nav div.main_list ul {
    width: 100%;
    height: 65px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav div.main_list ul li {
    width: auto;
    height: 65px;
    padding: 0;
    padding-right: 3rem;
}

.nav div.main_list ul li a {
    text-decoration: none;
    color: #020202;
    line-height: 65px;
    font-size: 2.4rem;
}

.nav div.main_list ul li a:hover {
    color: #e60000;
}


/* Home section */

.home {
   
    height: 20vh;
    background-image: url(../img/principal/nav-abras.jpeg);
    background-position: center top;
	background-size:cover;
}
.title-abra {
    text-align: center;
    text-decoration: none;
    font-size: 25px;
    color: #6a6a6a;
    margin-top: 100px;
    font-weight: 100;
    font-family: 'Roboto', sans-serif;
}
.title-abra2{
    text-align: center;
    text-decoration: none;
    font-size: 25px;
    color: #6a6a6a;
    margin-top: 50px;
    font-weight: 100;
    font-family: 'Roboto', sans-serif;
}
.home3 {
    width: 100%;
    height: 20vh;
    background-image: url(../img/principal/background-nav.png);
    background-position: center top;
	background-size:cover;
}

.navTrigger {
    display: none;
}

.nav {
    padding-top: 20px;
    padding-bottom: 20px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}


/* Media qurey section */

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        margin: 0;
    }
    
}

@media screen and (max-width:768px) {
    .navTrigger {
        display: block;
    }
    .nav div.logo {
        margin-left: 15px;
    }
    .nav div.main_list {
        width: 100%;
        height: 0;
        overflow: hidden;
    }
    .nav div.show_list {
        height: auto;
        display: none;
    }
    .nav div.main_list ul {
        flex-direction:row;
        width: 100%;
        height: 10vh;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: #ffffff;
        /*same background color of navbar*/
        background-position: center top;
        opacity: 0.5;
       
    }
    .nav div.main_list ul li {
       
        width: 100%;
        text-align: right;
    }
    .nav div.main_list ul li a {
        text-align: center;
        width: 100%;
        padding: 10px;
        font-size: 18px;
    }
    .nav div.media_button {
        display: block;
    }
}


/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
    cursor: pointer;
    width: 30px;
    height: 50px;
    margin: auto;
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
}

.navTrigger i {
    background-color: #000000;
    border-radius: 2px;
    content: '';
    display: block;
    width: 100%;
    height: 4px;
}

.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
    margin: 5px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
}



@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes inM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes outM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

.affix {
    padding: 0;
    background-color: #ffffff;
    height: 75px;
}


.espacio{
    height: 650px!important;
}



.myH2 {
	text-align:center;
	font-size: 4rem;
}
.myP {
	text-align: justify;
	padding-left:15%;
	padding-right:15%;
	font-size: 20px;
}

.enviar{
    width: 130px;           
    height: 40px;
    background: gray;
    border: transparent;
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    border-radius: 4px;   
}

.subbody{
   
    background-position: top center;   
    padding: 100px;
    font-family: "Roboto", serif; 
}

.contacto{
    width: auto;
    height: 710px;
    display: flex;
    flex-direction: row;
    padding: 40px 0px 40px 0px;
    gap: 10px;
    margin: 0 auto;
    background-color:rgb(237, 232, 232);
    border-radius: 20px;
}


.logo{
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.contacto img{
    width: 30%;
}
form{
    margin-top: 20px;
    width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    }
.titulo-contacto{
    display: flex;
    flex-direction: column;
}
.titulo-contacto h2{
    font-size: 25px;
    color: #464646;
}
.titulo-contacto p{
    font-style: normal;
    font-size: 18px;
    line-height: 19px;
    color: #464646;
}
.input-padron, .input{
    width: 550px;
    height: 40px;
    background: rgba(255, 255, 255, 0.61);
    border-radius: 4px;
    border: transparent;
    font-size: 18px;
}
.textarea{
    width: 550px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.61);
    border-radius: 4px;   
    border: transparent;
    font-size: 18px;
}
form ::placeholder{
    width: 250px;
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 25px;
    display: flex;
    align-items: center;
    color: #878686;                                 
}
@media screen and (max-width:1000px){


    
    .contacto{
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 0px 0px 0px;
    }
    .logo{
        width: 80%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
    form{
        align-items:center
        }
    
}
@media screen and (max-width:768px){
    .myP {
		padding:2%;
	}
    body {
        padding: 0 0 0 0;
    }
    .home{
        margin-bottom: 20px;
    }
    .subbody{
        padding: 0px;
        margin-top: 20px;
    }
    .contacto{
        padding: 0;
        width: 500px;
        height: 750px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 0px 0px 0px;
    }
    .logo{
        width: 80%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
    form{
        width: 500px;
        align-items:center
        }
    .titulo-contacto h2 {
            font-size: 20px;
            text-align: center;
        }
    .titulo-contacto p{
            text-align: center;
            font-size: 16px;
        }

    .input-padron, .input{
        width: 400px;
        }
    .textarea{
        width: 400px;
        }
    .title{
            margin-left: 5px;
            margin-top: 20px;
            font-size: 15px;
        }
}

@media screen and (max-width:590px){
    .contacto{
        padding: 0;
        width: 350px;
        
    }
    .subbody{
        margin-top:150px;
    }
    
    form{
        width: 400px;
        align-items:center
        }
   .logo{
       margin-top: 15px;
   }
    .input-padron, .input{
        width: 300px;
        }
    .textarea{
        width: 300px;
        }

    
}