html {
  scrollbar-color: #ABA7A4 #26292C;
  scrollbar-width: 12px;
}

body {
  color: #26292C;
  background-color: #FFF8F2;
  font-family: "lato", "sans-serif";
  font-weight: 400;
  font-size: 16px;
  overflow-x: hidden;
  width: 100vw;
  padding-right: 12px;
}

/* Fonter */
h1, h2, h3, h4, h5, h6 {
  font-family: "bebas-neue-pro", "sans-serif";
  font-style: normal;
  font-weight: 600;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 32px;
}

p {
  line-height: 22px;
}

.italic {
  font-style: italic;
  color: #547AA5;
}

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

a:hover {
  color: inherit ;
}

#logo {
  position: absolute;
  width: 96px;
  height: 96px;
  top: 16px;
  left: 50%;
  margin-left: -48px;
  z-index: 2;
}

#offset_nav {
  margin-top: 2rem;
}

#custom_nav {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  font-size: 16px;
  height: 4rem;
  background-color: #FFF8F2;
  transition: 0.5s;
  z-index: 1;
}

#hash {
  background-color: #26292C;
  color: #FFF8F2;
  font-family: "courier-std", "sans-serif";
  font-weight: 700;
  display: inline-block;
  padding: 0.25rem 1rem;
  margin: 0;
}

#about_me_nav {
  text-decoration: underline;
}

#about_me_nav:hover {
  cursor: pointer;
  text-decoration: underline;
  color: #788AA3;
}

#return:hover {
  color: #788AA3;
}

#landing_container {
  width: calc(100% - 4rem);
  height: calc(100vh - 8rem);
  margin: 0 2rem 0 2rem;
  position: relative;
  transition: 0.5s;
}

.title_container {
  font-size: 256px;
  font-family: "bebas-neue-pro-semiexpanded", "sans-serif";
  font-style: normal;
  font-weight: 400;
  line-height: 328px;
  transition: 0.5s;
}

#fornavn {
  width: 71%;
  margin: auto;
}

#about_me {
  position: fixed;
  width: 20%;
  height: 100vh;
  top: 0;
  background-color: #26292C;
  color: #FFF8F2;
  z-index: 3;
  transition: 0.7s;
}

.slide_out {
  right: -20%;
}

.slide_in {
  right: 0;
}

#x_sign {
  width: 32px;
  height: 32px;
  float: right;
}

#x_sign:hover {
  cursor: pointer;
}

#about_me_img {
  width:100%;
}

#about_me_title {
  text-align: center;
}

#about_me_text {
  max-width: 320px;
  margin: 0 auto;
}

#featured_container {
  height: calc(100% - 328px);
  width: 100%;
  overflow: hidden;
  transition: 0.5s;
}

#featured_info {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  height: 22%;
  padding: 2rem;
  background-color: #FFF8F2;
  transition: 0.5s;
}

#landscape {
  margin-top: -128px;
}

#featured_text {
  max-width: 320px;
}

#content_container {
  width: calc(100% - 4rem);
  margin: 0 2rem 10rem 2rem;
}

#quote_box {
  margin: 128px auto 96px auto;
  font-size: 32px;
  max-width: 512px;
  font-family: "courier-std", "sans-serif";
  font-weight: 700;
  color: #745CDF;
}

#work_anchor {
  position: relative;
  top: -72px;
}

#work_grid {
  max-width: 1500px !important;
  margin: 0 auto;
}

#work_title {
  font-family: "bebas-neue-pro", "sans-serif";
  font-size: 128px;
  font-weight: 600;
}

.work_box {
  transition: 0.5s;
  margin: 0 0 2rem 0;
}

.work_image {
  width: 100%;
  height: 300px;
  margin: 0 auto 2rem auto;
  max-width: 320px;
}

.work_text {
  max-width: 320px;
  margin: 0 auto;
}

#end_portfolio {
  font-size: 72px;
  font-weight: 700;
  margin-top: 96px;
}

.no_spacing {
  padding: 0 !important;
  margin: 0 !important;
}

.read_more {
  text-decoration: underline;
}

.read_more:hover {
  text-decoration: underline;
  color: #788AA3;
}

.arrow-west {
  height: 32px;
  width: 32px;
  margin-top: -4px;
}

.chevron-south {
  width: 32px;
  height: 32px;
}

.chevron-east {
  height: 32px;
  width: 32px;
  margin-top: -2px;
  margin-left: -4px;
}

.chevron-east2 {
  height: 32px;
  width: 32px;
  margin-top: -1px;
  margin-left: -4px;
}

#article_img_container {
  width: calc(100% - 4rem);
  height: calc(100vh - 10rem - 192px);
  margin: 2rem 2rem 0 2rem;
  position: relative;
  overflow: hidden;
}

#article_img_container_grey {
  width: calc(100% - 4rem);
  height: calc(100vh - 10rem - 192px);
  margin: 2rem 2rem 0 2rem;
  position: relative;
  overflow: hidden;
  background-color: #F3F3F3;
}

#oppg_img {
  max-width: 1200px;
  margin: auto;
}

#article_header {
  text-align: center;
  margin-top: 96px;
}

#article_text {
  margin-top: 32px !important;
  margin: auto;
}

.left_text {
  width: 320px;
  display: inline-block;
}

.right_text {
  width: 320px;
  float: right;
  display: inline-block;
}

#image_container {
  margin-top: 64px !important;
  margin: auto;
  max-width: 640px;
}

.small_img {
  max-width: 320px;
  margin: auto;
}

/* custom */
@media only screen and (max-width: 1500px) {
  .title_container {
    font-size: 200px;
    line-height: 264px;
  }


  #about_me {
    width: 30%;
  }

  .slide_out {
    right: -30%;
  }

  #featured_container {
    height: calc(100% - 264px);
  }

  #landscape {
    margin-top: -64px;
  }
}

/* xl */
@media only screen and (max-width: 1200px) {
  .title_container {
    font-size: 128px;
    line-height: 192px;
  }

  #about_me {
    width: 40%;
  }

  .slide_out {
    right: -40%;
  }

  #featured_container {
    height: calc(100% - 192px);
  }

  #landscape {
    margin-top: 0px;
  }

  #featured_info {
    width: 40%;
  }

  #work_title {
    font-size: 96px;
  }
}

/* lg */
@media only screen and (max-width: 992px) {
  .title_container {
    font-size: 96px;
    line-height: 152px;
  }

  #about_me {
    width: 50%;
  }

  .slide_out {
    right: -50%;
  }

  #featured_container {
    height: calc(100% - 152px);
  }

  #featured_info {
    width: 45%;
  }
}

/* md */
@media only screen and (max-width: 768px) {
  #landing_container {
    height: calc(100vh - 14rem);
    width: calc(100% - 2rem);
    margin: 0 1rem;
  }

  #content_container {
    width: calc(100% - 2rem);
    margin: 0 1rem;
  }

  #article_img_container {
    width: calc(100% - 2rem);
    margin: 2rem 1rem 0 1rem;
  }

  #article_img_container_grey {
    width: calc(100% - 2rem);
    margin: 2rem 1rem 0 1rem;
    height: 100%;
  }

  .title_container {
    font-size: 128px;
    line-height: 128px;
    margin: 1rem 0;
  }

  #about_me {
    width: 60%;
  }

  #about_me_img {
    width: 50%;
    margin: 0 auto;
  }
  .slide_out {
    right: -60%;
  }

  #featured_container {
    height: calc(100% - 256px - 2rem);
  }

  #featured_info {
    position: static;
    width: 100%;
  }

  #quote_box {
    margin: 64px auto 64px auto;
  }

  #work_title {
    line-height: 96px;
    margin-bottom: 32px;
    margin-top: 64px;
  }

  .right_text {
    float: left;
  }

  .work_image {
    margin: 0 auto 1rem auto;
  }

  #end_portfolio {
    font-size: 40px;
    margin-top: 72px;
    margin-bottom: 4rem;
  }
}

/* sm */
@media only screen and (max-width: 576px) {
  .title_container {
    font-size: 72px;
    line-height: 72px;
    margin: 1rem 0;
  }

  #about_me {
    width: 100%;
  }

  .slide_out {
    right: -100%;
  }

  #featured_container {
    height: calc(100% - 144px - 2rem);
  }

  #featured_info {
    padding: 0.5rem;
    margin-top: 1rem;
  }
}
