* {
    box-sizing: border-box;
    overflow-x: hidden;
    user-select: none; 
    -webkit-user-select: none; 
    -moz-user-select: none;
    -ms-user-select: none; 
}

body, div, ul, li, a, h1, h2, p {
    margin: 0;
    padding: 0;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding: 0 !important;
}

body {
    height: 100dvh;
    width: 100%;
    --bg-color: #fff;
    --sidebar-color: color-mix(in srgb, #000 25%, #fff);
    --dark-color: #222;
    --fb-color: #003366;
    --wood: #8B5E3C;
    font-family: Montserrat;
    scroll-behavior: smooth;
}

header {
    height: 100%;
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../../IMAGES/Almacén.webp);
    background-size: cover;
    position: relative;
}

nav {
    z-index: 20;
}

.navbar-brand {
    width: 15dvw;
    margin-right: calc(100dvw - 15dvw - 640px);
    margin-left: 5px;
}

.navbar-brand__logo {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.nav-item {
    margin-left: 25px;
    font-size: 1.2rem;
    letter-spacing: .2px;
    position: relative;
}

.nav-item::after {
    content: "";
    height: 3px;
    width: 0;
    background-color: #009688;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: width .5s;
}

.nav-item:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    padding: 0;
}


.hero {
    position: absolute;
    z-index: 10;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    place-content: center;
    color: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

h1 {
    font-size: 4.5rem;
    letter-spacing: 5px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-top: 50px;
}

.hero__description {
    width: 60%;
    font-size: 1.1rem;
    letter-spacing: .8px;
    text-align: center;
    
}

.hero__button {
    width: 200px;
    position: relative;
    padding: 9px 0;
    margin-top: 50px;
    text-align: center;
    border-radius: 25px;
    font-weight: bold;
    outline: 2px solid #009688;
    border: none;
    background-color: transparent;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
}

.hero__button.login {
    display: none;
}

.hero__button:hover {
    outline: none;
}

.hero__button a {
    color: inherit;
    text-decoration: none;
}

.hero__button span {
    background-color: #009688;
    height: 100%;
    width: 0;
    border-radius: 25px;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: width .5s;
}

.hero__button:hover span {
    width: 100%;
}

main {
    width: 100%;
}

main section {
    margin: 80px 0;
    padding: 60px 50px;
    border-radius: 12px;
}

main section p {
    text-align: justify;
}

main section h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
    text-align: center;
    color: #003366; 
}

.about {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.preview {
    background-color: #ecf6fa;
    box-shadow: 0 4px 12px rgba(7, 42, 105, 0.3);
}

.preview__title {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.preview__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.preview__item img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.preview__item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.preview__item p {
    font-size: 1rem;
    color: #333;
}

.aditional-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.manual, .contact {
    background-color: rgba(174, 185, 184, 0.4);
    box-shadow: 0 4px 12px rgba(174, 185, 184, 0.8);
    text-align: center;
}

.contact__info > p, .manual__description {
    text-align: center;
}

.manual__button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    border-radius: 25px;
    background-color: #009688;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: background-color .3s ease;
}

.manual__button:hover {
    background-color: #00796b;
}

.contact {
    margin: 0;
}

.contact__info {
    margin-top: 15px;
    font-size: 1.1rem;
}

.contact__info a {
    color: #009688;
    text-decoration: none;
}

.contact__info a:hover {
    text-decoration: underline;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 0;
}

.logos img {
    width: 15rem;
    height: auto;
}

footer .btn {
    background-color: #009688;
    border: none;
}

footer .btn:hover {
    background-color: #00796b;
}

footer {
    background-color: var(--fb-color);
}

@media  (max-width: 992px) {
    .navbar-nav {
        margin-top: 10px;
    }

    .nav-item {
        font-size: 1.2rem;
        padding: 5px 0;
        padding-left: 25px;
        margin: 0;
    }

    .nav-item:hover {
        filter: drop-shadow(0 0 5px #fff); ;
    }

    .nav-item::after {
        display: none;
    }
    
    .navbar-toggler-icon {
        margin-right: 10px;
        background-color: #fff;
    }
    
    .hero {
        gap: 5dvh;
    }

    h1 {
        font-size: 2.7rem;
    }

    .hero__description {
        width: 80%;
    }

    .preview__grid {
        grid-template-columns: 1fr;
    }
}

@media  (max-width: 606px) {
    .navbar-toggler-icon {
        display: none;
    }
    
    .navbar-brand {
        width: 35dvw;
    }

    .hero {
        gap: 8dvh;
    }

    .hero__button {
        display: none;
    }

    .hero__button.login {
        display: block;
    }

    .hero__description {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
        line-height: 3rem;
    }

    .contact__info p {
        text-align: left;
    }
}
