/* STYLE DE LA PAGE "CHALET" */

* {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  html, body {
    font-size: 10pt;
    font-family: "Source Sans Pro", sans-serif ;
    color: white;
    
  }

  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;
  }


  body {
    /* width: 100%; */
    /* min-height: 100vh; */
    background-image: url(/images/vue-chalet02.webp);
    background-size: cover;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    display: flex;
    flex-direction: column;
  }

  /* --------------------------------------- */
/* MISE EN FORME PAGE D'ACCUEIL ET BANDEAU */
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;
  }

  
  /* mise en forme partie centrale */

  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: 1100px;
    height: 825px;
    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: 1100px;
    height: 825px;
  }

 
#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: 1100px;
    height: 825px;
    margin: 0;
    display: inline-block;
    background-size: cover;
  }


  /* FORMAT HD 1950w*/
  @media screen and (max-width: 1950px) {
    html, body {
      font-size: 6pt;
    }
  
    header {
      margin-top: 2rem;
    }
    
    #d, #g {
        top: 45rem;
      }
  }

/*------------------------------------*/
/* 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: 900px) {
  
  html, body {
    font-size: 5pt;
  }

  body {
    background-image: url(/images/vue-chalet02-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: 30rem;
  }
}

/* -------------------------------------- */
/* MEDIA QUERIES SMARTPHONE */
@media screen and (max-width: 650px) {
  html, body {
    font-size: 2.5pt;
  }

  body {
    background-image: url(/images/vue-chalet02-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: 30rem;
  }
}