@import url(https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap);

:root {
  /* Define the width of the window */
  --window-width: 500px;

  --top-bar-height: 120px;
  --bottom-bar-height: 50px;

  --side-bar-left-width: 250px;

  --top-bar-background-color: #1b1e3c;
  --bottom-bar-background-color: #1b1e3c;
  --side-bar-left-background-color: #1b1e3c;
  --main-content-background-color: #1b1e3c;

  --top-bar-font-size-button: 18px;
  --top-bar-font-color-button: #7799C0;
  --top-bar-color-button: #22244c;
  --top-bar-color-button-active: #1b5478;
}
* {
  font-family: 'Outfit';
  font-weight: 500;
  margin: 0;
  padding: 0;
}

html {
  scrollbar-width: none;
  ::-webkit-scrollbar {
    width: 0px;
    height: 0px;
  }
}

.plante_container {
  position: absolute;
  left: 25px;
  bottom: -16px;
  transform: scale(0.8);
  opacity: 0.9;
}

/**
 * top bar
 */

.top_bar_container {
  padding: 10px;
  background-color: var(--top-bar-background-color);
}

.top_bar {
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--top-bar-height);
  border-radius: 120px;
  background-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0)
  );
}

.top_bar_left_button {
  z-index: 10;
  position: absolute;
  transform: scale(0.23);
  top: -182px;
  left: -180px;
  filter: sepia(0.7);
}

.top_bar_left_text {
  position: absolute;
  font-size: 16px;
  font-weight: 900;
  color: var(--top-bar-font-color-button);
  left: 0;
}

.top_bar_left_text_1 {
  top: 45px;
  margin-left: 125px;
  font-size: 18px;
  color: whitesmoke;
  font-family: 'Play';
  font-weight: 700;
  transform: scaleX(-1);
  -moz-transform: scale(1) rotate(0deg) translate(0px, 0px) skew(16deg, 0deg);
  -webkit-transform: scale(1) rotate(0deg) translate(0px, 0px) skew(16deg, 0deg);
  -o-transform: scale(1) rotate(0deg) translate(0px, 0px) skew(16deg, 0deg);
  -ms-transform: scale(1) rotate(0deg) translate(0px, 0px) skew(16deg, 0deg);
  transform: scale(1) rotate(0deg) translate(0px, 0px) skew(16deg, 0deg);
}

.top_bar_left_text_2 {
  top: 70px;
  margin-left: 130px;
}

.top_bar_left_text_3 {
  top: 75px;
  margin-left: 125px;
  font-style: oblique 20deg;
}

.top_bar_group_buttons {
  position: absolute;
  right: 10px;
}

.button_image {
  filter: invert(70%);
}

.top_bar_button {
  outline: none;
  background-color: var(--top-bar-color-button);
  color: var(--top-bar-font-color-button);
  font-size: var(--top-bar-font-size-button);
  cursor: pointer;
  height: 80px; /* 50px */
  width: 80px;
  border-radius: 80px;
  margin-top: 4px;
  padding-top: 4px;
  border: 0px solid black;
}

.top_bar_button:hover {
  animation: bubble 0.1s ease-out;
  border: 4px solid #5296e5;
}

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

/**
 * bottom bar
 */

.bottom_bar_container {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: var(--bottom-bar-background-color);
  height: var(--bottom-bar-height);
}

.bottom_bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
  padding: 8px;
  background-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0)
  );
  border-radius: 40px;
  height: 15px;
}

.bottom_bar_left_element {
  position: absolute;
  left: 20px;
}

.bottom_bar_center_element {
  position: absolute;
  color: #7799C0;
}

.bottom_bar_center_element a {
  text-decoration: none;
  color: var(--top-bar-color-button-active);
}

.bottom_bar_right_element {
  position: absolute;
  right: 20px;
  color: #595959;
  font-size: 12px;
}

/**
 * iframe left bar
 */

#side_bar_left {
  position: fixed;
  height: calc(100% - (var(--top-bar-height) + var(--bottom-bar-height) + 20px));
  width: var(--side-bar-left-width);
  top: var(--top-bar-height);
  margin-top: 20px;
}

#side_bar_left iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--side-bar-left-width);
  height: 100%;
  border: none;
  background-color: var(--side-bar-left-background-color);
}

/**
 * iframe center content
 */

#main_content {
  position: fixed;
  height: calc(100% - (var(--top-bar-height) + var(--bottom-bar-height) + 20px));
  width: calc(var(--window-width) - var(--side-bar-left-width));
  margin-left: var(--side-bar-left-width);
  top: var(--top-bar-height);
  margin-top: 20px;
}

#main_content iframe {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border: none;
  width: calc(var(--window-width) - var(--side-bar-left-width));
  background-color: var(--main-content-background-color);
}

#main_menu {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-height: auto;
  overflow-y: auto;
  z-index: 10;
  position: fixed;

  width: calc(100% - 20px);

  height: calc(100% - (var(--top-bar-height) + 10px));
  left: 0;
  top: calc((var(--top-bar-height) / 2) + 10px);
  border-radius: 10px;

  background-color: rgba(23,25,49, 0.90);
  /* background-color: #171931; */

  margin: 10px;
}

#main_menu a {
	display: flex;
	font-weight: 900;
  font-size: 1.0em;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;

  color: #1A5477;
  background-color: #0C0D1A;

  /* color: var(--top-bar-font-color-button); */
  /* background-color: var(--main-content-background-color); */

  border-radius: 20px;
  margin: 5px;
	padding: 5px 20px 5px 20px;
}

#main_menu a:hover {
  color: #0C0D1A;
  background-color: var(--top-bar-color-button-active);
}

/**
 * media screen
 */

@media screen and (max-width: 440px) {
  .top_bar_left_button {
    display: none;
  }
}

@media screen and (max-width: 520px) {

  .top_bar_left_text_1 {
    display: none;
  }

  .top_bar_left_text_2 {
    display: none;
  }

  .top_bar_left_text_3 {
    display: none;
  }
}

@media screen and (max-width: 800px) {

  .top_bar {
    height: calc(var(--top-bar-height) / 2);
    border-radius: calc(120px / 2);
    background-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.75),
      rgba(0, 0, 0, 0)
    );
    margin-left: 5px;
  }

  .top_bar_button {
    height: 55px;
    width: 55px;
    border-radius: 55px;
    margin-bottom: 4px;
  }

  .top_bar_left_button {
    transform: scale(0.12);
    top: -212px;
    left: -205px;
  }

  .top_bar_left_text {
    font-size: 0.7em;
  }

  .top_bar_left_text_1 {
    font-size: 0.9em;
    margin-left: 72px;    
  }

  .top_bar_left_text_2 {
    margin-left: 75px;
  }

  .top_bar_left_text_3 {
    margin-left: 72px;
  }
 
  .bottom_bar_right_element {
    display: none;
  }

  .bottom_bar_center_element {
    right: 20px;
  }

  #side_bar_left {
    display: none;
  }

  #main_content {
    width: 100%;
    height: calc(100% - (var(--top-bar-height) + 10px));
    margin-left: 0;
    top: calc(var(--top-bar-height) / 2);
  }

  #main_content iframe {
    width: 100%;
  }

}
