/* CSS Reset */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: inherit;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  font-family: 'Raleway', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.66em;
  letter-spacing: 1px;
  color: #4c5b5e;
  background-color: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 55px;
  margin-left: 10rem;
}

h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: normal;
  line-height: 1.66em;
  letter-spacing: 1px;
  color: #4c5b5e;
  background-color: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 0px;
  margin-left: 0rem;
}

h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: normal;
  line-height: 1.66em;
  letter-spacing: 1px;
  color: #4c5b5e;
  background-color: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 0px;
  margin-left: 0rem;
}

ul,
ol {
  list-style: unset;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: unset;
  text-decoration: none;
}

ul,
ol {
  list-style-type: none;
}

.container {
  max-width: 144rem;
  width: min(100% - 2.5rem);
}

/* Page-Content */

.content {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  margin-top: 3.5rem;
  position: relative;
}

.sidebar {
  width: 18rem;
  padding: 0 25px;
  position: fixed;
  top: 3.5rem;
  left: auto;
  height: 100%;
}

.sidebar a:link,
.sidebar a:visited {
  color: #001619;
  text-decoration: none;
}

.sidebar a:hover,
.sidebar a:active {
  color: #a5adae;
  text-decoration: none;
}

.sidebar-title {
  display: block;
  font-size: 2.4rem;
  line-height: 1.5;
  font-weight: 400;
  padding-bottom: 20px;
  border-bottom: 1px solid #cccccc;
}

.sidebar-title a:link,
.sidebar-title a:visited {
  color: #001619;
  text-decoration: none;
}

.sidebar-title a:hover,
.sidebar-title a:active {
  color: #a5adae;
  text-decoration: none;
}

.sidebar-menu {
  margin-top: 2rem;
  padding: 0 0px;
}

.sidebar-menu-link {
  display: block;
  padding-bottom: 5px;
  color: #001619;
}

.main-content {
  max-width: 108rem;
  width: 100%;
  margin-left: 22rem;
}

.landscape-content {
  flex: 1;
  width: 100%;
  margin-left: calc(22rem - 3px);
  margin-top: -3px;
}

.main-card {
  margin-bottom: 5.25rem;
}

.main-card-title {
  margin-bottom: 2.625rem;
}

.main-card:last-child {
  margin-bottom: 0;
}

.main-card-text {
  margin-top: 1.25rem;
  padding: 0 0px;
  color: #4c5b5e;
}

.main-card-text a:link,
.main-card-text a:visited {
  color: #001619;
  text-decoration: underline;
}
.main-card-text a:hover,
.main-card-text a:active {
  color: #4c5b5e;
  text-decoration: none;
}

.main-card-text-para {
  margin-top: 2.75rem;
  padding: 0 0px;
  color: #4c5b5e;
}

.main-card-text-para a:link,
.main-card-text-para a:visited {
  color: #001619;
  text-decoration: underline;
}
.main-card-text-para a:hover,
.main-card-text-para a:active {
  color: #4c5b5e;
  text-decoration: none;
}

.main-card-text-head {
  margin-top: 0rem;
  padding: 0 0px;
  color: #4c5b5e;
}

.main-card-text-head a:link,
.main-card-text-head a:visited {
  color: #001619;
  text-decoration: underline;
}
.main-card-text-head a:hover,
.main-card-text-head a:active {
  color: #4c5b5e;
  text-decoration: none;
}

.main-card > iframe {
  display: block;
  height: 40rem;
  width: 100%;
}

/* Header */

.mobile-header {
  position: relative;
  display: none;
  padding-top: 10px;
}

.mobile-header-link {
  display: flex;
  justify-content: center;
  font-size: 3rem;
  font-weight: 400;
  color: #001619;
}

.hamburger {
  cursor: pointer;
  width: 24px;
  height: 21.5px;
  position: relative;
  top: 26px;
  background: none;
  border: none;
  z-index: 100;
  transition: all 0.25s;
  display: none;
}

.hamburger-top,
.hamburger-middle,
.hamburger-bottom {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: #001619;
  transform: rotate(0);
  transition: all 0.5s;
}

.hamburger-middle {
  transform: translateY(16px);
}

.hamburger-bottom {
  transform: translateY(8px);
}

.open .hamburger-top {
  transform: rotate(45deg) translateY(6px) translateX(6px);
  z-index: 100;
}

.open .hamburger-middle {
  display: none;
}

.open .hamburger-bottom {
  transform: rotate(-45deg) translateY(6px) translateX(-6px);
  z-index: 100;
}

.hamburger {
  display: block;
}

/* mobile-nav */
.mobile-nav {
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 90;
  left: 0;
  top: 0;
  background-color: rgb(255, 255, 255);
  overflow-x: hidden;
  overflow-y: auto;
  transition: 0.5s;
  transform: translateX(-1000px);
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-content {
  width: 30rem;
  margin: 0 auto;
  margin-top: 8rem;
}

.mobile-nav-title {
  display: block;
  font-size: 3.2rem;
  font-weight: 400;
  padding-bottom: 20px;
  border-bottom: 1px solid #cccccc;
  text-align: center;
  width: fit-content;
}

.mobile-nav-title:hover {
  color: #a5adae;
}

.mobile-nav-menu {
  margin-top: 3.5rem;
  padding: 0 0px;
}

.mobile-nav-menu-link {
  display: block;
  font-size: 2.4rem;
  padding-bottom: 15px;
  color: #001619;
}

.mobile-nav-menu-link:hover {
  color: #a5adae;
}

.mobile-nav-social-link {
  display: block;
  color: #001619;
  font-size: 2.8rem;
  margin-top: 1.5rem;
  padding: 0 0px;
}

.mobile-nav-social-link:hover {
  color: #4c5b5e;
}

/* Landscape-Page */
.landscape-content {
  display: flex;
  flex-wrap: wrap;
}

.landscape-card {
  height: 15.6rem;
  transition: opacity 0.2s linear;
}

.landscape-card:hover {
  opacity: 0.8;
}

/* ---------------Media Queries--------------- */

@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }
}

@media (max-width: 767px) {
  .sidebar {
    display: none;
  }

  .main-content,
  .landscape-content {
    margin-left: 0;
  }

  .mobile-header {
    display: block;
  }

  .container {
    margin: 0 auto;
  }

  body {
    margin-left: 0;
  }
}

@media (max-width: 550px) {
  .landscape-card {
    height: 12rem;
  }

  .landscape-card > img {
    height: 100%;
  }
}

@media (max-width: 400px) {
  .landscape-card {
    height: 9rem;
  }

  .landscape-card > img {
    height: 100%;
  }
}
