@font-face {
    font-family: 'CocoGoose_Bold';
    src: url('./ressource/font/Cocogoose-Pro-Bold-trial.ttf') format('truetype');
    ont-display: swap;
}

@font-face {
    font-family: 'CocoGoose_UltraLight';
    src: url('./ressource/font/Cocogoose-Pro-Ultralight-trial.ttf') format('truetype');
    font-display: swap;
}

body {
    width: 100%;
    height: 5rem;
    margin: 0;
    background-color: rgb(15, 15, 15);
}

header {
    background-color: rgb(248, 244, 239);
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.container_mid {
    position: relative;
    background-color: rgb(248, 244, 239);
    width: auto;
    min-height: 35rem;
    overflow: hidden;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
}

.container_mid_txt {
    position: relative;
    width: 80%;
    margin-top: 1rem;
    padding-top: 1rem;
    margin-left: 10%;
    margin-bottom: 1rem;
    min-height: 32rem;
    z-index: 2;
    background: linear-gradient(25deg, rgba(255 ,255 ,255 ,0.40),rgba(255 ,255 ,255 ,0.95),rgba(255 ,255 ,255 ,0.55),rgba(255 ,255 ,255 ,0.95));
    border-radius: 1rem;
    border: 2px solid white;
    border-top-left-radius: initial;
    border-bottom-right-radius: initial;
}

footer {
    background-color: rgb(15, 15, 15);
    width: 100%;
    height: 5rem;
    text-align: center;
    padding-top: 1rem;
}

h1 {
    background-image: linear-gradient(rgb(255, 255, 255), rgb(187, 0, 0), rgb(90, 0, 0));
    -webkit-text-stroke: 2px black;
    color: transparent;
    background-clip: text;
    font-family: 'CocoGoose_Bold';
    font-size: 4rem;
    text-align: center;
    margin: 0;
    position: relative;
    z-index: 3;
}
@media only screen and (max-width: 600px) {
    h1 {
    background-image: linear-gradient(rgb(255, 255, 255), rgb(187, 0, 0), rgb(90, 0, 0));
    -webkit-text-stroke: 1px black;
    color: transparent;
    background-clip: text;
    font-family: 'CocoGoose_Bold';
    font-size: 2rem;
    text-align: center;
    margin: 0;
    position: relative;
    z-index: 3;
    }
}
h2 {
    color: black;
    background-clip: text;
    font-family: 'CocoGoose_UltraLight';
    font-size: 2rem;
    text-align: center;
    text-shadow: 1px 1px 5px white;
}
@media only screen and (max-width: 600px) {
    h2 {
    color: black;
    background-clip: text;
    font-family: 'CocoGoose_UltraLight';
    font-size: 1.3rem;
    text-align: center;
    text-shadow: 1px 1px 5px white;
}
}

h3 {
    background-image: linear-gradient(rgb(255, 255, 255), rgb(187, 0, 0), rgb(90, 0, 0));
    -webkit-text-stroke: 1px black;
    color: transparent;
    background-clip: text;
    font-family: 'CocoGoose_Bold';
    font-size: 2rem;
    text-align: center;
    margin: 0;
    position: relative;
    z-index: 3;
}
@media only screen and (max-width: 600px) {
    h3 {
    background-image: linear-gradient(rgb(255, 255, 255), rgb(187, 0, 0), rgb(90, 0, 0));
    -webkit-text-stroke: 1px black;
    color: transparent;
    background-clip: text;
    font-family: 'CocoGoose_Bold';
    font-size: 1rem;
    text-align: center;
    margin: 0;
    position: relative;
    z-index: 3;
    }
}

p {
    color: black;
    font-family: 'CocoGoose_UltraLight';
    text-align: center;
    font-size: 1.5rem;
    text-shadow: 1px 1px 5px white;
}
@media only screen and (max-width: 600px) {
    p {
    color: black;
    font-family: 'CocoGoose_UltraLight';
    text-align: center;
    font-size: 1rem;
    text-shadow: 1px 1px 5px white;
}
}

a {
    text-decoration: none;
    font-size: 3rem;
    color:white;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    display: block;
}

#img_head {
    position: absolute;
    top: 0;
    height: auto;
    width: 25%;
    filter: grayscale(0.95);
    left: 8%;
    z-index: 2;
}
@media only screen and (max-width: 600px) {
    #img_head {
    position: absolute;
    top: 0;
    height: auto;
    width: 40%;
    filter: grayscale(0.95);
    left: 0;
    z-index: 2;
    }
}

#carousel {
    position: absolute;
    height: auto;
    width: 100%;
    margin: auto;
    aspect-ratio: 2 / 1;
    background-size: cover;
    object-fit: cover;
    overflow: hidden;
}
@media only screen and (max-width: 600px) {
   #carousel {
    position: absolute;
    width: auto;
    height: 100%;
    margin: auto;
    aspect-ratio: 2 / 1;
    background-size: cover;
    object-fit: cover;
    overflow: hidden;
}
}

#carousel figure {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    opacity: 0;
    text-align: center;
    pointer-events: none;
    transition: opacity 1s ease-in-out;
}

#carousel figure.visible {
    opacity: 1;
}

#carousel img {
    width: 100%;
    height: auto;
    display: block;
}

 #loader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: linear-gradient(rgb(255, 255, 255), rgb(187, 0, 0), rgb(90, 0, 0));
      -webkit-text-stroke: 1px black;
      color: transparent;
      background-clip: text;
      font-family: 'CocoGoose_Bold';
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 1rem;
      z-index: 5;
    }

