/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

/* =========================
   GLOBAL STYLES
   ========================= */
html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "Lato", sans-serif;
  background-color: #1D1D24;
  color: white;
}

/* =========================
   SIDE NAV
   ========================= */
.sidenav {
  height: 100%;
  width: 235px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  padding-top: 20px;
  z-index: 1;
}

/* Header */
.sidenav-header {
  text-align: center;
  margin-bottom: 14px;
}

.sidenav-note {
  font-size: 15px;
  margin-top: 6px;
}

.sidenav-sub {
  font-size: 13px;
  opacity: 0.8;
}

/* Inner column */
.sidenav-inner {
  padding: 0 30px;
}

/* =========================
   SHARED SECTION TITLES
   ========================= */
.sidenav-section,
details summary {
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #818181;
  padding: 6px 0;
  cursor: pointer;
  display: block;
}

.sidenav-section:hover,
details summary:hover {
  color: #f1f1f1;
}

/* =========================
   DETAILS LINKS
   ========================= */
details a {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #606080;
  text-decoration: none;
  padding: 4px 0 4px 10px;
  opacity: 0.9;
}

/* Prevent visited links from turning purple */
details a:visited,
.sidenav a:visited {
  color: #606080;
}

details a:hover,
.sidenav a:hover {
  color: #f1f1f1;
  opacity: 1;
}

/* =========================
   CONTACT
   ========================= */
.sidenav-contact-title {
  margin-top: 22px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.contact-list {
  display: grid;
  grid-template-columns: 18px auto;
  column-gap: 8px;
  row-gap: 4px;
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  letter-spacing: 0.03em;
}

.contact-list .label {
  text-align: right;
  opacity: 0.7;
}

/* =========================
   MAIN CONTENT
   ========================= */
.main {
  margin-left: 235px;
  font-size: 24px;
  padding: 20px;
}

/* =========================
   SMALL SCREENS
   ========================= */
@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }
}
