/* STYLE DE LA PAGE "ACTIVITES" */

* {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  html, body {
    font-size: 10pt;
    font-family: "Source Sans Pro", sans-serif ;
    color: white;
    height: 100%;
    background-image: url(/images/fenetre.webp);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;    
  }

  h1 {
    font-size: 6rem;
    letter-spacing: 0.5rem;
    line-height: 1.3;
    /* text-align: center; */
  }

  h2 {
    font-size: 3rem;
    /* letter-spacing: 0.2rem; */
    text-align: center;
    line-height: 3rem;
    margin-top: 1rem;
    font-weight: 1000;
    color: #de3633;
  }
 
  header {
    margin-top: 1.5rem;
    width: 100%;
    position: absolute;
    position: fixed;
  }
  
  .topbar {
    max-height: 6rem;
    padding:0 1rem 0 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #2d3f50;
  }
  
  .tokens {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
  }
  
  .tokens img {
    max-height: 5rem;
    padding: 1rem;
  }
  
  .blason img {
    max-height: 8rem;
  }


  main {
    /* border: 4px solid red; */
    min-height: 91.5vh;
    margin-top: 7.5rem;
    display: flex;
    align-items: center;
    justify-content: center;

  }

  #lancement-visite {
    position: absolute;
    margin-top: -7vh;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
   
  .icone {
    width: 10rem;
    cursor: pointer;
  }

  #visite {
    top:35vh;
    transition: all 0.3s ease;
  }

  #visite:hover {
    transform: scale(1.3);
    transition: all 0.3s ease;
  }

  #carroussel {
    visibility: hidden;
    width: 1250px;
    height: 835px;
    border: solid 1rem rgb(45, 63, 80);
    border-radius: 3rem;
    box-shadow: 5px 5px 10px 10px rgba(45, 63, 80, 0.3);
    position: relative;
    overflow: hidden;
  }

  #cadre {
    width: 1250px;
    height: 835px;
  }

 
#croix {
  top: 1rem;
  right: 1rem;
  opacity: 0.5;
  transition: all 0.3s ease;
}

#croix:hover {
  opacity: 1;
  transform: scale(1.3);
  transition: all 0.3s ease;
}

.bouton {
  position: absolute;
  width: 5rem;
  cursor: pointer;
}

  #g {
    top:25rem;
    opacity: 0.5;
    transition: all 0.3s ease;
  }

  #g:hover {
    opacity: 1;
    transform: scale(1.1);
    transition: all 0.3s ease;
  }

  #d {
    top:25rem;
    right:0;
    opacity: 0.5;
    transform:rotate(180deg);
    transition: all 0.3s ease;
  }

  #d:hover {
    transform:rotate(180deg) scale(1.1);
    opacity: 1;
    transition: all 0.3s ease;
  }

  .photo {
    width: 1250px;
    height: 835px;
    margin: 0;
    display: inline-block;
    background-size: cover;
  }

  /* .global {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .titre {
    font-size: 6rem;
    font-weight: 1000;
    letter-spacing: 0.5rem;
    line-height: 1.3;
    color: #de3633;
    text-align: center;
  } */


  
  /*------------------------------------*/
/* MEDIA QUERIES 2230w */
/* FORMAT HD 1950w*/
@media screen and (max-width: 2230px) {
  html, body {
    font-size: 10pt;
  }

  header {
    margin-top: 2rem;
  }
  
  #d, #g {
      top: 28rem;
    }
}

  /*------------------------------------*/
/* MEDIA QUERIES 1000w */
/* FORMAT HD 1950w*/
@media screen and (max-width: 1850px) {
  html, body {
    font-size: 6pt;
  }



/*------------------------------------*/
/* MEDIA QUERIES 1000w */
@media screen and (max-width: 1200px) {
  html, body {
  font-size: 5pt;
}

header {
  margin-top: 2rem;
}

.topbar {
  max-height: 7rem;
}

.icone img {
  margin-top: 1rem;
  max-height: 5rem;
}

#carroussel {
  width: 800px;
  height: 600px;
}

#cadre {
  width: 800px;
  height: 600px;
}

.photo {
  width: 800px;
  height: 600px;
  /* margin: 0;
  display: inline-block;
  background-size: cover; */
}

#d, #g {
  top: 40rem;
}
}

/*------------------------------------*/
/* MEDIA QUERIES TABLETTE 850w */
@media screen and (max-width: 950px) {

html, body {
  font-size: 4pt;
}

body {
  background-image: url(/images/fenetre-tablette.webp);
}

header {
  margin-top: 2rem;
}

.topbar {
  max-height: 7rem;
}

.icone img {
  margin-top: 1rem;
  max-height: 5rem;
}

#carroussel {
  width: 600px;
  height: 450px;
}

#cadre {
  width: 600px;
  height: 450px;
}

.photo {
  width: 600px;
  height: 450px;
  /* margin: 0;
  display: inline-block;
  background-size: cover; */
}

#d, #g {
  top: 38rem;
}
}
/* -------------------------------------- */
/* MEDIA QUERIES SMARTPHONE */
@media screen and (max-width: 750px) {
html, body {
  font-size: 2pt;
}

body {
  background-image: url(/images/fenetre-smartphone.webp);
}

}header {
  margin-top: 2rem;
}

.topbar {
  max-height: 8rem;
}

.icone img {
  margin-top: 1rem;
  max-height: 4rem;
}

#carroussel {
  width: 320px;
  height: 240px;
}

#cadre {
  width: 320px;
  height: 240px;
}

.photo {
  width: 320px;
  height: 240px;
  /* margin: 0;
  display: inline-block;
  background-size: cover; */
}

#d, #g {
  top: 40rem;
}
}