/*=================== ALL HEADER ===================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    min-height: 100vh;
    background-image:url()  no-repeat;
    background-size: cover;
    background-position: center;
}
img {
    max-width: 100%;  
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}
.header::before { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .1);
    backdrop-filter: blur(40px);
    z-index: -1;
}
.header::after { 
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
    transition: .5s;
}
.header:hover::after {
    left: 100%;
}

.logo-img {
    height: 100px;
    width: 200px;
}

.navbar a {
    font-size: 1.15rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 2.5rem;
}

#check {
    display: none;
}

.icons {
    font-size: 2.8rem;
    right: 5%;
    color: #fff;
    cursor: pointer;
    display: none;
}


@media (max-width: 992px) {
    .header{
        padding: 1.3rem 5%;
    }
}

@media (max-width: 768px) {
    .icons{
        display: inline-flex;
    }

    #check:checked~.icons #menu-icon {
        display: none;
    }
    
    .icons #close-icon {
        display: none;
    }

        #check:checked~.icons #close-icon {
        display: block;
        }

    .navbar {
        position: absolute ;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(0, 0, 0, .1);
        backdrop-filter: blur(40px);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
        transition: .3s ease;
        overflow: hidden;
    }
    
    #check:checked~.navbar {
    height: 17.7rem;
    }

    .navbar a {
        display: block;
        font-size: 1.1rem;
        margin: 1.5rem 0;
        text-align: center;
        transform: translateY(-50px);
        transition: .3s ease;
    }
    
    #check:checked~.navbar a {
        transform: translateY(0);
        opacity: 1;
        transition-delay: calc(.15s * var(--i));
        }
}
/*=================== SERVICIOS ========================*/
.content {
    text-align: center;
}
.content h1{
    font-size: 160px;
    color: #fff;
    font-weight: 600;
    transition: 0.5s;
}
.content h1:hover{
    -webkit-text-stroke: 2px #fff;
    color: transparent;
}
.content p.eslogan{
    font-size: 25px;
    color: #fff;
    font-weight: 600;
    transition: 0.5s;
}
.content p.eslogan:hover{
    -webkit-text-stroke: 2px #fff;
    color: transparent;
}

.hero {
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(12,3,51,0.3s),rgba(12.3.51.0.3s));
    position: relative;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.back-video{
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;

} 

@media (min-aspect-ratio: 16/9){
    .back-video{
        width: 100%;
        height: auto;
    }
}
@media (max-aspect-ratio: 16/9){
    .back-video{
        width: auto;
        height: 100%;
    }
}
/*=================== ALL STRUCTURE ===================*/

.container1{
    display: flex;
    flex-wrap: wrap;
}
.card{
    width: 400px;
    aspect-ratio: 1 / 0.7;
    height: 500px;
    margin: 30px;
    box-shadow: 5px 5px 20px black;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.card .img-box img {
    max-height: 500px ; 
    max-width: 400px;
    height: 100%;
    width: 100%;
    object-fit: fill;
    transition: 0.5s ease-in-out;
    position: absolute;
    border-image: fill 0 linear-gradient(#0003, #000);
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid white;
    border-radius: inherit;
    opacity: 0;
    transition: 0.4s ease-in-out;
}

.card:hover img {
    filter: grayscale(1) brightness(0.4);
    transform:scale(1.1) rotate(-3deg);
}

.card:hover::after {
    opacity: 1;
    inset: 20px;
}

.card:hover .intro h2 {
    scale: 1;
    opacity: 1;
}

.card:hover .intro p {
    opacity: 1;
    transform: translateY(0);
}

.intro{
    height: 70px;
    width: 350px;
    padding: 6px;
    box-sizing: border-box;
    position: absolute;
    bottom: 10px;
    background: rgba(0, 0, 0, .1);
    color: white;
    transition: .5s;
}

h2{
    margin: 15px;
    font-size: 40px;
}

p.OD {
    font-size: 20px;
    margin: 20px;
    visibility: hidden;
    opacity: 0;
}

span{
    font-weight: bold;
}

.card:hover{
    cursor: pointer;
}

.card:hover .intro{
    height: 220px;
    bottom: 240px;
    background: black;
}

.card:hover p{
    opacity: 1;
    visibility: visible;
}

/*=================== ALL FOOTER ===================*/
.container {
    height: 100%;
    display: flex;
    flex-direction: row;
    gap: 10px;
    background: noe;
    justify-content: center;
}

.iconst {
    background: #ecf0f3;
    box-shadow: -3px -3px 7px #ffffff, 3px 3px 5px #ceced1;
    height: 55px;
    width: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}

.container a {
    text-decoration: none;
}

.iconst:hover {
    background: #ecf0f3;
    box-shadow: inset -3px -3px 7px #ffffff, inset 3px 3px 5px #ceced1;
}

a.container {
    color: none
}

.facebook {
    color: rgb(15, 15, 206);
    font-size: 25px;
}

.instagram {
    color: rgb(79, 20, 134);
    font-size: 25px;
}

.tiktok {
    color: rgb(14, 11, 11);
}

.pie-pagina{
    width: 100%;
    background-color: #000000;
}

.pie-pagina .grupo-1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display:grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap:50px;
    padding: 45px 0px;
}

.pie-pagina .grupo-1 .box figure{
    height: 200px;
    width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pie-pagina .grupo-1 .box h2{
    color: #fff;
    margin-bottom: 25px;
    font-size: 20px;
}

.pie-pagina .grupo-1 .NOSOTROS h2{
    text-align: center;
    width: 200px;
    color: #b28405;
    margin-bottom: 25px;
    font-size: 20px;
}

.pie-pagina .grupo-1 .NOSOTROS p{
    text-align: center;
    width: 200px;
    color: #fff;
    margin-bottom: 25px;
    font-size: 20px;
}


.pie-pagina .grupo-1 .box figure img{
    width: 300px;
    height: 200px;
}
.pie-pagina .grupo-1 .ubicacion h2{
    margin-bottom: 20px;
    color: #b28405;
}

.pie-pagina .grupo-1 .ubicacion p{
    text-align: center;
    color: #fff;
}

.pie-pagina .grupo-1 .box h2{
    color: #b28405;
    margin-bottom: 25px;
    font-size: 20px;
}

.pie-pagina .grupo-1 .box p{
    color: #efefef;
    margin-bottom: 10px;
}

.pie-pagina .grupo-2{
    background-color: #0a1a2a;
    padding: 15px 10px;
    text-align: center;
    color: #fff;
}
.pie-pagina .grupo-2 small{
    font-size: 15px;
}

@media screen and (max-width:800px){
    .pie-pagina .grupo-1{
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap:30px;
        padding: 35px 0px;
    }
}

.footer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}
/*=============================================================*/
