/*
BRAND COLORS:
Dark-grey: #262626
Dark blue: #3c61fa
Blue: #588dfb
Light blue: #9fc8fc
*/

.top-banner {
  position: fixed;
  width: calc(100% - 140px);
  left: 140px;
  z-index: 1;
  top: 0;
  width: 100%;
  background-color: #3c61fa;
  padding: 10px 0;
  text-align: center;
}

.top-banner p {
  color: white;
  font-size: 18px;
  font-weight: 500;
  margin: 0 20px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}

.logo {
  height: 40px;
}

p {
  font-size: 16px;
  color: #323232;
  line-height: 1.5;
  margin-bottom: 12px;
}

.indented {
  padding-left: 20px;
}

.bold {
  font-weight: 600;
}

.blue-highlight {
  color: #588dfb;
}

.highlighted-code {
  font-style: bold;
  background-color: #f3f3f3;
  color: #3c61fa; 
  border-color: #f1f1f1;
  padding: 2px 10px;
  border-radius: 10px;
}

.sidenav {
  height: 100%;
  width: 180px;
  position: fixed;
  z-index: 2;
  background-color: white;
  top: 0; 
  left: 0;
  overflow-x: hidden;
  padding: 30px;
  font-size: 18px;
  border-right: 1px solid rgba(69, 96, 154, 0.3);
}

.sidenav-title {
  display: flex;
  align-items: baseline;
  margin-bottom: 40px;
}

.sidenav-sections {
  margin-left: 15px;
}

.sidenav-section, .sidenav-subsection {
  display: block;
  width: fit-content;
  margin-bottom: 15px;
  text-decoration: none;
  color: #262626;
  cursor: pointer;
}

.sidenav-subsection {
  font-size: 16px;
}

.sidenav-section:hover, .sidenav-subsection:hover {
  text-decoration: underline;
  text-decoration-color: #588dfb;
  text-decoration-thickness: 2px;
  color: #588dfb;
}


.sidenav-subsection {
  margin-left: 15px;
}

.main {
  position: absolute;
  top: 40px; /* REMOVE WITH BANNER */
  width: calc(100% - 240px);
  left: 240px;
  padding: 40px 0;
}

.main-title {
  display: flex;
  width: 800px;
  left: 240px;
  margin: 0 auto;
  margin-top: 50px;
}


.main-title > p {
  font-size: 36px;
  font-weight: bold;
  color: #262626;
  margin-bottom: 0;
}

.section {
  margin: 80px auto;
  margin-top: 60px;
}

.section ~ .section {
  margin: 80px auto;
}

.section {
  max-width: 800px;
}

.subsection {
  margin: 50px auto;
}

.line-separator {
  margin: 50px 0;
  border-bottom: 1px solid rgba(69, 96, 154, 0.3);
}

.line-separator-subsection {
  margin: 0 auto;
  width: 80%;
  border-bottom: 1px solid rgba(69, 96, 154, 0.3);
}

.section-title {
  font-size: 24px;
  color: #262626;
  font-weight: bold;
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 20px;
  color: #3c61fa;
  font-weight: bold;
  margin-bottom: 20px;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  font-family: sans-serif;
  min-width: 400px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
  background-color: #588dfb;
  color: #ffffff;
  text-align: left;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
  }
  
  .styled-table tbody tr {
  color: #323232;
  line-height: 1.5;
  border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid #588dfb;
}

pre {
  width: 100%;
  padding: 25px 20px 10px 10px;
  background-color: ghostwhite;
  border: 1px solid silver;
  color: #323232;
  font-family: "Lucida Console", Monaco, monospace;
  font-size: 0.8rem;
  line-height: 1.2;
  border-radius: 10px;
}

.highlighted-section {
  margin: 30px 0;
  padding: 20px;
  background-color: ghostwhite;
  border: 2px solid #3c61fa;
  border-radius: 10px;
}

.highlighted-icon {
  font-size: 20px;
  font-weight: 600;
  color: #3c61fa;
}

@media only screen and (max-width: 1200px) {
  .top-banner {
    width: calc(100% - 172px);
    left: 170px;
  }

  .main {
    position: absolute;
    width: calc(100% - 172px);
    left: 170px;
    top: 70px; /* REMOVE WITH BANNER */
  }
  
  .main-title {
    width: 80%;
    margin: 0 auto;
    margin-bottom: 30px;
  }
  
  .section {
    width: 80%;
    margin: 0 auto;
  }

  .logo {
    height: 30px;
  }

  .sidenav {
    padding: 30px 15px;
    width: 140px;
    font-size: 16px;
  }

  .sidenav-sections {
    margin-left: 5px;
  }

  pre {
    width: 80%;
  }
}