

/* ================================================= */
:root{
    --black_soft: #000000;
    --clear_black: #000000;
    --gray: #f70909;
    --gray2: #ff0000;
    --clear_gray: #951919;
    --clearer_gray: #ff0000;
  
    --white: #ffffff;
  
    --yellow: #f09011;
    --orange: #f30a0a;
  
    --blue: #f58b00;
    --blue2: #fe9d02;
    --clear_blue: #f8cb6c;
    --clearer_blue: #f8cb6c;

    --clear-green: rgb(109, 194, 141);
    --red: #e60101;
  }
 
  .pacifico{
    font-family: "Pacifico", cursive;
    font-weight: 400;
    font-style: normal;
  }

  .montserrat{
    font-family: "Montserrat", sans-serif;
  }
 
  .roboto{
    font-family: "Roboto", sans-serif;
  }
 
  .nunito{
    font-family: "Nunito", sans-serif;
  }


/* ========================================== */

/* ========================================== */

*{
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  transition: 0.3s ease;
}
body{
  margin: 0;
  font-family: "Roboto", sans-serif;
  color: var(--black_soft);
}
a{
  text-decoration: none;
  color: inherit;
  pointer-events: auto !important;
}
h1, h2, h3, h4, h5, h6{
  font-family: "Montserrat", sans-serif;
}
button{
  cursor: pointer;
}

/* ================================================ */

/* ================================================ */
.space-around{
  display: flex;
  justify-content: space-around;
}
.space-between{
  display: flex;
  justify-content: space-between;
}
.flex-start{
  display: flex;
  justify-content: flex-start;
}
.flex-centered{
  display: flex;
  justify-content: center;
  align-items: center;
}
.absolute-centered{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.fixed-centered{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.sticky-centered{
  position: sticky;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.flex-row{
  display: flex;
  flex-direction: row;
}
.border{
  border: 3px solid red;
}
.hide{
  display: none !important;
}
.show{
  display: flex !important;
}
.show-block{
  display: block !important;
}
.rotate-180{
  transform: rotate(180deg);
}

/* ================================================ */

/* ================================================ */
.session-message{
  color: var(--red)
}


.btn{
  background-color: var(--yellow);
  border-radius: 15px;
  border: none;
  color: var(--black_soft);
  font-family: "Nunito", sans-serif;
  padding: 10px;
  box-shadow: 0px 4px 4px 0px #747474a8;
  cursor: pointer;
}
.btn:hover{
  background-color: var(--clearer_blue);
  box-shadow: 0px 4px 4px 0px #5f5f5fbb;
}


.btn-blue{
  background-color: var(--blue);
  color: var(--white);
  padding: 0.4rem 1rem;
}
.btn-blue:hover{
  background-color: #0975a0;
}


.close-button{
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: none;
  background-color: var(--clear_blue);
  color: var(--white);
  font-size: 16pt;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.close-button:hover{
  transform: scale(1.2);
}


.bouton-standard{
  border: none;
  padding: 0.5rem 1rem;
}

.btn-neutre{
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}


.form{
  display: flex;
  flex-direction: column;
}
.form input, .form input[type="email"], .form textarea{
  background-color: var(--white);
  border: 1px solid var(--gray);
  padding: 0px 1rem;
  margin-bottom: 0.8rem;
  transition: 0s;
}
.form input:-webkit-autofill{
  box-shadow: 0 0 0 1000px var(--white) inset !important;
  -webkit-text-fill-color: var(--gray) !important;
  border: 1px solid var(--gray) !important;
  transition: background-color 9999s ease-in-out 0s;
}
.form input::placeholder, .form input[type="email"]::placeholder, .forum textarea::placeholder {
  color: var(--gray);         
  opacity: 0.8;         
  font-style: italic;  
}
.form input:focus, .form input[type="email"]:focus, .form textarea:focus{
  outline: none;
  border: 1.5px solid var(--clear_black);
}
.form-select{
  background-color: var(--white);
  border: 1px solid var(--gray);
  padding: 0px 1rem;
  color: var(--clear_black);
}
.form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}




.modern-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
}

.modern-table th, .modern-table td {
  padding: 12px 5px;
  text-align: left;
}
.modern-table thead {
  background-color: #b9dee4;
  font-weight: bold;
  }
    .modern-table tbody tr:nth-child(odd) {
        background-color: #ffffff;
    }
    .modern-table tbody tr:nth-child(even) {
        background-color: #f0f4f8;
    }

    .modern-table tbody tr:hover {
        background-color: #e2ecf5;
    }

    .modern-table button {
        padding: 6px 12px;
        background-color: var(--blue);
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .modern-table button:hover {
        background-color: #0056b3;
    }

/* Header standard */
.header-standard{
  border-bottom: 2px solid var(--blue);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.header-standard button{
  background-color: var(--blue);
  color: var(--white)
}

/* ============================================= */

/* ============================================= */
.register-container>div{
  flex: 1;
}
.register-container{
  background-color: var(--white);
  padding: 0px 5vw;
  height: 85vh; /* 85vh */
  margin-top: 15vh;
}

.register-container .left-part{
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}
.register-container .left-part img{
  width: 30vw;
  border-radius: 50%;
}
.register-container .left-part h2{
  font-size: 25px;
  color: var(--blue);
  width: 30vw;
}


.register-container .right-part{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem
}
.register-container .right-part h2{
  font-weight: normal;
}
.register-container .right-part .flex-row{
  width: 70%;
  gap: 1rem;
}

.register-container .right-part .input-container{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.register-container .right-part .flex-row input{
  width: 100%;
}
.register-container .form{
  gap: 0.3rem;
}
.register-container .form input, .register-container .form input[type="email"]{
  width: 70%;
  border-radius: 10px;
  height: 2.3rem;
}
.register-container .form input:focus, .register-container .form input[type="email"]:focus, .register-container .form input[type="password"]:focus{
  outline: none;
  border: 2px solid var(--blue) !important;
}
.register-container .right-part .select-role{
  width: 70%;
  height: 2.3rem;
  border-radius: 10px;
  margin-bottom: 0.8rem
}
.register-container .right-part .btn{
  width: 70%;
  border: none;
  font-size: 16px;
}


.student-field{
  background-color: rgba(24, 24, 24, 0.76);
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
}
.student-field-container{
  background-color: var(--clearer_blue);
  width: 40vw;
  min-height: 40vh;
  height: fit-content;
  border-radius: 20px;
  padding: 3rem 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--black_soft);
  position: relative;
}
.student-field-container label{
  font-weight: bold;
  float: left
}
.student-field-container select{
  margin-bottom: 1rem;
  border-radius: 5px;
  height: 2rem;
}
.student-field-container .btn{
  align-self: center;
  background-color: var(--blue) !important; 
  color: var(--white)
}
.student-field-container .btn:hover{
  background-color: #00648b !important; 
}
.student-field-container .close-button{
  position: absolute;
  top: 1rem;
  right: 1rem
}
/* ================================================= */

/* ================================================= */
.principal{
  background-color: var(--white);
  position: relative;
  padding: 0px 8vw;
  height: 85vh;
  margin-top: 15vh;
}
.principal .left-part, .principal .right-part{
  width: 40%;
}
.principal .left-part{
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  z-index: 9;
}
.principal .left-part p{
  max-width: 30vw;
  width: 100%;
  line-height: 1.6;
  font-size: 17px;
}
.principal .left-part .btn{
  z-index: 3;
}
.principal .right-part .img-container{
  background-image: url(/../Memoire/assets/img/classeinv.png);
  background-size: cover;
  background-position: center;
  width: 30vw;
  aspect-ratio: 736 / 589;
  object-fit: cover;
  position: relative;
  border-radius: 50px;
}
.principal .right-part .img-container img:first-child{
  position: absolute;
  bottom: 0rem;
  left: 0rem;
  z-index: 99;
  width: 12vw;
}
.principal {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  z-index: 1;
}

/* ================================================= */

/* ================================================= */
.classe-inversee{
  overflow: hidden;
  padding: 10vw;
  background-color: var(--blue);
  color: var(--white);
  text-align: center;
}
.classe-inversee h1{
  font-size: 35pt;
  margin-bottom: 5rem
}
.classe-inversee > div{
  gap: 2rem
}
.classe-inversee img{
  height: 10rem;
}
.classe-inversee > div div{
  width: 18vw;
  flex-direction: column;
}
.classe-inversee p{
  line-height: 1.6;
}


/* ================================================= */

/* ================================================= */
.fonc{
  padding: 6rem 5rem;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}
.fonc h1{
  text-align: center;
  color: var(--blue);
  font-size: 25pt;
  margin-bottom: 6rem;
}
.fonc .partie{
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  gap: 6rem;
  margin-bottom: 6rem;
}
.fonc .partie:nth-child(odd){
  flex-direction: row-reverse;
}
.fonc .partie:nth-child(even){
  flex-direction: row;
}
.fonc .partie img{
  width: 30vw;
}
.fonc .partie div{
  width: 30vw;
  align-self: center;
  line-height: 1.6;
}
.fonc .partie h3{
  color: var(--black_soft);
  margin-bottom: 1rem
}

.fonc > img{
  position: absolute;
  width: 100vw;
}
.fonc .design1{
  height: 35vh;
  width: 60vw;
  transform: rotate(5deg);
  bottom: -2rem;
  left: 0;
}
.fonc .design2{
  height: 30vh;
  width: 80vw;
  bottom: -3rem;
  right: 0;
}



/* ================================================= */

/* ================================================= */
.acc-forum{
  background-color: var(--clear_blue);
  text-align: center;
  padding: 4rem 5rem
}
.acc-forum h1{
  color: var(--black_soft);
  font-size: 25pt;
  margin-bottom: 6rem;
}
.acc-forum img{
  width: 20vw
}
.acc-forum > div div{
  width: 20vw;
  align-self:flex-end;
  position: relative;
}
.acc-forum p{
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.6;
}
.acc-forum > div div img{
  position: absolute;
  top: -30%;
  left: -100%;
  height: 90%;
}



/* ================================================= */

/* ================================================= */
.rejoindre{
  height: 60vh;
  background-color: var(--blue);
  color: var(--white);
  flex-direction: column;
  gap: 6rem
}
.rejoindre .btn{
  color: var(--black_soft) !important;
  padding: 10px 2rem;
  box-shadow: none;
}




/* ================================================= */

/* ================================================= */
footer{
  height: fit-content;
  background-color: var(--white);
  color: var(--black_soft);
  padding: 6rem 10vw;
  line-height: 2;
}
footer div{
  margin-bottom: 6rem;
}
footer h4{
  margin-bottom: 1.2rem;
}
footer p{
  text-align: center;
  color: var(--gray)
}
footer ul li{
  position: relative
}
footer ul li::before{
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: #0056b3;
}
footer ul li:hover::before{
  width: 3rem;
  transition: 0.3s ease-in-out;

}
footer ul li:first-child:hover{
  transform: none;
  color: var(--black_soft)
}



/* ================================================= */

/* ================================================= */
@media (max-width: 1280px) {
  .classe-inversee h1{
    font-size: 26pt;
  }
  .acc-forum h1{
    font-size: 20pt
  }
}

@media (max-width: 1024px) {
  
}