.circle-button {
  /*width: max(30px, 1%);
    /*height: max(50px, 5%);*/
  aspect-ratio: 1 / 1;
  position: fixed;
  bottom: 20px;
  right: 20px;
  border: 5px solid #013682;
  transition: opacity 0.3s;
}



.button {
  border-radius: 50%;
  background-color: #003399;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.expanded-container {
  border: #eeeeee solid 3px;
  z-index: 999;
  position: fixed;
  top: 50%;
  right: -100%;
  transform: translateY(-50%);
  width: 30%;
  height: 70%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  border-radius: 15px;
  transition: right 0.6s ease-in-out, opacity 0.6s ease-in-out, width 0.6s, height 0.6s, border-radius 0.6s;
}

@media only screen and (min-aspect-ratio: 2/1) {
  .expanded-container {
    width: 40% !important;
    height: 70% !important;
  }

  .expanded-container.visible {
    right: 20px !important;
  }
}

@media only screen and (min-aspect-ratio: 1/1) and (max-aspect-ratio: 2/1) {
  .expanded-container {
    width: 30% !important;
    height: 70% !important;
  }

  .expanded-container.visible {
    right: 20px !important;
  }
}

@media only screen and (min-aspect-ratio: 1/2) and (max-aspect-ratio: 1/1) {
  .expanded-container {
    width: 70% !important;
    height: 40% !important;
  }

  .expanded-container.visible {
    right: 15% !important;
  }
}

@media only screen and (max-aspect-ratio: 1/2) {
  .expanded-container {
    width: 70% !important;
    height: 60% !important;
  }

  .expanded-container.visible {
    right: 15% !important;
  }
}





.expanded-container.visible {
  right: 20px;
  opacity: 1;
  /*    cursor: pointer;*/
}

.expanded-container iframe {
  /*    margin-right: 25px;
    margin-left: 25px;
  */
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
}

.close-button {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 1;
  width: 25px;
  height: 25px;
}

.button i {
  transform: scale(0.5);
  transform-origin: center;
  aspect-ratio: 1 / 1;
}

.circle-button i {
  font-size: 300%;
}

.close-button i {
  font-size: 200%;
}