@font-face {
    /* Geometric Slabserif 703 - Bold */
    font-family: 'Geometric703';
    src: url('../assets/fonts/geomatricSlabserif703/geometricSlabserif703-bold.ttf') format('truetype'),
        url('/assets/fonts/geomatricSlabserif703/geometricSlabserif703-bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    /* Geometric Slabserif 703 - Medium */
    font-family: 'Geometric703';
    src: url('../assets/fonts/geomatricSlabserif703/geometricSlabserif703-mediumItalic.ttf') format('truetype'),
        url('/assets/fonts/geomatricSlabserif703/geometricSlabserif703-mediumItalic.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    /* Avant Garde - Bold */
    font-family: 'AvantGarde';
    src: url('../assets/fonts/avantGarde/avantgarde-bold.ttf') format('truetype'),
        url('/assets/fonts/avantGarde/avantgarde-bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    /* Avant Garde - Medium */
    font-family: 'AvantGarde';
    src: url('../assets/fonts/avantGarde/avantgardestd-medium.ttf') format('truetype'),
        url('/assets/fonts/avantGarde/avantgardestd-medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    /* Rocklogo */
    font-family: 'Rocklogo';
    src: url('../assets/fonts/rocklogo/rocklogo-black.ttf') format('truetype'),
        url('/assets/fonts/rocklogo/rocklogo-black.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

:root {
    --main-color: #FAD745;
    --sec-color: #1B3139;
    --third-color: #E33126;
    --fourth-color: #F3B444;
    --fifth-color: #1D1D1B;
    --sixth-color: #ffffff;
}

h1 {
    font-family: "Geometric703";
    font-weight: bold;
    font-size: 64px;
}

h2 {
    font-family: "Geometric703";
    font-weight: bold;
    font-size: 48px;
}

h3 {
    font-family: "AvantGarde";
    font-weight: bold;
    font-size: 32px;
}

h4 {
    font-family: "AvantGarde";
    font-weight: bold;
    font-size: 28px;
}

h5 {
    font-family: "AvantGarde";
    font-weight: bold;
    font-size: 24px;
}

h6 {
    font-family: "AvantGarde";
    font-weight: bold;
    font-size: 20px;
}

p {
    font-family: "AvantGarde";
    font-weight: normal;
    font-size: 16px;
}


header .top {
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: var(--main-color);
}

.logo {
    width: 272px;
    height: auto;
    margin: auto;
    margin-top: 1rem;
}

@media only screen and (max-width: 460px) {
    .logo {
        width: 160px;
        height: auto;
        margin-top: 2rem;
    }
}

.loading {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 3.5rem;
}

@media only screen and (max-width: 820px) {
    .loading {
        flex-direction: column;
        align-self: center;
        justify-content: center;
    }
}

.festInfos {
    margin-top: 2.5rem;
    margin-right: 14rem;
}

@media only screen and (max-width: 820px) {
    .festInfos {
        margin-bottom: 2rem;
        margin-right: 0;
    }
}

@media only screen and (max-width: 460px) {
    .festInfos {
        margin-bottom: 1rem;
        margin-right: 0;
    }
}

.edition {
    font-weight: bold;
    font-size: 2.85rem;
}

.festDate {
    display: flex;
    flex-direction: row;

}

.festDate>p {
    font-weight: bold;
    font-size: 48px;
    margin-top: -1rem;
    font-size: 64px;
}

.festDate>p>span {
    color: var(--third-color);
    margin-left: -1rem;
    margin-right: -1rem
}

.festDate2>p {
    font-size: 28px;
    font-weight: bold;
    margin-top: -8px;
    margin-bottom: -4px;
}

.festDate2>p>span {
    color: var(--third-color);
    font-size: 20px;
    font-weight: bold;
    display: block;
}

.local {
    font-weight: bold;
    font-size: 1.5rem;
    text-transform: uppercase;
    text-align: center;
}

.reduction {
    background-image: url(../img/formes/badge_reduction.svg);
    background-repeat: no-repeat;
    height: 100vh;
    height: 410px;
    width: 250px;
    text-align: center;
    z-index: 99;
    margin-bottom: 3.5rem;
}

@media only screen and (max-width: 460px) {
    .reduction {
        margin-bottom: 1.5rem;
    }
}

.reduction>h3 {
    font-size: 4rem;
    background: -webkit-linear-gradient(225deg, #FAD745, #1D1D1B);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 4rem;
}

.reduction>h4 {
    font-size: 2.25rem;
    margin-top: 0.5rem;
}

.reduction>p {
    font-weight: bold;
    font-size: 20px;
    padding: 1.1rem 0 1.1rem 0;
}

.reduction>.savoir {
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
    color: var(--sec-color);
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: "AvantGarde";
    font-size: 1rem;
    font-weight: bold;
    border-radius: 1rem;
    transition: ease-in-out all .5s
}

.reduction>.savoir:hover {
    background-color: var(--sec-color);
    color: var(--main-color);
}

.countdownBlock {
    margin-top: -10rem;
    height: 900px;
    background-image: url(../img/formes/puyDeDome.svg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    background-color: var(--main-color);
}

.people {
    margin-top: 1rem;
    height: 500px;
    background-image: url(../img/formes/humaine_blanc.svg);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: contain;
    width: 100%;
}

.countdownBlock>h3 {
    text-align: center;
    color: var(--main-color);
    font-weight: normal;
}

@media only screen and (max-width: 720px) {
    .countdownBlock {
        margin-top: 0;
        height: 400px;
    }
}

@media only screen and (max-width: 640px) {
    .countdownBlock {
        margin-top: 0;
        height: 400px;
    }

    .countdownBlock h3 {
        margin-top: 8rem;
        font-size: 24px;
    }

    .people {
        background-size: contain;
    }
}

@media only screen and (max-width: 460px) {
    .countdownBlock>h3 {
        margin-top: 7rem;
        font-size: 24px;
    }
}

@media only screen and (max-width: 400px) {
    .countdownBlock>h3 {
        font-size: 24px;
    }
}

.countdown {
    display: flex;
    justify-content: center;
    color: var(--sixth-color);
}

.timeElement {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 4rem;
}

@media only screen and (max-width: 560px) {
    .timeElement {
        margin-right: 2rem;
    }
}

@media only screen and (max-width: 400px) {
    .timeElement {
        margin-right: 1rem;
    }
}

.timeElement:last-of-type {
    margin-right: 0;
}

.timeElement #days,
#hours,
#minutes,
#seconds {
    font-family: "Rocklogo";
    font-size: 4rem;
}

.label {
    font-family: "AvantGarde";
    font-weight: normal;
    font-size: 16px;
}

@media only screen and (max-width: 400px) {

    .timeElement #days,
    #hours,
    #minutes,
    #seconds {
        font-size: 3rem;
    }

    .label {
        font-size: 14px;
    }
}

/**********    MAIN        *********/

main>*:not(#newsletter) {
    margin: auto;
    max-width: 1440px;
}

.titleContent {
    display: block;
    margin-top: 96px;
    position: relative;
}

.title {
    text-align: center;
    color: var(--fifth-color);
    font-size: 3rem;
    margin-bottom: 3rem;
}

.allSections>p {
    padding-bottom: 8px;
}

.allSections>p:last-of-type {
    padding-bottom: 0;
}

@media only screen and (max-width: 1440px) {
    main>*:not(#newsletter) {
        width: 1280px;
    }
}

@media only screen and (max-width: 1280px) {
    main>*:not(#newsletter) {
        width: 1024px;
    }
}

@media only screen and (max-width: 1024px) {
    main>*:not(#newsletter) {
        width: 820px;
    }
}

@media only screen and (max-width: 820px) {
    main>*:not(#newsletter) {
        width: 750px;
    }

    .titleContent {
        margin-top: 64px;
    }

    .title {
        margin-bottom: 2rem;
    }
}

@media only screen and (max-width: 750px) {
    main>*:not(#newsletter) {
        width: 640px;
    }

    .titleContent {
        margin-top: 64px;
    }
}

@media only screen and (max-width: 640px) {
    main>*:not(#newsletter) {
        width: 560px;
    }
}

@media only screen and (max-width: 560px) {
    main>*:not(#newsletter) {
        width: 460px;
    }
}

@media only screen and (max-width: 460px) {
    main>*:not(#newsletter) {
        width: 400px;
    }

    .title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
}

@media only screen and (max-width: 400px) {
    main>*:not(#newsletter) {
        width: 360px;
    }

    .title {
        font-size: 2rem;
    }
}

.fewWords>p {
    padding-bottom: 1rem;
}

.artistsPhotos {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.photoTag img {
    height: 408px;
    width: 408px;
    object-fit: cover;
}

.photoTag h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--sec-color);
    color: var(--sixth-color);
    text-align: center;
    height: 3rem;
    width: 408px;
    position: absolute;
    margin-top: -51px;
}

@media only screen and (max-width: 1280px) {
    .photoTag img {
        height: 320px;
        width: 320px;
    }

    .photoTag h3 {
        height: 40px;
        width: 320px;
        margin-top: -42px;
    }
}

@media only screen and (max-width: 1024px) {
    .photoTag img {
        height: 260px;
        width: 260px;
    }

    .photoTag h3 {
        height: 40px;
        width: 260px;
        margin-top: -42px;
        font-size: 24px;
    }
}

@media only screen and (max-width: 820px) {
    .photoTag img {
        height: 240px;
        width: 240px;
    }

    .photoTag h3 {
        height: 40px;
        font-size: 24px;
        width: 240px;
        margin-top: -40px;
    }
}

@media only screen and (max-width: 750px) {

    .photoTag {
        padding-bottom: 16px;
    }

    .photoTag img {
        height: 310px;
        width: 310px;
    }

    .photoTag h3 {
        height: 40px;
        font-size: 20px;
        width: 310px;
        margin-top: -40px;
    }
}

@media only screen and (max-width: 460px) {

    .photoTag img {
        height: 320px;
        width: 320px;
    }

    .photoTag h3 {
        height: 40px;
        font-size: 20px;
        width: 320px;
        margin-top: -40px;
    }
}

@media only screen and (max-width: 560px) {
    .artistsPhotos {
        justify-content: center;
    }
}

#newsletter {
    margin: 4rem 0;
    background-image: url(../img/formes/fond_metal.jpg);
    background-position: center center;
    background-repeat: repeat;
    background-size: 100% auto;
    padding-top: 1rem;
    padding-bottom: 3rem;
}

@media only screen and (max-width: 820px) {
    #newsletter {
        margin: 2rem 0;
    }
}

@media only screen and (max-width: 460px) {
    #newsletter {
        margin: 1rem 0;
    }
}

#newsletter .titleContent {
    display: block;
    margin: 3rem 0;
}

#newsletter .title {
    text-align: center;
    color: var(--sixth-color);
    font-size: 3rem;
}


@media only screen and (max-width: 820px) {
    #newsletter .titleContent {
        margin-top: 2rem;
    }

    #newsletter .title {
        margin-bottom: 2rem;
    }
}


@media only screen and (max-width: 460px) {
    #newsletter .titleContent {
        margin: 1rem 0;
    }

    #newsletter .title {
        font-size: 2.5rem;
    }
}

@media only screen and (max-width: 400px) {
    #newsletter .title {
        font-size: 2rem;
    }
}

#newsletter p {
    max-width: 1440px;
    margin: auto;
    padding-bottom: 8px;
    margin: 2rem auto;
    color: var(--sixth-color);
}

@media only screen and (max-width: 1440px) {
    #newsletter p {
        max-width: 1280px;
    }
}

@media only screen and (max-width: 1280px) {
    #newsletter p {
        max-width: 1024px;
    }
}

@media only screen and (max-width: 1024px) {
    #newsletter p {
        max-width: 820px;
    }
}

@media only screen and (max-width: 820px) {
    #newsletter p {
        max-width: 750px;
    }
}

@media only screen and (max-width: 750px) {
    #newsletter p {
        max-width: 650px;
        margin: 1.5rem auto;
    }
}

@media only screen and (max-width: 640px) {
    #newsletter p {
        max-width: 560px;
    }
}

@media only screen and (max-width: 560px) {
    #newsletter p {
        max-width: 460px;
    }
}

@media only screen and (max-width: 460px) {
    #newsletter p {
        max-width: 400px;
    }
}

@media only screen and (max-width: 400px) {
    #newsletter p {
        max-width: 360px;
        margin: 1rem auto;
    }
}

.newsletterForm {
    display: flex;
    justify-content: center;
}

input[type=text] {
    width: 368px;
    padding: 16px;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-right: 16px;
    border-radius: 8px;
}

input[type=submit] {
    width: 176px;
    padding: 16px;
    display: inline-block;
    border: 2px solid var(--third-color);
    box-sizing: border-box;
    border-radius: 8px;
    font-size: 16px;
    background-color: var(--third-color);
    color: var(--sixth-color);
}

input[type=submit]:hover {
    background-color: var(--sixth-color);
    color: var(--third-color);
    border: 2px solid var(--third-color);
}

@media only screen and (max-width: 560px) {
    .newsletterForm {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 460px;
        margin: auto;
    }

    input[type=text] {
        width: 100%;
    }

    input[type=submit] {
        width: 100%;
    }

}

@media only screen and (max-width: 460px) {
    .newsletterForm {
        width: 400px;
    }
}

@media only screen and (max-width: 400px) {
    .newsletterForm {
        width: 360px;
    }
}

.partenaires {
    padding: 16px 0 96px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
}

.partenaires a {
    display: block;
    margin: 0;
    padding: 0;
}

.partenaires a img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 820px) {
    .partenaires {
        gap: 0;
    }

    .partenaires a img {
        width: 70%;
        height: 70%;
    }
}

@media only screen and (max-width: 460px) {
    .partenaires {
        gap: 0;
    }

    .partenaires a img {
        width: auto;
        height: auto;
    }
}

footer {
    background-image: url(../img/formes/fond_metal.jpg);
    background-repeat: repeat;
    background-size: 100%;
    color: var(--sixth-color);
}

footer h3 {
    padding-bottom: 32px;
}

.topFooter {
    margin: auto;
    max-width: 1440px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 32px 0 32px 0;
    align-items: flex-start;
}

.contactFooter {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.contactInfo {
    display: flex;
    flex-direction: column;
}

.contactLine {
    display: flex;
    align-items: center;
}

.contactInfo img {
    height: 24px;
    width: 24px;
    padding-right: 8px;
}

.email {
    color: var(--sixth-color);
    font-family: "AvantGarde";
    font-weight: normal;
}

.socialFooter {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.socialLogos {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#facebook:hover {
    content: url(../img/social/facebook_hover.svg);
}

#instagram:hover {
    content: url(../img/social/instagram_hover.svg);
}

#twitter:hover {
    content: url(../img/social/twitter-x_white_hover.svg);
}

#youtube:hover {
    content: url(../img/social/youtube_hover.svg);
}

.socialFooter img {
    height: 64px;
    padding: 4px;
}

.socialFooter>img:first-of-type {
    padding-left: 0;
}

.split {
    margin: auto;
    width: 1440px;
    padding-bottom: 16px;
}

.bottomFooter {
    margin: auto;
    width: 1440px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 32px;
}

.bottomFooter img {
    max-height: 80px;
}

.bottomFooter a {
    color: var(--sixth-color);
    font-family: "AvantGarde";
    font-weight: normal;
}

.bottomFooter p {
    text-align: center;
}

@media only screen and (max-width: 1440px) {
    .topFooter {
        width: 1280px;
    }

    .split {
        width: 1280px;
    }

    .bottomFooter {
        width: 1280px;
    }
}

@media only screen and (max-width: 1280px) {
    .topFooter {
        width: 1024px;
    }

    .split {
        width: 1024px;
    }

    .bottomFooter {
        width: 1024px;
    }
}

@media only screen and (max-width: 1024px) {
    .topFooter {
        width: 820px;
    }

    .split {
        width: 820px;
    }

    .bottomFooter {
        width: 820px;
    }
}

@media only screen and (max-width: 820px) {
    footer h3 {
        font-size: 28px;
    }

    .topFooter {
        width: 750px;
        padding: 24px 0 24px 0;
    }

    .split {
        width: 750px;
    }

    .bottomFooter {
        width: 750px;
        padding-bottom: 32px;
        flex-wrap: wrap;
        justify-content: space-around;
    }

}

@media only screen and (max-width: 750px) {
    footer h3 {
        font-size: 24px;
    }

    footer p {
        font-size: 14px;
    }

    footer a {
        font-size: 14px;
    }

    .topFooter {
        width: 640px;
        padding: 24px 0 24px 0;
    }

    .socialFooter img {
        height: 40px;
        padding: 4px;
    }

    .split {
        width: 640px;
    }

    .bottomFooter {
        width: 640px;
        padding-bottom: 24px;
        flex-wrap: wrap;
        justify-content: space-around;
    }
}

@media only screen and (max-width: 640px) {
    footer h3 {
        padding-bottom: 8px;
    }

    .topFooter {
        width: 560px;
        display: flex;
    }

    .split {
        width: 560px;
    }

    .bottomFooter {
        width: 560px;
        padding-bottom: 24px;
    }
}

@media only screen and (max-width: 560px) {
    footer {
        background-size: 100% 100%;
    }

    .topFooter {
        width: 460px;
    }

    .split {
        width: 460px;
    }

    .bottomFooter {
        width: 460px;
    }

    .bottomFooter img {
        margin-bottom: 1rem;
    }
}

@media only screen and (max-width: 460px) {
    footer {
        background-size: 100% 100%;
    }

    .topFooter {
        width: 400px;
        flex-direction: column;
        align-items: center;
    }

    .split {
        width: 400px;
    }

    .bottomFooter {
        width: 400px;
    }
}

@media only screen and (max-width: 400px) {
    footer {
        background-size: 100% 100%;
    }

    .topFooter {
        width: 360px;
    }

    .socialFooter {
        margin-top: 32px;
    }

    .socialFooter img {
        height: 40px;
    }

    .split {
        width: 360px;
    }

    .bottomFooter {
        width: 360px;
        flex-direction: column;
        gap: 16px;
    }
}