/*
- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }

html {
    /* font-size: 10px; */
    /* 10px / 16px = 0.625 = 62.5% */
    /* Percentage of user's browser font-size setting */
    font-size: 62.5%;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    color: #444;
    scroll-behavior: smooth;
}

#splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    transition: opacity 1s ease;
    opacity: 1;
    z-index: 101;
    display: flex;
    justify-content: center;
    align-items: center;
}

 #splash.fade-out {
     opacity: 0;
 }

 #splash.hidden {
     display: none;
 }

 #splash img {
        max-width: 100%;
        max-height: 100vh;
        object-fit: cover;
        display: block;
  }

header {
    height: 100vh;
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url(Images/Background/Background.jpg);
    background-size: cover;
    color: #fff;
}

.header-container {
    max-width: 120rem;
    position: absolute;
    left: 50%;
    top: 60%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 3.6rem;
    list-style: none;
}

.nav-link:link, .nav-link:visited {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 2.2rem;
    transition: all 0.5s;
}

.nav-link:hover, .nav-link:active {
    color: rgba(227, 229, 230, 0.4);
}

.mobile-menu {
    display: none;
}

.btn-menu{
    border: none;
    background: none;
    cursor: pointer;
}

.close[name="closed-outline"] {
    display: none;
}

.open {
    height: 1.8rem;
    width: 1.8rem;
}

.close {
    height: 2.8rem;
    width: 2.8rem;
}

.container {
    max-width: 120rem;
    margin: 0 auto;
}

.header-nav {
   font-size: 2rem;
   font-weight: 700;
   display: flex;
   justify-content: space-between;
   padding-top: 3.2rem;
}

.header-h1-1 {
    font-size: 4.5rem;
    margin-bottom: .9rem;
}

.header-h1-2 {
    font-size: 5.2rem;
    margin-bottom: 3.2rem;
}

.btn-header:link, .btn-header:visited {
    display: inline-block;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    background-color: rgb(77, 93, 109, 0.4);
    text-decoration: none;
    padding: 1.6rem 3.2rem;
    border-radius: 9px;
}

.services-container {
    max-width: 90rem;
    margin: 0 auto;
    padding: 9.6rem 0;
}

.header-servicios {
    display: block;
    text-align: center;
    font-size: 5.2rem;
    font-weight: 600;
    border-bottom: 1px solid rgb(68, 68, 68, 0.4);
    padding-bottom: 7rem;
    margin-bottom: 8.9rem;

}

.services {
    display: grid;
    column-gap: 4.9rem;
    row-gap: 0;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-content: center;
}

.services > div {
        transition: transform 0.3s, box-shadow 0.3s;
}

.services > div:hover {
            transform: scale(1.03);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.services-img:hover {
    transform: scale(1.05);
}

.titulo {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    border-left: 0.3px solid rgb(68, 68, 68, 0.4);
    border-right: 0.3px solid rgb(68, 68, 68, 0.4);
    padding-top:  4rem;
    padding-bottom: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-bottom: 0;
    margin-top: 0;
}

.services-img {
    width: 36.7rem;
    height: 24.5rem;
    object-fit: cover;
    margin-bottom: 0;
    padding-bottom: 0;
}

.descripcion {
    text-align: center;
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: 500;
    padding-bottom: 4rem;
    padding-left: 2.8rem;
    padding-right: 2.8rem;
    border-left: 0.3px solid rgb(68, 68, 68, 0.4);
    border-right: 0.3px solid rgb(68, 68, 68, 0.4);
    border-bottom: 0.3px solid rgb(68, 68, 68, 0.4);
    margin-bottom: 3rem;
    margin-top: 0;
}

.final-services-container {
    max-width: 120rem;
    margin: 0 auto;
}

.footer-servicios {
    display: block;
    text-align: center;
    color: #fff;
    font-size: 5.2rem;
    font-weight: 600;
    border-bottom: 1px solid rgb(68, 68, 68, 0.4);
    margin-top: 8.9rem;
    margin-bottom: 0rem;
}

.contact-us {
    max-width: 120rem;
    margin-top: 0;
    margin-bottom: 8rem;
    margin-left: auto;
    margin-right: auto;
    padding: 9.6rem 0;
}

.register {
    display: grid;
    grid-template-columns: 2fr 1fr;
    box-shadow: 0 2.4rem 4.8rem rgb(0, 0, 0, 0.15);
    border-radius: 11px;
    background-image: linear-gradient(to right bottom, #fff, rgb(181, 202, 222));
    overflow: hidden;
}

.heading-contact {
    padding: 4.4rem;
    font-weight: 700;
    margin: 3.2rem;
    font-size: 3.3rem;
    margin-bottom: 4.8rem;
}

.contact-img {
    background-image: url("Images/ContactUs/ContactUs.jpg");
    background-size: cover;
    background-position: center;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3.2rem;
    row-gap: 2.4rem;
    text-align: center;
    justify-content: center;
    padding-bottom: 5.4rem;
}

.contact-form label {
    display: block;
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 1.2rem;

}

.contact-form input, .contact-form select {
    width: 70%;
    padding: 1.2rem;
    font-size: 1.8rem;
    font-family: inherit;
    border: none;
    background-color:  rgb(181, 202, 222, 0.4);
    border-radius: 9px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.contact-form input::placeholder {
    text-align: center;
}

.contact-form select {
    text-align: center;
    color: #444;
}

.btn-container1 {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
}

.btn-register {
    width: 30%;
    margin-top: 0;
    margin-bottom: 5.3rem;
    margin-left: auto;
    margin-right: auto;
    font-family: inherit;
    font-weight: 500;
    background-color:  rgb(181, 202, 222, 0.4);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 1.6rem;
    border-radius: 9px;
    border: none;
    cursor: pointer;
    text-align: center;
}

.float {
    position: fixed;
    width: 6.0rem;
    height: 6.0rem;
    bottom: 4.0rem;
    right: 4.0rem;
    background-color: #25d366;
    color: #fff;
    border-radius: 5.0rem;
    text-align: center;
    font-size: 3.0rem;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.my-float {
    margin-top: 1.6rem;
}

.footer-line {
    border-bottom: 1px solid rgb(68, 68, 68, 0.4);
    margin-bottom: 2.6rem;
}

.footer {
    position: relative;
}

.copyright {
    font-size: 1.8rem;
    line-height: 1.6;
    color: #000;
    margin-top: auto;
    margin-bottom: 3.4rem;
    margin-left: 5.4rem;
    padding-top: 1rem;
}
  
  .footer-nav {
   display: flex;
   justify-content: space-between;
   padding-top: auto;
   margin-right: 17rem;
}

.nav-list-3 {
    display: flex;
    align-items: center;
    gap: 3.6rem;
    list-style: none;
}

.social-icon {
    height: 3.2rem;
    width: 3.2rem;
  }  

.social-icon-youtube{
    height: 4.4rem;
    width: 4.4rem;
  }  

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: #767676;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #555;
}

/* Media Queries*/

@media (max-width: 102em) {

    .services-img {
        width: 29.7rem;
        height: 17.5rem;
        object-fit: cover;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .titulo {
        font-size: 1.9rem;
    }

    .descripcion {
        font-size: 1.7rem;
    }

    .nav-list-3 {
        display: flex;
        align-items: center;
        gap: 3.6rem;
        list-style: none;
    }
}

@media (max-width: 84em) {

    .header-container{
        max-width: 80rem;
    }

    .container {
        max-width: 80rem;
    }

    .header-h1-1 {
        font-size: 2.7rem;
        margin-bottom: .9rem;
        font-weight: 600;
    }
    
    .header-h1-2 {
        font-size: 3.9rem;
        margin-bottom: 3.2rem;
        font-weight: 600;
    }

    .header-servicios {
        font-size: 5.2rem;
        font-weight: 600;
        max-width: 60rem;
        margin-bottom: 8.9rem;
        margin-left: auto;
        margin-right: auto;
    }

    .services-img {
        width: 19.7rem;
        height: 7.5rem;
        object-fit: cover;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .titulo {
        font-size: 1.1rem;
    }

    .descripcion {
        font-size: .9rem;
    }

    .final-services-container {
        max-width: 60rem;
    }

    .contact-us {
        max-width: 80rem;
    }

    .heading-contact {
        font-size: 2rem;
        text-align: center;
    }

    .btn-register {
        margin-left: 18rem;
    }

    .footer-nav {
        margin-right: 14rem;
    }

    .nav-list-3 {
        display: flex;
        align-items: center;
        gap: 3.6rem;
        list-style: none;
    }

    .contact-form input, .contact-form select {
        font-size: 1.5rem;
    }

    .copyright {
        font-size: 1.5rem;
        margin-left: 3.4rem;
    }

}

@media (max-width: 59em) {

    .header-container{
        max-width: 35rem;
    }

    .container {
        max-width: 45rem;
    }

    .nav-list {
        gap: 2.6rem;
    }

    .nav-link:link, .nav-link:visited {
        font-weight: 600;
        font-size: 1.7rem;
    }

    .header-h1-1 {
        font-size: 2rem;
        margin-bottom: .9rem;
        font-weight: 600;
    }
    
    .header-h1-2 {
        font-size: 3.4rem;
        margin-bottom: 3.2rem;
        font-weight: 600;
    }

    .btn-header:link, .btn-header:visited {
        font-size: 1.5rem;
        font-weight: 500;
        padding: 1.1rem 2.7rem;
    }

    .services-container {
        max-width: 45rem;
        margin: 0 auto;
        padding: 9.6rem 0;
    }

    .header-servicios {
        font-size: 5.2rem;
        font-weight: 600;
        max-width: 50rem;
        margin-bottom: 8.9rem;
        margin-left: auto;
        margin-right: auto;
    }

    .services {
        column-gap: 1.9rem;
        row-gap: 0;
        grid-template-columns: 23.7rem 23.7rem;
    }

    .services-img {
        max-width: 23.7rem;
        height: auto;
        object-fit: cover;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .titulo {
        font-size: 1.7rem;
    }

    .services-img {
        width: 24.7rem;
        height: 12.5rem;
    }

    .descripcion {
        font-size: 1.3rem;
    }

    .final-services-container {
        max-width: 45rem;
    }

    .contact-us {
        max-width: 55rem;
    }

    .heading-contact {
        font-size: 1.7rem;
        text-align: center;
    }

    .btn-register {
        margin-left: 12.5rem;
    }

    .footer-nav {
        display: inline-block;
        margin-right: 17rem;
     }

    .making-flex { 
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
        justify-content: center;
    }

    .nav-list-2 {
        max-width: 20rem;
        list-style: none;
        margin-left: 3.4rem;
        padding: 0;
    }

    .contact-form input, .contact-form select {
        font-size: 1rem;
    }

    .copyright {
        font-size: 1.7rem;
        margin-left: 3.4rem;
    }

}

@media (max-width: 39em) {

    .container {
        max-width: 40rem;
    }

    header {
        overflow-x: hidden;
    }

    .header-container{
        max-width: 40rem;
        overflow-x: hidden;
    }

    .main-nav {
        background-color: rgba(255, 255, 255, 1);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        transform: translateX(100%);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease-out;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        z-index: 98;
    }

    .nav-open .main-nav {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 4.8rem;

    }

    .opcion-inicio {
        display: none;
    }

    .nav-link:link, .nav-link:visited {
        color: #000000;
    }


    .mobile-menu {
        display: block;
    }
    
    .nav-open .open[name="menu-outline"] {
        display: none;
    }
    
    .nav-open .close[name="closed-outline"] {
        display: block;
        position: absolute;
        z-index: 99;
    }

    .nav-list {
        gap: 2.6rem;
    }

    .nav-link:link, .nav-link:visited {
        font-weight: 600;
        font-size: 1.7rem;
    }

    .header-h1-1 {
        font-size: 1.7rem;
        margin-bottom: 1.2rem;
        font-weight: 600;
    }
    
    .header-h1-2 {
        font-size: 3.1rem;
        margin-bottom: 3.2rem;
        font-weight: 600;
    }

    .btn-header:link, .btn-header:visited {
        font-size: 1.5rem;
        font-weight: 500;
        padding: 1.1rem 2.7rem;
    }

    .services-container {
        max-width: 45rem;
        margin: 0 auto;
        padding: 9.6rem 0;
    }

    .header-servicios {
        font-size: 5.2rem;
        font-weight: 600;
        max-width: 30rem;
        margin-bottom: 8.9rem;
        margin-left: auto;
        margin-right: auto;
    }

    .services {
        column-gap: 4.9rem;
        row-gap: 0;
        grid-template-columns: 23.7rem 23.7rem;
    }

    .services-img {
        max-width: 23.7rem;
        height: auto;
        object-fit: cover;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .titulo {
        font-size: 1.7rem;
    }

    .services-img {
        width: 24.7rem;
        height: 12.5rem;
    }

    .descripcion {
        font-size: 1.3rem;
    }

    .final-services-container {
        max-width: 30rem;
    }

    .contact-us {
        max-width: 45rem;
    }

    .register {
        display: grid;
        grid-template-columns: 1fr;
        box-shadow: 0 2.4rem 4.8rem rgb(0, 0, 0, 0.15);
        border-radius: 11px;
        background-image: linear-gradient(to right bottom, #fff, rgb(181, 202, 222));
        overflow: hidden;
    }

    .contact-img {
        height: 32rem;
        grid-row: 1;
    }

    .heading-contact {
        font-size: 1.7rem;
        text-align: center;
        margin-bottom: 1.8rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .contact-form label {
        display: block;
        font-size: 1.4rem;
        font-weight: 500;
        margin-bottom: 1.2rem;
    
    }

    .btn-register {
        margin-left: 16rem;
    }

    .footer-nav {
        display: inline-block;
        margin-right: 17rem;
     }

    .making-flex { 
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
        justify-content: center;
    }

    .nav-list-2 {
        max-width: 20rem;
        list-style: none;
        margin-left: 3.4rem;
        padding: 0;
    }

    .contact-form input, .contact-form select {
        font-size: 1rem;
    }

    .copyright {
        font-size: 1.5rem;
        margin-left: 3.4rem;
    }

    .float {
        position: fixed;
        width: 6.0rem;
        height: 6.0rem;
        bottom: 10rem;
        right: 3rem;
        border-radius: 5.0rem;
        text-align: center;
        font-size: 3.0rem;
        box-shadow: 2px 2px 3px #999;
        z-index: 100;
    }

}

@media (max-width: 33.8rem) {

    .container {
        max-width: 30rem;
    }

    header {
        overflow-x: hidden;
    }

    .header-container{
        max-width: 30rem;
        overflow-x: hidden;
    }

    .main-nav {
        background-color: rgba(255, 255, 255, 0.97);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        transform: translateX(100%);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease-out;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        z-index: 98;
    }

    .nav-open .main-nav {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 4.8rem;

    }

    .opcion-inicio {
        display: none;
    }

    .nav-link:link, .nav-link:visited {
        color: #000;
    }


    .mobile-menu {
        display: block;
    }
    
    .nav-open .open[name="menu-outline"] {
        display: none;
    }
    
    .nav-open .close[name="closed-outline"] {
        display: block;
        position: absolute;
        z-index: 99;
    }

    .nav-list {
        gap: 2.6rem;
    }

    .nav-link:link, .nav-link:visited {
        font-weight: 600;
        font-size: 1.7rem;
    }

    .header-h1-1 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        font-weight: 600;
    }
    
    .header-h1-2 {
        font-size: 2.4rem;
        margin-bottom: 3.2rem;
        font-weight: 600;
    }

    .btn-header:link, .btn-header:visited {
        font-size: 1.5rem;
        font-weight: 500;
        padding: 1.1rem 2.7rem;
    }

    .services-container {
        max-width: 30rem;
        margin: 0 auto;
        padding: 9.6rem 0;
    }

    .header-servicios {
        font-size: 5.2rem;
        font-weight: 600;
        max-width: 30rem;
        margin-bottom: 8.9rem;
        margin-left: auto;
        margin-right: auto;
    }

    .services {
        column-gap: 4.9rem;
        row-gap: 0;
        grid-template-columns: 23.7rem;
    }

    .services-img {
        max-width: 23.7rem;
        height: auto;
        object-fit: cover;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .titulo {
        font-size: 1.7rem;
    }

    .services-img {
        width: 24.7rem;
        height: 12.5rem;
    }

    .descripcion {
        font-size: 1.3rem;
    }

    .final-services-container {
        max-width: 30rem;
    }

    .contact-us {
        max-width: 35rem;
    }

    .heading-contact {
        font-size: 1.7rem;
        text-align: center;
        margin-bottom: 1rem;
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }

    .register {
        display: grid;
        grid-template-columns: 1fr;
        box-shadow: 0 2.4rem 4.8rem rgb(0, 0, 0, 0.15);
        border-radius: 11px;
        background-image: linear-gradient(to right bottom, #fff, rgb(181, 202, 222));
        overflow: hidden;
    }

    .btn-register {
        margin-right: 15.5rem;
    }

    .contact-img {
        height: 32rem;
        grid-row: 1;
    }

    .contact-form label {
        display: block;
        font-size: 0.9rem;
        font-weight: 500;
        margin-bottom: 1.2rem;
    
    }

    .footer-nav {
        display: inline-block;
        margin-right: 17rem;
     }

    .making-flex { 
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
        justify-content: center;
    }

    .nav-list-2 {
        max-width: 20rem;
        list-style: none;
        margin-left: 3.4rem;
        padding: 0;
    }

    .contact-form input, .contact-form select {
        font-size: 0.7rem;
    }

    .copyright {
        font-size: 0.9rem;
        margin-left: 3.4rem;
    }

    .float {
        position: fixed;
        width: 6.0rem;
        height: 6.0rem;
        bottom: 10rem;
        right: 1.5rem;
        border-radius: 5.0rem;
        text-align: center;
        font-size: 3.0rem;
        box-shadow: 2px 2px 3px #999;
        z-index: 100;
    }

}