@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --padding-container: 100px 0;
    --color-title: #001A49;
}

body {
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    background-color: rgb(255,	255, 255, 0.9);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);
}

.hero {
    margin: 0 0 100px 0;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #fff;

}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, #0000008c 0%, #0000008c 100%), url('../images/home-6-slider-1.jpeg');
    background-size: cover;
    /*clip-path: polygon(50% 0%, 100% 0, 100% 70%, 68% 100%, 32% 100%, 0 70%, 0 0);*/
    /*clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 95%, 0 80%);*/
    z-index: -1;
}


/* Nav */
.header {
    position: fixed;
    top: 0;
    padding: 5px;
    width: 100%;
    z-index: 999;
    background-color: white; /* Ajusta el color de fondo según sea necesario */
    transition: background-color 0.3s ease; /* Agrega una transición suave para el cambio de color de fondo */
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.nav {
    --padding-container: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav__title {
    font-weight: 300;
    color: black;
}

.nav__link {
    align-items: center;
    margin-left: auto;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 1.5em;
    list-style: none;
}
.btn_detector:hover{
    background-color: #6F2842;
    color: #fff;
    cursor: pointer;
}
.logo__imagen{
    display: grid;
    margin-right: 15px;
    max-width:60px;
    max-height: 60px;
}
.user-menu img {
    cursor: pointer;
}
.nav__items {
    list-style: none;
}
.nav__items2 {
    list-style: none;
    display: none;
}
.nav__items:hover{
    color: #596B5A;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 2px; 
    text-underline-offset: 5px;
    transform: 1.6s;

}
.nav__links {
    color: #6F2842;
    text-decoration: none;
}
.nav__links:hover{
    color: #596B5A;
}

.nav__menu {
    margin-left: auto;
    cursor: pointer;
    display: none;
}

.nav__img {
    display: block;
    width: 30px;
}
.nav__close {
    display: var(--show, none);
}
.nav__menu2 {
    margin-left: auto;
    cursor: pointer;
}
.nav__img2{
    width: 100%;
    height: 100%;
    max-width: 150px;
    max-height: 150px;
    border-radius: 50%; 
    overflow: hidden;
    
}
.sub-menu-email{
    font-size: 1rem;
    text-decoration: none;
    color: #fff;
}
.sub-menu-name{
    font-size: 2rem;
    text-decoration: none;
    color: #fff;
}
.sub-menu-option{
    text-decoration: none;
    color: #fff;
    padding: 20px;
}
.sub-menu-exit{
    text-decoration: none;
    color: #fff;
    margin-top: 15px;
    display: inline-block;
    background-color: transparent;
    justify-self: center;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 32px;
    border-style: solid;
    border-width: 1.4px 1.4px 1.4px 1.4px;
}
.sub-menu-exit:hover{
    color: #fff;
    background-color: #f74465;
    transition: .6s;
}
.sub-menu-objects{
    padding-bottom: 20px;
    text-align: center;
}
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    margin-right: 20px;
    margin-top: 10px;
    right: 0;
    padding: 20px 50px 25px 50px;
    color: #fff;
    text-decoration: none;
    list-style: none;
    justify-content: center;
    background-image: url('../images/marketplace-hero-1.png');
    background-size: cover;
    backdrop-filter: blur(10px);
    z-index: 2000; 
    border-radius: 20px;
    max-width: 470px;
    max-height: 430px;
    min-width: 470px;
    min-height: 430px;
}
.circular-img {
    width: 100%;
    max-width: 60px;
    height: 100%;
    max-height: 60px;
    border-radius: 50%; 
    overflow: hidden;
}

.circular-img img {
    width: 100%;
    height: auto;
    display: block;
}
.nav__photo {
    margin-left: 15px;
    cursor: pointer;
    width: 100%;
    height: 100%;
    max-height: 60px;
    max-width: 60px;
}




.background{
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(180deg, #0000008c 0%, #0000008c 100%), url('../images/magicpattern-grid-pattern-1694197822214.png');;
    background-position: center;
    background-size: cover;
    filter: blur(5px);
}

.home{
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 75%;
    height: 75%;
    margin-top: 35px;
    transform: translate(-50%, -50%);
    background-image: linear-gradient(180deg, #000000B3 0%, #000000B3 100%), url('../images/baner1.png');
    background-position: center;
    background-size: cover;
    border: 1px solid black;
    border-radius: 30px;
    border: none;
    max-height: 527px;
    height: 100%;
}

.content{
    display: grid;
    align-content: center;
    flex-direction: column;
    width: 700px;
    padding: 100px 0;
}
.content a{
    position: relative;
    text-decoration: none;
    color: #fff;
    font-size: 3em;
    font-weight: 700;
    top: -40px;
    left: 80px;
}
.content h2{
    font-size: 3.5em;
    text-align: center;
    color: #fff;
    letter-spacing: 10px;
}
.content h3{
    font-size: 2em;
    text-align: center;
    color: #fff
}
.content .icon{
    margin-top: 20px;
    font-size: 1.5em;
    display: flex;
    justify-content: center;
}
.content .icon i{
    margin-left: 20px;
    color: #fff;
}
.login{
    display: grid;
    width: 453px;
    position: relative;
    padding: 100px 35px;
    backdrop-filter: blur(10px);
    justify-content: center;
    text-align: center;
    border-radius: 30px;
    border: none;
    max-height: 527px;
    height: 100%;
    
}
.checkbox{
    padding: 10px;
    margin-right: 5px;
}
.login h2{
    font-size: 2em;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}
::placeholder{
    color: #fff;
    font-size: 18px;
}
.input{
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.input1{
    width: 100%;
    text-align: center;
}

.login .input i{
    position: relative;
    right: -370px;
    bottom: 27px;
    color: #fff;
}
.check{
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    color: #fff;
}
.check a{
    text-decoration: none;
    color: #fff;
}
.check a:hover{
    text-decoration: underline;
}
.login .button{
    width: 100%;
    height: 40px;
    margin-bottom: 15px;
}
button{
    width: 100%;
    height: 40px;
    background-color:#596B5A;
    border: none;
    outline: none;
    font-size: 20px;
    font-weight: 700px;
    border-radius: 7px;
    color: #fff;
}
button:active{
    font-size: 25px;
}
.login .sing-up a{
    text-decoration: none;
    color: #fff;
    font-weight: 700;
}
.login .sing-up p{
    color: #fff;
}
.sing-up a:hover{
    text-decoration: underline;
}
.usuario{
    padding: 5px;
}
.warnings{
    width: 200px;
    text-align: center;
    margin: auto;
    color: #b06ab3;
    padding-top: 20px;
}

/* Hero container */

.hero__container {
    display: grid;
    justify-content: center;
    align-content: center;
    text-align: center;
    max-width: 800px;
    --padding-container: 0;
    gap: 1em;
    padding-bottom: 100px;
    z-index: 0; /* Asegura que la sección esté por encima del encabezado */
}

/* Media queries */

@media (max-width:1100px){
    .nav__items2{
        display: grid;
        margin-top: -200px;
    }
    .nav__menu2{
        display: none;
    }
    .nav__menu{
        display: block;
    }

    .nav__link--menu{
        position: fixed;
        background-color: #000;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: .7s opacity;
    }

    .nav__link--show{
        --show: block;
        opacity:1 ;
        pointer-events: unset;
    }

    .nav__close{
        position: absolute;
        top: 30px;
        right: 30px;
        width: 30px;
        cursor: pointer;
    }

    .hero__title{
        font-size: 2.5rem;
    }
    .about__main{
        gap: 2em;
    }

    .about__icons:last-of-type{
        grid-column: 1/-1;
    }
} 



@media (max-width:985px){
    .nav__menu{
        display: block;
    }

    .nav__link--menu{
        position: fixed;
        background-color: #000;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: .7s opacity;
    }

    .nav__link--show{
        --show: block;
        opacity:1 ;
        pointer-events: unset;
    }

    .nav__close{
        position: absolute;
        top: 30px;
        right: 30px;
        width: 30px;
        cursor: pointer;
    }

    .hero__title{
        font-size: 2rem;
    }


}

@media (max-width:600px){
    .hero__title{
        font-size: 2rem;
    }
    .nav__title{
        font-size: 1.1rem;
    }
    .hero__paragraph{
        font-size: 1rem;
    }

    .subtitle{
        font-size: 1.8rem;
    }

}