@font-face {
    font-family: 'SFRounded';
    src: url('./fonts/SFRounded-Bold.woff2') format('woff2'),
        url('./fonts/SFRounded-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SFRounded';
    src: url('./fonts/SFRounded-Heavy.woff2') format('woff2'),
        url('./fonts/SFRounded-Heavy.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SFRounded';
    src: url('./fonts/SFRounded-Medium.woff2') format('woff2'),
        url('./fonts/SFRounded-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SFRounded';
    src: url('./fonts/SFRounded-Regular.woff2') format('woff2'),
        url('./fonts/SFRounded-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-primary: #B4FD4F;
    --color-black: #000;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html, body {
    height: 100%;
    margin: 0;
}

@media screen and (max-width: 900px) {
    html, body {
        height: auto;
    }
}

html {
    font-size: 62.5%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'SFRounded';
    font-weight: normal;
    font-size: 1.6rem;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

main {
    flex: 1;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    height: calc(100vh - 5.6rem);
}

@media screen and (max-width: 600px) {
    .main {
        height: 100vh;
    }
}

.gradient {
    background: linear-gradient(0deg,rgba(255,255,255,1) 0%, rgba(255,255,255,1) 70%, var(--color-primary) 95%);
    background-repeat: no-repeat;
}

@media screen and (max-width: 900px) {
    .gradient {
        background: linear-gradient(0deg,rgba(255,255,255,1) 0%, rgba(255,255,255,1) 97%, var(--color-primary) 99%);
    }
}

/*--------------------------*/
/* INTRO */
/*--------------------------*/

/* .intro, .home {
    position: relative;
} */

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; 
}

.top img {
    max-width: 77rem;
    height: auto;
}

.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.center img {
    max-width: 15.8rem;
    height: auto;
}

.intro .center a {
    font-size: 3rem;
    text-transform: uppercase;
    color: var(--color-black);
    text-decoration: none;
}

.bottom img {
    display: block;
    max-width: 81.5rem;
    height: auto;
    margin: auto;
}

/*--------------------------*/
/* HOME */
/*--------------------------*/

/* .home {
    background-color: var(--color-primary);
} */
.nav {
    max-width: 105rem;
}

.nav ul li a {
    display: flex;
    align-items: center;
    font-size: 4rem;
    text-transform: uppercase;
}

.main.home {
    height: 100vh;
}

.icon-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    list-style: none;
}

.icon-item {
    text-align: center;
}

.icon-item img {
    width: auto;
    height: 4rem;
    padding-right: .7rem;
    cursor: pointer;
}

.icon-name {
    font-size: 7rem;
    text-transform: uppercase;
}

.center .contact .menu {
    display: flex;
    justify-content: center;
    list-style: none;
    font-size: 2.2rem;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact .socials {
    margin-bottom: 0.7rem;
}

.newsletter-btn {
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid var(--color-black);
    border-radius: .8rem;
    padding: .4rem .6rem;
}

.nav-mobile {
    display: none;
}

@media screen and (max-width: 600px) {
    .nav {
        display: none;
    }

    .nav-mobile {
        display: block;
    }

    .nav-mobile .icon-list {
        flex-direction: column;
        gap: .5rem;
    }

    .nav-mobile .icon-list a {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        font-size: 3rem;
        text-transform: uppercase;
    }

    .nav-mobile .icon-list img {
        height: 3rem;
    }
}

.accueil footer {
    display: none;
}

/*--------------------------*/
/* HEADER */
/*--------------------------*/

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    gap: 1rem;
}

.header__left {
    display: flex;
    align-items: center;
    gap: 3rem;
}

@media screen and (max-width: 600px) {
    .header__left {
        width: 90%;
        justify-content: space-between;
        gap: 1rem;
    }
}

.header__left .logo {
    margin-top: 0.5rem;
    width: 28rem;
}

@media screen and (max-width: 600px) {
    .header__left .logo {
        width: 65%;
        height: auto;
    }
}

.header__title {
    display: flex;
    align-items: center;
}

.header__title img {
    height: 2.5rem;
    padding-right: .5rem;
}

@media screen and (max-width: 600px) {
    .header__title img {
        height: 1.8rem;
    }
}

.header__title span {
    font-size: 2.7rem;
    text-transform: uppercase;
}

@media screen and (max-width: 600px) {
    .header__title span {
        font-size: 2rem;
        padding-top: .3rem;
    }
}

@media screen and (max-width: 600px) {
    .header__right {
        width: 3rem;
    }
}

.header__right .icon-list {
    display: flex;
    gap: 1rem;
}

@media screen and (max-width: 1290px) {
    .menu-mobile .nav-mobile {
        display: flex;
    }

    /* .menu-mobile .nav-mobile .icon-list {
        
    } */

    .header__right .icon-list {
        display: none;
    } 

    .header__right .menu-mobile .icon-list {
        display: flex;
        flex-direction: column;
        gap: .5rem;
    }

    .header__right .menu-mobile .icon-list a {
        font-size: 3rem;
        gap: 1rem;
    }
}

.header__right .icon-list a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    font-size: 2rem;
    text-transform: uppercase;
}

.header__right .icon-list img {
    height: 2rem;
}

@media screen and (max-width: 1290px) {
    .menu-mobile .icon-list img {
        height: 3rem;
    }
}

.menu-burger {
    display: none;
    position: absolute;
    top: 2.5rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    z-index: 100;
    cursor: pointer;
}

.burger-icon, .burger-icon:before, .burger-icon:after {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    border-radius: 5rem;
    background: var(--color-black);
    transition: transform 0.3s;
}

.menu-burger.active .burger-icon, .menu-burger.active .burger-icon:before, .menu-burger.active .burger-icon:after {
    background: white;
}

.menu-burger.active .burger-icon {
    background: transparent;
}

.burger-icon:before {
    content: "";
    top: -0.8rem;
}

.menu-burger.active .burger-icon:before {
    transform: rotate(45deg);
    top: 0;
}

.burger-icon:after {
    content: "";
    top: 0.8rem;
}

.menu-burger.active .burger-icon:after {
    transform: rotate(-45deg);
    top: 0;
}

.menu-mobile.main.home {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    background-color: var(--color-primary);
}

@media screen and (max-width: 1290px) {
    .menu-burger {
        display: block;
    }
    .menu-mobile.main.home.active {
        display: flex;
    }
}

/*--------------------------*/
/* FOOTER */
/*--------------------------*/

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-top: 2px solid var(--color-black);
}

@media screen and (max-width: 600px) {
    footer {
        display: none;
    }
}

footer .left {
    display: flex;
}

footer a, footer p {
    font-size: 2rem;
}

footer p:not(:last-child) {
    padding-right: 1em;
}

.socials {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1rem;
}

/*--------------------------*/
/* PAGE */
/*--------------------------*/

.page {
    display: grid;
    height: calc(100vh - 17.8rem);
    padding: 5rem 2rem 0;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 3rem;
    overflow-y: hidden;
    margin-bottom: 2rem;
}

.classic-page {
    margin: 5rem 2rem 7rem;
    /* margin-bottom: 2rem; */
}

.page__left {
    grid-area: 1 / 1 / 6 / 2;
    overflow-y: auto;
}

.page__img-static {
    grid-area: 1 / 2 / 4 / 4;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.page__img {
    grid-area: 1 / 2 / 4 / 4;
    width: 100%;
    overflow: hidden;
}

.img {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 2;
}

.page__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
  
canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.page__img-mobile img {
    width: 100%;
    height: auto;
}

.page__title {
    grid-area: 4 / 2 / 5 / 3;
}

.page__infos {
    grid-area: 5 / 2 / 6 / 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 1220px) {
    .page__infos {
        flex-direction: column;
        align-items: start;
        gap: 3rem;
    }
}

.page__txt {
    grid-area: 4 / 3 / 6 / 4;
    overflow-y: auto;
}

.page__list {
    list-style: none;
}

.page-artist .page__list {
    position: relative;
}

.page-artist h1 {
    margin-top: 3rem;
}

.page-artist h4 {
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 0;
}

.page__list li {
    font-size: 2rem;
    line-height: 2.2rem;
    font-weight: 500;
}

.arrow-down {
    position: sticky;
    bottom: 0;
    left: 0;
    padding-top: 5px;
    cursor: pointer;
    z-index: 2;
    background: white;
}

.arrow-down img {
    width: 2.5rem;
    height: auto;
}

.page__title h1 {
    /* font-size: 7rem; */
    font-size: 4vw;
    /* line-height: 6.5rem; */
    line-height: 3.8vw;
    font-weight: 500;
    text-transform: uppercase;
}

@media screen and (max-width: 1150px) {
    .page__title h1 {
        font-size: 4.6rem;
        line-height: 4rem;
    }
}

.share {
    display: flex;
    flex-wrap: wrap;
    width: 60%;
    list-style: none;
    gap: 1rem 0.5rem;
}

@media screen and (max-width: 785px) {
    .share {
        gap: 1.5rem 0.5rem;
    }
}

.share li a {
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 500;
    background-color: var(--color-primary);
    padding: 2px 10px;
    border-radius: 5rem;
}

.page-mobile {
    display: none;
    padding: 5rem 2rem 7rem;
}

.page-mobile .page__list {
    list-style-type: none;
    padding: 0;
  }
  
.page-mobile .page__list h2 {
    font-size: 2.8rem;
    line-height: 2.4rem;
    font-weight: 500;
    cursor: pointer;
}
  
.page-mobile .content {
    display: none;
    margin: 3rem 0;
}

.page-mobile .page__title h1 {
    font-size: 4.6rem;
    line-height: 4rem;
    margin: 3rem 0;
}

.page-mobile .page__txt {
    margin-top: 3rem;
    font-size: initial;
    line-height: initial;
    font-weight: initial;
    text-transform: initial;
}

/* .page__list-events li:not(.page__text-events-list li) {
    margin-bottom: 2rem;
}

.page__list-events h3 {
    line-height: 2.3vw;
}

@media screen and (max-width: 900px) {
    .page__list-events h3 {
        font-size: 2.8rem;
        line-height: 2.4rem;
        font-weight: 500;
        cursor: pointer;
    }
}

.event-date {
    font-size: 2rem !important;
}

.page__text-events {
    grid-area: 4 / 2 / 6 / 4;
}

.page__text-events-list {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 3rem; 
    max-height: 100%; 
    overflow-y: auto; 
    list-style: none;
}

.page__text-events-list h4 {
    margin-bottom: 1rem;
}

.page__text-events-list .share {
    margin-top: 2rem;
}

@media screen and (max-width: 900px) {
    .page__text-events-list {
        grid-template-columns: 1fr;
        margin-top: 3rem;
    }

    .page__text-events-list li {
        font-size: initial;
        font-weight: initial;
        line-height: initial;
        text-transform: initial;
    }
} */

/*--------------------------*/
/* HORIZONTAL PAGE */
/*--------------------------*/

.horizontal-scroll {
    display: flex;
    gap: 1.5rem;
    height: calc(100vh - 19.8rem);
    padding: 7rem 2rem 0;
    overflow-x: scroll;
    position: relative;
}

@media screen and (max-width: 900px) {
    .horizontal-scroll {
        flex-direction: column;
        height: auto;
        overflow-x: initial;
    }
}

.card {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    width: 33.5rem;
    height: 75vh;
    padding-right: 1.5rem;
    padding-bottom: 2rem;
    border-right: 2px solid;
}

@media screen and (max-width: 900px) {
    .card {
        width: 100%;
        border-right: none;
        height: auto;
        padding-right: 0;
        padding-bottom: 8rem;
    }
}

@media screen and (max-height: 800px) {
    .card {
        width: 28.5rem;
        padding-bottom: 0;
        margin-bottom: 2rem;
    }
}

.card h1 {
    font-size: 4rem;
    font-weight: 400;
    text-transform: uppercase;
}

.card h2, .card h3 {
    font-size: 2rem;
    font-weight: 400;
    text-transform: uppercase;
}

.card h2 {
    margin-top: -3.4rem;
}

.card img {
    margin: 1rem 0 2rem;
}

.card p {
    margin-top: 5rem;
}

@media screen and (max-height: 840px) {
    .card p {
        margin-top: 2rem;
    }
}

.page-btn {
    font-size: 2rem;
    font-weight: 400;
    text-transform: uppercase;
    background-color: var(--color-primary);
    padding: 2px 10px;
    border-radius: 5rem;
    align-self: start;
    margin-top: auto;
}

@media screen and (max-width: 900px) {
    .page-btn {
        margin-top: 3rem;
    }
}

.arrow-right {
    position: sticky;
    bottom: 0;
    right: 0;
    cursor: pointer;
    z-index: 1000;
    margin-top: auto;
}

@media screen and (max-width: 900px) {
    .arrow-right {
        display: none;
    }
}

.arrow-right img {
    width: 3rem;
    height: auto;
}

/*--------------------------*/
/* EVENT PAGE */
/*--------------------------*/

.event {
   list-style: none;
   border-bottom: 2px solid var(--color-black);
}

.event__item a {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    border-top: 2px solid var(--color-black);
    padding: 1.25rem 0;
}

.event__item a:hover {
    color: #fff;
    background-color: var(--color-black);
}

.event__item h3 {
    font-size: 2rem;
    font-weight: normal;
}

.event__date {
    text-align: right;
}

.event-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    padding: 10px 0;
    list-style: none;
}

.event-header button {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.event-header button::after {
    content: '';
    margin-left: 4px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid black;
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform-origin: center;
    opacity: 0.5;
}

.event-header button.active::after {
    opacity: 1;
}

.event-header button.active.asc::after {
    transform: rotate(0deg);
}

.event-header button.active.desc::after {
    transform: rotate(180deg);
}

.event-header li:last-child {
    justify-items: end;
}

.event-mobile {
    display: none;
}

@media screen and (max-width: 900px) {

    .event {
        display: none;
    }

    .event-mobile {
        display: block;
        list-style: none;
    } 

    .event__item a {
        display: flex;
        justify-content: space-between;
    }

    .event__title {
        font-size: 2rem;
    }

    .event__item h3 {
        font-size: 1.6rem;
    }

    .event__infos {
        display: flex;
    }

    .event__infos h3:not(:last-of-type)::after {
        content: "•";
        margin: 0 .5rem;
    }

    .event__right {
        min-width: 130px;
    }
}


/*--------------------------*/
/* RELEASES PAGE */
/*--------------------------*/

.filters {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.filters span {
    font-size: 2rem;
}

.sort-btn {
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 500;
    background: transparent;
    padding: 2px 10px;
    border: 2px solid var(--color-black);
    border-radius: 5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.sort-btn.active {
    background: var(--color-black);
    color: white;
}

.releases-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4rem;
}

@media screen and (max-width: 1290px) {
    .releases-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 900px) {
    .releases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 700px) {
    .releases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.release-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.release-title {
    margin-top: 2rem;
    font-weight: inherit;
    font-size: inherit;
}

.release-artist {
    font-weight: bold;
}

.release-style {
    padding: 2rem 0;
    text-transform: uppercase;
}

.release-list {
    margin-bottom: 2rem;
}

/*--------------------------*/
/* WATCH PAGE */
/*--------------------------*/

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem; 
}

.video video {
    width: 100%;
    margin-bottom: 1rem;
}

.video h2 {
    font-size: 3rem;
    font-weight: 400;
    text-transform: uppercase;
}

.video h3 {
    font-size: 2rem;
    font-weight: 400;
    text-transform: uppercase;
}



@media screen and (max-width: 900px) {
    .masonry-grid {
        grid-template-columns: 1fr; 
    }
}


/*--------------------------*/
/* LISTEN PAGE */
/*--------------------------*/

.player-page {
    height: calc(100vh - 17.8rem);
    overflow-y: hidden;
    margin-bottom: 2rem;
}

@media screen and (max-width: 600px) {
    .player-page {
        height: 100vh;
    }
}

.music-player {
    height: 70%;
}

.music-player iframe {
    height: 100%;
}

.music-plateforme {
    margin-top: 2rem;
}

.music-plateforme .share {
    width: 100%;
    gap: 20px;
}

.music-plateforme .share li a {
    font-size: 4.5vw;
    padding: 2px 50px;
    border-radius: 10rem;
}

@media screen and (max-width: 600px) {
    .music-plateforme .share li a {
        font-size: 3rem;
    }
}

/*--------------------------*/
/* RELEASE DETAIL PAGE */
/*--------------------------*/

.page-release-detail {
    height: auto;
    grid-template-columns: 0.5fr 1fr 1fr;
    gap: 7rem;
    grid-template-rows: auto;
    overflow-y: initial;
}

.page-release-detail .page__img,.page-release-detail .page__txt, .page-release-detail .page__left {
    grid-area: auto;
}

.page-release-detail .share {
    width: 100%;
    margin-top: 3rem;
}

.page-release-detail .music-player {
    height: auto;
    margin-top: 3rem;
}

.page-release-detail h1, .page-release-detail h2 {
    font-size: 4rem;
    line-height: 4rem;
    font-weight: 500;
}

.page-release-detail h3 {
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.page-release-detail h3 a {
    font-weight: normal;
    text-transform: uppercase;
}

.page-release-detail ul {
    margin-bottom: 3rem;
}

.page-release-detail ul li a:hover:not(.share li a) {
    font-style: italic;
    font-weight: bold;
}

.related {
    column-count: 2;
}

.related__music, .related__videos, .related__compilations {
    margin-bottom: 3rem;
}

.related__music ul, .related__videos ul, .related__compilations ul {
    margin-bottom: 0;
}

.related__music ul li, .related__videos ul li, .related__compilations ul li{
    list-style: none;
}

.back {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    padding: 4rem 0;
}

.back img {
    height: 2rem;
    transform: rotate(180deg);
}

.page__left-detail-mobile {
    display: none;
}

@media screen and (max-width: 900px) {
    .page__left-detail {
        display: none;
    }
    .page__left-detail-mobile {
        display: block;
    }

    .page-release-detail {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .back {
        padding: 2rem 0;
    }

    .page__left-detail-mobile ul {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        margin: 0;
        padding: 0;
    }

    .page__left-detail-mobile ul.open {
        max-height: 1000px;
        margin-bottom: 3rem;
    }

    .page__left-detail-mobile h3 {
        cursor: pointer;
    }
}

/*--------------------------*/
/* ARTIST PAGE */
/*--------------------------*/

@media screen and (max-width: 900px) {
    .page-artist {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .page__list {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .page__list.open {
        max-height: 1000px;
        margin-bottom: 3rem;
    }

    .page__list-toggle {
        cursor: pointer;
    }

    .page__txt {
        margin: 2rem 0 3rem;
    }

    .page-release-detail ul {
        margin-bottom: 0;
    }
}

/*--------------------------*/
/* SHOP PAGE */
/*--------------------------*/

.shop-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: auto;
    column-gap: 5rem;
    row-gap: 3rem;
    grid-auto-flow: dense;
    align-items: flex-end;
    list-style: none;
    margin-bottom: 16rem;
    padding: 0;
}

@media screen and (max-width: 1290px) {
    .shop-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 900px) {
    .shop-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .shop-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.shop-item.big {
grid-column: span 2;
}
 
.row-span-2 {
    grid-row: 1 / span 2;
}

.row-2 {
    grid-row: 2;
}

@media screen and (max-width: 900px) {
    .row-span-2, .row-2 {
        grid-row: auto;
    }  
}

.shop-item img {
    width: 100%;
    height: auto;
}

.shop-info {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.shop-item h3 {
    font-weight: normal;
}

