html,
body {}

* {
  box-sizing: border-box;
}

body {
  height: 100%;
  padding: 0;
  margin: 0;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4rem;
  height: 100%;
  position: relative;
  overflow-x: hidden;
}

main::before {
  content: "";
  height: 100%;
  background-image: url(../img/red.jpeg);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
  z-index: -1;
  display: block;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  filter: brightness(0.6);
}

#logout {
  text-decoration: none;
  color: white;
  position: absolute;
  top: 1rem;
  right: 1rem;
  text-transform: uppercase;
  font-weight: bold;
  font-size: .8rem;
  letter-spacing: 1px;
  padding: .7rem 1.5rem;
  background-color: transparent;
  transition: .3s ease-in-out all;
}

#logout:hover {
  color: #bc0a15;
  background-color: white;
}

#login-page {
  padding-bottom: 0;
  height: 100vh;
}

img {
  width: auto;
  height: auto;
  max-width: 100%;
}

.logo-img {
  width: auto;
  height: 361px;
  max-width: 473px;
}

@media screen and (max-width: 1550px) {
  .logo-img {
    height: 280px;
  }
}

@media screen and (max-width: 768px) {
  .logo-img {
    height: 180px;
    max-width: 90%;
  }
}

@media screen and (max-width: 480px) {
  .logo-img {
    height: 120px;
    max-width: 85%;
  }
}

#logo {
  margin-bottom: -4rem;
  width: 100%;
  text-align: center;
  padding: 0 1rem;
}

@media screen and (max-width: 768px) {
  #logo {
    margin-bottom: -2rem;
  }
}

@media screen and (max-width: 480px) {
  #logo {
    margin-bottom: -1rem;
  }
}

#player {
  width: 100%;
  text-align: center;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: auto 300px;
  width: 100%;
  text-align: center;
}

#attente {
  width: 750px;
  background-color: #222222;
  color: #ffffff;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 90%;
  text-align: center;
  padding: 0;
  -webkit-box-shadow: 0px -2px 24px 0px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px -2px 24px 0px rgba(0, 0, 0, 0.4);
  box-shadow: 0px -2px 24px 0px rgba(0, 0, 0, 0.4);
}

#attente iframe {
  height: 500px !important;
  width: 100%;
}

@media screen and (max-width: 768px) {
  #attente {
    max-width: 95%;
  }

  #attente iframe {
    height: 300px !important;
  }
}

@media screen and (max-width: 480px) {
  #attente {
    max-width: 98%;
  }

  #attente iframe {
    height: 250px !important;
  }
}


/* FORMS */
.form {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  width: 360px;
  max-width: 100%;
  margin: 0 auto 100px;
  padding: 45px;
  text-align: center;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

@media screen and (max-width: 768px) {
  .form {
    width: 90%;
    padding: 30px 20px;
    margin: 0 auto 50px;
  }
}

@media screen and (max-width: 480px) {
  .form {
    width: 95%;
    padding: 25px 15px;
    margin: 0 auto 30px;
  }
}

.form input {
  font-family: "Roboto", sans-serif;
  outline: 0;
  background: #f2f2f2;
  width: 100%;
  border: 0;
  margin: 0 0 15px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 14px;
}

.form input[type="submit"] {
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  outline: 0;
  background: #e10d1a;
  width: 100%;
  border: 0;
  padding: 15px;
  color: #FFFFFF;
  font-size: 14px;
  -webkit-transition: all 0.3 ease;
  transition: all 0.3 ease;
  cursor: pointer;
}

.form input[type="submit"]:hover,
.form input[type="submit"]:active,
.form input[type="submit"]:focus {
  background: #bc0a15;
}

.form .message {
  margin: 15px 0 0;
  color: #b3b3b3;
  font-size: 12px;
}

.form .message a {
  color: #bc0a15;
  text-decoration: none;
}

.form .register-form {
  display: none;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin: 0 auto;
}

.container:before,
.container:after {
  content: "";
  display: block;
  clear: both;
}

.container .info {
  margin: 50px auto;
  text-align: center;
}

.container .info h1 {
  margin: 0 0 15px;
  padding: 0;
  font-size: 36px;
  font-weight: 300;
  color: #1a1a1a;
}

.container .info span {
  color: #4d4d4d;
  font-size: 12px;
}

.container .info span a {
  color: #000000;
  text-decoration: none;
}

.container .info span .fa {
  color: #EF3B3A;
}

.section_1 {
  background: #000000;
  width: 100%;
  padding: 2rem;
  margin-bottom: 2rem;
}

@media screen and (max-width: 768px) {
  .section_1 {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .section_1 {
    padding: 1rem 0.5rem;
    margin-bottom: 1rem;
  }
}

.img_4 {
  max-width: 250px;
}

@media screen and (max-width: 768px) {
  .img_4 {
    max-width: 150px;
  }
}

@media screen and (max-width: 480px) {
  .img_4 {
    max-width: 100px;
  }
}

h3 {
  color: white;
  font-size: 1.5rem;
}

h3 span {
  color: #d2ae73;
}

@media screen and (max-width: 768px) {
  h3 {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 480px) {
  h3 {
    font-size: 1rem;
    line-height: 1.4;
  }
}

.bouton {
  background-color: red;
  border: none;
  border-radius: 8px;
  color: white;
  padding: 0.7rem 1rem;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}

@media screen and (max-width: 480px) {
  .bouton {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
}

.bouton:hover {
  background-color: #d2ae73;
}

.modal-dialog {
  transform: translateY(-55%) !important;
  top: 50%;
}

.modal-content {
  width: 1000px;
  justify-self: center;
  background-color: transparent;
}

@media (min-height: 930px) {
  body {
    height: 100vh;
  }
}

@media (max-width: 768.98px) {
  #logo img {
    height: 140px;
  }

  .modal-content {
    width: 95%;
    max-width: 450px;
  }

  iframe {
    height: auto !important;
    max-width: 100%;
  }

  main {
    padding-top: 2rem;
    padding-bottom: 100px;
    justify-content: center;
  }

  #logout {
    font-size: 0.7rem;
    padding: 0.5rem 1rem;
    top: 0.5rem;
    right: 0.5rem;
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 98%;
  }

  main {
    padding-top: 1.5rem;
  }

  #logout {
    font-size: 0.65rem;
    padding: 0.4rem 0.8rem;
    letter-spacing: 0.5px;
  }
}

/* Ajustement pour les vidéos YouTube en responsive */
@media (max-width: 768px) {
  section.w-100 iframe {
    width: 95% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 480px) {
  section.w-100 iframe {
    width: 98% !important;
  }
}