/* Reset y configuración básica */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Calibr';
    src: url('/Resource/Fonts/CALIBRIL.TTF') format('truetype');
}

body {
    margin: 0;
    padding: 0;
}

/* Header */
.header {
    height: 80px;
    background: rgba(0, 0, 0, 0.7);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
    font-family: 'Calibr', sans-serif;
    font-weight: bold;
}

/* Listas */
ol,
ul {
    list-style: none;
}

/* Navbar */
.navbar {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    margin-right: 2rem;
}

.logo img {
    max-height: 60px;
}

.list_icon {
    color: white;
    cursor: pointer;
}

.ul_links {
    display: flex;
    gap: 1rem;
    transition: all 0.3s;
}

.link {
    font-size: 1rem;
    color: white;
    font-weight: bold;
}

.ul_links li {
    position: relative;
}

.ul_links li::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background-color: #ffffff;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.ul_links li:hover::after {
    width: 100%;
}

/* Media queries */
@media (max-width: 950px) {
    .navbar {
        justify-content: space-between;
    }

    .label_hamburguesa {
        display: block;
    }

    .menu_hamburguesa {
        display: none;
    }

    .ul_links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        height: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        overflow: hidden;
        transition: height 0.3s;
        background: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .menu_hamburguesa:checked+.ul_links {
        height: calc(100vh - 80px);
    }

    .link {
        font-size: 2rem;
    }
}

@media (min-width: 951px) {
    .ul_links {
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        gap: 1rem;
    }

    .label_hamburguesa {
        display: none;
    }

    .menu_hamburguesa {
        display: none;
    }
}