*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


article {
  position: relative;
  margin-top: 3%;
  display: flex;
}

article h1 {
  color: white;
  
}
.zoom {
  position: absolute;
  left: 19%;
  top: 104%;
  text-align: center;
  font-size: 2em;
  color: #ebf7c0;
  z-index: 200;
}

.loge {


  height: 1200px;
}

.loca {
  display: flex;
  flex-wrap: wrap;
}

/* image appart */
.loca img {
  cursor: pointer;
  border-radius: 10%;
  box-shadow: 8px 8px 3px #041F3D;
}
.bouge,
.bouge1,
.bouge2 {
  display: flex;
  flex-direction: column;
  margin-top: 5%;
  height: 1050px;
  width: 100%;
}

.bouge img,
.bouge2 img,
.bouge1 img {
  width: 70%;
  margin: 5%;
  margin-left: 15%;
}

.deBain1 {
  position: relative;
  height: 80%;
}



#deBain {
  width: 70%;
  height: 42%;
}
.sal:hover,
.lit:hover,
.salle:hover,
.man:hover,
.cuis:hover,
.chamb:hover,
.dehors:hover {
  opacity: 0.7;
}
#carouselappartArz img:hover,
#carouselappartDeco img:hover,
#tenn:hover {
  cursor: pointer;
  opacity: 0.9;
}
#carouselappartArz img,
#carouselappartArz #pisci2,
#carouselappartDeco img {
  border-radius: 10%;
}
#carouselappartDeco {
  margin-top: -78%;
}
#btn,
#btn1 {
  margin: 2%;
}
#myModal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  border: 2px solid #f1f1f1;
  background-color: #333;
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 100%;
  max-width: 700px;
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}
/* Add Animation */

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0)
  }

  to {
    -webkit-transform: scale(1)
  }
}

@keyframes zoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

/* The Close Button */
#myModal .close {
  position: absolute;
  top: 10%;
  right: 15%;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

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

/* $$$$$$ media-querie $$$$$$$ */

@media (min-width: 1920px) and (max-width: 2560px) {

  article {
    font-size: 2em;
  }
}

@media (min-width: 1025px) and (max-width: 1920px) {}

@media (max-width: 1024px) {
  #navbar {
    margin-left: 5%;
  }

  article {
    font-size: 1.1em;
  }

  article h1 {
    font-size: 1.5em;
  }

  .zoom {
    font-size: 1.5em;
    margin: -1% -8%;
  }

  .bouge,
  .bouge1,
  .bouge2 {
    margin-top: 5%;
    height: 780px;
  }

  .loge {
    
    height: 900px;
  }

  .deBain1 h2 {
    left: 22%;
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {

  .loge {
    height: 700px;
  }

  .bouge {
    height: 600px;
  }

  .zoom {
    font-size: 1.2em;
    margin: -1% -8%;
  }

  .bouge1,
  .bouge2 {
    margin-top: 5%;
    height: 550px;
  }

  .deBain1 h2 {
    font-size: 80%;
    margin: -34% 0 3% -4%;
  }

  .deBain1 {
    width: 100%;
  }
}

@media (max-width: 576px) {

  article {
  
    font-size: 0.7rem;
  }

  article h1 {
    font-size: 1rem;
  }

  .bouge1 {
    margin-top: 64%;
  }

  .zoom {
    margin-left: -12%;
    font-size: 0.7rem;
  }

  .bouge2 {
   background: #f1f1f1;
    height: 900px;
    margin-top: 80%;
  }
  .deBain1 h2 {
    font-size: 1.1rem;
    margin: -44% 0 5% -4%;
  }
}

@media (max-width: 320px) {

  .bouge {
    margin-top: 8%;
  }

  .bouge2 {
   
    margin-top: 28%;
    height: 650px;
  }

  .bouge1 {
    margin-top: 8%;
  }

  .zoom {
    font-size: 1.3em;
    margin-left: -23px;
    margin-top: -2%;
  }

  .deBain1 h2 {
    font-size: 90%;
    margin: -34% 0 5% -4%;
  }
}

@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}
@media screen and (orientation: landscape){

    .modal-content {
    width: 100%;
   
  }
}