/* Importation de la police */
@font-face {
    font-family: 'ITCGaramond';
    src: url('ITCGaramondStd-LtCond.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* Style général */
body {
    font-family: 'ITCGaramond', serif;
    background-color: #F7F7F7;
    color: #4E5D61;
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.block-header {
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.block-Intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 100px;
    margin-bottom: 60px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.block-2 {
    position: relative;
    overflow: hidden;
    padding: 50px 0;
    background-color: #F7F7F7;
    background-image: url('assets/EEaZcK.gif');
    background-size: cover;
    background-position: 50% 0;
    background-repeat: repeat;
    color: #F7F7F7;
}


.block-2 > * {
    position: relative;
    z-index: 2;
}

.block-2 h2,
.block-3 h2 {
    margin-bottom: 30px;
}

.block-3 h2 {
    margin-bottom: 50px;
}

.equipment {
    margin-top: 0px;
    padding-top: 0px;
}

.equipment ul {
    margin-top: 0px;
    padding-top: 0px;
}

.block-3 .equipment li {
    font-size: 20px;
    line-height: 1.4;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.intro {
    font-size: 48px;
    font-weight: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    max-width: 75vw;
    text-align: center;
    margin: 60px auto;
    line-height: 1.2;
}

header, footer {
    text-align: center;
    padding: 5px;
}

header h1 {
    color: inherit;
}

h1 {
    font-size: 25px;
    font-weight: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 5px 0;
}

h2 {
    font-size: 25px;
    font-weight: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-top: 0px;
    margin-bottom: 25px;
}

li {
    font-size: 20px;
    margin: 5px 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ul {
    list-style-type: none;
    padding: 0;
}


/* Player */
.fidbak-player {
    max-width: 90%;
    width: 400px;
    margin: 0 auto 50px auto;
    border-radius: 12px;
    overflow: hidden;
    background-color: transparent;
}



/* Footer */
footer {
    padding: 0px;
    font-size: 20px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    margin-top: auto;
}

/* Disc */
#disc {
    opacity: 0.2;
    width: 32vh;
    height: 32vh;
    background: rgb(253, 250, 252);
    position: absolute;
    top: 17vh;
    left: 17vw;
    z-index: -1;
    background: inherit;
    mix-blend-mode: plus-darker;
    opacity: 0;
}

#disc .player-color {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#disc #player {
    position: absolute;
    left: 0%;
    top: 0%;
    width: 100%;
    height: 100%;
    filter: grayscale(1);
    mix-blend-mode: darken;
    z-index: 1;
}


/* Player container */
.player-container {
    margin-top: 20px;
}

.popup-links {
    margin-top: 40px;
    font-size: 25px;
    font-family: 'ITCGaramond', serif;
      text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: inherit;
}

.popup-links a {
    color: inherit;
    text-decoration: none;
    margin: 0 12px;
    transition: opacity 0.3s ease;
}


.popup-link-left,
.popup-link-right {
    position: absolute;
    bottom: 0px;
    transform: translateY(130%);
    font-size: 25px;
    font-family: 'ITCGaramond', serif;
      text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.popup-link-left {
    left: 30px;
}

.popup-link-right {
    right: 30px;
}

.popup-link-left a,
.popup-link-right a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.popup-link-left a:hover,
.popup-link-right a:hover {
    opacity: 0.5;
    text-decoration: none;
}

.block-gear {
    color: #ffcdef;
    padding: 60px 20px;
    text-align: center;
}

.block-info {
    color: #e7ffcb;
    padding: 80px 30px;
    text-align: center;
}

.block-info a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.block-info a:hover {
  opacity: 0.6;
  text-decoration: none;
}


.popup-overlay {
  backdrop-filter: blur(12px) hue-rotate(270deg);
  isolation: isolate;
}

.block-info,
.block-gear {
  background-color: transparent;
}


/* Responsive */
@media only screen and (max-width: 479px) {
    .block {
        padding: 5px;
    }

    header, footer {
        padding: 5px 0;
    }


    .block-Intro {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: auto;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    #disc {
        width: 20vw;
        height: 20vw;
        left: 50% !important;
        top: 23vh !important;
        transform: translateX(-50%) !important;
    }

    h1 {
        font-size: 20px;
        margin: 0px 0;
    }

    .intro {
        font-size: 37px;
    }

    li {
        font-size: 20px;
    }

    footer {
        font-size: 19px;
    }
}
