/*
 * SOMC
 * Global Styles
 * Rose Pine
 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --base: #191724;
  --surface: #1f1d2e;
  --overlay: #26233a;

  --muted: #6e6a86;
  --text: #e0def4;

  --love: #eb6f92;
  --gold: #f6c177;
  --pine: #31748f;
  --foam: #9ccfd8;
  --iris: #c4a7e7;
}

html {
  width: 100%;
  min-height: 100%;
}

body {
  width: 100%;
  min-height: 100vh;

  background: var(--base);
  color: var(--text);

  font-family: "Courier New", monospace;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--love);
  color: var(--base);
}
/*
 * SOMC
 * Global Navigation
 */

/* =========================================
   NAVIGATION
========================================= */

.nav {
  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  z-index: 100;

  height: 80px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 5%;

  border-bottom:
    1px solid
    rgba(224, 222, 244, 0.06);

  background:
    linear-gradient(
      to bottom,
      rgba(25, 23, 36, 0.35),
      transparent
    );
}


/* =========================================
   BRAND
========================================= */

.nav-brand {
  color: var(--text);

  font-family:
    Impact,
    "Arial Black",
    sans-serif;

  font-size: 26px;

  line-height: 1;

  letter-spacing: -0.04em;

  text-decoration: none;
}

.nav-brand span {
  color: var(--love);
}


/* =========================================
   LINKS
========================================= */

.nav-links {
  display: flex;
  align-items: center;

  gap: 32px;
}

.nav-links a {
  position: relative;

  color: var(--muted);

  font-size: 10px;
  font-weight: bold;

  letter-spacing: 0.12em;

  text-decoration: none;
  text-transform: uppercase;

  transition:
    color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}


/* =========================================
   LINK INDICATOR
========================================= */

.nav-links a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -8px;

  width: 0;
  height: 1px;

  background: var(--love);

  box-shadow:
    0 0 8px
    rgba(235, 111, 146, 0.45);

  transition:
    width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--text);
}

/* =========================================
   COPY BOX
========================================= */
#server-link {
    text-decoration: none;
    cursor: pointer;
    color: #e0def4;
}

#server-link .copy-icon {
    display: inline-block;
    margin-left: 3px;
    font-weight: bold;
    color: #eb6f92;
}

#server-link .copy-icon {
    color: #9ccfd8;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

  .nav {
    height: 70px;

    padding:
      0 6%;
  }

  .nav-brand {
    font-size: 23px;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 9px;

    letter-spacing: 0.08em;
  }

}
/*
SOMC
BlueMap Page
*/

/* =========================================
MAP PAGE
========================================= */

.map-screen {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* =========================================
NAVIGATION
Override the global absolute positioning
========================================= */

.map-screen .nav {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  flex: 0 0 80px;
}

/* =========================================
BLUEMAP
========================================= */

.bluemap-wrapper {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  background: var(--base);
}

.bluemap-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================
FOOTER
========================================= */

.map-footer {
  position: relative;
  flex: 0 0 60px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  border-top:
  1px solid
  rgba(224, 222, 244, 0.06);
  background: var(--base);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.map-footer a:hover {
  color: var(--text);
}

/* =========================================
MOBILE
========================================= */

@media (max-width: 600px) {
  .map-screen .nav {
    flex-basis: 70px;
  }

  .map-footer {
    flex-basis: 50px;
    padding: 0 6%;
    font-size: 9px;
  }
}
