* {
    scrollbar-width:thin;
    scrollbar-color: var(--green) var(--red);
}   
*::-webkit-scrollbar {
    width: 15px;
}
*::-webkit-scrollbar-track {
    background: var(--red);
}
*::-webkit-scrollbar-thumb {
    background-color: var(--green);
    border-radius: 0px;
    border: 0px solid var(--red);
}
@font-face {
    font-family: RubikVariable;
    src: url(./Rubik-VariableFont_wght.ttf);
    font-display: swap;
}
:root {
    --red: #EF5350;
    --redOpacity: #ef5350d9;
    --green: #4ABA58;
    --white: #FFFFFF;
}
body {
    margin: 0;
}
h1 {
    color: white;
    font-family: RubikVariable;
    font-weight: bold;
    z-index: 1;
    font-size: 3em;
}
h1, h2, p, li{
    max-width: none;
}
#hiddenBody{
    overflow:hidden;
}
#loaderP{
    z-index: 100;
    position: absolute;
    margin: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
}
#loader {
    width: 120px;
    height: 120px;
    color: var(--green); 
    border-radius: 50%;
    background:
        linear-gradient(currentColor 0 0),
        linear-gradient(currentColor 0 0),
        linear-gradient(currentColor 0 0);
    background-size: 50.1% 50.1%;
    background-repeat: no-repeat;
    animation: 
        f9-0   1.5s infinite linear alternate,
        f9-0-0 3s   infinite linear alternate;
}
#loader::before {
    content:"";
    display:block;
    width:50%;
    height:50%;
    background: var(--red);
    border-top-left-radius: 200px;
    transform:perspective(300px) rotateY(0deg) rotateX(0deg);
    transform-origin: bottom right; 
    animation: f9-1 1.5s infinite linear alternate;
}
@keyframes f9-0 {
    0% ,32.99% {background-position: 0    100%,100% 100%,100% 0}
    33%,65.99% {background-position: 100% 100%,100% 100%,100% 0}
    66%,100%   {background-position: 100% 0   ,100% 0   ,100% 0}
}
@keyframes f9-0-0 {
    0%,49.99% {transform: scaleX(1)  rotate(0deg)}
    50%,100%  {transform: scaleX(-1) rotate(-90deg)}
}
@keyframes f9-1 {
    16.5%{transform:perspective(150px) rotateX(-90deg)  rotateY(0deg)    rotateX(0deg);filter:grayscale(0)}
    33%  {transform:perspective(150px) rotateX(-180deg) rotateY(0deg)    rotateX(0deg)}
    66%  {transform:perspective(150px) rotateX(-180deg) rotateY(-180deg) rotateX(0deg)}
    100% {transform:perspective(150px) rotateX(-180deg) rotateY(-180deg) rotateX(-180deg);filter:grayscale(0)}
}
section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.header{
    width: 100%;
    background-color: transparent;
    padding: 0px;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 100;
    will-change: transform;
}
.menu-btn {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 30px;
    width: 37px;
    margin: 20px;
    float: right;
    z-index:50;
}
#ham{
    display: inline;
    margin-top: 20px;
    z-index: 50;
    color: #e3e3e3;
    scale: 1.1;
    transition: transform 0.3s ease-in-out;
}
#ham:hover{
    color: var(--red);
    scale: 1.2;
}
#ham.activeHam{
    display: none;
}
#xham{
    display: none;
    margin-top: 20px;
    z-index: 50;
    color: #e3e3e3;
    scale: 1.1;
}
#xham:hover{
    color: var(--red);
    scale: 1.2;
}
#xham.activeXHam{
    display: inline;
}
.btn-line {
    width: 100%;
    height: 5px;
    border-radius: 2px;
    background-color: #e3e3e3;
    background-color: rgb(223, 223, 223);
    z-index: 50;
}
.btn-line:hover{
    background-color:var(--red);
}
.menu {
    position: absolute;
    top: 0px;
    right: 0;
    background-color: var(--green);
    width: 40%;
    height: 100vh;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease-in-out;
}
.menu.active {
    transform: scaleY(1);
}
.menu.disactive {
    transform: scaleY(0);
}
.menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.menu-items li {
    margin-bottom: 20px;
}
.menu-items a {
    text-decoration: none;
    color:var(--white);
    font-size: 1.4rem;
    font-family: RubikVariable;
    font-weight: medium;
}
.menu-items a:hover {
    color: var(--red);
}
#bg1{
    background-image: url(./imgHome.webp);
    width: 100vw;
}
#imgHomeLogo{
    width: 98%;
    height: 100vh;
    position: absolute;
    left: 0px;
    object-fit: cover;
}
#imgHomeLogo2{
    display: none;
}
#imgHomeLogo3{
    display: none;
}
#bg2 {
    background-image: url(./imgSection2.webp);
}
#bg3 {
    background-image: url(./imgSection3.webp);
    display:flex;
    flex-direction: column;
}
.divInfoSobreNostros{
    margin: auto auto;
}
#imgSobreN{
    width: 35%;
    height: auto;
    position: relative;
    left: 10%;
    top: 10%;
}
#parrafoSobreN{
    font-size: 1.7rem;
    font-family: RubikVariable;
    font-weight: regular;
    position: relative;
    left: 10%;
    margin-top: 8%;
    color: var(--white);
    text-align: left;
    height: auto;
    max-width: 80%;
}
#bg4 {
    background-image: url(./imgSection4.webp);
}
#bg5 {
    background-image: url();
    text-align: center;
    display: flex;
    flex-direction: column;
    z-index: 50;
}
.containerNuestroPro{
    margin: auto auto;
}
#tituloNuestoPro{
    font-size: 3rem;
    font-family: RubikVariable;
    font-weight: bold;
    color: var(--red);
    position: relative;
    margin-top: 0px;
}
.appBody{
    height: auto;
    display: grid;
    align-items: center;
    justify-items: center;
    margin-top: 0px;
    margin-bottom: 0px;
    z-index: 49;
}
.imagenes {
    width: 100%;
    height: auto;
}
.app {  
    height: auto;
    width: 100%;
    position: relative;
    overflow:visible;
    visibility: hidden;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0% 1%;
    padding: 5px;
}
.item {
    cursor: pointer;
    font-size: 0;
}
.item:hover{
    width: 101%;
}
.detail {
    position: fixed;
    top: 0px;
    left: 50vw;
    width: 95%;
    cursor: pointer;
    font-size: 0;
    display: flex;
    flex-direction:row;
    visibility: hidden;
    max-height: 100%;
    overflow: auto;
    z-index: 51;
}
.detail > img {
    position: relative;
    z-index: 1;
    max-width: 35%;
    background-color:#ffffffd8;
}
.detail .content {
    background: var(--green); 
    box-sizing: border-box;
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-size: 105%;
    padding: 2rem 1.5rem;
    font-family: RubikVariable;
    background-image: url(./1_4.webp);
}
.detail .content > * {
    margin-bottom: 1rem;
}
.detail .title {
    font-size: 2rem;
    font-family: RubikVariable;
    font-weight: 450;
    color: var(--white);
    margin-top: 40px;
    margin-left: 50px;
    margin-right: auto;
    text-align: left;
}
.detail .description {
    font-size: 1.3rem;
    line-height: 1.1;
    color: var(--white);
    text-align: left;
    margin-top: 15px;
    max-width: 60%;
    margin-left: 50px;
    margin-bottom: 120px;  /**/
    margin-right: auto;
}
#xNuestroPro{
    font-size: 2rem;
    color: var(--white);
    float: right;
    margin-top: 10px;
    margin-right: 10px;
    text-align: right;
}
#xNuestroPro:hover{
    color: var(--red);
}
#bg6 {
    background-image: url(./imgSection6.webp);
    display: flex;
}
.containerCopy{
    margin: auto auto;
    display: flex;
    flex-direction: column;
}
#imgCopy{
    align-self: center;
    max-width: 40%;
    margin-top: 5%;
}
#imgLogoCopy{
    align-self: center;
    max-width: 20%;
    position: relative;
    bottom: 1%;
    margin-top: 10%;
    margin-bottom: 10%;
}
#bg8 {
    background-image: url(./imgSection8.webp);
}
#bg9 {
    background-image: url(./imgSection9.webp);
}
#bg7 {
    background-image: url(./imgSection7.webp);
}
.containerContacto{
    background-color: var(--redOpacity);
    position: absolute;
    width: 66.6vw;
    height: 100vh;
    left: 0px;
    overflow: hidden;
    display: flex;
}
.container{
    position: relative;
    margin-top: auto;
    margin-bottom: auto;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}
.form-signin-heading{
    font-size: 2rem;
    font-family: RubikVariable;
    font-weight:normal;
    text-align: center;
    margin-left: 0%;
    margin-top: 0px;
    margin-bottom: 0px;
    color: var(--white);
}
.TitulosFor{
    font-size: 1rem;
    font-family: RubikVariable;
    font-weight:normal;
    color: var(--white);
    margin-bottom: 10px;
    display: block;
    width: 65%;
    margin-left: auto;
    margin-right: auto;
}
.form-control{
    display: block;
    width: 65%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
    font-size: 1rem;
    font-family: RubikVariable;
    font-weight:lighter;
    padding: 5px 10px;
    background-color: #ecebeb;
    border: 1px solid #ccc;
    border-radius: 30px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
.btn-block{
    display: block;
    width: 67%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
}
.btn-primary{
    color: var(--red);
    background-color:  #ffffff;
    border-radius: 20px;
}
.btn-primary:hover{
    background-color: #cfcfcf;
}
.btn-lg{
    font-family: RubikVariable;
    font-weight:normal;
    padding: 10px 16px;
    font-size: 1.2rem;
    border-radius: 30px;
}
.btn{
    touch-action: manipulation;
    cursor:pointer;
    border: 1px solid transparent;
}
.error{
    background-color: #b3b3b3;
}
.alert-danger{
    display: block;
    width: 65%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    margin-top: 10px;
    font-family: RubikVariable;
    font-weight:normal;
    background-color: var(--green);
    border-color: var(--green);
    box-shadow: inset 0 2px 2px rgba(0, 255, 47, 0.075);
    color: white;
}
.alert{
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-radius: 30px;
}
.containerRespuesta{
    margin: 0;    
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(./imgSection7.webp);
    width: auto;
    height: 100vh;
}
.aContacto{
    text-decoration: none;
}
.containerRespuestaBa{
    margin: 0px;
    background-color: var(--redOpacity);
    height: 100%;
}
.well {
    padding: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    position: relative;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: left;
    color: var(--white);
    font-family: RubikVariable;
    font-weight: normal;
    background-color: var(--green);
    border-radius: 30px;
    text-align: center;
}
footer {
    width: 100%;
    height: auto;
    background-color: var(--white);
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
}
.flexFooter{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /*height: auto;*/
    position: relative;
    margin-top: auto;
    margin-bottom: auto;
}
.elementosFooter{
    font-family: RubikVariable;
    font-weight: normal;
    font-size: 1.1rem;
    color: var(--red);
    flex: auto;
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
}
.aFooter{
    text-decoration: none;
    color: var(--red);
}
.aFooter:hover{
    color: var(--green);
}
@media screen and (max-width:1200px){
    .detail .description {
        font-size: 1.1rem;
        line-height: 1;
        max-width: 90%;
        margin-left: 50px;
        margin-right: auto;
    }
    .detail .content {
        padding: 1.1rem 0rem;
        padding-right: 1.1rem;
    }
    #bg9 {
        background-image: url(./imgSection9m.webp);
    }
}
@media screen and (max-width: 900px){
    .menu-btn {
        margin: 18px;
    }
    #ham{
        margin-top: 18px;
    }
    #xham{
        margin-top: 18px;
    }
    .menu {
        width: 60%;
    }
    .menu-items a {
        font-size: 1.5rem;
    }
    #imgHomeLogo{
        display: none;
    }
    #imgHomeLogo2{
        width: auto;
        width: 90vw;
        height: 100vh;
        position: absolute;
        left: 0px;
        margin: 0px;
        display:block;
        object-fit: cover;
    }
    #imgSobreN{
        width: 45%;
        height: auto;
    }
    #parrafoSobreN{
        font-size: 1.4rem;
        margin-top: 10%;
        max-width: 85%;
    }
    .appBody{
        width: 90vw;
    }
    .app {
        width: 90vw;
    }
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .detail {
        width: 50%;
        flex-direction:column;
        margin-left: auto;
        margin-right: auto;
    }
    .detail > img {
        max-width: 100%;
        background-color:#ffffffd8;
    }
    .detail .content {
        font-size: 1rem; 
        width: 100%;
        max-width: 100%;
    }
    .imagenes {
        width: 30vh;
    }
    .detail .title {
        margin-left: auto;
        text-align: center;
        margin-left: 5px;
    }
    .detail .description{
        margin-left: auto;
        margin-bottom: 100px;
    }
    #xNuestroPro{
        scale: .7;
    }
    #imgCopy{
        max-width: 60%;
        margin-top: 3%;
    }
    #imgLogoCopy{
        max-width: 30%;
        bottom: 0%;
        margin-top: 10%;
        margin-bottom: 5%;
    }
    .containerContacto{
        width: 80vw;
    }
    .elementosFooter{
        font-size: 1rem;
        margin-top: 15px;
    }
}
@media screen and (max-width: 600px){
    #ham{
        scale: 1;
    }
    #ham:hover{
        scale: 1.1;
    }
    #xham{
        scale: 1;
    }
    #xham:hover{
        scale: 1.1;
    }
    .menu {
        width: 75%;
    }
    .menu-items a {
        font-size: 1rem;
    }
    #imgHomeLogo{
        display: none;
    }
    #imgHomeLogo2{
        display: none;
    }
    #imgHomeLogo3{
        width: auto;
        width: 95vw;
        height: 100vh;
        position: absolute;
        left: 0px;
        margin: 0px;
        display:block;
        object-fit: cover;
    }
    #imgSobreN{
        width: 80%;
        top: 5%;
    }
    #parrafoSobreN{
        font-size: 1.2rem;
        margin-top: 30%;
        max-width: 85%;
    }
    #bg5 {
        flex-direction: row;
    }
    #tituloNuestoPro{
        font-size: 2rem;
        margin-top: 35px;
        margin-bottom: 0px;
    }
    .appBody{
        margin-bottom: 0px;
        width: 50%;
        margin-left: auto;
        margin-right: auto;
    }
    .app {
        width: 97%;
    }
    .gallery {
        grid-template-columns: repeat(1, 1fr);
    }
    .imagenes {
        width: 20vh;
    }
    .detail {
        width: 80%;
        flex-direction:column;
        max-height: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .detail > img {
        max-width: 100%;
        background-color:#ffffffd8;
    }
    .detail .content {
        background-size: 100%;
        padding: 20px;
        padding-top: 50px;
        padding-bottom: 100px;
    }
    .detail .title {
        font-size: 1.5rem; /**/
        margin-top: 50px;
        text-align: center;
    }
    .detail .description {
        max-width: 100%;
    }
    .detail .content > * {
        margin-bottom: 0px;
    }
    #xNuestroPro{
        margin-top: 0px;
        margin-right: 0px;
    }
    #imgCopy{
        max-width: 90%;
        margin-top: 0%;
    }
    #imgLogoCopy{
    max-width: 45%;
        bottom: 0%;
        margin-top: 50%;
        margin-bottom: 0%;
    }
    #bg8 {
        background-image: url(./imgSection8m.webp);
    }
    .containerContacto{
        width: 100%;
    }
    .form-signin-heading{
        font-size: 2rem;
        margin-bottom: 30px;
    }
    .TitulosFor{
        font-size: 1rem;
        width: 70%;
    }
    .form-control{
        display: block;
        width: 70%;
        font-size: .9rem;
    }
    .btn-block{
        width: 73%;
        height: 45px;
    }
    .btn-lg{
        padding: 8px 10px;
    }
    .alert-danger{
        width: 70%;
        font-size: .9rem;
    }
        .well {
            width: 80%;
            font-size: 1rem;
        }
    .flexFooter{
        flex-direction: column;
    }
    .elementosFooter{
        font-size: .9rem;
        margin-top: 10px;
        margin-bottom: 5px;
    }
}