/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General */
body {
    font-family: Arial, sans-serif;
    padding-top: 100px;
    background-image: url('https://i.imgur.com/vmGas2t.png');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    color: #333;
}
/* Social */
.social {
    margin-top: 100px;
    text-align: center;
    padding: 20px;
    background-image: url('https://cdn.pixabay.com/photo/2015/02/06/01/14/wallpaper-625623_1280.png'); /* Cambia la imagen de fondo */
}

.social-links a {
    margin: 10px;
    margin-top: 30px;
    display: inline-block;
}

.social-links img {
    width: 40px;
    height: 40px;
}

/* nosotros */
.nosotros {
    display: flex;
    margin: 0 0;
    justify-content: space-around;
    background-image: url('https://cdn.pixabay.com/photo/2015/02/06/01/14/wallpaper-625623_1280.png'); 
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    background-size: cover; /* Ajusta la imagen para cubrir toda la sección */
    background-position: center; /* Centra la imagen */
    position: relative;
    z-index: 10;
}


.nosotros-links a {
    margin: 10px;
    margin-top: 30px;
    display: inline-block;
}

.nosotros-links img {
    width: 40px;
    height: 40px;
}
/* Eventos */
.inicio {
    margin-top: 100px;
    text-align: center;
    padding: 0px;
}
.inicio-links a {
    margin: 10px;
    display: inline-block;
}

.inicio-links img {
    width: 40px;
    height: 40px;
}


/* Footer */
footer {
    background-color: rgba(51, 51, 51, 0.304);
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 10;
    
}
.seccion-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-around;

}
/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:#007f2cbe;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.menu-left, .menu-right {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
    flex: 1;
    font-family: 'Press Feeling', sans-serif;
    font-size: 3Rem;
}

.navbar li {
    position: relative;
}

.navbar a {
    color: white;
    text-decoration: none;
    transition: background-color 0.3s, box-shadow 0.3s;
}

/* Logo */
.logo {
    position: center;
    z-index: 1100;
    border-radius: 50%;
    padding: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: 130px;
    transform: translateY(20px);
}



/* Responsive */
@media (max-width: 768px) {
    .logo {
        padding: 1em;

    }
    .menu-left, .menu-right {
        display: none;
    }

    .burger-menu {
        display: flex;
        flex-direction: column;
        gap: 5px;
        z-index: 1200;
    }

    .burger-menu div {
        width: 30px;
        height: 3px;
        background-color: white;
        transition: all 0.3s;
    }

    .navbar.open {
        flex-direction: column;
        justify-content: flex-start;
    }

    .navbar.open .menu-left,
    .navbar.open .menu-right {
        display: flex;
        flex-direction: column;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(51, 51, 51, 0.9);
        align-items: center;
        justify-content: space-evenly;
        animation: slideIn 0.5s ease-out forwards;
    }

    .navbar.open .burger-menu div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar.open .burger-menu div:nth-child(2) {
        opacity: 0;
    }

    .navbar.open .burger-menu div:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

}
.team-title {
    position: absolute;
    justify-content: left;
    text-align: center;
    color: green;
    font-size: 5em;
    font-family: 'Mono Polz', sans-serif;
    z-index: -4;
    margin-top: -100;
    opacity: 0.6;
    background: linear-gradient(#007f2d, black);
    background-clip: text;
    -webkit-text-stroke: 8px transparent;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Animación en responsive */
.navbar.open {
    background-color: rgba(0, 127, 45, 0.8);
    width: 100%;
}
.navbar a {
    position: relative;
    text-decoration: none; /* Para quitar el subrayado predeterminado */
    padding: 5px 3px;
  }
  
  .navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px; /* Ajusta el grosor de la línea */
    background-color: #00ff00;
    transition: width 0.3s ease, left 0.3s ease;
}
  .navbar a:hover::after {
    left: 0;
    width: 100%;
  }
  
  .navbar a:hover {
    background-color: transparent; /* Sin cambio de fondo */
    box-shadow: none; /* Sin sombra */
    border-radius: 0%; /* Sin bordes redondeados */
  }
  
/* Multiple bits */
.navbar a:hover::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: lime;
    border-radius: 50%;
    animation: bitAnimation 1s infinite;
}

@keyframes bitAnimation {
    0% { transform: translate(0, 0); opacity: 0; }
    25% { transform: translate(20px, 10px); opacity: 1; }
    50% { transform: translate(-15px, -20px); opacity: 0.8; }
    75% { transform: translate(10px, -15px); opacity: 0.6; }
    100% { transform: translate(-20px, 15px); opacity: 0; }
}
.navbar.open .menu-left,
.navbar.open .menu-right {
    display: flex;
    flex-direction: column;
    position: fixed;
    width: 100%;
    height: 80vh;
    background-color: rgba(51, 51, 51, 0.9);
    justify-content: space-evenly;
    animation: slideIn 0.5s ease-out forwards;
}

/* Menú de la izquierda */
.navbar.open .menu-left {
    left: 0;
    top: 0;
    animation: slideInLeft 0.5s ease-out forwards; /* entrada desde la izquierda */
}

/* Menú de la derecha */
.navbar.open .menu-right {
    right: 0;
    top: calc(80vh - 100%);
    animation: slideInRight 0.5s ease-out forwards; /* entrada desde la derecha */
}

/* Margen */
.menu-left li, .menu-right li {
    margin: 10px 0; 
    width: 100%; 
    text-align: center;
}

/* Animaciones */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%); 
    }
    to {
        transform: translateX(0); 
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%); 
    }
    to {
        transform: translateX(0); 
    }
}

.burger-menu {
    position: fixed;
    top: 10px;
    left: 10px;
}


.navbar.open .menu-left {
    left: 0;
    top: 0; 
    height: 50vh; 
}

.navbar.open .menu-right {
    right: 0;
    top: 50vh;
    height: 50vh;
}
.navbar.open .logo, .dropdown-content {
        display: none;
}

.calendario-container {
    margin-top: 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    z-index: 4;
    text-align: center;
	margin-bottom: 1em;

}
.calendario-contenido {
    margin-top: 160px;
    justify-content: space-around;
}
.torneos-contenido {
    margin-top: 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    z-index: -8;
    text-align: center;
    background-color: rgba(51, 51, 51, 0.304);
	
}
.acerca-de {
    background-color:antiquewhite;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2em;
    border-radius: 10px;
	width: 70%;
	margin-left: 10%;
	margin-right: 10%;
}

.flex-container {
		margin-top: 10%;
		justify-content: center;
		align-items: center;
}
.seccion-1 {
    background-color:#4CAF50;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2em;
    justify-content: space-around;
}
.seccion-final {
    padding: 10px 0;

}
