:root {
  --primary: #1DAF8E;
  --secondary: #77BE7E;
  --alternative: #246898;
  --accent: #FFCE3A;
  --white: #ffffff;
  --text: #000000;
}

body {
  font-family: Verdana, sans-serif;
  color: var(--text);
}

img {
  width: 100%;
  height: auto;
}

.infographics-wrap {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  -webkit-align-content: center;
  -ms-align-content: center;
  align-content: center;
  -webkit-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.infographics-wrap .card {
  width: 100%;
  height: 70vh;
  position: relative;
}

@media (min-width: 350px) {
  .infographics-wrap .card {
    width: 100%;
    height: 40vh;
  }
}

@media (min-width: 640px) {
  .infographics-wrap .card {
    width: 50%;
    height: 50vh;
  }
}

@media (min-width: 750) {
  .infographics-wrap .card {
    width: 50%;
    height: 50vh;
  }
}

.infographics-wrap .card:nth-child(1),
.infographics-wrap .card:nth-child(4) {
  background: rgb(36,104,152);
  background: linear-gradient(135deg, rgba(36,104,152,1) 0%, rgba(31,87,128,1) 100%);
  color: var(--primary);
}

.infographics-wrap .card:nth-child(2),
.infographics-wrap .card:nth-child(3) {
  background: rgb(29,175,142);
  background: linear-gradient(135deg, rgba(29,175,142,1) 0%, rgba(0,165,144,1) 100%);
  color: var(--alternative);
}


.infographics-wrap .source {
  position: absolute;
  left: 2.1rem;
  bottom: 2.1rem;
  font-size: 1.3rem;
  opacity: 0.8;
}

.infographics-wrap .card-title {
  padding: 2.1rem 1.3rem;
}

@media (min-width: 640px) {
  .infographics-wrap .card-title {
    padding: 3.4rem 2.1rem;
  }
}

.infographics-wrap .card h1 {
  line-height: 0.95;
  letter-spacing: -0.2rem;
  width: 90%;
}

@media (min-width: 640px) {
  .infographics-wrap .card h1 {
    font-size: 5.5vh;
    line-height: 5.2vh;
  }
}

.infographics-wrap .card h2 {
  position: relative;
  z-index: 1;
  line-height: 0.95;
  letter-spacing: -0.1rem;
  width: calc(100% - 5.5rem);
  opacity: 0;
  -webkit-transform: translateY(2.1rem);
  transform: translateY(2.1rem);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .infographics-wrap .card h2 {
    width: calc(100% - 7.6rem);
    font-size: 4vh;
    line-height: 3.4vh;
  }
}

.loaded .infographics-wrap .card h2 {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.infographics-wrap .card-header .visual {
  position: absolute;
  bottom: 1.3rem;
  right: 1.3rem;
  height: 65%;
  max-width: 80%;
  opacity: 0.8;
}

@media (min-width: 640px) {
  .infographics-wrap .card-header .visual {
    bottom: 2.1rem;
    right: 2.1rem;
  }
}

.infographics-wrap .card-contents .visual {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  -webkit-align-content: center;
  -ms-align-content: center;
  align-content: center;
  -webkit-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  opacity: 0;
  -webkit-transform: translateY(2.1rem);
  transform: translateY(2.1rem);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.loaded .infographics-wrap .card-contents .visual {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.infographics-wrap .card-contents .visual img {
  width: auto;
  height: 65%;
  margin-top: 4vh;
}

.infographics-wrap .card:nth-child(2) .visual img {
  height: 65%h;
}

.infographics-wrap .card-contents .content {
  display: none;
}

.content {
  font-size: clamp(1rem, 0.55vw + 0.95rem, 3rem);
}

.infographics-wrap .card .card-number {
  position: absolute;
  bottom: 1.3rem;
  right: 1.3rem;
  width: 4.2rem;
  height: auto;
  opacity: 0.5;
}

@media (min-width: 640px) {
  .infographics-wrap .card .card-number {
    bottom: 2.1rem;
    right: 2.1rem;
    width: 4.9rem;
  }
}

.modal-trigger {
  position: absolute;
  z-index: 3;
  right: 1.3rem;
  top: 1.3rem;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background-color: var(--accent);
  background-image: url(images/icons/plus.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 2.4rem auto;
  cursor: pointer;
  -webkit-box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.1);
  box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.1);
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition: transform 0.3s ease, background-color 0.3s ease;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

@media (min-width: 640px) {
  .modal-trigger {
    right: 2.1rem;
    top: 2.9rem;
    width: 5.5rem;
    height: 5.5rem;
    background-size: 2.9rem auto;
  }
}

.modal-trigger:hover {
  background-color: #FBBC33;
}

.loaded .modal-trigger {
  -webkit-transform: scale(1);
  transform: scale(1);
}

.infographics-wrap .card:nth-child(2) .visual {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s; }
.infographics-wrap .card:nth-child(2) .modal-trigger {
  -webkit-transition: transform 0.3s ease 0.5s, background-color 0.3s ease;
  transition: transform 0.3s ease 0.5s, background-color 0.3s ease;
}
.infographics-wrap .card:nth-child(3) .visual {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s; }
.infographics-wrap .card:nth-child(3) .modal-trigger {
  -webkit-transition: transform 0.3s ease 0.6s, background-color 0.3s ease;
  transition: transform 0.3s ease 0.6s, background-color 0.3s ease;
}
.infographics-wrap .card:nth-child(4) .visual{
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s; }
.infographics-wrap .card:nth-child(4) .modal-trigger {
  -webkit-transition: transform 0.3s ease 0.7s, background-color 0.3s ease;
  transition: transform 0.3s ease 0.7s, background-color 0.3s ease;
}
.infographics-wrap .card:nth-child(5) .visual{
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s; }
.infographics-wrap .card:nth-child(5) .modal-trigger {
  -webkit-transition: transform 0.3s ease 0.8s, background-color 0.3s ease;
  transition: transform 0.3s ease 0.8s, background-color 0.3s ease;
}
.infographics-wrap .card:nth-child(6) .visual{
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s; }
.infographics-wrap .card:nth-child(6) .modal-trigger {
  -webkit-transition: scale 0.3s ease 0.9s, background-color 0.3s ease;
  transition: scale 0.3s ease 0.9s, background-color 0.3s ease;
}

/* MODAL */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  overflow: auto;
  background: rgb(29,175,142);
  background: linear-gradient(135deg, rgba(29,175,142,0.75) 0%, rgba(0,165,144,0.75) 100%);
  opacity: 0;
  z-index: -1;
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  -webkit-align-content: center;
  -ms-align-content: center;
  align-content: center;
  -webkit-justify-content: flex-start;
  -ms-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease 0.1s;
  transition: opacity 0.3s ease 0.1s;
}

#modal-key-2,
#modal-key-4 {
  background: rgb(36,104,152);
  background: linear-gradient(135deg, rgba(36,104,152,0.75) 0%, rgba(31,87,128,0.75) 100%);
}

.show-modal .modal {
  opacity: 1;
  z-index: 96;
  visibility: visible;
}

.modal-box {
  width: 90%;
  height: 80vh;
  max-width: 80vw;
  position: relative;
  margin-top: 5vh;
  margin-bottom: 19.9rem;
  opacity: 0;
  -webkit-transform: translateY(2.1rem);
  transform: translateY(2.1rem);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border-top-left-radius: 2.4rem;
  border-top-right-radius: 2.4rem;
  border-bottom-left-radius: 2.4rem;
  border-bottom-right-radius: 2.4rem;
  -webkit-box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.13);
  box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.13);
  min-width: 390px;
  min-height: 275px;
}

@media (min-width: 150px) {
  .modal-box {
    margin-bottom: 5vh;
  }
}

@media (min-width: 800px) {
  .modal-box {
    max-width: 1000px;
    margin-top: 8vh;
    max-height: 550px;
  }
}

.show-modal .modal-box {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.modal-visual {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  -webkit-align-content: center;
  -ms-align-content: center;
  align-content: center;
  -webkit-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  line-height: 0;
  padding: 3.4rem;
  border-top-left-radius: 2.4rem;
  border-top-right-radius: 2.4rem;
}

@media (min-width: 100px) and (max-height: 700px) {
  .modal-visual {
    height: 20vh;
    min-height: 100px;
    padding: 0.4rem;
  }
}

@media (min-width: 100px) and (min-height: 700px) {
  .modal-visual {
    height: 20vh;
    max-height: 150px;
    padding: 1.4rem;
  }
}

@media (min-width: 800px) {
  .modal-visual {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    /* right: 60%; */
    border-top-left-radius: 2.4rem;
    border-top-right-radius: 0;
    border-bottom-left-radius: 2.4rem;
    height: 72.6vh;
    max-height: 481px;
    z-index: 1000;
    padding: 2.4rem;
    min-height: 0px;
  }
}
@media (min-width: 100px) and (max-height: 700px) {
  .modal-visual img {
    height: 18vh;
    width: auto;
    min-height: 90px;
    padding: 0.4rem;
  }
}

@media (min-width: 100px) and (min-height: 700px) {
  .modal-visual img {
    height: 18vh;
    width: auto;
    max-height: 135px;
  }
}
@media (min-width: 150px) {
  .modal-visual img {
    height: 20vh;
    width: auto;
  }
}

@media (min-width: 800px) {
  .modal-visual img {
    max-width: 189px;
    width: 20vw;
    height: auto;
    max-height: 235px;
  }
}

.modal-visual .modal-number {
  position: absolute;
  top: 1.3rem;
  left: 1.3rem;
  width: 20vw;
  opacity: 0.5;
}

@media (min-width: 800px) {
  .modal-visual .modal-number {
    bottom: 1.3rem;
    right: 1.3rem;
/*     top: auto;
    left: auto;
    height: auto; */
  }
}

.modal-visual .modal-number img {
  width: 20vw;
  height: auto;
}

#modal-key-1 .modal-visual,
#modal-key-3 .modal-visual,
#modal-key-5 .modal-visual {
  background-color: var(--alternative);
}

#modal-key-2 .modal-visual,
#modal-key-4 .modal-visual {
  background-color: var(--primary);
}

.modal-contents {
  position: relative;
  padding: 2.4rem;
  border-bottom-left-radius: 2.4rem;
  border-bottom-right-radius: 2.4rem;
  background-color: var(--white);
  font-size: clamp(1rem, 0.35vw + 0.95rem, 3rem);
}


@media (min-width: 100px) and (max-height: 700px) {
  .modal-contents {
    height: 48vh;
    padding: 1rem;
    /* font-size: 13px; */
    min-height: 345px;
  }
}

@media (min-width: 100px) and (min-height: 700px) {
  .modal-contents {
    height: 48vh;
    padding: 1em;
    /* font-size: 13px; */
    /* max-height: 650px; */
  }
}


@media (min-width: 800px) {
  .modal-contents {
    /* font-size: 15px; */
    border-top-left-radius: 2.4rem;
    border-top-right-radius: 2.4rem;
    padding: 2.4rem;
    padding-left: 28rem;
    height: 72.6vh;
    max-height: 481px;
    min-height: 0px;
  }
}

.modal-contents ul:last-child, .modal-contents p:last-child {
  margin-bottom: 0;
}

.modal-title h2 {
  font-size: 2.9rem;
  letter-spacing: -0.2rem;
  line-height: 2.8rem;
  margin-bottom: 0.5rem;
  z-index: 10000;
  position: sticky;
}

@media (min-width: 250px) {
  .modal-title h2 {
    font-size: 3rem;
    line-height: 3.3rem;
    margin-bottom: 0.54rem;
  }
}

@media (min-width: 800px) {
  .modal-title h2 {
    font-size: 3rem;
    line-height: 4.8rem;
    margin-bottom: 0.5rem;
  }
}

.modal-contents ul {
  list-style: disc outside;
  padding-left: 2.1rem;
}

.modal-contents ul li {
  margin-bottom: 0.1rem;
}

.modal-close {
  position: absolute;
  right: 1.3rem;
  top: 1.3rem;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background-color: var(--accent);
  background-image: url(images/icons/close.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 2.4rem auto;
  cursor: pointer;
  -webkit-box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.1);
  box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.1);
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition: transform 0.3s ease 0.3s, background-color 0.3s ease;
  transition: transform 0.3s ease 0.3s, background-color 0.3s ease;
  z-index: 10000000;
}

.modal-close:hover {
  background-color: #FBBC33;
}

.show-modal .modal-close {
  -webkit-transform: scale(1);
  transform: scale(1);
}





@keyframes grow {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}


.show {
  visibility: visible;
}


.animated-image {
  animation: grow 2s infinite alternate;
  transform-origin: center;
}

.animated-image2 {
  animation: grow2 2s infinite alternate;
  transform-origin: center;
}

.secondary {
visibility: hidden; 
pointer-events: none;
position: absolute;
left: -0.21%;
bottom: 0%;
z-index: 1000;
}


#image2 {
  width: 105%;
  height: auto
}


/* Volet disease */

.subdisease {
  border-bottom-left-radius: 2.4rem;
  border-bottom-right-radius: 2.4rem;
  background-color: var(--white);
  position: absolute; 
}

.subdisease h4 { 
  align-items: center;
  text-align: center;
}

@media (min-width: 150px) {
  .subdisease h4 {
    font-size:20px;
  }
}

@media (min-width: 800px) {
  .subdisease h4 {
    font-size:28px;
  }
}



@media (min-width: 150px) {
  .subdisease {
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 5%;
    top: 14%;
    left: 3%;
  }
}

@media (min-width: 800px) {
  .subdisease {
    border-top-left-radius: 2.4rem;
    border-top-right-radius: 2.4rem;
    padding-left: 280px;
    padding-right: 5%;
    padding-top: 5%;
    top: 14%;
    left: 0%;
    max-height: 370px;
  }
}

#disease2 {
  visibility: hidden; 
  font-size: clamp(1rem, 1vw + 0.95rem, 3rem);
}

#disease3 {
  font-size: clamp(0.5rem, 0.5vw + 0.7rem, 1.40rem);
  visibility: hidden; 
}

/* @media (min-width: 640px) {
  #disease3 {
    font-size: 13px;
  }
}

@media (min-width: 150px) {
  #disease3 {
    font-size: 12px;
  }
}

@media screen and (min-width: 100px) and (max-height:450px){
  #disease3 {
    font-size: 9px;
  }
}

@media screen and (min-width: 500px) and (max-height:450px){
  #disease3 {
    font-size: 10px;
  }
}

@media screen and (min-width: 800px) and (max-height:450px){
  #disease3 {
    font-size: 10.5px;
  }
}
 */
#humans {
  background-color: #38b292;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#disclose {
  top: 5%;
  right: 5%;
}

#animals {
  background-color: #344b92;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#humans h4 {
  text-align: center;
}

#animals h4 {
  text-align: center;
}
#humans:hover {
  background-color: #74c9b3;
}

#animals:hover {
  background-color: #8e9bc3;
}



.image-button1 {
    position: absolute;
    top: 0%;
    left: 0%; 
    cursor: pointer;
}
.image-button-box {
    position: absolute;
    width: 5%;
    height: 5%;
    top: 25%;
    left: 90%; 
    transform: translateY(-50%);
    cursor: pointer;
}

@media (min-width: 150px) {
  .row {
    height: 40vh; /* Set the height of the row to 100% */
  }
}

@media (min-width: 800px) {
  .row {
    height: 55vh;
    max-height: 410px;
  }
}


@media (min-width: 150px) {
  .row h4 {
    font-size:20px;
  }
}

@media (min-width: 800px) {
  .row h4 {
    font-size:28px;
  }
}

.row {
  display: flex;
  flex-wrap: nowrap;
}
.col {
  flex: 1; /* Each section takes equal space */
  padding: 13px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  cursor: pointer; /* Change cursor to pointer on hover */
  position: relative; /* Position relative for absolute positioning of image */
  background-color: green;
  display: block;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-height: 450px;
}

@media (min-width: 150px) {
  .col img {
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 90%;
    max-height: 25vh; /* Set the height of the row to 100% */
  }
}

@media (min-width: 800px) {
  .col img {
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 90%;
    max-height: 40vh; /* Set the height of the row to 100% */
  }
}

.col img {
  opacity: 0.5;
  height: auto;
  text-align: center;
  justify-content: center;
  align-items: center;
}
.col:hover {
  background-color: lightgreen;
}

/* Volet classification */

.image {
  pointer-events: none; /* Pour que l'image secondaire ne bloque pas les événements de la souris */
  width: 100%;
  height: auto;
  max-height: 67vh;
  top: 0%;
  left: 0%;
}

@media (min-aspect-ratio: 3727/2096) {
  .classification {
    position: relative;
    display: none;
    width: 100%;
    height: 80vh; /* ou une autre taille spécifique */
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  .subcontainer {
    position: relative;
    display: inherit;
    width: inherit;
    height:100%;
    margin: inherit;
    padding: inherit;
    justify-content: inherit;
    align-items: inherit;
    overflow: fit-content;
    max-height: 67vh;
  }
  .classification img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
  }
}

@media (max-aspect-ratio: 3727/2096) {
  .classification {
    position: relative;
    display: none;
    width: 100%;
    height: 80vh; /* ou une autre taille spécifique */
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  .subcontainer {
    position: relative;
    display: inherit;
    width: inherit;
    height:100%;
    margin: inherit;
    padding: inherit;
    justify-content: inherit;
    align-items: inherit;
    overflow: fit-content;
    max-height: 67vh;
  }
  .classification img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
  }
}

@media (min-height: 50px) {
  .subbutton {
    left: 0.65%;
    top: 108px;
  }
}
@media (min-height: 150px) {
  .subbutton {
    left: 0.65%;
    top: 52.5%;
  }
}

@container (min-height: 50px) {
  .subbutton {
    left: 0.65%;
    top: 108px;
  }
}
@container (min-height: 150px) {
  .subbutton {
    left: 0.65%;
    top: 52.5%;
  }
}

#activable-image {
  position: absolute;
  left: -0.2%;
  bottom: -50%;
  padding: 2.4rem;
}

.subbutton {
  width: 15%;
  height: auto;
  position: absolute;
  display: flex;
  cursor: pointer;
  z-index: 5500;
  transform: translateY(-50%);
  transform: translateX(-50%);
}


@media (min-width: 150px) {
  #activable-image {
    padding: 2.4rem;
  }
}

@media (min-width: 800px) {
  #activable-image {
    border-top-left-radius: 2.4rem;
    border-top-right-radius: 2.4rem;
    padding-left: calc(40% + 3.4rem);
  }
}


/* Commun */

.zoom-container {
  position: absolute;
  font-size: 11px;
  background-color: white;
  border: 2px solid; 
  border-color: black; 
  padding : 15px;
  border-radius: 15px;
}

.image-button {
  position: absolute;
  cursor: pointer;
  transform: translateY(-50%);
  width: 20px;
  height: auto;
  z-index: 900000000000000;
}


/* Volet caractéristiques */


@media (min-width: 150px) {
  .subcontainer2 {
    position: relative;
    display: inherit;
    width: inherit;
    height:100%;
    margin: inherit;
    padding: inherit;
    justify-content: inherit;
    align-items: inherit;
    overflow: fit-content;
/*     max-height: 57vh; */
  }
  #open_locations {
    left: 32%;
    top: 35.5%;
  }
  #open_conditions {
    left: 72%;
    top: 17.5%;
  }
  #open_hosts {
    left: 62%;
    top: 78%;
  }
  #conditions {
    left: 66.82%;
    top: 9.65%;
  }
  #hosts {
    left: 70%;
    top:76%;
  }
  #locations {
    left: 25.5%;
    top: 29.8%;
  }
}

@media (min-width: 790px) {
  .subcontainer2 {
    position: relative;
    display: inherit;
    width: inherit;
    height:100%;
    margin: inherit;
    padding: inherit;
    justify-content: inherit;
    align-items: inherit;
    overflow: fit-content;
/*     max-height: 67vh; */
  }
  #open_locations {
    left: 32%;
    top: 35.5%;
  }
  #open_conditions {
    left: 72%;
    top: 17.5%;
  }
  #open_hosts {
    left: 62%;
    top: 78%;
  }
  #conditions {
    left: 66.82%;
    top: 9.65%;
  }
  #hosts {
    left: 70%;
    top:76%;
  }
  #locations {
    left: 25.5%;
    top: 29.8%;
  }
}

/* @media (min-aspect-ratio: 3727/2096) {
  .subcontainer2 {
    position: relative;
    display: inherit;
    width: auto;
    height:100%;
    margin: inherit;
    padding: inherit;
    justify-content: inherit;
    align-items: inherit;
    overflow: fit-content;
    max-height: 67vh;
  }
}

@media (max-aspect-ratio: 3727/2096) {
  .subcontainer2 {
    position: relative;
    display: inherit;
    width: auto;
    height:100%;
    margin: inherit;
    padding: inherit;
    justify-content: inherit;
    align-items: inherit;
    overflow: fit-content;
    max-height: 67vh;
  }
} */

@keyframes grow2 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.3);
  }
}

#hosts-close {
  top: 10%;
  right: 2%; 
}
#locations-close {
  top: 10%;
  right: 2%; 
}
#conditions-close {
  top: 10%;
  right: 2%; 
}

#hosts_zoom{
width: 55%;
max-height: 35%;
font-size: clamp(1rem, 0.5vw + 0.95rem, 2rem);
bottom: 5%;
right: 38%; 
z-index: 100000000000000;
/* overflow: auto;  
transform: translateY(-50%);
/* transform: translateX(-50%); */
}
#locations_zoom{
width: 52%;
max-height: 35%;
font-size: clamp(1rem, 0.5vw + 0.95rem, 2rem);
top: 30%;
right: 2%; 
z-index: 10000000000000;
/* transform: translateY(-50%);
transform: translateX(-50%); */
}
#conditions_zoom{
width: 62%;
max-height: 35%;
font-size: clamp(1rem, 0.5vw + 0.95rem, 2rem);
top: 5%;
left: 1%; 
z-index: 1000000000000;
/* transform: translateY(-50%);
transform: translateX(-50%); */
}

#open_locations {
  visibility: visible; 
  width: 20px;
  height: auto;
  position: absolute;
  display: flex;
  cursor: pointer;
  z-index: 500;
  transform: translateY(-50%);
  transform: translateX(-50%);
}


#open_conditions {
visibility: visible; 
width: 20px;
height: auto;
position: absolute;
display: flex;
cursor: pointer;
z-index: 500;
transform: translateY(-50%);
transform: translateX(-50%);
}

#open_hosts {
visibility: visible; 
width: 20px;
height: auto;
position: absolute;
display: flex;
cursor: pointer;
z-index: 500;
transform: translateY(-50%);
transform: translateX(-50%);
}

#all {
  position: relative;
}

#conditions {
  width: 27%;
  height: auto;
  position: absolute;
  display: flex;
  cursor: pointer;
  z-index: 500;
  transform: translateY(-50%);
  transform: translateX(-50%);
}

#hosts {
  width: 33%;
  height: auto;
  position: absolute;
  display: flex;
  cursor: pointer;
  z-index: 500;
  transform: translateY(-50%);
  transform: translateX(-50%);
}

#locations {
  width: 30%;
  height: auto;
  position: absolute;
  display: flex;
  cursor: pointer;
  z-index: 500;
  transform: translateY(-50%);
  transform: translateX(-50%);
}
