*{
    margin: 0;
    padding: 0;
    font-family: 'Barlow', sans-serif;
}
body{
    background-color: #0A283F;
    color: #A9B4BC;
}
html{
    scroll-behavior: smooth;
    -webkit-scroll-behavior: smooth;
    -moz-scroll-behavior: smooth;
    -ms-scroll-behavior: smooth;
    -o-scroll-behavior: smooth;
}
main{
    padding: 15vh 0 10vh 0;
}
#small_pages main{
    padding: 10vh 0 10vh 0;
}
section{
    margin-bottom: 10vh;
}
.center{
    max-width: 1660px;
    margin: 0 8%;
}
.activated{
    color: white;
}
.colgado{
    font-weight: bold;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    color: #357FFF;
}
a.colgado:hover{
    color: white;
    transition: 0.2s;
}
h1{
    font-size: 3.75rem;
    line-height: 60px;
    width: 80%;
    color: white;
    margin: 20vh 0 40px 0;
}
h1::after{
    content: "";
    display: block;
    margin-top: 25px;
    background-color: #357FFF;
    width: 8%;
    height: 4px;
}
#index h1{
    width: 85%;
    margin: 15vh 0 40px 0;
}
h2{
    color: white;
    font-size: 2.3rem;
    width: 50%;
    margin-bottom: 50px;
}
h3{
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
}
h4{
    color: white;
    font-size: 1.2rem;
    margin-bottom: 5px;
}
p{
    width: 50%;
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: justify;
}
ul li{
    list-style-position: inside;
}
h1 + p{
    color: white;
    margin-bottom: 60px;
    text-align: left;
}
#index h2 + p {
    margin-bottom: 60px;
}
a{
    text-decoration: none;
}
a.celestes{
    padding: 10px 15px;
    margin-top: 40px;
    background-color: #357FFF;
    color: white;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.15em;
    transition: 0.25s;
}
a.celestes img{
    width: 20px;
    margin-left: 15px;
}
a.celestes:hover{
    background-color: #031F34;
}
#small_pages a.celestes img{
    transform: rotate(180deg);
}
.pruebaLink{
    background-color: #357FFF;
    height: 43px;
    width: 56px;
    position: absolute;
    bottom: 0;
    right: 0;
    text-align: center;
    transition: 0.2s;
}
.pruebaLink img{
    padding: 20%;
    width: 60%;
}
.pruebaLink:hover{
    background-color: #031F34;
}
.flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
}
#small_pages div.flex div figure img{
    height: 15vh;
}
.flexTres{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
}
.flexTres article{
    width: 30%;
    background-color: white;
    color: black;
    box-sizing: border-box;
    margin-bottom: 50px;
    padding-bottom: 50px;
    position: relative;
}
.flexTresImg div{
    width: 30%;
    margin-bottom: 50px;
    overflow: hidden;
    object-fit: cover;
}
.flexTresImg div img{
    width: 100%;
}
div.flexTres article h3{
    color: black;
    width: 90%;
    margin: 10px auto 10px auto;
}
.flexTres article p{
    width: 90%;
    margin: 0 auto;
}
.flexTres figure, .flexDos figure{
    width: 100%;
    height: 32vh;
    overflow: hidden;
}
.flexTres figure img, .flexDos figure img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.flexDos{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
}
.flexDos article{
    width: 45%;
    background-color: white;
    color: black;
    box-sizing: border-box;
    margin-bottom: 30px;
    padding-bottom: 40px;
    position: relative;
}
div.flexDos article h3{
    color: black;
    width: 90%;
    margin: 0 auto 0 auto;
    margin-top: 20px;
}
.flexDos article p{
    width: 90%;
    margin: 0 auto;
}
.flexDos article figure{
    height: 50vh;
}
.ultimos{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    -moz-justify-content: flex-start;
    -ms-justify-content: flex-start;

    width: 75%;
}
.flexTresImg .ultimos{
    width: 100%;
}
.flexTresImg .ultimos figure{
    margin-right: 7px;
}
.ultimos>article{
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    -moz-justify-content: flex-start;
    -ms-justify-content: flex-start;
    width: 40%;
}
.ultimos article:last-child{
    margin-left: 65px;
}
.flexTresImg{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
}
.flexTresImg figure{
    overflow: hidden;
    width: 33%;
    height: 50vh;
    margin-bottom: 10px;
}
.flexTresImg figure img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
header{
    height: 100vh;
    position: relative;
}
#small_pages header{
    height: 70vh;
}
header nav{
    background-color: #0A283F;
    padding: 2vh 0;
}
.logo a img{
    width: 125px;
}
header > img{
    width: 5%;
    position: absolute;
    bottom: 12vh;
    right: 10%;
    opacity: 0.8;
}
header nav div{
    display: flex;
    -webkit-display: flex;
    -moz-display: flex;
    -ms-display: flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
}
header nav ul li p{
    margin: 0;
}
header nav ul li{
    list-style-type: none;
    display: inline-block;
    text-align: center;
}
header nav ul li a{
    text-decoration: none;
    width: 100%;
    margin-right: 30px;
    color: #A9B4BC;
    display: inline-block;
    font-size: 1.1rem;
    transition: 0.2s;
}
header nav ul li a:hover{
    color: white;
}
#index nav{
    background-color: transparent;
}
#scroll-mouse{
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 360px;
}
.mouse{
    width: 34.6px;
    height: 58.6px;
    margin: 0 auto;
    position: relative;
    background: #4e5559 linear-gradient(transparent 0%,
        transparent 50%,
        #ffffff 50%,
        #ffffff 100%);
    background-size: 100% 200%;
    border-radius: 100px;
    animation: colorSlide 5s linear infinite,
        nudgeMouse 5s ease-out infinite;
}
.mouse:before,
.mouse:after{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
}
.mouse:before{
    width: 30.6px;
    height: 54.6px;
    background-color: #0a283f;
    border-radius: 100px;
}
.mouse:after{
    background-color: #ffffff;
    width: 7px;
    height: 7px;
    border-radius: 100%;
    animation: trackBallSlide 5s linear infinite;
}
.text-scroll{
    font-size: 0.8rem;
    margin: 0 auto;
    margin-top: 25px;
    text-align: center;
    letter-spacing: 3px;
    color: #fff;
    animation: colorText 5s ease-out infinite,
        nudgeText 5s ease-out infinite;
}
@keyframes colorSlide{
    0% {
        background-position: 0% 100%;
    }
    20% {
        background-position: 0% 0%;
    }
    21% {
        background-color: #4e5559;
    }
    29.99% {
        background-color: #ffffff;
        background-position: 0% 0%;
    }
    30% {
        background-color: #4e5559;
        background-position: 0% 100%;
    }
    50% {
        background-position: 0% 0%;
    }
    51% {
        background-color: #4e5559;
    }
    59% {
        background-color: #ffffff;
        background-position: 0% 0%;
    }
    60% {
        background-color: #4e5559;
        background-position: 0% 100%;
    }
    80% {
        background-position: 0% 0%;
    }
    81% {
        background-color: #4e5559;
    }
    90%, 100% {
        background-color: #ffffff;
    }
}
@keyframes colorText{
    21% {
        color: #4e5559;
    }
    30% {
        color: #ffffff;
    }
    51% {
        color: #4e5559;
    }
    60% {
        color: #ffffff;
    }
    81% {
        color: #4e5559;
    }
    90% {
        color: #ffffff;
    }
} 
@keyframes trackBallSlide{
    0%{
        opacity: 1;
        transform: scale(1) translateY(-20px);
    }
    6%{
        opacity: 1;
        transform: scale(0.9) translateY(5px);
    }
    14%{
        opacity: 0;
        transform: scale(0.4) translateY(40px);
    }
    15%, 19%{
        opacity: 0;
        transform: scale(0.4) translateY(-20px);
    }
    28%, 29.99%{
        opacity: 1;
        transform: scale(1) translateY(-20px);
    }
    30%{
        opacity: 1;
        transform: scale(1) translateY(-20px);
    }
    36%{
        opacity: 1;
        transform: scale(0.9) translateY(5px);
    }
    44%{
        opacity: 0;
        transform: scale(0.4) translateY(40px);
    }
    45%, 49%{
        opacity: 0;
        transform: scale(0.4) translateY(-20px);
    }
    58%, 59.99%{
        opacity: 1;
        transform: scale(1) translateY(-20px);
    }
    60%{
        opacity: 1;
        transform: scale(0.9) translateY(-20px);
    }
    66%{
        opacity: 1;
        transform: scale(0.9) translateY(5px);
    }
    74%{
        opacity: 0;
        transform: scale(0.4) translateY(40px);
    }
    75%, 79%{
        opacity: 0;
        transform: scale(0.4) translateY(-20px);
    }
    88%, 100%{
        opacity: 1;
        transform: scale(1) translateY(-20px);
    }
}
@keyframes nudgeMouse{
    0%{
        transform: translateY(0);
    }
    20%{
        transform: translateY(8px);
    }
    30%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(8px);
    }
    60%{
        transform: translateY(0);
    }
    80%{
        transform: translateY(8px);
    }
    90%{
        transform: translateY(0);
    }
}
@keyframes nudgeText {
    0%{
        transform: translateY(0);
    }
    20%{
        transform: translateY(2px);
    }
    30%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(2px);
    }
    60%{
        transform: translateY(0);
    }
    80%{
        transform: translateY(2px);
    }
    90%{
        transform: translateY(0);
    }
}
#index header{
    background: linear-gradient(180deg, rgba(14, 82, 120, 0.70) 60% , 
        #0A283F),url(../img/backgrounds/background_1index.jpg) no-repeat center center/cover;
}
#aboutUs header{
    background: linear-gradient(180deg, rgba(14, 82, 120, 0.70) 60% , 
        #0A283F),url(../img/backgrounds/background_2aboutUs.jpg) no-repeat center center/cover;
}
#services header{
    background: linear-gradient(180deg, rgba(14, 82, 120, 0.70) 60% , 
        #0A283F),url(../img/backgrounds/background_3services.JPG) no-repeat center center/cover;
}
#projects header{
    background: linear-gradient(180deg, rgba(14, 82, 120, 0.70) 60% , 
        #0A283F),url(../img/backgrounds/background_4projects.jpg) no-repeat center center/cover;
}
#products header{
    background: linear-gradient(180deg, rgba(14, 82, 120, 0.70) 60% , 
        #0A283F),url(../img/backgrounds/background_5products.jpg) no-repeat center center/cover;
}
#contactus header{
    background: linear-gradient(180deg, rgba(14, 82, 120, 0.70) 60% , 
        #0A283F),url(../img/backgrounds/background_6contactUs.jpg) no-repeat center center/cover;
}
main section:first-child{
    background: linear-gradient(0deg, rgba(10,40,63,0.98) 0%, rgba(10,40,63,0.98) 100%), url(../img/logos/Logo-ATSH_blanco_png.png) no-repeat center center/contain;
}
footer{
    background-color: #031F34;
    color: white;
    height: 33vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.footer-container{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 35px;
}
.footer-container div{
    width: 210px;
    text-align: center;
}
.footer-container div a img{
    width: 75px;
    transition: 0.2s;
}
.footer-container div a:hover img{
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}
footer p{
    margin: 0 auto;
    text-align: center;
    width: 100%;
    color: #A9B4BC;
}
footer p a{
    text-decoration: none;
    color: white;
}
#index section div.flex div, #small_pages div.flex div, #services div.flex div{
    width: 45%;
    margin-bottom: 50px;
}
#index section div.flex div p, #small_pages div.flex div p, #services div.flex div p{
    width: 100%;
}
#services div.flex div h2{
    width: 100%;
}
#index section div.flex div img, #services div.flex div img{
    width: 60px;
    margin-right: 10px;
    vertical-align: middle;
}
#services div.flex div{
    margin-top: 10vh;
}
#aboutUs section.flex article{
    width: 49%;
}
#aboutUs section.flex article h2{
    width: 90%;
}
#aboutUs section.flex article p{
    width: 80%;
}
#aboutUs div.flex div{
    width: 32%;
    margin-bottom: 20px;
}
#aboutUs div.flex div p.colgado{
    width: 100%;
    margin-bottom: 20px;
}
form{
    margin: 40px 0;
}
form div.flex div{
    width: 50%;
}
form div.flex div:last-child{
    width: 40%;
    margin-left: 10%;
}
form label{
    width: 100%;
    display: inline-block;
    margin-top: 10px;
    font-size: 1.375rem;
    color: white;
}
form input{
    box-sizing: border-box;
    width: 100%;
    display: inline-block;
    padding: 17px;
    margin: 15px 0 20px 0;
    border: 0;
    transition: 0.4s;
}
form input:focus{
    outline: 0;
    background-color: #0A283F;
    color: white;
    border-left: 2px white solid;
}
form textarea{
    box-sizing: border-box;
    width: 100%;
    height: 87%;
    padding: 10px;
    margin: 10px 0;
    resize: none;
    transition: 0.4s;
}
form textarea:focus{
    outline: 0;
    border: 0;
    border-left: 2px white solid;
    background-color: #0A283F;
    color: white;
}
form input[type="checkbox"]{
    width: auto;
}
form input[type="checkbox"] + label{
    width: auto;  
    font-size: 18px;
}
form input[type="submit"]{
    width: 180px;
    padding: 10px 15px;
    margin-top: 40px;
    background-color: #357FFF;
    color: white;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.15em;
    transition: 0.25s;
}
form input[type="submit"]:hover{
    background-color: #031F34;
    color: white;
    transition: 0.5s;
}
form input[type="submit"]:focus{
    outline: 0;
}
input::placeholder, textarea::placeholder{
    letter-spacing: 0.15em;
    color: #357FFF;
    font-weight: bold;
    font-size: 0.6rem;
}
#contactus main section{
    display: flex;
    flex-wrap: wrap;
}
#contactus main ul{
    list-style-type: none;
    width: 40%;
}
#contactus main ul li a{
    color: #A9B4BC
}
#contactus main ul li a:hover{
    color: #357FFF;
}
#contactus main ul li{
    vertical-align: middle;
}
#contactus main ul li p{
    width: 80%;
    text-align: left;
}
#contactus main ul li img{
    width: 12%;
    vertical-align: middle;
}
iframe{
    width: 60%;
    height: 40vh;
}
#respuesta{
    height: 100vh;
    overflow: hidden;
}
#respuesta div div img{
    height: 15vh;
    margin: 10vh 5% 0 0;
    opacity: 0.7;
}
.burger {
    display: none;
}
.burger div {
    width: 25px;
    height: 3px;
    background-color: rgb(226, 226, 226);
    margin: 5px;
    transition: all 0.3s ease;
}
@media screen and (max-width: 1024px) {
    .nav-links {
        width: 60%;
    }
}
@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    .nav-links {
        position: fixed;
        right: 0px;
        top: 92px;
        background-color: #031F34;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        /*box-shadow: -10px 10px 40px 0px rgba(0,0,0,0.25);*/
    }
    .nav-links ul li {
        opacity: 0;
    }
    .burger {
        display: block;
        cursor: pointer;
    }
}
.nav-active {
    transform: translateX(0%);
}
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}
@media screen and (max-device-width: 480px) {
    /*GENERAL/ESTILOS*/
    .center{
        width: 90%;
        margin: 0 auto;
        text-align: center;
    }
    .colgado{
        font-weight: bold;
        font-size: 0.95rem;
        letter-spacing: 0.15em;
        color: #357FFF;
        text-align: center;
    }
    a.colgado:hover{
        color: white;
        transition: 0.2s;
    }
    #index nav{
        position: absolute;
    }
    nav{
        position: fixed;
        /*height: 5vh;*/
        right: 0;
        top: 0;
        width: 100%;
        z-index: 1;
    }
    h1{
        font-size: 1.75rem;
        line-height: 1;
        width: 100%;
        color: white;
        margin: 0;
        padding: 25vh 0 0 0;
        text-align: center;
    }
    #index h1 {
        width: 100%;
        margin: 0;
        padding: 20vh 0 0 0;
    }
    h1::after{
        content: "";
        display: block;
        background-color: #357FFF;
        width: 20%;
        height: 4px;
        margin: 20px auto;
    }

    h2{
        color: white;
        font-size: 2.3rem;
        width: 100%;
        margin-bottom: 50px;
    }
    h3{
        color: white;
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    h4{
        color: white;
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    p{
        font-size: 1rem;
        margin-bottom: 15px;
        text-align: center;
        width: 100%;
    }
    ul li{
        width: 100%;
        list-style-type: none;
        display: inline-block;
        text-align: center;
        padding: 20px 0;
        border-bottom: 2px solid rgba(255,255,255,.1);
    }
    h1 + p{
        color: white;
        margin-bottom: 60px;
        text-align: center;
    }
    #index h2 + p {
        margin-bottom: 60px;
    }
    a.celestes{
        margin: 0 auto;
    }
    .flexTres{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        -webkit-justify-content: space-between;
        -moz-justify-content: space-between;
        -ms-justify-content: space-between;
    }
    .flexTresImg{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        -webkit-justify-content: space-between;
        -moz-justify-content: space-between;
        -ms-justify-content: space-between;
    }
    .flex{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        -webkit-justify-content: space-between;
        -moz-justify-content: space-between;
        -ms-justify-content: space-between;
    }
    .flexDos{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        -webkit-justify-content: space-between;
        -moz-justify-content: space-between;
        -ms-justify-content: space-between;
    }
    .flexTresImg figure, .flexTresImg div, .flexTres article, .ultimos, .flexDos article, .ultimos article, .ultimos figure, .ultimos article:last-child{
        width: 100%;
        margin-left: 0;
    }
    #index section div.flex div, #small_pages div.flex div{
        width: 100%;
    }
    header nav{
        padding: 18px 0;
    }
    header > img{
        width: 15%;
        /*right: 40%;*/
        bottom: 5vh;
        float: left;
        right: 10px;
    }
    #scroll-mouse{
        bottom: 3vh;
    }
    footer{
        height: auto;
        padding: 20px;
    }
    .footer-container div{
        margin: 0 auto;
        margin-bottom: 20px;
    }
    .footer-container div a img{
        width: 50px;
    }
    #aboutUs section.flex article{
        width: 100%;
        margin-bottom: 60px;
    }
    #aboutUs section.flex article h2{
        width: 100%;
    }
    #aboutUs section.flex article p{
        width: 100%;
    }
    #aboutUs div.flex div{
        width: 100%;
        margin-bottom: 20px;
    }
    #aboutUs div.flex div p.colgado{
        width: 100%;
        margin-bottom: 20px;
    }
    #services div.flex div{
        margin-top: auto;
        width: 100%;
    }
    #services div.flex div h2 {
        line-height: 0px;
    }
    #services div.flex div:first-child p{
        margin-bottom: 40px;
    }
    form{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        -webkit-justify-content: space-between;
        -moz-justify-content: space-between;
        -ms-justify-content: space-between;
        margin: 0;
    }
    form div.flex div, form div.flex div:last-child{
        width: 100%;
        margin: 0;
    }
    form textarea{
        height: 200px;
    }
    #contactus section{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        -webkit-justify-content: space-between;
        -moz-justify-content: space-between;
        -ms-justify-content: space-between;
    }
    #contactus section ul li img{
        width: 20%;
    }
    #contactus section ul, iframe{
        width: 100%;
        margin: 40px 0 0 0;
    }
    #section-carta-colores figure{
        width: 100%;        
    }
    #section-carta-colores figure img{
        width: 100%;
    }
    #respuesta{
        height: 100vh;
        overflow: hidden;
    }
    #respuesta div div img{
        height: 10vh;
        margin: 10vh 5% 0 0;
        opacity: 0.7;
    }
    #scroll-mouse{
        visibility: hidden;
    }

}