:root {
  --blue: #1d1834;
  --grey: #ff5f5;
  --green: #00d3c4;
  --white: #ffffff;
  --max-width: 1100px;
  --border-radius: 12px;
  --menu-width: 420px;
}

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

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

section {
  margin: 1.5rem 0;
}

.header {
  position: fixed;
  top: 0;
  background: var(--blue);
  color: var(--white);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  z-index: 900;
}

.main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 6rem;
  min-height: 100vh;
  margin-top: 6rem;
  max-width: 1200px;
}

.gutter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.registration {
  font-weight: 600;
}

.example-table td:last-of-type {
  text-align: right;
}

.example-table td:first-of-type {
  padding-right: 3.5rem;
}

.example-table tr:last-of-type > td:last-of-type {
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

.contact {
  width: 100%;
}

a {
  transition: all 0.5s;
  text-decoration: none;
  font-weight: 600;
  color: #000;
}

a:hover {
  color: var(--green);
}

.book img {
  width: 100%;
  height: auto;
  padding-bottom: 1rem;
}

.book-details {
  justify-content: center;
  text-align: center;
}

.footer {
  background: var(--blue);
  color: var(--white);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* BURGER MENU STYLES */
/* Position and sizing of burger button */
.bm-burger-button {
  position: fixed;
  width: 36px;
  height: 30px;
  right: 36px;
  top: 36px;
  z-index: 1000;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Color/shape of burger icon bars */
.bm-burger-bars {
  display: block;
  width: 100%;
  height: 15%;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.5s;
}

/* Color/shape of burger icon bars on hover */
.bm-burger-button:hover .bm-burger-bars {
  background: var(--green);
}

/* Sidebar wrapper styles */
.bm-menu-wrap {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: var(--menu-width);
  max-width: 100%;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.5s ease;
}

#outer-container.menu-open .bm-menu-wrap {
  transform: translateX(0);
}

/* General sidebar styles */
.bm-menu {
  position: relative;
  height: 100%;
  background: var(--blue);
  padding: 2.5em 1.5em 0;
  font-size: 1.15em;
  overflow: auto;
}

/* Position and sizing of clickable cross button */
.bm-cross-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  height: 32px;
  width: 32px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* Color/shape of close button cross */
.bm-cross {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: var(--white);
  transition: all 0.5s;
}

.bm-cross:nth-child(1) {
  transform: rotate(45deg);
}

.bm-cross:nth-child(2) {
  transform: rotate(-45deg);
}

.bm-cross-button:hover .bm-cross {
  background-color: var(--green);
}

/* Wrapper for item list */
.bm-item-list {
  display: flex;
  flex-direction: column;
  color: var(--white);
  padding: 0.8em;
  margin-top: 2.5rem;
}

/* Individual item */
.bm-item {
  display: inline-block;
  color: var(--white);
  padding: 1rem 0.5rem;
  padding-left: 4rem;
  text-decoration: none;
}

a.bm-item:hover {
  color: var(--green);
  transition: all 0.5s;
}

/* Styling of overlay */
.bm-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#outer-container.menu-open .bm-overlay {
  opacity: 1;
}

@media only screen and (max-width: 650px) {
  .main {
    padding: 3rem 2rem;
  }
}
