/* Header css */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo-container img{
    width: 180px;
    
}

.header-container{
    max-width: 1200px;
    height: 70px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header ul{
    list-style: none;
    
}

header ul li{
    display: inline-block;
    position: relative;
}

header ul li a{
    display: block;
    padding: 10px 10px;
    color: #ffffff;
    text-decoration: none;
    text-align: start;
    font-size: 14px;
    font-weight: bold;
}

header ul li ul.dropdown li{
    display: block;
}

header ul li ul.dropdown{
    width: 100%;
    position: absolute;
    z-index: 999;
    display: none;
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
    padding: 0;
    
    
}

header ul li a:hover{
    color: #fee122;
    border-radius: 10px 10px 0px 0px;
    font-size: 14.5px;
    text-shadow: 0 0 20px rgba(255, 251, 0, 0.808); /* Cambiar sombra al pasar el cursor */
    transition: all 0.25s;
}

header ul li:hover ul.dropdown{
    display: block;
    
}

.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    
}

.sidebar li{
    width: 100%;
}

.sidebar a{
    width: 100%;
}

.menu-button{
    display:none;
    
}

@media(max-width: 1000px){
    .hideOnMobile{
        display: none;
    }

    .menu-button{
        display: block;
    }

    header ul li ul.dropdown{
        width: 100%;
        
        z-index: 999;
        display: none;
        position: static; /* Changed from absolute to static */
        
    }
}


@media(max-width: 400px){
    .sidebar{
        width: 100%;
    }
}








/* Clase para ocultar el header */
.header-hidden {
    top: -100px; /* Mueve el header hacia arriba fuera de la vista */
    transition: top 0.3s ease-in-out; /* Transición suave para top */
}

/* Clase para el fondo transparente del header */
.header-transparent {
    background-color: rgba(13, 15, 20, 0.8); /* Fondo semi-transparente */
    transition: top 0.3s ease-in-out, background-color 0.3s ease-in-out; /* Transición suave para top y background-color */
    top: 0;
}

/* Clase para mostrar el header con fondo */
.header-visible {
    
    transition: top 0.3s ease-in-out, background-color 0.3s ease-in-out; /* Transición suave para top y background-color */
    top: 0;
}

/* HEADER FINAL */

























/* SECTION FOOTER */

.resources-section{
    background-color: #121415;
    font-family: "Montserrat", sans-serif;
}

.resources-container h1{
    font-size: 15px;
    color: white;
}

.resources-container{
    display: flex;
    justify-content: center;
    align-items: start;
    max-width: 1200px;
    margin: auto;
    padding-top: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.219);
    
}

.resources, .legal, .socials, .logo{
    width: 300px;
}

.resources-container ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    padding: 0;
    margin: 0;
}

.resources-container a{
    text-decoration: none;
    color: rgb(194, 194, 194);
    font-size: 12px;
}


.resources, .legal, .socials, .logo{
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img{
    margin-top: 10px;
    width: 150px;
    
    
}


.socials{
    display: flex;
    flex-direction: column;
}

.socials h1{
    margin-bottom: 5px;
}

#discordbanner{
    border-radius: 10px;
    width: 250px;
    
}

footer{
    color: rgb(194, 194, 194);
    background-color: #121415;
}

.footerdemrda{
    max-width: 1200px;
    margin: auto;
    text-align: center;
    padding: 10px;
}

/* Footer */

@media(max-width: 1000px){
    .resources-container{
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .resources, .legal, .socials, .logo{
        display: flex;
        justify-content: start;
        align-items: start;
    }
    .resources, .legal, .socials, .logo{
        width: 150px;
    }

    .socials{
        align-items: center;
    }
}


/* BOTON PARA SUBIR */

#btnSubir {
    display: none; /* Ocultar el botón inicialmente */
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #fee122;
    color: #000000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.3s ease;
  }
  
  #btnSubir:hover {
    background-color: rgb(231, 202, 15);
    box-shadow: 0 0 20px rgba(255, 251, 0, 0.808); /* Cambiar sombra al pasar el cursor */
  }

  /* BOTON PARA SUBIR */