@import url("../css/css2.css?family=Poppins:wght@200;300;400;500;600;700;800&display=swap");

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body,
input {
  font-family: "Poppins", sans-serif;
}

main {
  width: 100%;
  min-height: 100vh;
  overflow: auto;
  background-image: url(./img/background.png);
  background-color: #EA7C10;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.logo-inst {
  width: 100%;
  max-width: 1020px;
  position: absolute;
  top: 2%;
  text-align: center;
}

.logo-inst img {
  width: 30%;
}

.box {
  position: relative;
  width: 100%;
  max-width: 1020px;
  height: 640px;
  background-color: #fff;
  border-radius: 3.3rem;
  box-shadow: 0 60px 40px -30px rgba(0, 0, 0, 0.27);
}

.inner-box {
  position: absolute;
  width: calc(100% - 4.1rem);
  height: calc(100% - 4.1rem);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.forms-wrap {
  position: absolute;
  height: 100%;
  width: 45%;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  transition: 0.8s ease-in-out;
}

form {
  max-width: 260px;
  width: 100%;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  transition: opacity 0.02s 0.4s;
}

form.sign-up-form {
  opacity: 0;
  pointer-events: none;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 280px;
  margin-right: 0.3rem;
}

.heading h2 {
  font-size: 2.1rem;
  font-weight: 600;
  color: #EA7C10;
}

.heading h6 {
  color: #bababa;
  font-weight: 400;
  font-size: 0.9rem;
  display: inline;
}

.toggle {
  color: #EA7C10;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.input-wrap {
  position: relative;
  height: 37px;
  margin-bottom: 2rem;
}

.input-field {
  position: absolute;
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  outline: none;
  border-bottom: 1px solid #bbb;
  padding: 0;
  font-size: 0.95rem;
  color: #151111;
  transition: 0.4s;
}

label {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: #bbb;
  pointer-events: none;
  transition: 0.4s;
}

.input-field.active {
  border-bottom-color: #151111;
}

.input-field.active+label {
  font-size: 0.75rem;
  top: -2px;
}

.sign-btn {
  display: inline-block;
  width: 100%;
  height: 43px;
  background-color: #EA7C10;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 0.8rem;
  font-size: 0.8rem;
  margin-bottom: 2rem;
  transition: 0.3s;
}

.sign-btn:hover {
  background-color: #216E2B;
}

.text {
  color: #bbb;
  font-size: 0.7rem;
}

.text a {
  color: #bbb;
  transition: 0.3s;
}

.text a:hover {
  color: #EA7C10;
}

main.sign-up-mode form.sign-in-form {
  opacity: 0;
  pointer-events: none;
}

main.sign-up-mode form.sign-up-form {
  opacity: 1;
  pointer-events: all;
}

main.sign-up-mode .forms-wrap {
  left: 55%;
}

main.sign-up-mode .carousel {
  left: 0%;
}

.carousel {
  position: absolute;
  height: 100%;
  width: 55%;
  left: 45%;
  top: 0;
  background-color: #ffe8cd;
  border-radius: 2rem;
  display: grid;
  grid-template-rows: auto 1fr;
  padding-bottom: 2rem;
  overflow: auto;
  transition: 0.8s ease-in-out;
}

.images-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.image {
  width: 100%;
  grid-column: 1/2;
  grid-row: 1/2;
  opacity: 0;
  transition: opacity 0.3s, transform 0.5s;
}

.img-1 {
  transform: translate(0, -50px);
}

.img-2 {
  transform: scale(0.4, 0.5);
}

.img-3 {
  transform: scale(0.3) rotate(-20deg);
}

.img-4 {
  transform: translate(0, -50px);
}

.img-5 {
  transform: scale(0.4, 0.5);
}

.img-6 {
  transform: scale(0.3) rotate(-20deg);
}

.img-7 {
  transform: translate(0, -50px);
}

.img-8 {
  transform: scale(0.4, 0.5);
}

.img-9 {
  transform: scale(0.3) rotate(-20deg);
}

.image.show {
  opacity: 1;
  transform: none;
}

.text-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.text-wrap {
  max-height: 2.2rem;
  overflow: auto;
  margin-bottom: 10px;
}

.text-group {
  display: flex;
  flex-direction: column;
  text-align: center;
  transform: translateY(0);
  transition: 0.5s;
}

.text-group h2 {
  line-height: 2.2rem;
  font-weight: 600;
  font-size: 1.6rem;
  color: #EA7C10;
}

.bullets {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bullets span {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  background-color: #bbb;
  margin: 0 0.25rem;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.bullets span.active {
  width: 1.1rem;
  background-color: #EA7C10;
  border-radius: 1rem;
}

.footer {
  position: absolute;
  width: 100%;
  min-height: 50px;
  padding: 0px 10px;
  bottom: -23%;
  display: flex;
  justify-content: center;
  text-align: center;
}

.footer p {
  color: #2c2c2c;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;

}

.logo-footer {
  width: 100%;
  border-radius: 1rem;
}

@media (min-width: 768px) and (max-width: 1920px) {
  .logo-inst {
    top: 0%;

  }

  .footer {
    bottom: -20%;
  }

  .footer p img {
    width: 15vh;
  }

  .logo-inst img {
    width: 20%;
  }

 .box {
    top: 0px;
    margin-top: 60px;
  }
}

@media (min-width: 601px) and (max-width: 767px) and (min-height:880px){
  .logo-inst {
    top: 0%;

  }

  .footer {
    bottom: 1%
  }

  .footer p img {
    width: 15vh;
  }

  .logo-inst img {
    width: 20%;
  }


}
@media (min-height: 678px) and (max-height:879px) {
  .box {
    height: 520px;
  }

  .inner-box {
    width: calc(100% - 5.1rem);
    height: calc(100% - 5.1rem);
  }

  .logo-inst {
    width: 50%;
  }

  .footer {
    bottom: -28%;
  }
}

@media (max-height:677px) {
  .box {
    height: 500px;
  }

  .logo-inst,
  .footer {
    display: none;
  }
}

@media (min-width: 1921px) {
  .box {

max-width: 1360px;

height: 690px;

margin-top: 100px;

}


  .logo img {
    width: max-content;
  }

  .logo-inst {
    top: 0%; 
  }
  .logo-inst img {
    width: 45%;
  }

  .inner-box {
    width: calc(100% - 5.1rem);
    height: calc(100% - 5.1rem);
  }

  .footer {
    bottom: -20%;
  }

  .footer p {
    font-size: 3rem;

  }

  .footer p img {
    width: 30%;
    bottom: 0%;

  }
}

/* Appareils extra petits (tÃ©lÃ©phones, 650px et moins) */
@media (max-width: 650px) {

  .sign-up-mode {
    resize: none;
  }

  .box {
    height: 485px;
  }

  .logo-inst img {
    /* width: 28%; */
    display: none;
  }

  .forms-wrap {
    position: revert;
    width: 100%;
    height: auto;
  }

  .logo img {
    width: 100%;
  }

  form {
    padding: 0.5rem 0 0.5rem 0;
    transition: transform 0.8s ease-in-out, opacity 0.45s linear;
  }

  .carousel {
    display: none;
  }

  .images-wrapper {
    display: none;
  }

  .footer {
    /* padding: 0;
    bottom: 0%; */
    display: none
  }

  .footer p {
    font-size: 0.7rem;
  }
}


.btn-volet
{
  font-size: 200%;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  width: 100%;
  height: 86px;
  padding-top: 20px;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 0.8rem;
  margin-bottom: 2rem;
  transition: 0.3s;
}

.btn-volet-2
{
  font-size: 150%;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  width: 100%;
  height: 40px;
  padding-top: 0px;  
  cursor: pointer;
  border-radius: 0.8rem;
  margin-bottom: 1rem;
  transition: 0.3s;
  background-color: #ffffff ;
  color:#216E2B; 
  border: 2px solid #EA7C10 ;
}

.btn-volet-2:hover
{
  background-color: #ffe8cd;
  color:#216E2B; 
  border: 2px solid #EA7C10 ;
  box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
}


.btn-volet-orange:hover
{
  background-color: #ffffff;
  color:#EA7C10;
  border: 1px solid #EA7C10 ;
}

.btn-volet-orange
{
  background-color: #EA7C10;
}

.btn-volet-vert:hover
{
  background-color: #ffffff;
  color:#216E2B;
  border: 1px solid #216E2B ;
}

.btn-volet-vert
{
  background-color: #216E2B;
}
.d-none{
  display: none;
}

 