@font-face {
    font-family: "ClashDisplay-Bold";
    src: url("../font/ClashDisplay-Bold.otf") format("truetype");
    font-style: normal;
    font-weight: bold;
}

@font-face {
    font-family: "ClashDisplay-Light";
    src: url("../font/ClashDisplay-Light.otf") format("truetype");
    font-style: normal;
    font-weight: light;
}

/* Menú de navegación */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* El menú ocupará todo el ancho de la pantalla */
    background-color: black;
    padding: 10px 0;
    /* Espaciado superior e inferior */
    z-index: 10;
    justify-content: space-between;
}

/* Lista de elementos del menú */
nav ul {
    display: flex;
    /* Usamos Flexbox para distribuir los elementos */
    justify-content: space-evenly;
    /* Distribuir los elementos con la misma separación */
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* Estilo de cada elemento del menú */
nav ul li {
    margin: 0;
}

/* Estilo de los enlaces del menú */
nav ul li a {
    color: white;
    font-family: "ClashDisplay-Bold";
    font-size: 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px 40px;
    /* Espaciado interno */
}

/* Estilo cuando el enlace es hover */
nav ul li a:hover {
    color: #ff1cdb;
}

/* Estilo del icono hamburguesa */
.hamburger {
    display: none;
    /* Inicialmente oculto en pantallas grandes */
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    margin-left: auto;
}

.hamburger div {
    background-color: white;
    height: 3px;
    width: 100%;
}

/* Menú en pantallas móviles */
@media only screen and (max-width: 768px) {
    nav ul {
        display: none;
        /* Ocultamos el menú de enlaces por defecto */
        flex-direction: column;
        /* Los enlaces se apilan verticalmente */
        width: 100%;
        background-color: black;
        position: absolute;
        left: 0;
        padding: 10px 0;
    }

    nav ul li {
        text-align: center;
        margin: 20px 0;
    }

    /* Mostramos el icono de hamburguesa en pantallas pequeñas */
    .hamburger {
        display: flex;
        /* Aparece en móviles */
        padding-right: 5%;
    }

    nav.active ul {
        display: flex;
        /* Cuando el menú está activo, se muestra */
    }

    nav.active ul li a {
        padding: 10px;
        /* Un poco más de espaciado en el menú móvil */
    }
}

/* puntero */
.circle {
    position: fixed;
    /* Cambiado a fixed para que siempre se quede en la pantalla */
    width: 15px;
    height: 15px;
    background: #00fff6;
    border-radius: 50%;
    z-index: 1000;
    pointer-events: none;
    /* Esto asegura que el círculo no interfiera con otros elementos */
    transform: translate(-50%, -50%);
    /* Para centrar el círculo en el cursor */
}

*

/* WEB */
#header {
    background-image: url(../IMG/header.jpg);
    background-size: cover;
    align-content: center;
    text-align: center;
    height: 100vh;
    background-repeat: no-repeat;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    background-color: black;
    cursor: none;
}

#header-padre {
    display: flex;
    flex-wrap: nowrap;
    height: 100vh;
    align-items: center;
}

.rosa {
    color: #ff1cdb;
}

.moco {
    color: #29ff65;
}

#frase {
    font-size: 5rem;
    line-height: 4rem;
}

#padding-top10 {
    padding-top: 10%;
}

#text-header {
    margin-left: 5%;
    margin-right: 5%;
    z-index: 2;
}

h1 {
    font-family: "ClashDisplay-Bold";
    font-size: 10em;
    text-transform: uppercase;
    line-height: 70%;
    margin: 0 auto;
}

h2 {
    font-family: "ClashDisplay-Bold";
    font-size: 5em;
    text-transform: uppercase;
    line-height: 70%;
    margin: 0 auto;
    color: white;
}

h3 {
    font-family: "ClashDisplay-Bold";
    font-size: 2em;
    text-transform: uppercase;
    margin: 0 auto;
    color: aliceblue;
}

#galeria {
    display: grid;
    /*grid-template-columns: 1fr 1fr 1fr;*/
    grid-template-areas:
        "a a b b c c"
        "a a b b d d"
        "e e e g g h"
        "e e e g g i"
        "j j j l l l"
        "j j j l l l"
        "f f f l l l"
        "k k k l l l";
    height: 100%;
    padding-top: 2em;
    overflow: hidden;
    justify-content: space-around;
}

.FMTerrassa {
    background-image: url(../IMG/FM-terrassa/carrer%20posters.png);
    background-size: cover;
    background-position: center center;
    grid-area: a;
}

.DaftPunk {
    background-image: url(../IMG/coverDaftPunk.png);
    background-size: cover;
    background-position: center center;
    grid-area: e;
}

.MOOD {
    background-image: url(../IMG/MOOD.gif);
    background-size: cover;
    background-position: center center;
    grid-area: b;
}

.tgn {
    background-image: url(../IMG/tgn.gif);
    background-size: cover;
    background-position: center center;
    grid-area: h;
}

.caption {
    opacity: 0;
    background: rgba(0, 0, 0, 0.8);
    height: 100%;
    width: 100%;
    transition: all 0.5s;
    text-decoration: none;
}

.textos {
    padding: 15%;
}

.container:hover .caption {
    opacity: 1;
}

p {
    font-family: "ClashDisplay-light";
    color: white;
    font-size: 2rem;
    margin-left: 2%;
    line-height: 2.5rem;
}

footer {
    font-size: 85%;
    padding: 2%;
    text-align: center;
    align-items: center;
    background-color: black;
}

h4 {
    font-family: "ClashDisplay-light";
    color: white;
    font-size: 1rem;
    margin-left: 2%;
}

a {
    text-decoration: none;
}

.titulos {
    margin-left: 5%;
}

#info {
    height: 100%;
    align-content: center;
    align-items: center;
    margin-left: 2%;
    margin-right: 2%;
    margin-bottom: 10%;
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    #galeria {
        margin: 0;
    }
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 768px) {
    .circle {
        opacity: 0;
    }

    p {
        font-size: 1.5rem;
        line-height: 100%;
    }
    #text-margin {
        margin: 0;
        margin-top: 20%;
    }
    #text-header {
        order: 2;
        margin: 0;
        transform: rotate(-90deg);
    }

    h1 {
        font-size: 3em;
        margin: 0;
        color: white;
    }

    h2 {
        font-size: 2.5em;
    }

    #galeria {

        grid-template-areas:
            "a a"
            "b b"
            "c c"
            "d d"
            "e e"
            "g g"
            "h h"
            "i i"
            "j j"
            "l l"
            "f f"
            "k k";
        
          /*
          grid-template-areas:
            "a b"
            "a c"
            "d d"
            "e e"
            "g g"
            "h i"
            "j j"
            "l l";
      
      */
    }

    .titulos {
        margin-left: 1%;
    }

    #info {
        width: 80%;
    }

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

.fever {
    background-image: url(../IMG/fever.gif);
    background-size: 200% cover;
    background-position: center center;
    background-repeat: no-repeat;
    grid-area: c;
}

.titproyecto {
    padding-top: 20%;
}

/*    galeria fever */
.wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2%;
    grid-auto-rows: minmax(100px, auto);
    max-width: 100%;
    margin: 0 auto;
}

.wrapper > div {
    padding: 1em;
    color: #d9480f;
}

.wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.one {
    grid-column: 1 / -1;
    /* Ocupa el 100% del ancho */
}

.two {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    /* Dos filas para dos imágenes */
    gap: 2%;
    /* Espacio entre las imágenes de la columna */
}

.two img {
    margin-bottom: 2%;
    /* Espacio inferior para la primera imagen */
}

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

/*Galeria MOOD */

.image-gallery-mood {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:;
}

.image-gallery-mood img {
    width: 100%;
    max-width: 100%;
    /* Asegura que las imágenes no excedan el ancho del contenedor */
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Sombra sutil para resaltar las imágenes */
}

/*GAleria FM */
.image-gallery-fmterrassa {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 20px;
    /* Espacio entre las imágenes */
    max-width: 100%;
    margin: 0 auto;
}

.image-gallery-fmterrassa img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Sombra sutil para resaltar las imágenes */
}

.image-gallery-fmterrassa img:nth-child(1) {
    grid-column: 1 / 4;
    grid-row: 1;
}

.image-gallery-fmterrassa img:nth-child(2) {
    grid-column: 4 / 7;
    grid-row: 1;
}

.image-gallery-fmterrassa img:nth-child(3) {
    grid-column: 1 / 3;
    grid-row: 2;
}

.image-gallery-fmterrassa img:nth-child(4) {
    grid-column: 3 / 5;
    grid-row: 2;
}

.image-gallery-fmterrassa img:nth-child(5) {
    grid-column: 5 / 7;
    grid-row: 2;
}

.image-gallery-fmterrassa img:nth-child(6) {
    grid-column: 1 / 7;
    grid-row: 3;
}

/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
    .image-gallery-fmterrassa {
        grid-template-columns: 1fr;
        /* Una sola columna en móviles */
        grid-template-rows: auto;
        /* Ajuste automático de filas */
    }

    .image-gallery-fmterrassa img:nth-child(1),
    .image-gallery-fmterrassa img:nth-child(2),
    .image-gallery-fmterrassa img:nth-child(3),
    .image-gallery-fmterrassa img:nth-child(4),
    .image-gallery-fmterrassa img:nth-child(5),
    .image-gallery-fmterrassa img:nth-child(6) {
        grid-column: 1 / -1;
        /* Cada imagen ocupa una fila completa */
        width: 100%;
        /* Asegura que las imágenes ocupen el 100% del ancho */
    }
}

.subtituloproy {
    padding-left: 1%;
    padding-right: 5%;
}

.daft-punk-button {
    background-color: #ff1cdb;
    /* Color rosa */
    color: white;
    border: none;
    padding: 15px 30px;
    font-family: "ClashDisplay-Bold";
    font-size: 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    /* Transición suave para el efecto hover */
}

.daft-punk-button:hover {
    background-color: #ff1493;
    /* Color rosa más oscuro al hacer hover */
}

.farmaforum {
    background-image: url(../IMG/FarmaForum/cover.jpeg);
    background-size: cover;
    background-position: center center;
    grid-area: d;
}

.cartas {
    background-image: url(../IMG/eltarot/caja+cartadetras.jpg);
    background-size: cover;
    background-position: center center;
    grid-area: j;
}

.aseptic {
    background-image: url(../IMG/aseptic/AA-LAST-CALL.gif);
    background-size: cover;
    background-position: center center;
    grid-area: g;
}

.comser {
    background-image: url(../IMG/COMSER/FOLLETOS_WL-MAD.jpg);
    background-size: cover;
    background-position: center center;
    grid-area: i;
}

.impulsa360 {
    background-image: url(../IMG/aceite.jpg);
    background-size: cover;
    background-position: center center;
    grid-area: f;
}

h1 {
}

#sobre-mi {
    margin-top: 15%;
}

#text-margin {
    margin-left: 5%;
    margin-right: 5%;
    z-index: 2;
}
#header-padre-sbmi {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

@media only screen and (max-width: 768px) {
    #header-padre-sbmi {
        flex-direction: column;
        height: auto; /* Para que se ajuste a la altura del contenido */
        padding: 10%; /* Para evitar que el contenido se vea muy comprimido */
    }

    #text-margin {
        margin: 5%; /* Ajustamos los márgenes para más espacio en móviles */
        padding: 5%;
    }

    p {
        font-size: 1.2rem; /* Ajustamos el tamaño del texto */
        line-height: 1.5; /* Aumentamos el espaciado entre líneas */
        margin-bottom: 10px; /* Espaciado entre párrafos */
    }
}


.aceite {
        background-image: url(../IMG/IMPULSA360/fuera.jpg);
    background-size: cover;
    background-position: center center;
    grid-area: l;
}
