:root {
    --color22:#002c00;
    --color23:#287d00;
    --color24:#c32801;
    --color25:#002e7d;
    --color26:#d38602;
}
body{
    margin:0;
    font-family: Arial, Helvetica, sans-serif;
    background:#f4efe2;
    color:#1a1a1a;
}
header{
    background:
        linear-gradient(to bottom, #ffffff00 0%, #ffffff88 60%, #ffffffff 100%),
        url("../images/dune.jpg");
    background-position-x: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align:center;
    padding: 20px;
    display: block;
    max-width: 100%;
    max-height: 100%;
}
header h1{
    margin:0;
    font-size:4rem;
    font-weight:900;
    letter-spacing:2px;
}
header h1 .text-color22 {
    color:var(--color22);
}
header h1 .text-color24 {
    color:var(--color24);
}
header h2{
    margin:20px auto;
    padding: 5px 40px;
    clip-path: polygon(0% 100%, 5% 0%, 100% 0%, 95% 100%);
    font-size:1.9rem;
    font-weight: bold;
    color: white;
    background-color: var(--color24);
    width: fit-content;
}
header p{
    margin: 0;
    font-size:1rem;
    color: var(--color22);
}
.countdown {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    font-size:1.5rem;
}
.countdown p {
    width: 100%;
}
.countdown-block {
    margin: 5px;
    padding: 5px;
    width: 100px;
    background-color: var(--color26);
    clip-path: polygon(0% 100%, 15% 0%, 100% 0%, 85% 100%);
}
.countdown-block .countdown-time {
    font-size: 1.5rem;
    font-weight: bold;
}
.countdown-block span {
    display: block;
}
.countdown-block span:last-child {
    font-weight: 400;
    font-size: 0.6em;
    line-height: 1;
}
.day{
    background:white;
    border-radius:14px;
    margin-bottom:25px;
    overflow:hidden;
    box-shadow:0 4px 12px rgba(0,0,0,.12);
}
.day-title{
    color:white;
    padding:18px;
    font-size:2rem;
    font-weight:bold;
}
.day22 {
    background:var(--color22);
}
.day23 {
    background:var(--color23);
}
.day24 {
    background:var(--color24);
}
.day25 {
    background:var(--color25);
}
.day26 {
    background:var(--color26);
}

.container > div {
    margin-bottom: 60px;
}
.container h2 {
    border-bottom-style: solid;
    padding-bottom: 5px;
    margin-bottom: 20px;
    border-color: lightgray;
    border-width: 2px;
}
.columns{
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
}
.event{
    padding:20px;
    border-right:1px solid #ddd;
    text-align: center;
}
.event:last-child{
    border-right:none;
}
.event h3{
    margin-top:0;
    color:#f15a24;
    border-bottom:3px solid #f15a24;
    display:inline-block;
    padding-bottom:5px;
}
footer{
    text-align:center;
    padding:30px;
    background: var(--color22);
    color:white;
    font-size:1rem;
}
#opening {
    text-align:center;
    font-size:2rem;
    font-weight:bold;
    color: #003665;
    padding: 5px;
}
@media(max-width:800px){
    header h1{font-size:2.4rem;}
    header h2{font-size:1rem;}
    header p{font-size:0.8rem;}
    .countdown {font-size:1.1rem;}
    .countdown-block {width: 70px;}
    #opening{font-size:1.3rem;}
}
@media(max-width:500px){
    #opening{font-size:1rem;}
}

/* Navbar */

#navbutton {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #1f2937;
    color: white;
}

.nav-links {
    display: none;
    position: fixed;
    top: 39px;
    left: 0;
    width: 220px;
    flex-direction: column;
    background-color: #1f2937;
    padding: 15px;
    gap: 10px;
    z-index: 10;
}

.nav-links.active {
    display: flex;
}

.nav-links a {
    text-decoration: none;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background-color 0.3s;
    width: 100%;
}

.nav-links a:hover {
    background-color: #374151;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

#partenaires img {
    max-width: 120px;
}

#partenaires div {
    display: flex;
    justify-content: center;
    align-items: center;
}

#contact-form button {
    background-color: var(--color22);
}

footer {
    padding: 80px 0;
    font-size: 0.9rem;
}
footer a {
    text-decoration: none;
    color: white;
}
footer span {
    margin: 0 10px;
}