html {
    font-family: 'Kanit', sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    margin: 0;
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    margin-bottom: 0.5rem;
    font-family: 'Kanit', sans-serif;
    font-weight: normal;
    line-height: 1.2;
}

.white {
    color: #fff;
    font-size: 1.2rem;
}

@keyframes animatedBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 1200px;
    }
}

@-moz-keyframes animatedBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 1200px;
    }
}

@-webkit-keyframes animatedBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 1200px;
    }
}

@-ms-keyframes animatedBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 1200px;
    }
}

@-o-keyframes animatedBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 1200px;
    }
}

#mainNav {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #212529;
}

#mainNav .navbar-toggler {
    padding: 0.75rem;
    font-family: 'Kanit', sans-serif;
    font-size: 1.75rem;
    color: #fff;
    text-transform: uppercase;
    border: 0;
}

#mainNav .navbar-brand {
    color: #fed136;
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
    letter-spacing: 0.0625em;
    text-transform: uppercase;
}

#mainNav .navbar-brand img {
    height: 1.5rem;
}

#mainNav .navbar-nav .nav-item .nav-link {
    font-family: 'Kanit', sans-serif;
    font-size: 0.95rem;
    color: #fff;
    letter-spacing: 0.0625em;
}

#mainNav .navbar-nav .nav-item .nav-link.active,
#mainNav .navbar-nav .nav-item .nav-link:hover {
    color: #fed136;
}

.navbar-nav li.nav-item.idioma a {
    padding: 0.2em 0.4em !important;
}

.navbar-nav li.nav-item.idioma a:first-child {
    border-right: 1px solid;
}

.navbar-nav li.nav-item.idioma {
    display: flex;
    padding: 0.5rem 0;
}

.ml-auto,
.mx-auto {
    margin-left: auto !important;
}

.pl {
    padding: 0 1.5rem;
}

@media (min-width: 992px) {
    .navbar-nav li.nav-item.idioma {
        display: inline-flex;
        padding: 0;
        margin: auto;
    }
    .navbar-nav li.nav-item.idioma a {
        opacity: 0.5;
    }
    .navbar-nav li.nav-item.idioma a.actived {
        opacity: 1;
    }
    #mainNav {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        border: none;
        background-color: transparent;
        transition: padding-top 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
    }
    #mainNav .navbar-brand {
        font-size: 1.5em;
        transition: font-size 0.3s ease-in-out;
    }
    #mainNav .navbar-brand img {
        height: 2rem;
        transition: height 0.3s ease-in-out;
    }
    #mainNav.navbar-shrink {
        padding-top: 1rem;
        padding-bottom: 1rem;
        background-color: #212529;
    }
    #mainNav.navbar-shrink .navbar-brand {
        font-size: 1.25em;
    }
    #mainNav.navbar-shrink .navbar-brand svg,
    #mainNav.navbar-shrink .navbar-brand img {
        height: 1.5rem;
    }
    #mainNav .navbar-nav .nav-item {
        margin-right: 1rem;
    }
    #mainNav .navbar-nav .nav-item:last-child {
        margin-right: 0;
    }
}

header.masthead {
    padding-top: 12.5rem;
    padding-bottom: 3rem;
    text-align: center;
    height: 100vh;
    background: #222 url(../image/n.jpg) center center fixed;
    animation: animatedBackground 100s linear infinite;
    -moz-animation: animatedBackground 100s linear infinite;
    -webkit-animation: animatedBackground 100s linear infinite;
    -ms-animation: animatedBackground 100s linear infinite;
    -o-animation: animatedBackground 100s linear infinite;
}

canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.estudio {
    padding: 2rem 0;
    width: 40%;
}

input#bt-submit {
    padding: 5px 6rem;
}

header.masthead .masthead-subheading {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.5rem;
    margin-bottom: 25px;
    font-family: 'Kanit', sans-serif;
}

header.masthead .masthead-heading {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 3.25rem;
    margin-bottom: 2rem;
    font-family: 'Kanit', sans-serif;
}

@media (min-width: 768px) {
    header.masthead .masthead-subheading {
        font-size: 2.25rem;
        font-style: italic;
        line-height: 2.25rem;
        margin-bottom: 2rem;
    }
    header.masthead .masthead-heading {
        font-size: 4.5rem;
        font-weight: 700;
        line-height: 4.5rem;
        margin-bottom: 4rem;
    }
}


/* About us  */

#about div.back-about {
    height: 700px;
    background: url(../image/about.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom left;
}

#about.page-section {
    padding: 8rem 0;
}

#about h3 {
    font-size: 1.2rem;
    margin: auto;
    line-height: 1;
}

#about p b {
    color: #0ED9B9;
}

#about .container-xl {
    max-width: 1600px;
}

#about h1.section-heading {
    font-size: 5rem;
    line-height: 90%;
}

#about .col-md-6.ml-md-auto {
    padding: 1rem;
}

@media (max-width: 768px) {
    #about div.back-about {
        height: 500px;
        background-size: cover;
        padding: 2rem;
        background-position: center;
    }
    #about h1 {
        font-size: 3rem !important;
    }
    #about h2 {
        font-size: 2rem !important;
        ;
    }
}


/* Portfolio */

#portfolio div.back-about {
    height: 700px;
    background: url(../image/portfolio.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom left;
}

#portfolio.page-section {
    padding: 0;
}

#portfolio .container-xl {
    max-width: 1600px;
}

#portfolio h1 {
    font-size: 5rem;
    line-height: 85%;
}

#portfolio .col-md-6.ml-md-auto {
    padding: 0 2rem;
}

@media (max-width: 768px) {
    #portfolio div.back-about {
        height: 500px;
        background-size: cover;
        padding: 2rem;
        background-position: center;
    }
    #portfolio h1 {
        font-size: 3rem !important;
    }
    #portfolio h2 {
        font-size: 2rem !important;
    }
}

@media (max-width: 475px) {
    #portfolio div.back-about {
        display: none;
    }
}


/* portafolio item */

#portfolioItems.page-section {
    padding: 4rem 0;
}

#portfolioItems div.col-lg-3,
#portfolioItems div.col-md-6 {
    margin: 10px 0;
    text-align: center;
}

#portfolioItems div.col-lg-3 a img,
#portfolioItems div.col-md-6 a img {
    display: flex;
    z-index: -1;
    align-items: center;
    margin: auto;
    border-radius: 15px;
}

#portfolioItems div.col-lg-3 a:hover,
#portfolioItems div.col-md-6 a:hover {
    height: 100%;
    transition: ease-in-out 300ms;
    display: flex;
    align-items: center;
    width: fit-content;
    background: #0ed9b95c;
    z-index: 1;
    border-radius: 15px;
    margin: auto;
}


/* servicio */

#services {
    background: url(../image/espacio.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 50vh;
}

.square {
    border-radius: 15px;
    position: relative;
    top: -15rem;
    height: 350px;
    margin-bottom: -18rem;
    border: 10px solid #42ffe12e;
    padding: 2rem;
    background: #0ED9B9;
    -webkit-box-shadow: 0 0 20px 5px #0ed9b9;
    box-shadow: 0 0 20px 5px #0ed9b9;
}

.square h2 {
    color: #fff;
    font-size: 5rem;
    font-weight: 700;
    padding-bottom: 0.3em;
}

.square p {
    font-size: 1.2rem;
    line-height: 104%;
    width: 75%;
    margin: auto;
    margin-bottom: 15px;
    text-align: center;
}

.icons-services {
    padding: 6rem 1rem 10rem 1rem;
}

@media (max-width: 768px) {
    .square {
        width: 85%;
        margin: auto;
        height: auto !important;
        padding: 3rem 1rem;
        margin-bottom: -18rem;
    }
    .square h2 {
        font-size: 2rem;
    }
    .square p {
        font-size: 1.1rem;
    }
}


/* Contact */

.contact .map {
    background: url(../image/map.jpg);
    height: auto;
    padding: 2rem;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.contact form {
    padding: 3rem;
}

@media (max-width: 768px) {
    .contact form {
        padding: 1rem;
    }
}

.form-control {
    padding: 0.7rem;
}

.btn-primary {
    background-color: #00172E !important;
    border: solid #00172E;
}

.btn-primary:hover {
    background-color: #012952 !important;
    border: solid #012952;
}


/* ----------------------------------------------------------------------------------------------------- 
  Footer
----------------------------------------------------------------------------------------------------- */

.footer {
    color: #fff;
}

.footer {
    padding-top: 3rem;
    background: url(../image/foote.jpg);
    background-position: center;
    background-size: cover;
}

footer a {
    color: #fff !important;
    text-decoration: none;
}

footer a:hover {
    color: #0ed9b9 !important;
}

footer h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

footer ul.data {
    margin: 20px 0;
    padding: 0 0 0 5px;
    list-style: none;
}

footer ul.data i {
    padding-right: 10px;
    color: #fff;
}

footer ul.data li p {
    color: #fff;
    display: initial;
}

footer ul.menu li {
    text-align: center;
}

footer p b {
    font-weight: 500;
    font-family: 'Kanit', sans-serif;
    color: #fff;
}

footer ul.data li {
    margin: 0;
    color: #fff;
    font-weight: 300;
    font-size: 20px;
    line-height: 21px;
}

footer ul.data {
    text-align: center;
}

footer ul.menu li {
    margin: 0;
    color: #fff;
    text-align: left;
    font-weight: 300;
    font-size: 1rem;
    line-height: 2;
}

footer .col-md-4 {
    text-align: center;
}

.footer p .copyright {
    font-size: 90%;
    line-height: 40px;
    text-transform: none;
    color: #FAFAFA;
}

ul.social-buttons {
    margin-bottom: 0;
    margin: 0;
    float: none;
}

ul.social-buttons li a {
    font-size: 2rem;
    display: block;
    width: 3rem;
    height: 3rem;
    transition: all 0.3s;
    color: #010811 !important;
    border-radius: 100%;
    outline: none;
    background-color: #0ed9b9;
}

ul.social-buttons li a:hover {
    color: #fff !important;
}

.wp-call {
    position: fixed;
    bottom: 100px;
    z-index: 1000;
    right: 0;
    border-radius: 9px 0 0 9px;
    background: #fff;
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    display: flex;
    align-items: center;
}

a.wp-call {
    text-decoration: none;
}

.wp-call img {
    float: left;
    width: 52px;
    padding: 9px 11px;
    background: #1ebea5;
}

.wp-call span {
    color: #888;
    font-size: 15px;
    padding: 5px 30px 0 15px;
    text-align: left;
    line-height: 1em;
    margin-top: -10px;
}

@media(min-width: 800px) {
    .wp-call span {
        min-width: 90px;
    }
    .wp-call {
        bottom: 90px;
    }
}

.wp-call span strong {
    font-size: 21px;
    font-weight: bold;
}

@media (max-width: 768px) {
    footer h3 {
        margin-top: 1rem;
    }
}

@media (min-width: 992px) {
    .logo-foot {
        width: 80%;
        margin-top: 5rem;
    }
    ul.social-buttons {
        float: left;
    }
    footer ul.data {
        text-align: left;
    }
    footer ul.menu li {
        text-align: left;
    }
    footer h3 {
        text-align: left;
    }
    footer .col-md-4 {
        text-align: left;
    }
    footer ul.data li {
        font-size: 16px;
    }
    .footer p {
        color: #fff;
    }
    .form-check-label {
        margin-bottom: 0;
        color: var(--grey-color);
    }
    footer ul.data li p {
        display: inline-flex;
        margin-bottom: 0;
    }
    .footer {
        background-position: center;
        background-repeat: no-repeat;
        padding-bottom: 0rem;
    }
    footer .col-lg-3,
    footer .col-lg-2 {
        min-height: 225px;
    }
}

@media (max-width: 992px) {
    footer ul.menu {
        display: none;
    }
}

.fancybox-button--zoom,
.fancybox-button--play,
.fancybox-button--thumbs {
    display: none !important;
}

.overlay {
    background: rgba(0, 0, 0, .1);
    position: absolute;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    cursor: pointer;
    display: none;
}

article.popUp {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99999;
    display: none;
    background: #000000b0;
}

article.popUp .wrapper {
    height: 100vh;
    width: 40%;
    display: flex;
    align-content: center;
    align-items: center;
    margin: auto;
    align-self: center;
}

.message {
    background: #fff;
    padding: 45px 30px;
    text-align: center;
}

.message p {
    color: #212529;
}

article.popUp a {
    background: #012952;
    color: #fff;
    margin: 30px auto 0 auto;
    display: inline-block;
    width: auto;
    border-radius: 15px;
    text-transform: uppercase;
    padding: 12px 30px;
    height: auto;
    font-weight: 700;
    letter-spacing: 2px;
}

article.popUp h2 {
    color: #0ED9B9;
    display: block;
    text-align: center;
    margin: 0 0 15px 0;
    position: relative;
    text-transform: uppercase;
    font-size: 24px;
}

.flex {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}