@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-size: 20px;
    color: #fff !important;
    background-color: #030303;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif !important;
    scroll-behavior: smooth;
}

h1 {
    font-size: 3.3rem;
    margin: 1.5rem 0rem 1.5rem 0rem;
    font-weight: bold;
}

h2 {
    font-weight: bold;
}

a {
    color: #fff;
    text-decoration: none;
    list-style: none;
    transition: all .5s;
}

a:hover {
    color: #858585;
}

nav {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1;
}

nav img {
    width: 5rem;
}

label {
    display: none;
    position: fixed;
    width: 3.5rem;
    right: 0;
    z-index: 2;
    transition: all .5s;
}

iframe {
    width: 100%;
    margin: 1.5rem auto;
}

#message-popup {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.fs-1{
    font-size: 1rem!important;
}

.fs-07{
    font-size: .7rem!important;
}

.background-blue{
    background-color: #007bff!important;
}

.color-white{
    color: #fff!important;
   }

.label {
    width: 100%;
}

.label label i {
    font-size: 1.5rem;
    margin: 1rem;
    float: right;
    cursor: pointer;
    transition: all .5s;
}

.label label i:hover {
    font-size: 1.7rem;
    color: #858585;
}

.menu-responsive {
    display: none;
}

.menu-responsive ul {
    margin: 4.18rem auto 0 auto;
}

.menu-responsive ul li {
    width: 100%;
    padding: 1rem;
    text-align: center;
    transition: all .3s;
}

.menu-responsive ul li:hover {
    background-color: rgba(8, 8, 8, 0.95) !important;
}

.menu-background ul {
    width: 100%;
    text-align: end;
    float: right;
    list-style: none;
}

.menu-background li {
    display: inline-block;
    padding: 0 1rem;
    padding-right: 0;
}

.menu-responsive input {
    display: none;
    z-index: 2;
    transition: all .5s;
}

input:checked~ul {
    display: block;
}

.menu-background {
    display: flex;
    align-items: center;
    width: 95%;
    max-width: 1200px;
    margin: auto;
    padding: 1rem 0;
}

.menu-color {
    background-color: rgba(17, 17, 17, .95) !important;
    transition: all .5s;
}

.menu-color-no {
    background-color: rgba(17, 17, 17, 0);
    transition: all .5s;
}

.container-main {
    background-image: url(../img/home_wrapper_cover.jpg) !important;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-width: 100%;
    height: 85vh;
    display: flex;
    align-items: center;
}

.main-text {
    width: 95%;
    max-width: 1100px;
    margin: auto;
}

.main-text h2 {
    font-size: 1.1rem;
}

.container-second {
    display: flex;
    align-items: center;
    border-radius: .25rem;
    background-color: #111;
    width: 95%;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
}

.container-second-cv {
    display: block;
    border-radius: .25rem;
    background-color: #111;
    width: 95%;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
}

.second-img-box {
    display: inline-block;
    width: 40%;
    text-align: center;
}

.second-img-box img {
    width: 80%;
}

.second-text-news {
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 0 1rem;
}

.second-text {
    display: inline-block;
    width: 59%;
    height: 100%;
    padding: 0 1rem;
}

.second-text h2 {
    font-size: 1.6rem;
    line-height: 140%;
}

.second-text p {
    text-align: justify;
    font-size: .9rem;
    line-height: 165%;
}

.second-text-cv {
    display: block;
    width: 100%;
    margin-bottom: 2rem;
}

.container-second-works {
    border-radius: .25rem;
    width: 95%;
    text-align: center;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
}

model-viewer {
    width: 100%;
    height: 60%;
    outline: none;
    border-radius: .25rem .25rem 0 0;
    margin-bottom: 1rem;
}

model-viewer>p {
    padding: 1rem auto;
    font-size: 5rem;
}

.btn-load {
    background-color: #007bff;
    color: white;
    cursor: pointer;
    display: inline-block;
    padding: 1rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    z-index: 4;
    transition: all .5s;
}

.btn-load:hover {
    background-color: #fff;
    color: #007bff;
}

.works-galeria-elemento {
    display: inline-block;
    width: 30%;
    border-radius: .25rem;
    border: 1px #666 solid;
    margin: .5rem;
    overflow: hidden;
}

.works-galeria-elemento img {
    width: 100%;
}

.container-second-contact {
    border-radius: .25rem;
    background-color: #111;
    width: 95%;
    text-align: center;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
}

.second-contact-img {
    width: 50px;
    margin: 1rem auto;
}

.second-contact-text h2 {
    font-size: 1.7rem;
    margin: auto;
}

.second-contact-text p {
    text-align: justify;
    font-size: .9rem;
    margin: auto;
}

.second-contact-form {
    margin: 1rem auto;
    padding: .5rem;
    text-align: center;
}

.second-contact-form fieldset {
    display: flex;
    align-items: center;
    border: none;
}

.second-contact-mail {
    position: relative;
    font-size: .9rem;
    margin: .5rem auto 1rem auto;
    color: #666;
}

.second-contact-inputs {
    display: inline-block;
    width: 50%;
}

.second-contact-inputs input {
    display: block;
    width: 100%;
}

.second-contact-message {
    display: inline-block;
    width: 50%;
    vertical-align: top;
    margin-left: 20px;
}

.second-contact-message textarea {
    width: 95%;
    min-height: 100%;
    resize: none;
}

.second-contact-p {
    text-align: center;
    width: 95%;
    max-width: 1200px;
    padding: 7rem 1rem 3rem 1rem;
    margin: auto;
}

.form-control {
    color: #fff;
    font-size: .9rem;
    margin: 1.5rem;
    padding: .5rem;
    background-color: rgba(0, 0, 0, 0.00);
    border: 1px solid #666;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    display: inline-block;
    text-align: center;
    padding: .375rem .75rem;
    font-size: .9rem;
    line-height: 1.5;
    border: 1px solid transparent;
    margin: 1rem;
    cursor: pointer;
    transition: all .5s;
}

.btn-primary:hover {
    background-color: #fff;
    color: #007bff;
}

/*---------WorksGrid------------*/

.grid {
    position: relative;
    width: 100%;
    opacity: 1;
    transition: opacity 0.5s linear 1s;
}

.grid .imagenes-cargadas {
    opacity: 1;
}

.grid .item {
    position: absolute;
    display: block;
    padding: 0;
    margin: 10px;
    width: calc(33.333333% - 20px);
}

.grid .item-contenido {
    position: relative;
}

.grid .item img {
    width: 100%;
    cursor: pointer;
    vertical-align: top;
}


/*---------Works------------*/

.build-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-column-gap: 1.5rem;
    grid-row-gap: 1.5rem;
    max-width: 1200px;
    min-width: 100%;
}

.galery-build-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-column-gap: 1.5rem;
    grid-row-gap: 1.5rem;
    max-width: 1200px;
    min-width: 100%;
}

.card {
    height: 7rem;
    list-style: none;
    position: relative;
    background-color: #fff0 !important;
    border: 1px hidden !important;
}

.card-galery {
    width: 100%;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    height: auto !important;
}

.card:before {
    content: '';
    display: block;
    width: 100%;
}

.card-background {
    background-size: cover;
    background-position: center;
    bottom: 0;
    filter: brightness(1) saturate(1) contrast(1);
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform-origin: center;
    transform: scale(1) translateZ(0);
    transition:
        transform 200ms linear;
}

.card:hover .card-background {
    transform: scale(1.05) translateZ(0);
    filter: brightness(1);
}

.card:hover .hover-anim-card {
    opacity: 1;
    transform: scale(1.05) translate(0, 11px);
}

.card:hover .hover-anim-card-products {
    transform: scale(1.05) translate(0, 11px);
}

.build-grid:hover>.card:not(:hover) .card-background {
    filter: brightness(1) saturate(1) contrast(1);
}

.galery-build-grid:hover>.card:not(:hover) .card-background {
    filter: brightness(1) saturate(1) contrast(1);
}

.card-heading {
    font-size: 1.9rem;
    /*line-height: 1.4;*/
    line-height: 1;
    z-index: 1;
}

.hover-anim-card {
    opacity: 0;
    transform: scale(1);
    transition:
        all 130ms linear,
        filter 200ms linear,
        transform 200ms linear;
}

.hover-anim-card-products {
    transform: scale(1);
    transition:
        filter 200ms linear,
        transform 200ms linear;
}

.hover-top-card {
    transform: scale(1) translate(0, 0);
    transition:
        all 130ms linear,
        filter 200ms linear,
        transform 200ms linear;
}

.aspect-ratio{
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    height: auto!important;
}

#selector{
    padding-left: 0;
}

#selector a{
    margin: .2rem;
}

#selector li{
    display: inline-block;
}

/*MODAL*/
.h-20r{
    height: 20rem!important;
}

.modal-body{
    background-color: #111;
}

.modal-dialog {
    width: 90%;
    max-width: 1200px;
    margin: 1.75rem auto;
}

.modal-footer {
    background-color: #111;
    border-top: 0;
    border-radius: 0;
}

/*FOOTER*/
/*Boton goUp*/
.go-up {
    position: absolute;
    top: -13%;
    left: 0;
    right: 0;
    margin: auto;
    padding: .6rem .5rem;
    background: #007bff;
    width: 2rem;
    height: 3rem;
    cursor: pointer;
    z-index: 1;
    transition: all .5s;
}

.go-up:hover {
    background-color: #fff;
    color: #007bff;
}

/*Footer*/
footer {
    position: relative;
    border-radius: .25rem .25rem 0 0;
    background-color: #111;
    width: 95%;
    max-width: 1200px;
    margin: 0rem auto;
    padding: 2rem 1rem;
}

.footer-rrss {
    margin: 2rem auto 1rem auto;
    text-align: center;
}

.footer-rrss a {
    margin: 0 .4rem;
}

.footer-rrss a i:hover {
    animation: rotate .5s 1 normal ease-in-out;
}

.footer-text {
    margin: 1rem 0;
    text-align: center;
    font-size: 0.8rem;
}

.footer-text p {
    margin: .5rem 0;
}

.footer-text span {
    color: #666;
}

/*-------------*/
/*Media Queries*/
/*-------------*/

@media (max-width: 576px) {
    .second-img-box img {
        width: 100%;
        padding: 1rem !important;

    }

    .second-text h2 {
        font-size: 1.3rem;
    }

    .works-galeria-elemento {
        width: 90% !important;
    }

    .container-second-works div div:nth-child(n+4) {
        display: none;
    }
}

@media (max-width: 636px) {
    .works-galeria-elemento {
        width: 90% !important;
    }

    .container-second-works div div:nth-child(n+4) {
        display: none;
    }

    .modal-in div {
        display: block !important;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    label {
        display: block;
    }

    .menu-responsive {
        display: block;
    }

    .container-second {
        display: block;
        text-align: center;
        padding: 1rem;
    }

    .second-img-box {
        display: flex;
        width: 100%;
    }

    .second-img-box img {
        width: 100%;
        padding: 3rem;

    }

    .second-text {
        width: 100%;
    }

    .container-second-works {
        padding: 1rem;
    }

    .container-second-works h2 {
        font-size: 2rem;
    }

    .container-second-contact h2 {
        font-size: 2rem;
    }

    .container-second-works div div:nth-child(9) {
        display: none;
    }

    .works-galeria-elemento {
        width: 45%;
    }

    .second-contact-form fieldset {
        display: block;
    }

    .second-contact-inputs {
        width: 100%;
    }

    .second-contact-message {
        width: 100%;
    }
}

@media (max-width: 827px) {
    .container-second-works div div:nth-child(9) {
        display: none !important;
    }

    .works-galeria-elemento {
        width: 46%;
    }
}