:root {
    --primary-color: #FE0141;
    --off-white-color: #F5F9E9;
    --dark-grey-color: #0D0D0D;
    --padding-content-clamp-min: 1.5rem;
    --padding-content-clamp-pref: 4.5vw;
    --padding-content-clamp-max: 6rem;
    --section-margin-bottom: -6px;
    --margin-top-content-group: 1rem;
}


* {
    scrollbar-width: thin;
    scrollbar-color: #000000 #252525;
}

/* Fredoka Expanded Light */
@font-face {
  font-family: 'Fredoka Expanded';
  src: url('fonts/FredokaExpanded-Light.woff2') format('woff2'),
       url('fonts/FredokaExpanded-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

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

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

/* Fredoka Expanded SemiBold */
@font-face {
  font-family: 'Fredoka Expanded';
  src: url('fonts/FredokaExpanded-SemiBold.woff2') format('woff2'),
       url('fonts/FredokaExpanded-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Fredoka Expanded Bold */
@font-face {
  font-family: 'Fredoka Expanded';
  src: url('fonts/FredokaExpanded-Bold.woff2') format('woff2'),
       url('fonts/FredokaExpanded-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: 'Fredoka Expanded', Arial, Helvetica, sans-serif;
    font-weight: 400;
    position: relative;
    margin: 0;
    padding: 0;
    background-color: black;
    scroll-padding-top: 100px;
}

/* #loading {
    content:"";
    position:absolute;
    display:block;
    z-index: 1000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw + 50px);
    height: 100%;
    background-color: aqua;
}

#loading .loading-container {
    width:100vw;
    height:100vh;
    background-color: white;
}

#loading .loading-content {
    height:100%;
    display:flex;
    justify-content: center;
    align-items: center;
    
}

#loading svg {
    width:clamp(4rem, 4vw, 20rem);
} */
 


header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 900;
    transition: color 0.3s ease;
    box-sizing: border-box;
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px clamp(var(--padding-content-clamp-min), var(--padding-content-clamp-pref), var(--padding-content-clamp-max));
}

/* Styles pour le conteneur du logo */
.logo-container {
    display: flex;
    align-items: center;
    height: 55px;
    transition: transform 0.4s ease, padding 0.4s ease;
}

.logo-container:hover {
    transform: scale(1.1);
}

/* Styles pour le SVG du logo */
.logo {
    height: 100%;
    width: auto; 
}

/* Logo */
nav a svg {
    transition: transform 0.4s ease;
}

nav a:has(svg) {
    transition: padding 0.5s ease;
}

/* Global Header Elements Background */
nav a:has(svg), nav > ul li a, .menu-button {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(17px);
    border: 1px solid rgba(255, 255, 255, 0.27);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding:10px;
}

nav > ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
}

nav > ul a {
    text-decoration: none;
    color: #555555;
    font-weight: 400;
    padding: 5px 0;
    display: inline-block;
    transition: color 0.3s ease;
}

nav ul a:hover,
nav ul a.active {
    color: var(--primary-color);
}

nav > ul li a {
    border-radius: 2em;
    padding:10px 20px 10px 20px;
}

.menu-button {
    font-family: 'Fredoka Expanded', Arial, Helvetica, sans-serif;
    font-weight: 400;
    position:relative;
    display:none;
    border-radius: 0.5rem;
    padding:16px;
    transition: padding 0.5s ease, transform 0.5s ease;
}

.menu-button:hover {
    transform: scale(1.1);
}

@media (hover:none) {
    .menu-button:hover {
        transform: scale(1);
    }

    .concert-ticket {
        pointer-events: none;
    }
}

.menu-button i {
    content: "";
    position:absolute;
    display:block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(75, 75, 75);
    font-size: 1.2rem;
}

.menu-button ul {
    content: "";
    position:absolute;
    display:none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding:0;
    margin:0;
    width:150%;
    list-style: none;
}

.menu-button li {
    position:relative;
    padding: 2vw;
}

.menu-button li:not(:first-child)::after {
    content: "";
    position:absolute;
    left: 50%;
    top:0.2vw;
    transform: translate(-50%, -50%);
    background-color: #555555;
    opacity: 0.4;
    height:1px;
    width:3vw;
    transform: translateX(-50%);
}

.menu-button a {
    text-decoration: none;
    color: #555555;
    font-weight: 400;
    font-size: clamp(0.8rem, 2vw, 100rem);
    transition: color 0.3s ease;
}


.menubutton-open-animation {
    padding: clamp(5rem, 15vw, 100rem) clamp(3.5rem, 10vw, 100rem);
}


/* Landing Page */
main {
    position:relative;
    height:100dvh;
    margin-top: -10px;
    margin-bottom: calc(var(--section-margin-bottom) - 3px);
}

main video {
    content: "";
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100dvw;
    height: 100dvh;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
}


/* Section Concert */
.concert-section {
    background-color: black;
    margin-bottom:var(--section-margin-bottom);
}

.concert-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: clamp(var(--padding-content-clamp-min), var(--padding-content-clamp-pref), var(--padding-content-clamp-max));
    color: var(--primary-color);
}

.concert-content h2 {
    margin-bottom: 2.5vw;
}

.tickets-container {
    display:flex;
    justify-content: space-between;
    flex-direction: column;
    gap:50px;
}

.concert-content-group {
    position:relative;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    gap: 65px;
    margin-top: var(--margin-top-content-group);
    padding: 0px 50px 0px 50px;
}

.concert-content-group.upcoming {
    opacity: 0.4;
    filter: grayscale(1);
    pointer-events: none;
}


.concert-content-group:not(:last-child)::after {
    content: "";
    position:absolute;
    background-color: #555555;
    opacity: 0.1;
    height:3px;
    width:100px;
    top: calc(100% + 31px);
    left:50%;
    transform: translateX(-50%);
}

.concert-ticket {
    flex:2;
    max-width:1000px;
}

.concert-ticket img {
    width: 100%;
    height:auto;
}



/* Section À propos */
.about-section {
    background-color: var(--primary-color);
    margin-bottom:var(--section-margin-bottom);
}

.about-content {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: clamp(var(--padding-content-clamp-min), var(--padding-content-clamp-pref), var(--padding-content-clamp-max));
}   

.about-content-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 65px ;
    margin-top: var(--margin-top-content-group);
}

.about-image {
    flex: 1;
    padding: 0;
    margin: 0;
    max-width:1000px;
}

.about-image figure {
    padding: 0;
    margin: 0;
}

.about-image img {
    width: 100%;
    filter: grayscale(100%);
    transition: transform 0.5s ease, filter 0.5s ease;
    border-radius: 2vw;
}

.about-image:hover img {
    transform: scale(1.03);
    filter: grayscale(70%);
}

.about-image figcaption {
    font-weight: 600;
    opacity: 0.5;
    text-align: center;
    font-size: clamp(0.5rem, 1vw, 2rem);
}

.about-text {
    flex: 1;
}


/* Section Contact */
.contact-section {
    background-color: var(--off-white-color);
    margin-bottom:var(--section-margin-bottom);
}


.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: top;
    padding: clamp(var(--padding-content-clamp-min), var(--padding-content-clamp-pref), var(--padding-content-clamp-max));
    gap: 200px;
}

.contact-info {
    display:flex;
    flex-direction: column;
    flex: 1;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000000;
    transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    padding: 10px 15px;
    border-radius: 0.5rem;
    border: 2px solid #000000;
    width: fit-content;
    background-color: rgba(255, 255, 255, 0.7);
}

.social-link i {
    width: 30px;
    text-align: center;
    margin-right: 15px;
    font-size: 1.3rem;
}

.social-link span {
    font-weight:700;
    font-size: 1.1rem;
}


.social-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.contact-form {
    display:flex;
    flex-direction: column;
    flex: 1;
    margin-top:13px;
}

form {
    gap:35px;
}

.input-container {
    position: relative;
    transition: transform 0.3s ease;
}

.input-container input {
    width: 100%;
}

.input-container::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 5px;
    left: 5px;
    background: #000000;
    border-radius: 2rem;
    z-index: 0;
    box-sizing: border-box;
}

.input-container:hover {
    cursor: pointer;
    transform: scale(1.05);
}


.input-container input:focus {
    outline: none;
}

.input-container input,
.textarea-container textarea {
    border-radius: 2rem;
    padding: 8px 25px;
    border: 4px solid #000;
    font-family: 'Fredoka Expanded', sans-serif;
    font-size: 1rem;
    background: white;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.textarea-container textarea {
    border-radius: 1.5rem;
    width: 100%;
    min-height: 150px;
    resize: vertical;
}

.textarea-container textarea:focus {
    outline: none;
}

.textarea-container::after {
    border-radius: 1.5rem;
}

.submit-btn {
    display:flex;
    gap: 20px;
    align-items: center;
    justify-content: center;

    width: fit-content;
    padding: 11px 25px;
    font-family: 'Fredoka Expanded', sans-serif;
    font-weight: 700;
    color:white;
    background-color: black;
    border: none;
    border-radius: 2rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    cursor: pointer;
    transform: scale(1.1);
}



/* Section Footer */
footer {
    position: relative;
    width: 100%;
    background-color: var(--dark-grey-color);
    height: 535px;
    overflow: hidden; /* Cache débordement du soleil */
    margin-top: -5px;
}

.footer-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto); 
    padding: 40px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.footer-logo {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    grid-column: 1;
    grid-row: 2;
}

.logo-container.footerlogo {
    transition: transform 0.3s ease;
    height: 55px;
}

.logo-container.footerlogo:hover {
    transform: scale(1.2);
    cursor: pointer;
}

.footer-backtotop {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 2;
    grid-row: 1;
}

.footer-backtotop-btn {
    display:flex;
    align-items: center;
    gap: 20px;
    font-family: 'Fredoka Expanded', sans-serif;
    font-weight: 700; /* Poids par défaut */
    border: none;
    background-color: transparent;
    color: var(--primary-color);
    font-weight: 400;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-backtotop-btn:hover {
    color: var(--off-white-color);
    transform: translateY(-5px);
    cursor: pointer;
}

.footer-backtotop-btn svg {
    fill: var(--primary-color);
    transition: fill 0.3s ease;
}

.footer-backtotop-btn:hover svg {
    fill: var(--off-white-color);
}

.footer-madeby {
    display: flex;
    grid-column: 3;
    grid-row: 2;
    justify-content: flex-end;
    align-items: flex-end;
    color: var(--primary-color);
    font-weight: 400;
    font-size: clamp(0.7rem, 1vw, 1rem);
}

.footer-madeby span {
    color: #C4C4C4;
}

.footer-sun-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(40%);
    width: clamp(50rem, 50vw, 70rem); 
    z-index: 1;
    pointer-events: none; 
}

.sun-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.footer-sun {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.copyright, .copyright-madeby {
    display: flex;
    z-index:10;
    grid-column: 2;
    grid-row: 2;
    justify-content: center;
    align-items: flex-end;
    font-size: clamp(0.6rem, 3vw, 1rem);
    font-weight: 700;
}

.copyright-madeby {
    display:none;
    text-align: center;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}



.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

/* Autres */
.section-delimiter {
    display: block;
    width: 100%;
    height: 40px;
    background-repeat: repeat-x;
    background-size: 80px 40px;
    background-position: left center;
    animation: wave-motion 3.5s linear infinite;
}

.section-delimiter.blanc-casse {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M-20,20A20,20,0,0,1,0,0,20,20,0,0,1,20,20M0,20a20,20,0,0,1,40,0H-20' fill='%23F5F9E9'/%3E%3C/svg%3E");
}

.section-delimiter.gris-fonce {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M-20,20A20,20,0,0,1,0,0,20,20,0,0,1,20,20M0,20a20,20,0,0,1,40,0H-20' fill='%230D0D0D'/%3E%3C/svg%3E");

}

.section-delimiter.red-rose {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M-20,20A20,20,0,0,1,0,0,20,20,0,0,1,20,20M0,20a20,20,0,0,1,40,0H-20' fill='%23FE0141'/%3E%3C/svg%3E");

}

.section-delimiter.noir {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M-20,20A20,20,0,0,1,0,0,20,20,0,0,1,20,20M0,20a20,20,0,0,1,40,0H-20' fill='%23000000'/%3E%3C/svg%3E");

}


::-webkit-scrollbar {
    width: 15px; 
}

::-webkit-scrollbar-track {
    background: #252525;
}

::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 10px;
    border: 4px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
    border-radius: 10px;
    border: 4px solid transparent;
    background-clip: content-box;
}



@keyframes wave-motion {
    from {
        background-position-x: 0px;
    }
    to {
        background-position-x: 80px;
    }
}


section {
    padding-bottom: 40px; /* Pour que les sections dépasse le délimiteur de la section d'en dessous */
    padding-top: 35px;
    margin-top: -35px;
}

section h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2.8vw, 5rem);
    font-weight: 700;
}

section p {
    text-align:justify;
    font-size: clamp(1rem, 1vw, 1.3rem);
    font-weight: 400;
}

img {
    pointer-events: none;
}


/* Permet de mettre les sections en dessous des délimiteurs */
.accueil-section,
.concert-section,
.about-section,
.contact-section,
footer {
    position: relative;
    z-index: 1;
}


.section-delimiter {
    position: relative;
    z-index: 2;
}


*::selection {
  background: var(--primary-color);
  color: #ffffff;
}
*::-moz-selection {
  background: var(--primary-color);
  color: #ffffff;
}

#a-propos ::selection {
    background: black;
    color: white;
}

#a-propos ::-moz-selection {
  background: black;
  color: white;
}

.footer-madeby span::selection {
    background: var(--primary-color);
    color: black;
}

.footer-madeby span::-moz-selection {
  background: var(--primary-color);
  color: black;
}

.fade-in {
  animation: fade-in 1s ease forwards;
}



@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-out {
  animation: fade-out 0.15s ease forwards;
}

@keyframes fade-out {
    from {
        display: block;
        opacity: 1;
    }
    to {
        display: none;
        opacity: 0;
    }
}

.hidden {
    opacity: 0;
    transition: opacity 1.5s ease;
}

@media(prefers-reduced-motion) {
    .hidden {
        transition:none;
    }
}

.show {
    opacity: 1;
}

/* Smooth scroll pour les ancres */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Ticket breakpoint */
@media (max-width: 600px) {
    .concert-ticket img {
        width:clamp(1rem, 50vw, 20rem);
    }

}

@media (max-width: 828px) {
   .social-links i{
        margin-right:0px;
    }

    .social-link span {
        display:none;
    }
}

/* Footer */
@media (max-width: 1561px) {
    .footer-grid {
        grid-template-columns: 1fr 2fr 1fr;
        grid-template-rows: repeat(3, auto); 
    }

    .footer-logo {
        grid-column: 1;
        grid-row: 3;
    }

    .footer-madeby, .copyright {
        display: none;
    }

    .copyright-madeby {
        display:flex;
        grid-row: 3;
        
    }
}

/* Mobile */
@media (max-width: 1020px) {
    nav {
        align-items: flex-start;
    }

    /* Logo */
    nav a svg {
        transform: scale(0.75);
    }

    nav a:has(svg) {
        padding:2px;
    }

    /* Burger */
    nav > ul {
        display:none;
    }

    .menu-button {
        display:block;
    }



    .contact-content {
        flex-direction: column;
        gap: 20px;
    }
    .contact-info {
        align-items: center;
    }
    .social-links {
        flex-direction:row;
        align-items: center;
    }

    .social-link:last-child i{
        margin-right:0px;
    }

    .social-link:last-child span{
        display:none;
    }

    .social-link:hover {
        transform: none;
    }



    .about-content {
        justify-content: center;
        align-items: center;
    }

    .about-content-group {
        flex-direction: column;
        gap:15px;
    }

    .about-image {
        padding: 0 10vw;
    }




    .footer-grid {
        grid-template-columns: 0fr;
    }
    
    .footer-logo {
        display:none;
    }

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

    .copyright {
        grid-row: 3;
    }
}


