*,
::after,
::before {
  box-sizing: border-box;
}
/* fonts */

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600&family=Montserrat&display=swap");
@import "../common.css";
html {
  font-size: 100%;
} /*16px*/

:root {
  /* colors */
  --primary-100: #cdffff;
  --primary-200: #adfdff;
  --primary-300: #8fe4ff;
  --primary-400: #71c0ff;
  --primary-500: #5491ff;
  --primary-600: #3858ff;
  --primary-700: #231dff;
  --primary-800: #4716df;
  --primary-900: #6210bf;

  /* grey */
  --grey-50: #f8fafc;
  --grey-100: #f1f5f9;
  --grey-200: #e2e8f0;
  --grey-300: #cbd5e1;
  --grey-400: #94a3b8;
  --grey-500: #64748b;
  --grey-600: #475569;
  --grey-700: #334155;
  --grey-800: #1e293b;
  --grey-900: #0f172a;
  /* rest of the colors */
  --black: #222;
  --white: #fff;
  --red-light: #f8d7da;
  --red-dark: #842029;
  --green-light: #d1e7dd;
  --green-dark: #0f5132;

  /* fonts  */
  --headingFont: "Roboto", sans-serif;
  --bodyFont: "Nunito", sans-serif;
  --smallText: 0.7em;
  /* rest of the vars */
  --backgroundColor: var(--grey-50);
  --textColor: var(--grey-900);
  --borderRadius: 0.5rem;
  --letterSpacing: 1px;
  --transition: 0.3s ease-in-out all;
  --max-width: 1120px;
  --map-width: 600px;

  /* box shadow*/
  --shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-2: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-3: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-4: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hide {
  display: none !important;
}

.show {
  display: block;
}

/* This is used for small screen */
nav {
  display: block;
  position: relative;
  flex-direction: row;
  justify-content: flex-end;
  width: 95%;
}

h1 {
  display: inline;
  font-size: 1.5rem;
  /* max-width: 50%; */
  margin: 0 0 0 1rem;
  text-align: left;
}

#mapid {
  height: 50vw;
  width: 50vw;
}

.nav-btn {
  padding: 0.15rem 0.75rem;
  background: black;
  color: white;
  margin: 8px;
  height: 30px;
  top: 8px;
  right: 8px;
  float: right;
}

.nav-btn i {
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  width: 80%;

  flex-direction: column;
  height: 0; /*  The height and overflow attributes will hide the links  */
  overflow: hidden;
  transition: var(--transition); /* this will slowly drop down the menu */
  /* todo  */
}

.show-links {
  height: fit-content;
}

.nav-link {
  display: block;
  text-align: center;
  background: black;
  color: white;
  min-width: 10rem;
  height: 20px;
  text-transform: capitalize;
  text-decoration: none;
  /* color: var(--grey-900); */
  letter-spacing: var(--letterSpacing);
  padding: 5px 5px 20px 5px;
  border-right: 1px solid var(--grey-100);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--grey-900);
  background: var(--primary-300);
  width: 100%;
  font-weight: bold;
  text-decoration: underline;
}

/* #iss {
  display: flex;
  flex-direction: column;
  /* margin: 0 auto; */
/* float: right; */
/* font-size: 0.5rem; */
/* }  */

.iss > div {
  width: 80vw;
  margin: 1rem auto;
}

.info {
  display: flex;
  flex-direction: row;
  margin: 1rem auto;
  font-size: 1rem;
}

@media (min-width: 900px) {
  /* These are for desktop screens */
  h1 {
    font-size: 2rem;

    /* margin: 5rem 0 1rem 2rem; */
    text-align: left;
  }

  .nav-btn {
    display: none;
  }

  .nav-links {
    height: auto;
    flex-direction: row;
    align-items: center;
    width: 100%;
    /* background-color: var(--grey-200); */
  }

  img {
    width: 400px;
    margin-top: 4rem;
  }

  #dbCmd,
  .info,
  canvas {
    margin-top: 4rem;
  }

  /* p,
pre {
  font-size: 2rem;
} */

  /* }a.top { */

  nav {
    /* background-color: #444; */
    height: fit-content;
    padding: 1rem;
    position: fixed;
    top: 0;
    width: 100vw;
  }

  /* nav > a {
  text-decoration: none;
  /* border: 1px solid grey; 
  font-size: 1.7rem;
  padding: 1rem 3rem;
  color: white;
} */

  nav > a:hover {
    background-color: darkcyan;
  }

  .iss {
    display: flex;
    width: 500px;
    justify-content: space-evenly;
    margin-left: 2rem;
    float: left;
    font-size: 1.5rem;
  }
}
