@charset "UTF-8";

/* Changement de pages */

@keyframes close {
  0%{
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes open {
  0%{
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}



.flex {
  display: flex;
  flex-direction: column;
}


.hide {
  display: none;
}

.comparaison__box {
  align-self: center;
  align-items: center;
  justify-content: center;
  height: 35vh;
  width: 100%;
  
  border: 2px solid #F7A800;
  border-radius: 15px;
  margin: 80px auto 80px auto;
}

.comparaison{
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

.overflow{
  width: 60px;
  height: 50px;
  overflow: hidden;
}


.comparaison__txt {
  margin-right: 140px; 
  width: 100px;
  display: flex;
  flex-direction: row;
}

.comparaison__txt p {
  text-align: center;
  margin-right: 90px;
}

.comparaison__btn {
  flex-direction: column;
}

.comparaison__sep {
  margin-right: 30px;
  margin-left: 30px;
}

.bloc{
  width: 50px;
  height: 50px;
  height: 50px;
  width: 50px;
  position: relative; 
  transform-origin: 50% -100%;
  transition: transform 1s linear;
}
.light-bulb{
  transform: rotate(0deg);
  transform-origin: 50% -100%;
}

.travel{
  transform: rotate(90deg);
  transform-origin: 50% -100%;
}
.refrigerator{
  transform: rotate(180deg);
  transform-origin: 50% -100%;
}
.usine{
  transform: rotate(270deg);
  transform-origin: 50% -100%;
}

.opened-email-envelope{
  transform: rotate(0deg);
  transform-origin: 50% -100%;
}
.opened-email-envelope2{
  transform: rotate(90deg);
  transform-origin: 50% -100%;
}
.netflix{
  transform: rotate(180deg);
  transform-origin: 50% -100%;
}
.youtube{
  transform: rotate(270deg);
  transform-origin: 50% -100%;
}
.move{
  position: absolute;
}

.graphs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

/* Changement de page*/
body[data-page="page1"] #page1 {
  display: flex;
}

body[data-page="page1"] .header {
  display: none;
}

body[data-page="page1"] .header__space {
  display: none;
}

body[data-page="page2"] #page2 {
  display: block;
}

body[data-page="page3"] #page3 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body[data-page="page4"] #page4 {
  display: block;
}

/* Défilement de question */
/* pas de "q" à "question*" car lorsque je clique pour passer à la suivante, la valeur qui s'enregistre dans le bodu est "uestion" */
body[data-question="question__start"] #question__start {
  display: flex;
}

body[data-question="question1"] #question1 {
  display: flex;
}

body[data-question="question2"] #question2 {
  display: flex;
}

body[data-question="question2bis"] #question2bis {
  display: flex;
}

body[data-question="question3"] #question3 {
  display: flex;
}

body[data-question="question4"] #question4 {
  display: flex;
}

body[data-question="question5"] #question5 {
  display: flex;
}

body[data-question="question6"] #question6 {
  display: flex;
}

body[data-question="resultat"] #resultat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#resultat{
  display: none;
}

/* Défilement des conseils */
body[data-advice1="advice1"] #advice1 {
  display: block;
}

body[data-advice1="advice2"] #advice2 {
  display: block;
}

body[data-advice1="advice3"] #advice3 {
  display: block;
}

/* Défilement des conseils */
body[data-advice2="second-advice1"] #second-advice1 {
  display: block;
}

body[data-advice2="second-advice2"] #second-advice2 {
  display: block;
}


body {
  margin: 0px;
  font-family: 'Muli', sans-serif;
  line-height: 1.4;
  color: #323232;
  background-color: #FFF;
}

button {
  border: none;
  background-color: inherit;
}

.page {
  padding: 5vw 10vw 15vw 10vw;
}

ul {
  list-style: none;
  padding: 0;
}

img {
  display: block;
  width: 100%;
}

h1 {
  color: #fff;
  font-size: 40px;
  margin-bottom: 0px;
}

h2 {
  font-size: 28.5px;
  font-weight: 600;

}

h3 {
  font-size: 24px;
  margin-top: 60px;
  margin-bottom: 60px;
}

h4{
  font-size: 19.5px;
}

strong {
  font-size: 14.5px;
  font-weight: 700;
}

p {
  font-family: 'Montserrat', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  max-width: 400px;
  line-height: 160%;
}

b {
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Orange foncé - EE7302 */
/* Orange clair - F7A800 */
.center {
  text-align: center;
}

.header__title {
  font-size: 14px;
  color: #fff;
}

.header {
  position: fixed;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 8vh;
  text-align: center;
  background: linear-gradient(0.25turn, #EE7302, #F7A800);
}

.header__space {
  height: 8vh;
}

/* Types de styles (dabord appliquer "btn__type1" et puis les class --'couleur') */
.btn__type1 {
  cursor: pointer;
  border-radius: 10px;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  box-shadow: 0px 2px 4px 0px rgba(117, 117, 117, 0.53);
}

.btn__type1--white {
  background-color: #FFF;
  color: #EE7302;
}

.btn__type1--white:hover{
  background-color:#EE7302 ;
  color: #fff;
  border: 2px solid white;

}

.btn__type1--orange {
  box-shadow: 1px 1px 12px #555;
  color: #fff;
  background-color: #EE7302;
}

.btn__type1--orange:hover{
  background-color: #FFF;
  color: #EE7302;
} 

.btn__type1--black {
  color: #4F4F4F;
  font-weight: 500;
  margin: 20px;
}



.page1 {
  padding: 0px;
  flex-direction: column;
  color: #fff;
  background: linear-gradient(0.25turn, #EE7302, #F7A800);
}

.intro__text {
  padding: 5vw 10vw 15vw 10vw;
}

.img__intro {
  display: inline-block;
  background-image: url(../assets/images/intro_desktop.jpg);
  background-size: cover;
  background-position: center;
  height: 100vw;
}

.answer__list {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 5vh;
  margin-bottom: 20px;
}

.answer__btn {
  cursor: pointer;
  text-align: center;
  width: 110px;
  padding: 10px 20px 10px 20px;
  margin: 10px;
  background-color: #fff;
 
  box-shadow: 0px 2px 4px 0px rgba(117, 117, 117, 0.53);
  border-radius: 7px;
}

.answer__btn:hover{
  background-color: #EE7302;
  color: #FFF;

}

.btn__switch {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  margin-top: 30px;
}

.picto__eart {
  margin-left: 10vw;
  margin-right: 10vw;
  width: 300px;
  justify-content: center;
}

.btnadvice1 {
  width: 30px;
}

.title__big {
  color: #fff;
  background: linear-gradient(0.25turn, #EE7302, #F7A800);
  padding: 5vw;
  margin: -5vw -10vw 0vw -10vw;
  text-align: center;
}

.desktop {
  display: none;
}

.div__color{
  flex-direction: column;
  align-items: center;
  margin: 5vw -10vw -20vw -10vw;
  margin-top: 0px;
  padding-bottom: 10vh;
  
  
  background: linear-gradient(#EE7302, #F7A800);
}

.div__color--size{
  padding: 0;
  color: #fff;
  padding: 20% 20%;

}



.textcenter{
  text-align: center;
  color: #fff;
  margin-right: 8%;
  margin-left: 8%;
  line-height: 200%;
}

.cloud{
  margin-top: -11.5%;
  width: 50%;
  position: absolute;
  right: 0px;
}


.picto__list {
  display: flex;
  width: 70vw;
  justify-content: center;
  padding-bottom: 50px;
  padding-top: 25px;
  margin-left: 5vw;
  border-bottom: 1px solid #323232;
}

.picto{
   border-radius: 100%;
   border: 1.5px solid #323232;
   width: 40px;
   padding: 10px;
   margin-left: 15px;
   margin-right: 15px;
   transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.picto:hover{
   border: 4px solid #EE7302;
   transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}


.cloud__oui {
  overflow: hidden;
  position: absolute;
  width: 60vw;
  bottom: -10vw;
  right: -10vw;
}




.cloud__non {
  position: absolute;
  width: 60vw;
  bottom: -10vw;
  left: -10vw;
}

.results {
  color: #fff;
  margin: 0;
  padding: 0px;
  width: 100vw;
  background: linear-gradient(0.25turn, #EE7302, #F7A800);  
}

.picto__end {
  width: 280px;
  margin-right: 5vw;
  align-self: flex-end;
}

.consoelect{
  text-align: center;
  margin-left: 5%;
  margin-right: 5%;
}

.box__result{
  padding: 20px 40px;
  border-radius: 15px;
  background-color: #fff;
  color: #EE7302;
}


.space__bottom{
  margin-bottom: 10vh;
}

.h3--space{
  margin-right: 10%;
  margin-left: 10%;
}

.btn__oui {
  font-size: 1.2em;
  
}

.btn__non {
  font-size: 1.2em;
  
}


.bckcloud{
  display: flex;
  flex-direction: column;
  width: 150px;
  margin: 20px;
  text-align: center;
}



.bckcloud--right{
  background-image: url(assets/images/cloud_right.png);
  

}

.changemodehaut{
  padding: 10%;
  background-color: #FF8E00;
  border-radius: 3em;
  height: 5em;
  width: 5em;
}

.changemodebas{
  padding: 10%;
  background-color: #FF8E00;
  border-radius: 3em;
   height: 5em;
    width: 5em;
    background-image: url(assets/images/next.png);
    background-repeat: no-repeat;
    background-size: contain;
    overflow: hidden;


}

.boxchoice{
  display: flex;
  justify-content: space-between;
}

.elementgraphique1{
  display: flex;
  flex-direction: row;
}

@media(min-width: 750px) {
  .desktop {
    display: block;
  }

  .mobile {
    display: none;
  }

  .page1 {
    flex-direction: row;
  }

  .intro__text {
    justify-content: center;
    padding: 5vw 5vw 5vw 5vw;
    min-width: 30vw;
    max-width: 40vw
    height: 80vh;
  }

  .intro__btn {
    margin-top: 23vh;
  }

  .img__intro {
    background-size: cover;
    width: 60vw;
    height: 100vh;
  }

  .page1 {
    flex-direction: row;
  }

  .intro__text {
    width: 300px;
  }

  .intro__img {
    height: 100vh;
  }

  .div__intro {
    position: fixed;
    right: 0px;
    min-width: 50vw;
  }

  .answer__validation {
    margin-top: 50px;
    width: 25vw;
  }

  .answer__btn {
    padding: 10px 0px 10px 0px;
    margin: 0px;
    border-radius: 0px;
  }

  .answer__listing {
    display: flex;
    flex-direction: row;
    margin-top: 50px;
  }

  .answer__btn--first {
    border-radius: 10px 0px 0px 10px;
  }

  .answer__btn--last {
    border-radius: 0px 10px 10px 0px;
  }

  .picto__eart {
    width: 300px;
  }

  .advice__list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 5vw;
    margin-bottom: 5vw;
  }

  .picto__list {
    margin: 0px;
    padding: 0px;
    width: 10vw;
    height: 30vh;
    justify-content: center;
    flex-direction: column;
    border-bottom: none;
    padding-right: 50px;
    border-right: 1px solid #323232;
  }

  .picto{
     width: 40px;
     padding: 20px;
     margin: 15px;
     margin-left: 25px;
  }


  .picto:hover{
     
     margin-left: 40px;
  }

  .advice {
    margin-left: 10vw;
  }

  .bckcloud {
    width: 300px;
  }

}


@media (min-width: 950px) {
  .picto__end {
    width: 230px;
    margin-top: -250px;
    margin-bottom: -5px;
    margin-right: 15vw;
  }

  .bckcloud {
    width: 400px;
  }

}


@media (min-width: 1100px) {
  .picto__end {
    width: 300px;
    margin-bottom: -5px;
    margin-right: 10vw;
  }

}
.emission{
            margin: auto;
            text-align: center;
            margin-top: -248px;
            margin-bottom: 250px;
}
.not-allowed{
            cursor: not-allowed;
            background-color: #F0F0F0;
        }
