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

body {
    background: #111;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

.inicio {
    height: 100vh;

    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background-image: url("images/palem-principal.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.inicio::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.45);

    z-index: 1;
}

.portada-inicio {
    position: relative;
    z-index: 2;

    width: min(35vw, 520px);
}

.portada-inicio img {
    display: block;
    width: 100%;
    height: auto;
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu a {
    color: white;
    text-decoration: none;

    transition: opacity 0.3s ease;
}

.menu .logo img {
    width: 95px;
    height: auto;
    display: block;
}

.menu a:hover {
    opacity: 0.5;
}

.enlaces {
    display: flex;
    gap: 30px;
}

.musica {
    min-height: 100vh;
    padding: 140px 8% 80px;
    box-sizing: border-box;
}

.musica-contenido {
    width: 100%;
}

.musica-titulo {
    margin-bottom: 45px;
}

.musica-titulo h2 {
    margin: 0;
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 2px;
}

.musica-titulo p {
    margin: 8px 0 0;
    font-size: 25px;
    letter-spacing: 3px;
}

.carrusel-videos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    width: 100%;
}

.videos-contenedor {
    position: relative;
    width: min(850px, 70vw);
    overflow: hidden;
}

.video-slide {
    display: none;
    width: 100%;
}

.video-slide.activo {
    display: block;
}

.video-slide iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

.video-slide h3 {
    margin: 18px 0 0;
    font-size: 25px;
    letter-spacing: 2px;
}

.flecha {
    border: none;
    background: none;
    font-size: 45px;
    cursor: pointer;
    padding: 15px;
    transition: transform 0.2s ease;
    z-index: 10;
}

.flecha:hover {
    transform: scale(1.2);
}

@media (max-width: 800px) {

    .musica {
        padding: 120px 5% 60px;
    }

    .musica-titulo h2 {
        font-size: 38px;
    }

    .carrusel-videos {
        gap: 10px;
    }

    .videos-contenedor {
        width: 80vw;
    }

    .flecha {
        font-size: 30px;
        padding: 5px;
    }

}


.album {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 8vw;

    align-items: center;
}

.album-portada {
    width: 100%;
}

.album-portada img {
    display: block;
    width: 100%;
    height: auto;
}

.album-info {
    max-width: 600px;
}

.etiqueta {
    font-size: 14px;
    letter-spacing: 2px;

    margin-bottom: 40px;
}

.album-info h2 {
    font-size: clamp(55px, 8vw, 120px);

    line-height: 0.85;

    letter-spacing: -5px;

    margin-bottom: 25px;
}

.anio {
    font-size: 18px;
}

.musica-texto {
    width: 100%;
    max-width: 1100px;
}

.etiqueta {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.musica h2 {
    font-size: 10vw;
    line-height: 0.9;
    letter-spacing: -5px;
    margin-bottom: 20px;
}

.anio {
    font-size: 18px;
    margin-bottom: 40px;
}

.plataformas {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin-top: 30px;
    width: 100%;
}

.plataforma {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.plataforma img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.plataforma:hover {
    transform: scale(1.1);
}

.plataformas {
    position: relative;
    z-index: 10;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 45px;
    margin-top: 35px;
    width: 100%;
}

.plataforma {
    position: relative;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.plataforma img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: block;
}

.titulo-inicio {
    position: absolute;
    left: calc(50% + 300px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: block;
    visibility: visible;
}

.titulo-inicio h1 {
    margin: 0;
    padding: 0;
    font-size: 70px;
    line-height: 0.95;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: nowrap;
    color: white;
    display: block;
    visibility: visible;
}

/* BIOGRAFÍA */

.biografia {
    width: 100%;
    padding: 100px 0;
    box-sizing: border-box;
}

.biografia-contenido {
    width: 100%;
    background: white;
    padding: 55px 8%;
    box-sizing: border-box;
    color: black;
}

.biografia-contenido h2 {
    margin: 0 0 20px;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    color: black;
}

.biografia-contenido p {
    margin: 0;
    max-width: 900px;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
    color: black;
}


/* FOTOS */

.fotos-colage {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
}

.fotos-colage img {
    display: block;
    width: 50%;
    height: auto;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

/* CONTACTO */

.contacto {
    width: 100%;
    padding: 120px 8%;
    box-sizing: border-box;
}

.contacto-contenido {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.contacto-contenido h2 {
    margin: 0 0 45px;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 2px;
    color: white;
}

.formulario-contacto {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.formulario-contacto input,
.formulario-contacto textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 50px;
    padding: 18px 25px;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    color: black;
    background: white;
}

.formulario-contacto input {
    height: 58px;
}

.formulario-contacto textarea {
    min-height: 180px;
    resize: vertical;
    border-radius: 30px;
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus {
    border-color: black;
}

.formulario-contacto input::placeholder,
.formulario-contacto textarea::placeholder {
    color: #777;
}

.formulario-contacto button {
    align-self: center;
    margin-top: 15px;
    padding: 14px 35px;
    border: 1px solid black;
    border-radius: 50px;
    background: black;
    color: white;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.formulario-contacto button:hover {
    transform: scale(1.05);
}