@font-face {
    font-family: "Helvetica";
    src: url("../assets/fonts/Helvetica.ttf");
  }
  
  @font-face {
    font-family: "Helvetica Bold";
    src: url("../assets/fonts/Helvetica-Bold.ttf");
  }
  
  *,
  ::after,
  ::before {
    box-sizing: border-box;
  }
  
  .dark {
    --bg-color: #333333;
    --text-color: #ffffff;
    --highlight-color: #8db2cf;
    --nav-bg : rgba(255,255,255,0.1);
    --main-bg : #000000;
  }
  
  .dark b {
    color: var(--text-color);
  }
  
  .light {
    --bg-color: #ffffff;
    --text-color: #000000;
    --highlight-color: #000000;
    --nav-bg : rgba(0,0,0,0.1);
    --main-bg: #ffffff;
  }
  
  .light b {
    color: var(--text-color);
  }
  
  body {
    margin: 0;
    font-family: "Helvetica";
    background-color: var(--main-bg);
    position: relative;
  }
  
  html {
    background-color: var(--main-bg);
    position: relative;
  }
  
  #vizContainer {
    margin-top: -25px;
    margin-left: -14%;
    transition: margin-left 0.2s ease-in-out;
  }
  
  canvas {
    /* transition: margin-left 0.2s ease-in-out; */
  }
  
  .container {
    position: absolute;
    z-index: 100;
    margin: auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 20px 20px 20px;
    top: 30px;
    left: 0px;
    height: 90%;
  }
  
  .logo {
    border-bottom: 0.5px solid #80808083;
    position: absolute;
    bottom: 78%;
    width : 30%;
    height: 13%;
    right : 80px;
    transition: right 0.2s ease-in-out;
    padding-bottom: 15px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
  }

  #logo {
    height: 100%;
  }
  
  .logo img {
    transition: width 0.2s ease-in-out;
  }
  
  .controls {
    padding: 90px 40px 50px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 8px;
    transition: transform 0.2s ease-in-out;
    height: 100%;
  
  }
  
  .open{
    transform: translateX(-20px); 
  }
  
  .close {
    transform: translateX(-340px); 
  }
  
  #openNavBtn {
    border: none;
    padding: 25px 6px 20px 6px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: var(--nav-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 100px;
    left: -40px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
  }
  
  .menu-open {
    transform: translateX(40px); 
  }
  .menu-close {
    transform: translateX(-100px); 
  }
  
  #openNavBtn svg {
    width: 15px;
    fill: var(--highlight-color);
    color: var(--highlight-color);
  }
  
  .controls__header {
    font-weight: 700;
    font-size: 20px;
    color: var(--highlight-color);
    width: 100%;
    padding-bottom: 30px;
    margin-bottom: 27px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-bottom: 1px solid #80808060;
    gap: 20px;
  }
  
  .controls__header button {
    border: none;
    padding: 6px 6px 6px 6px;
    background-color: var(--nav-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
  }
  
  .controls__header svg {
    width: 20px;
    height: 20px;
    fill: var(--highlight-color);
    color: var(--highlight-color);
    cursor: pointer;
  }
  
  .controls__item {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 15px;
  }
  
  .theme-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .theme-toggle-container b {
    margin-right: 10px;
    font-weight: 400;
    font-size: 15px;
    color: var(--text-color);
  }

  .rotation-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .rotation-toggle-container b {
    margin-right: 10px;
    font-weight: 400;
    font-size: 15px;
    color: var(--text-color);
  }

  .countries-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .countries-toggle-container b {
    margin-right: 10px;
    font-weight: 400;
    font-size: 15px;
    color: var(--text-color);
  }

  .earth-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .earth-toggle-container b {
    margin-right: 10px;
    font-weight: 400;
    font-size: 15px;
    color: var(--text-color);
  }


/* switch */
.switch input {
    position: absolute;
    opacity: 0;
  }
  
  .switch {
    display: inline-block;
    font-size: 20px; /* 1 */
    height: 1em;
    width: 2em;
    background: var(--bg-color);
    border-radius: 1em;
    z-index: 1;
  }
  
  .switch .ball {
    height: 1em;
    width: 1em;
    border-radius: 1em;
    background: #ffffff;
    box-shadow: 0 0.1em 0.3em rgba(0, 0, 0, 0.3);
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    transition: all 300ms;
  }
  
  .switch input:checked + .ball {
    -webkit-transform: translate3d(100%, 0, 0);
    -moz-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
  
  .switch span {
    display: block;
    position: absolute;
    width: 2em;
    height: 1em;
    background: transparent;
    z-index: -1;
    border-radius: 1em;
    margin-top: -1em;
  }
  
  .switch input[type="checkbox"]:checked ~ span {
    background: #8eb2cf;
  }

  
.actions-container {
    position: absolute;
    right: 30px;
    bottom: 72%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    color: var(--text-color);
    padding: 0px 0px 0px 0px;
    transition: width 0.2s ease-in-out;
    right : 83px;
    width : 29.8%;
  }
  
  .actions-container label {
    font-weight: bold;
  }
  .actions-container input {
    margin-top: 15px;
    width: 100%;
    border: 1px solid #808080;
    color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.2);
    height: 30px;
    outline: none;
    box-shadow: none;
    padding: 0px 10px;
  }
  
  .actions-container input:focus {
    outline: none;
  }

  .input-select-container {
    width: 100%;
    border: 1px solid #808080;
    color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.2);
    height: 40px;
    outline: none;
    box-shadow: none;
    padding: 0px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }

  #filePlaceholder {
    opacity: 1;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  #filePlaceholder b {
    font-size: 20px;
    margin-bottom: 5px;
  }

  #filePlaceholder span {
    font-weight: 300;
    font-size: 15px;
    opacity: 0.3;
  }

  #fileName {
    opacity: 0.3;
  }
  
  .actions-container button {
    background-color: #337ab7;
    border: none;
    color: #ffffff;
    margin-top: 10px;
    width: 80px;
    height: 30px;
    margin-top: 15px;
    font-size: 14px;
    cursor: pointer;
  }
  
  .actions-container button:hover {
    background-color: #256caa;
  }
  
  #loading {
    position: absolute;
    height: 55px !important;
    left: 25% !important;
    top: 42% !important;
    z-index: 100;
    color: var(--text-color) !important;
    border: 0.5px solid var(--text-color) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    border-radius: 3px;
  }
  
  .hidden {
    display: none;
  }

  .info-container {
    position: absolute;
    width: 272px;
    height: 250px;
    border: 0.5px solid #808080;
    right: 50px;
    top: 225px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    color: var(--text-color);
    padding: 30px;
  }

footer {
    display: flex;
    gap:5px;
    position: absolute;
    bottom: 0%;
    color: var(--text-color);
    height: 70px;
    left: 45%;
    transform: translateX(-45%);
    transition: left 0.2s ease-in-out;
    font-size: 14px;
    left:32%;
  }
  
  footer span {
    font-weight: 300;
    opacity: 0.2;
  }
  
  footer b {
    opacity: 0.3;
    font-weight: 600;
  }

.date-and-time {
    border-top: 0.5px solid #80808083;
    padding: 15px 0px 0px 0px;
    position: absolute;
    bottom: 4%;
    right: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    width: 272px;
    transition: width 0.2s ease-in-out;
    right : 80px;
    width : 30%;
    height: 10%;
  }
  
  .date-and-time b {
    font-size: 20px;
    color: var(--highlight-color);
  }
  
  .date-and-time span {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 200;
    font-style: italic;
  }

  .data-preview-container {
    position: absolute;
    right: 80px;
    bottom: 16%;
    width:30%;
    height:55%;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    background-color: var(--bg-color);
    opacity: 0.5;
    overflow: hidden;
  }

  #logFilePreview {
    overflow-y: auto;
    overflow-x: auto;
    color: var(--text-color);
    width: 100%;
    height: 100%;
    padding: 0px 5px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    line-height: 20px;
  }

  #right-separator {
    position: absolute;
    width: 2px;
    height: 470px;
    z-index: 100;
    right: -10px;
    margin-top: 6px;
    background-color: var(--text-color);
    opacity: 0.5;
    border-radius: 10px;
    display: none;
  }

  .markerTooltip b {
    font-family: 'Helvetica Bold' !important;
  }

  .markerTooltip .__body {
    max-height: 350px !important;
    overflow-y: auto !important;
  }

  .markerTooltip .__body span {
    /* border-bottom: 0.5px solid red;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; */
  }
  
  
  