:root {
  --mobile-color: #2066ac;
  --computer-color: #00796b;
  --console-color: #b61717;
  --videogames-color: #c7a21d;
}

.logo {
  width: 100px;
}

#maintenance {
  width: 100%;
  height: 100%;
  background-color: black;
  position: fixed;
  z-index: 10;
  top: 0;
}

.mtn {
  text-align: center;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*-------------Section main ----------*/

body {
  font-family: Roboto;
  line-height: 1.7;
  margin: 0;
  background: #b33237;
}

.main {
  max-width: 1140px;
  margin: auto;
  box-sizing: border-box;
}
.contain {
  background-color: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}
.main h2 {
  text-align: center;
  font-size: 50px;
}
.main h2#mobiles {
  color: var(--mobile-color);
}
.main h2#videogames {
  color: var(--videogames-color);
}
.main h2#computers {
  color: var(--computer-color);
}
.main h2#consoles {
  color: var(--console-color);
}

.main p {
  margin: 0;
}
.main-contain {
  display: flex;
  gap: 10px;
  width: 100%;
}

.contain-actus {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.contain-actus-titre {
  width: 100%;
  position: absolute;
  bottom: 0;
}
.contain-articles-titre {
  width: 100%;
  position: absolute;
  bottom: 0;
}
.contain-articles-main-titre {
  width: 100%;
  position: absolute;
  bottom: 0;
}
.suki-menu-icon {
  font-size: 18px;
  vertical-align: -0.1em;
  color: black !important;
}
.contain-actus-main {
  background-repeat: no-repeat;
  background-position-x: 50%;
  background-size: cover;
  width: 200px;
  height: 400px;
  position: relative;
  cursor: pointer;
}

.main p {
  background: linear-gradient(transparent, black);
  color: white;
  font-weight: bold;
  padding: 10px 10px 15px;
  height: auto;
}

.contain-actus-bouton button {
  width: 200px;
  border-radius: 0;
}

button {
  background-color: #394650;
  border: none;
}
.button,
a.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-block;
  cursor: pointer;
  appearance: none;
  padding: 10px 20px;
  border-width: 1px;
  border-radius: 3px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  transition: all 0.25s;
}

.contain-articles {
  display: flex;
  width: 80%;
}

.contain-articles-main {
  display: flex;
  width: 60%;
  height: 438px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  cursor: pointer;
}
.contain-articles-right {
  display: flex;
  flex-direction: column;
  width: 40%;
}

.contain-articles-second {
  width: 100%;
  height: 219px;
  position: relative;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.contain-articles-third {
  width: 100%;
  height: 219px;
  position: relative;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

H2 {
  text-align: left !important;
  color: #050025;
}

.contain-articles-main {
  display: flex;
  gap: 10px;
  margin-bottom: 50px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
.contain-articles-third {
  display: flex;
  gap: 10px;
  margin-bottom: 50px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.contain-actus-main {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.main {
  margin-top: 40px;
  margin-bottom: 40px;
}

.formulaire {
  padding-bottom: 7rem;
}

.amazon-container {
  max-width: 1140px;
  margin: 5rem auto 8rem;
  box-sizing: border-box;
}
.amazon-links-container {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.amazon-bloc-link {
  width: 25%;
  box-sizing: border-box;
  padding: 10px;
}

.amazon-links {
  width: 100%;
  height: 300px;
  position: relative;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.amazon-container p {
  background: linear-gradient(transparent, black);
  color: white;
  font-weight: bold;
  padding: 10px 10px 15px;
  height: auto;
  margin: 0;
}

/*-------------Fin Section main ----------*/

@media (max-width: 768px) {
  .contain- {
    flex-direction: inverse;
  }
  .main-contain {
    flex-direction: column;
  }
  .main h2 {
    font-size: 40px;
    line-height: 1.2;
  }
  .contain {
    margin-bottom: 0;
  }
  .contain-actus {
    width: 100%;
  }
  .contain-actus {
    width: 100%;
  }
  .contain-actus-main {
    width: 100%;
  }
  .contain-actus-bouton a button {
    width: 100%;
  }
  .contain-articles {
    flex-direction: column;
    width: 100%;
  }
  .contain-articles-main {
    width: 100% !important;
    height: 300px !important;
    margin-bottom: 0;
  }
  .contain-articles-right {
    width: 100%;
  }

  .amazon-bloc-link {
    width: 50%;
  }

  .contain-articles-second,
  .contain-articles-third {
    width: 100%;
    height: 300px !important;
  }

  .amazon-container {
    margin: 2rem auto 2rem;
  }

  .amazon-links {
    width: 90%;
    margin: auto;
    height: 260px !important;
  }
}

@media (max-width: 500px) {
  .contain-articles-main {
    height: 219px !important;
  }

  .contain-articles-second,
  .contain-articles-third {
    height: 219px !important;
  }

  .amazon-links {
    height: 150px !important;
  }
}

/*------------TP2 NEW CODE----------*/

.main-description {
  margin-top: 100px !important;
  margin-bottom: 100px;
}
