body {
    background-color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: black;
    margin: 0;
}


/*Barra de navegacion*/
@media (max-width: 600px) {
    nav {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 0.8rem;
        text-align: center;
        padding: 0px;
        margin: 0px;
    }

    nav ul {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 0px;
    }

    nav li {
        padding: 0px;
    }

    nav img {
        width: 40px;
        height: fit-content;
    }

    nav a {
        padding: 0px;
    }
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #262626;
    padding: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    font-size: larger;
    font-weight: bolder;
}

nav a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    padding: 20px;
}

nav a:hover {
    transform: scale(1rem);
    transition: 0.2s;
    color: rgb(168, 71, 71);
}


/*Headers*/
header {
    min-height: 90vh;
    height: max-content;
    background-color: #1e1e1e;
    position: relative;
}

header.index {
    background-image: url(imagenes/ai-generated-8929924_1280.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

header.events {
    display: none;
}

header.merch {
    background-image: url(imagenes/music-4200349_1280.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

header.about {
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background-color: rgb(5, 8, 18);
    padding: 20px;
    height: fit-content;
}

header.about img {
    display: block;
    max-width: 50vw;
    min-width: 400px;
    border-radius: 10px;
    margin: 20px;
    background-size: contain;
}

header.about p {
    min-width: 200px;
    max-width: 500px;
}

@media(max-width:600px) {
    header {
        height: 50vh;
    }

    header video {
        height: 50vh;
        object-fit: cover;
    }

    header.about {
        padding: 0;
    }

    header.about p {
        padding: 10px;
    }

    #img-about {
        display: none;
    }
}


/*Mains*/
main {
    padding: 5% 10%;
}

/*Index main*/
main.index section:hover {
    color: black;
    background-color: rgba(255, 255, 255, 0.3);
    background-blend-mode: overlay;
    transition: 0.5s;
}

main.index section p {
    display: none;
}

main.index section.show p {
    display: block;
    transition: 0.5s;
}

.index a {
    text-decoration: none;
}

iframe {
    padding-left: 10vw;
    padding-right: 10vw;
    background-color: #1e1e1e;
    width: 80vw;
    height: 300px;
}

.index .media {
    margin-top: 30px;
    margin-bottom: 100px;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.index .media div {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.index section {
    margin: 20px;
    height: 30vh;
    border: 2px black solid;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.4);
    background-blend-mode: overlay;
    padding: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    font-size: x-large;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.index section.eventos {
    background-image: url(imagenes/pexels-mantas-hesthaven-46458-354304.jpg);
}

.index section.merch {
    background-image: url(imagenes/pexels-alexey-278505875-33106848.jpg);
}

.index section.about {
    background-image: url(imagenes/rock-band-7060689_1280.jpg);
}

@media(max-width: 600px) {
    .index .media {
        grid-template-columns: 1fr;
        height: 80vh;
    }
}

/*Eventos main*/
main.events {
    padding: 20px;
    height: 100vh;
    background-image: url(imagenes/festival-3466251_1280.jpg);
    background-color: #00000083;
    background-blend-mode: darken;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.eventos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.eventos div {
    margin: 50px;
    border-radius: 10px;
    height: 40vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    position: relative;
}

div.evento img {
    height: 300px;
}

.evento button {
    padding: 10px;
    border-radius: 5px;
    position: absolute;
    bottom: 5%;
    left: 40%;
    transform: translate(-30%, -30%);
}

.evento a {
    text-decoration: none;
    color: black;
    font-weight: 700;
    font-size: 1rem;
}

#events-form {
    display: none;
}

#events-form.show {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    border: 1px grey solid;
    height: 70vh;
    max-height: 400px;
    width: 600px;
    transform: translate(-50%, -50%);
    padding: 5%;
    border-radius: 10px;
}

#events-form img {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: #565656;
    padding: 5px;
    border-radius: 5px;
}

#events-form img:hover {
    background-color: rgb(213, 213, 213);
}

#events-form label {
    font-weight: 700;
}

#events-form input {
    border-radius: 5px;
    font-size: 1.2rem;
    margin: 5px;
}

#events-form form {
    font-size: x-large;
}

#events-form button {
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
    font-size: large;
    font-weight: 700;
    position: absolute;
    bottom: 20px;
    left: 40%;
}

@media(max-width: 600px) {
    #events-form.show {
        display: flex;
        flex-direction: column;
        width: 300px;
        height: 90%;
        font-size: small;
        position: fixed;
        transform: translate(-20, -20);
        padding: 20px;
    }

    #events-form button {
        bottom: -10px;
        font-size: small;
        padding: 15px;
        left: 35%;
    }
}

/*Merch main*/
main.merch {
    margin: 0;
    padding: 20px;
}

.articulos-arriba,
.articulos-abajo,
.articulos-acc {
    display: none;
}

.articulos-arriba.show,
.articulos-abajo.show,
.articulos-acc.show {
    display: block;
}

.merch .select-articulos {
    display: flex;
    justify-content: center;
    align-items: center;
}

.merch .select-articulos .articulo {
    margin: 30px;
    min-width: 20vw;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: 1px gray solid;
    border-radius: 20px;
    background-color: whitesmoke;
    position: relative;
}

.merch .select-articulos .articulo:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.merch .select-articulos .articulo img {
    min-width: 20vw;
    max-width: 180px;
    margin: 20px;
}

.merch .select-articulos .articulo p {
    font-size: larger;
    font-weight: 600;
    position: absolute;
    bottom: 5px;
}

.merch section div {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.merch .articulos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 10px;
    min-height: 35vh;
    min-width: 15vw;
}

.merch .articulos .articulo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: fit-content;
    width: 300px;
    margin: 50px;
}

.merch .articulos .articulo img {
    width: inherit;
}

.merch .articulo button {
    font-size: large;
    font-weight: 700;
    padding: 10px;
    border-radius: 10px;
}

.merch section h2 {
    text-align: center;
}

.merch .formulario {
    display: flex;
}

@media (max-width: 600px) {
    .merch .select-articulos {
        flex-direction: column;
    }

    .merch .select-articulos .articulo {
        height: 30vh;
    }

    .merch .select-articulos .articulo img {
        margin: 20px;
    }

    .merch .select-articulos .articulo p {
        bottom: 0%;
    }
}

/*About main*/
.about {
    display: flex;
    padding: 30px;
    padding-bottom: 80px;
}

.about div {
    margin: 20px;
}

main.about {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

main.about img {
    width: 300px;
    height: 300px;
    display: block;
}

main.about img:hover {
    background-color: #262626;
}


/*Footer*/
footer {
    height: 200px;
    background-color: #1e1e1e;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#volver {
    background-color: rgba(0, 0, 0, 0.786);
    padding: 1rem;
    border-radius: 20px;
    position: fixed;
    bottom: 1%;
    left: 1%;
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    z-index: 1000;
}

#github-landing {
    background-color: rgba(0, 0, 0, 0.786);
    width: 50px;
    padding: 1rem;
    border-radius: 20px;
    position: fixed;
    bottom: 1%;
    right: 1%;
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    z-index: 1050;
}