@import url('https://fonts.googleapis.com/css2?family=Monoton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ribeye+Marrow&display=swap');

:root {     
    --primary-font: "Monoton", cursive;
    --alt-font: "Ribeye Marrow", sans-serif;
    --pink: #c6385e;
    --red: #FF0000;
    --dark-gray: #0f0f14;
    --medium-gray:#5d5d64;
    --app-height: 100%;
}

p {
    margin:0;
}

.title-font {
    font-family: var(--primary-font) !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Ombre portée optionnelle pour plus de lisibilité */
}

.title-font .highlight {
    color: #c6385e;
}

.alt-font {
    font-family: var(--alt-font) !important;
}

.fw300{
    font-weight: 300;
}
.fw400{
    font-weight: 400;
}
.fw500{
    font-weight: 500;
}

.fw800{
    font-weight: 800;
}

.red{
    color:var(--red);
}

.pink{
    color:var(--pink);
}

.dark{
    color:var(--dark-gray);
}

.video-container {
    position: relative;
    width: 100%;
    height: var(--app-height);
    overflow: hidden;
}
.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}
.content-overlay {
    position: relative;
    z-index: 1;
    height: var(--app-height);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.logo{
    position: absolute;
    top: 20vh;
    left: 50%;
    transform: translateX(-50%);
}

.about-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Assurez-vous que le wrapper prend toute la largeur */
}

.about-container {
    width: 100%; /* Le container prend toute la largeur du wrapper */
    display: flex;
    justify-content: center; /* Centre horizontalement le contenu */
}

.about {
    max-width: 800px;
    text-align: center;
    font-size: 30px;
    line-height: 33px;
    /* Supprimez les marges si elles existent */
    margin: 0;
}

@media (orientation: landscape) {
    .video-background {
        width: auto;
        height: var(--app-height);
    }
}

@media (orientation: portrait) {
    .video-background {
        width: auto;
        height: var(--app-height);
    }
}

/* Styles de base pour mobile */
.container.logo {
    position: absolute;
    top: 2vh;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
}

.title-font {
    font-size: 35px;
}

.subtitle{
    text-align:center;
    margin-top:-15px;
}

.alt-font {
    font-size: 20px;
}

.about {
    max-width: 90%;
    text-align: center;
    font-size: 16px;
    line-height: 20px;
}

/* Tablettes en mode portrait et grands mobiles */
@media (min-width: 600px) and (max-width: 900px) and (min-height: 500px) {
    .container.logo {
        top: 10vh;
        max-width: 400px;
    }

    .title-font {
        font-size: 45px;
    }
    
    .alt-font {
        font-size: 27px;
    }

    .about {
        max-width: 80%;
        font-size: 18px;
        line-height: 22px;
    }
}

/* Tablettes en mode paysage et petits écrans */
@media (min-width: 900px) and (max-width: 1200px) and (max-height: 800px) {
    .container.logo {
        top: 2vh;
        max-width: 400px;
    }

    .title-font {
        font-size: 50px;
    }
    
    .alt-font {
        font-size: 22px;
    }

    .about {
        max-width: 70%;
        font-size: 18px;
        line-height: 22px;
    }
}

/* Grands écrans */
@media (min-width: 1200px) and (min-height: 800px) {
    .container.logo {
        top: 10vh;
        max-width: 1200px;
    }

    .title-font {
        font-size: 140px;
    }

    .subtitle{
        margin-top:-40px;
    }
    
    .alt-font {
        font-size: 52px;
    }

    .about {
        max-width: 60%;
        font-size: 30px;
        line-height: 33px;
    }
}

/* Règles spécifiques pour les mobiles en mode paysage */
@media (max-height: 500px) and (orientation: landscape) {
    .container.logo {
        top: 2vh;
        max-width: 400px;
    }

    .title-font {
        font-size: 44px;
    }
    
    .alt-font {
        font-size: 24px;
    }

    .about {
        max-width: 80%;
        font-size: 14px;
        line-height: 18px;
    }
}

/*PRELOADER*/
body{
    background: #18262A;
  }

  .page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #18262A;  
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;  
    }
  
  .turntable{
    margin: 0;  
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);  
    width: 310px;
    height:280px;
    background: #E36558;
    border-radius: 5%;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.7);
  }
  
  .record {
    position: absolute;
    left: 35px;
    top: 35px;
    width: 200px;
    height: 200px;
    background: black;
    border-radius: 50%;
    animation: spin 1s infinite linear;
  }
  
  @keyframes spin {
    0% {
      transform: none;
    }
    
    100% {
      transform: rotate(360deg);
    }
  }
  
  .record::before {
    content: '';
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    width: 180px;
    height: 180px;
    background: repeating-radial-gradient(black, black 5px, #1C1C1C 6px, #1C1C1C 7px);
    border-radius: 50%;
  }
  
  .overlay {
    content: '';
    left: 35px;
    top: 35px;
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, transparent, 40%, rgba(255,255,255,0.35), 60%, transparent);
    border-radius: 50%;
  }
  
  
  .inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 55px;
    height: 55px;
    background: linear-gradient(white, white 50%, #F796A8 50%, #F796A8);
    border-radius: 50%;
  }
  
  .inner::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: black;
    border-radius: 50%;
  }
  
  .inner::after {
    content: 'LOADING';
    width: 55px;
    text-align: center;
    font-family: sans-serif;
    font-size: 8px;
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
  }
  
  .arm-holder {
    position: absolute;
    width: 40px;
    height: 40px;
    background: gray;
    border-radius: 50%;
    right: 20px;
    top: 40px;
  }
  
  .arm-holder::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: #939393;
    border-radius: 50%;
  }
  
  .arm {
    position: absolute;
    right: 13px;
    width: 60px;
    top: 10px;
    height: 110px;
    border: 10px solid #939393;
    transform: skew(-20deg, -20deg);
    transform-origin: top right;
    border-left-color: transparent;
    border-top-color: transparent;
    border-radius: 0 0 30% 0;
    animation: armTwitch 0.5s infinite;
    animation-direction: alternate-reverse;
  }
  
  @keyframes armTwitch {
    0% {
       transform: skew(-20deg, -20deg);
    }
    
    100% {
      transform: skew(-20deg, -20deg) rotate(1deg);
    }
  }
  
  .arm::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 30px;
    background: gray;
    transform: skew(20deg, 20deg) rotate(75deg);
    top: 98px;
    left: -10px;
    border-radius: 20%;
    clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
  }
  
  .dial {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 25px;
    height: 25px;
    background: #333642;
    border-radius: 50%;
  }
  
  .dial::before {
    content: '';
    left: 50%;
    transform: translateX(-50%);
    top: 2px;
    position: absolute;
    width: 2px;
    height: 5px;
    background: white;
    border-radius: 50%;
  }
  