.tab {
  display: none;
  width: 70%;
  margin: auto;
}

.guide-box {
  position: absolute;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  max-width: 1920px;
  top: 246px;
}

.guide-container {
  background: url('../src/bg_besoin.png');
  max-height: 300px;
  max-width: 426px;
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-size: 21px;
  line-height: 30px;
  text-align: center;
  color: var(--pes-black-blue);
  padding: 3.1% 2.4%;
  margin-right: 12.5%;
}

.guide-text-container {
  margin-bottom: 40px;
}

.guide-btn {
  background-color: var(--pes-purple);
  text-decoration: none;
  padding: 0.9em 2.33em;
  border-radius: 30px;
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  color: var(--pes-light-gray);
  text-align: center;
  margin: 0;
  min-width: 215px;
  border: 2px solid transparent;
  transition: background-color 0.3s, color 0.3s;
}

.guide-btn:hover {
  background-color: white;
  color: #3B2D4C;;
  text-decoration: var(--pes-blue-dark) underline;
  border: 2px solid var(--pes-purple);
}

.guide-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 5%;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.guide-modal-content {
  background-color: white;
  margin: auto;
  width: 80%;
  max-width: 1220px;
  border-radius: 20px 20px 0 0;
  position: relative;
}

.guide-header {
  text-align: center;
}

.guide-modal-content h1 {
  background: url('../src/bg_head_guide.png');
  background-size: 100% 100%;
  border-radius: 20px 20px 0 0;
  line-height: 87px;
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-size: 25px;
  color: var(--pes-black-blue);
  margin-bottom: 4%;
}

.guide-modal-title {
  margin-right: -100px;
}

.guide-close {
  color: white;
  float: right;
  font-size: 32px;
  width: 56px;
  height: 56px;
  background: var(--pes-purple);
  border-radius: 56px;
  line-height: 56px;
  font-weight: 100;
  margin: 10px 44px 0px 0px;
  font-family: initial;
}

.guide-close:hover,
.guide-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.guide-page {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-size: 11px;
  line-height: 11px;
  display: block;
  text-align: center;
  width: 100%;
  color: var(--pes-black-blue);
}

.guide-tab-question {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-size: 25px;
  line-height: 30px;
  text-align: center;
  color: var(--pes-black-blue);
  display: block;
  text-align: center;
  width: 100%;
  margin-top: 13px;
  margin-bottom: 30px;
}

.guide-choice-hidden {
  position: absolute;
  visibility: hidden;
  opacity: 0;
}

.guide-tab-reponses input[type=checkbox]+label {
  background: var(--pes-light-gray);
  border: 1px solid var(--pes-very-light-blue);
  border-radius: 100px;
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  color: var(--pes-blue-menu);
  text-align: center;
  padding: 15px;
  display: block;
  min-width: 55%;
  margin: auto;
  margin-top: 10px;
  transition: all 0.3s ease-out;
  cursor: pointer;
}

.guide-tab-reponses input[type=checkbox]:checked+label {
  background: var(--pes-green);
  border: 1px solid var(--pes-green);
  transition: all 0.3s ease-out;
  color: white;
}

.guide-tab-reponses label:hover {
  background: var(--pes-green);
  border: 1px solid var(--pes-green);
  transition: all 0.3s ease-out;
  color: white;
}

.guide-tab-reponses {
  margin-bottom: 2em;
}

.guide-footer {
  overflow: auto;
  width: 92%;
  margin: auto;
  border-top: 1px solid var(--pes-very-light-blue);
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  align-content: center;
  align-items: center;
}

.guide-prev {}

.guide-icon-next {
  width: auto;
  height: 8px;
  margin-top: 1%;
}

.guide-prev button {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 30px;
  color: var(--pes-black-blue);
  border: none;
  text-decoration: none;
  background: none;
}

.guide-next button {
  background: var(--pes-purple);
  border-radius: 60px;
  width: 197px;
  height: 53px;
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  color: var(--pes-light-gray);
  border: none;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-content: center;
  justify-content: space-around;
  align-items: center;
}

.guide-next button span {
  margin: 20px 0;
  background: var(--pes-purple);
  border-radius: 60px;
  width: 197px;
  height: 53px;
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  color: var(--pes-light-gray);
}

.guide-back-arrow i {
  line-height: 30px;
  color: var(--pes-purple);
  margin-right: 10px;
}

@media screen and (max-width: 992px) {
  .guide-box {
    display: block;
    right: 2%;
    width: 96%;
    top: 367px;
  }

  .guide-container {
    max-width: none;
    max-height: none;
    background-color: var(--pes-very-light-blue);
    font-size: 19px;
    line-height: 34px;
    text-align: center;
    padding: 30px 0px;
    margin-right: 0;
  }

  .block-guide-block {
    margin-bottom: 300px;
  }

  .guide-modal-title {
    font-weight: 700;
    font-size: 16px;
    line-height: 50px;
    margin-right: -60px;
  }

  .guide-close {
    background: transparent;
    margin-right: 0%;
    color: var(--pes-black-blue);
  }

  .guide-tab-question {
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
  }

  .guide-tab-reponses input[type=checkbox]+label {
    font-size: 13px;
    padding: 10px;
  }

  .guide-prev button {
    font-size: 14px;
    line-height: 30px;
  }

  .guide-next button {
    font-size: 13px;
    line-height: 36px;
    width: 146px;
    height: 38px;
  }

  .guide-footer {
    padding: 15px 0;
  }
}

@media screen and (max-width: 600px) {

  .block-guide-block {
    margin-bottom: 250px;
  }

}
