/* INIT ************************************************************/

*,
::before,
::after {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: Montserrat;
  src: url(/assets/font/Montserrat-Regular.woff2) format(woff2);
}

:root {
  --white: #ffffff;
  --black: #000000;
  --yellow: #f2aa5f;
  --orange: #ef7b68;
  --pink: #e64687;
  --light-purple: #af368c;
  --purple: #7f3089;
  --dark-purple: #4a2a85;
  --blue1: #070b35;
  --blue2: #0b1462;
  --blue3: #191382;
  --blue4: #1f2994;
  --blue5: #2632ad;
  --cream: #f2ebdb;
}

body {
  font-family: Montserrat;
  font-size: 20px;
  font-weight: 400;
  background-color: var(--cream);

  span {
    margin: 25px 0;
    display: flex;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--yellow), var(--purple));
    border-radius: 0px 10px;
  }
}

header {
  top: 0;
  left: 0;
  padding: 15px 30px;
  background-color: var(--cream);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  height: 100px;
  z-index: 5;

  nav {
    display: flex;
    align-items: center;

    a {
      margin: 0 15px;
      font-size: 25px;
      font-weight: 600;
      color: var(--blue1);
      transition: 0.5s ease 0.05s;
    }

    a:nth-child(1):hover {
      color: var(--yellow);
    }
    a:nth-child(2):hover {
      color: var(--orange);
    }
    a:nth-child(3):hover {
      color: var(--pink);
    }
    a:nth-child(4):hover {
      color: var(--light-purple);
    }
    a:nth-child(5):hover {
      color: var(--purple);
    }
  }

  .hbg {
    display: none;
  }
}

a {
  text-decoration: none;
}

/* HEADER ***********************************************************/

/* MAIN *************************************************************/

/* SECTIONS *********************************************************/
section {
  padding: 0px 100px;
  background-color: var(--cream);

  h1 {
    font-size: 50px;
    color: var(--blue1);
  }
}

#s1 {
  height: 100vh;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--blue1);
  background: rgb(255 255 255 / 50%);

  h1 {
    font-size: 75px;
  }
}

#s2 {
  text-align: center;

  .col-6 {
    margin: 25px 0;
    text-align: start;
  }

  .pres {
    margin-bottom: 75px;
  }
}

#s3 {
  h1 {
    text-align: center;
    margin-bottom: 50px;
  }

  h2 {
    margin: 15px 0;
  }

  h2.yellow {
    display: inline-block;
    background-color: var(--dark-purple);
    padding: 10px;
    border-radius: 10px 0;
  }

  h2.dark-purple {
    display: inline-block;
    background-color: var(--yellow);
    padding: 10px;
    border-radius: 10px 0;
  }

  h3 {
    margin: 10px 0;
  }

  p {
    margin: 10px 0;
  }
}

#s4 {
  margin-top: 50px;
  h1 {
    text-align: center;
  }
}

#s5 {
  h1 {
    text-align: center;
    margin-bottom: 50px;
  }

  h3 {
    margin: 20px 0;
  }

  li {
    margin: 5px 0;
  }

  .col-5 {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .col-7 {
    display: flex;
    flex-flow: column;
    justify-content: center;
  }
}
/* FOOTER ***********************************************************/

footer {
  padding: 30px;
  background-color: var(--blue1);

  a {
    margin: 0 15px;
    font-size: 25px;
    font-weight: 600;
    color: var(--cream);
    transition: 0.5s ease 0.05s;
  }

  .col-6 {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
  }
}

/* CLASS ************************************************************/

.box {
  padding: 20px 40px;
}

.boxbox {
  display: flex;
  flex-flow: column;
  align-items: center;
  border: solid 4px;
  border-radius: 20px 0;
  padding: 20px;
  text-align: center;

  h3 {
    margin-bottom: 20px;
  }
}

.icon {
  width: 75%;
}

.center {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
}

.logo {
  transition: 0.5s ease 0.05s;
  max-width: 150px;
}

.affiche {
  width: 100%;
}

.hero {
  z-index: -5;
  height: 100vh;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.menu {
  position: fixed;
  right: -100%;
  z-index: 4;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  width: 40%;
  height: 100%;
  background-color: var(--cream);
  opacity: 100%;
  transition: 0.5s ease 0s;

  a {
    margin: 10px 0;
    font-size: 30px;
    font-weight: 600;
    color: var(--blue1);
    transition: 0.5s ease 0s;
  }

  a:nth-child(1) {
    color: var(--yellow);
  }
  a:nth-child(2) {
    color: var(--orange);
  }
  a:nth-child(3) {
    color: var(--pink);
  }
  a:nth-child(4) {
    color: var(--light-purple);
  }
  a:nth-child(5) {
    color: var(--purple);
  }
}

.space {
  height: 100px;
}

.yellow {
  color: var(--yellow);
}

.orange {
  color: var(--orange);
}

.pink {
  color: var(--pink);
}

.light-purple {
  color: var(--light-purple);
}

.purple {
  color: var(--purple);
}

.dark-purple {
  color: var(--dark-purple);
}

.blue1 {
  color: var(--blue1);
}
/* GRID *************************************************************/

.container {
  width: 1300px;
  margin-inline: auto;
}

.row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.col-1 {
  grid-column: span 1;
}

.col-2 {
  grid-column: span 2;
}

.col-3 {
  grid-column: span 3;
}

.col-4 {
  grid-column: span 4;
}

.col-5 {
  grid-column: span 5;
}

.col-6 {
  grid-column: span 6;
}

.col-7 {
  grid-column: span 7;
}

.col-8 {
  grid-column: span 8;
}

.col-9 {
  grid-column: span 9;
}

.col-10 {
  grid-column: span 10;
}

.col-11 {
  grid-column: span 11;
}

.col-12 {
  grid-column: span 12;
}

/* MEDIA QUERIES *****************************************************/

@media screen and (max-width: 1350px) {
  .container {
    width: 1000px;
  }

  .col-md-1 {
    grid-column: span 1;
  }

  .col-md-2 {
    grid-column: span 2;
  }

  .col-md-3 {
    grid-column: span 3;
  }

  .col-md-4 {
    grid-column: span 4;
  }

  .col-md-5 {
    grid-column: span 5;
  }

  .col-md-6 {
    grid-column: span 6;
  }

  .col-md-7 {
    grid-column: span 7;
  }

  .col-md-8 {
    grid-column: span 8;
  }

  .col-md-9 {
    grid-column: span 9;
  }

  .col-md-10 {
    grid-column: span 10;
  }

  .col-md-11 {
    grid-column: span 11;
  }

  .col-md-12 {
    grid-column: span 12;
  }
}

@media screen and (max-width: 1050px) {
  header {
    nav {
      display: none;
    }

    .hbg {
      width: 40px;
      height: 30px;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
      display: flex;

      span {
        display: block;
        height: 4px;
        background: var(--white);
        border-radius: 2px;
        transition: 0.5s ease 0.05s;
      }

      span:nth-child(1) {
        background-color: var(--yellow);
      }

      span:nth-child(2) {
        background-color: var(--pink);
      }

      span:nth-child(3) {
        background-color: var(--purple);
      }
    }
  }

  #s2 {
    .col-6 {
      text-align: center;
    }
  }

  .show {
    right: 0;
  }

  .container {
    width: 700px;
  }

  .col-sm-0 {
    display: none;
  }

  .col-sm-1 {
    grid-column: span 1;
  }

  .col-sm-2 {
    grid-column: span 2;
  }

  .col-sm-3 {
    grid-column: span 3;
  }

  .col-sm-4 {
    grid-column: span 4;
  }

  .col-sm-5 {
    grid-column: span 5;
  }

  .col-sm-6 {
    grid-column: span 6;
  }

  .col-sm-7 {
    grid-column: span 7;
  }

  .col-sm-8 {
    grid-column: span 8;
  }

  .col-sm-9 {
    grid-column: span 9;
  }

  .col-sm-10 {
    grid-column: span 10;
  }

  .col-sm-11 {
    grid-column: span 11;
  }

  .col-sm-12 {
    grid-column: span 12;
  }
}

@media screen and (max-width: 750px) {
  .container {
    width: 90%;
  }

  .col-xs-1 {
    grid-column: span 1;
  }

  .col-xs-2 {
    grid-column: span 2;
  }

  .col-xs-3 {
    grid-column: span 3;
  }

  .col-xs-4 {
    grid-column: span 4;
  }

  .col-xs-5 {
    grid-column: span 5;
  }

  .col-xs-6 {
    grid-column: span 6;
  }

  .col-xs-7 {
    grid-column: span 7;
  }

  .col-xs-8 {
    grid-column: span 8;
  }

  .col-xs-9 {
    grid-column: span 9;
  }

  .col-xs-10 {
    grid-column: span 10;
  }

  .col-xs-11 {
    grid-column: span 11;
  }

  .col-xs-12 {
    grid-column: span 12;
  }
}

@media screen and (max-width: 550px) {
  [class*="col-"]:not(.freeze) {
    grid-column: span 12 !important;
  }

  .row {
    gap: 0 20px;
  }
}
