/*
Objektiv Mk1 Regula
font-family: "objektiv-mk1", sans-serif;
font-weight: 400;
font-style: normal;

Objektiv Mk1 Medium
font-family: "objektiv-mk1", sans-serif;
font-weight: 500;
font-style: normal;

Objektiv Mk1 XBold
font-family: "objektiv-mk1", sans-serif;
font-weight: 800;
font-style: normal;
*/
@import url("https://use.typekit.net/yki0mvu.css");

.message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px 30px;
  border-radius: 8px;
  opacity: 0;
  animation: fadeIn 0.5s forwards, fadeOut 0.5s 4.5s forwards; /* Disparaît après 5s */
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.success {
  background-color: rgba(212, 237, 218, 0.9); /* Couleur avec transparence */
  color: #155724;
  border: 1px solid #c3e6cb;
}
.error {
  background-color: rgba(248, 215, 218, 0.9); /* Couleur avec transparence */
  color: #721c24;
  border: 1px solid #f5c6cb;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  to {
    opacity: 0;
  }
}

body {
  overflow: hidden;
  background: url("./bg_page.jpg") no-repeat center center;
  background-size: cover;
  width: 100vw;
  height: 100vh;
  margin: 0;
}
#name {
  position: absolute;
  left: -9999px; /* Place le champ hors de l'écran */
}

header {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  .title {
    display: none;
    color: white;
    font-size: 20px;
    text-transform: uppercase;
    font-family: "objektiv-mk1", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
  }
  .logo{
    width: 120px;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    img {
      width: 100%;
      height: auto;
    }
  }
}
.content {
  display: flex;
  flex-direction: column-reverse;

  .left {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 15px;
    p {
      font-size: 16px;
      margin: 0;
      margin-bottom: 10px;
      background: white;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      margin-left: 10px;
      &.follow {
        margin-left: 0;
        width: 110px;
        background: none;
        position: relative;
        color: white;
        text-transform: uppercase;
        font-family: "objektiv-mk1", sans-serif;
        font-weight: 400;
        font-style: normal;
        text-align: center;
      }
      img {
        position: relative;
        width: 14px;
        height: auto;
        top: 2px;
      }
    }
    .title {
      display: block;
      width: 100%;
      color: white;
      font-size: 20px;
      text-transform: uppercase;
      font-family: "objektiv-mk1", sans-serif;
      font-weight: 400;
      font-style: normal;
      text-align: center;
      &:nth-child(5) {
        margin-bottom: 20px;
      }
    }
  }
  .center {
    background: linear-gradient(
      to bottom,
      rgba(0, 51, 51, 0.53) 0%,
      rgba(51, 153, 102, 0.53) 100%
    );
    padding: 15px;
    text-align: center;
    h1 {
      color: white;
      text-transform: uppercase;
      font-family: "objektiv-mk1", sans-serif;
      font-weight: 800;
      font-size: 24px;
      font-style: normal;
    }
    p {
      color: white;
      text-transform: uppercase;
      font-family: "objektiv-mk1", sans-serif;
      font-weight: 400;
      font-size: 16px;
      font-style: normal;
    }
    form{
      display: flex;

      input[type="text"]{
        position: relative;
        left: 20px;
        height: 45px;
        width: 150px;
        border-radius: 25px;
        border: none;
      }
      input[type="text"]::placeholder {
        font-family: "objektiv-mk1", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 10px;
      }
      input[type="text"]:focus {
        outline: none;
        /* Tu peux ajouter une subtile bordure ou ombre si tu veux préserver un indicateur visuel du focus */
        /* box-shadow: 0 0 0 2px rgba(51, 153, 102, 0.3); */
      }
      
      /* Pour Firefox */
      input[type="text"]::-moz-focus-inner {
        border: 0;
      }
      
      /* Pour Chrome - masquer le remplissage automatique avec couleur de fond */
      input[type="text"]:-webkit-autofill,
      input[type="text"]:-webkit-autofill:hover, 
      input[type="text"]:-webkit-autofill:focus {
        -webkit-box-shadow: 0 0 0px 1000px white inset;
        transition: background-color 5000s ease-in-out 0s;
      }
      input[type="submit"] {
        position: relative;
        left: -32px;
        height: 47px;
        background: linear-gradient(
          to bottom,
          rgba(51, 153, 102, 1) 0%,
          rgba(0, 51, 51, 1) 100%
        );
        color: white;
        text-transform: uppercase;
        font-family: "objektiv-mk1", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 16px;
        border-radius: 25px;
        padding: 10px 20px;
        border: none;
        cursor: pointer;
  
      }
    }
  }
}

@media only screen and (min-width: 375px) {
  header {
    .title {
    }
  }
  .content {
    margin-top: 30px;
    .left {
      p {
        &.follow {
        }
        img {
        }
      }
      .title {
        &:nth-child(1) {
          margin-top: 30px;
        }
        &:nth-child(5) {
        }
      }
    }
    .center {

      h1 {
      }
      p {
      }
      form{
  
        input[type="text"]{
        }
        input[type="text"]::placeholder {
        }
        input[type="submit"] {
    
        }
      }
    }
  }
}

@media only screen and (min-width: 414px) {
  header {
    margin-top: 7%;
    .title {
    }
  }
  .content {
    margin-top: 5%;
    .left {
      p {
        &.follow {
        }
        img {
        }
      }
      .title {
        &:nth-child(1) {
          margin-top: 5%;
        }
        &:nth-child(5) {
        }
      }
    }
    .center {
      padding: 65px;

      h1 {
      }
      p {
      }
      form{
  
        input[type="text"]{
        }
        input[type="text"]::placeholder {
        }
        input[type="submit"] {
    
        }
      }
    }
  }
}

@media only screen and (min-width: 430px) {
  header {
    margin-top: 25%;
    .title {
    }
  }
  .content {
    margin-top: 15%;
    .left {
      p {
        &.follow {
        }
        img {
        }
      }
      .title {
        &:nth-child(1) {
          margin-top: 15%;
        }
        &:nth-child(5) {
        }
      }
    }
    .center {
      padding: 65px;

      h1 {
      }
      p {
      }
      form{
  
        input[type="text"]{
        }
        input[type="text"]::placeholder {
        }
        input[type="submit"] {
    
        }
      }
    }
  }
}

@media only screen and (min-width: 600px) {
  header {
    margin-top: 10%;
    .title {
    }
  }
  .content {
    margin-top: 15%;
    .left {
      p {
        &.follow {
        }
        img {
        }
      }
      .title {
        &:nth-child(1) {
          margin-top: 15%;
        }
        &:nth-child(5) {
        }
      }
    }
    .center {
      padding: 85px 0;
      width: 580px;
      margin: 0 auto;
      h1 {
      }
      p {
      }
      form{
        width: 400px;
        margin: 0 auto;
        input[type="text"]{
          padding-left: 15px;
          width: 280px;
        }
        input[type="text"]::placeholder {
        }
        input[type="submit"] {
          width: 142px;
        }
      }
    }
  }
}
@media only screen and (min-width: 1280px) {
  body{
    padding: 0;
  }
  header {
    margin-top: 0;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
    .title {
      display: block;
    }
    .logo{
      width: 130px;
      height: auto;
      img{
        width: 100%;
        height: auto;
      }
    }
  }
  .content {
    margin-top: 0;
    flex-direction: row;
    height: 80vh;
    
    .left {
      display: flex;
      width: 6%;
      flex-direction: column-reverse;
      align-items: center;
      align-content: center;
      p {
        margin-left: 0;
        &.follow {
          transform: rotate(-90deg);
          transform-origin: left center;
          white-space: nowrap;
          position: relative;
          margin-bottom: 50px;
          left: 56px;
          top: 100px;
        }
        img {
          
        }
      }
      .title {
        display: none;
        &:nth-child(1) {
          margin-top:0;
        }
        &:nth-child(5) {
        }
      }
    }
    .center {
      padding: 85px 0;
      width: 88%;
      margin: 0;
      display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
      h1 {
        font-size: 60px;
        letter-spacing: 40px;
      }
      p {
        font-size: 18px;
        letter-spacing: 10px;
      }
      form{
        width: 400px;
        margin: 40px auto 0;
        input[type="text"]{
        }
        input[type="text"]::placeholder {
        }
        input[type="submit"] {
        }
      }
    }
  }
}
@media only screen and (min-width: 1600px) {
  body{
  }
  header {
    width: 88%;
    margin-left: 6%;
    justify-content: space-between;
    .title {
    }
    .logo{
      img{
      }
    }
  }
  .content {
    
    .left {
      p {
        &.follow {
        }
        img {
          
        }
      }
      .title {
        &:nth-child(1) {
        }
        &:nth-child(5) {
        }
      }
    }
    .center {
      h1 {
      }
      p {
      }
      form{
        input[type="text"]{
        }
        input[type="text"]::placeholder {
        }
        input[type="submit"] {
        }
      }
    }
  }
}