html {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  /* background-color: white; */
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
  /* font-family: "Roboto"; */
  font-family: "Inconsolata";
  /* font-family: "Avenir"; */
  height: 100%;
  /*  */
  perspective: 1px;
  transform-style: preserve-3d;
  /*  */
  overflow-x: hidden;
  overflow-y: auto;
  /*  */
  /* cursor: url("../media/cross.png"), auto; */
  /* cursor: url('http://www.rw-designer.com/cursor-view/21962.png'), auto; */
}

::selection {
  background: #FF0F00;
  color: white;
}

a {
  text-decoration: none;
  color: #FF0F00
}

a:hover {
  text-decoration: underline
}

hr#filet-navbar-contact {
  display: none;
}

hr#filet-navbar-works {
  display: none;
}

hr {
  border: 0;
  height: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
/*  border-bottom: 1px solid rgba(255, 255, 255, 0.3);*/
  margin-bottom: 0px;
}

h2 {
  margin-top: 0;
  /* padding-top: 100px; */
}

footer {
  background-color: white;
  height: 12vh;
}

p {
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.3;
}

iframe {
  background-color: black;
}

#author-name {
  font-size: 30px;
  color: #272727;
  display: inline-block;
  font-weight: bold
}

#navbar {
  padding: 30px 0 25px 0;
  overflow: hidden;
}

#headline {
  position: absolute;
  color: #FF0F00;
  font-size: clamp(100px, 7vw, 600px);
  padding: 60px 0 0 33vw;
  margin: 0
}

#invite {
  position: absolute;
  font-size: 2vw;
  /* padding: 380px 0 0 80vw; */
  left: calc(33vw + 270px);
  top: 380px;
}

div#home-about.wrapper {
  /* background-color: white; */
  /* background-color: #ffefca; */
  /* background-color: #d1cbcb; */
  /* background-color: #6e8387; */
  /* background-color: #233d4d; */
  /* background-color: #278778; */
  /* background-image: url("../media/kicad.png"); */
  /* filter: brightness(80%); */
  /* background-size: cover; */
  /* background-repeat: no-repeat; */
  /* color: white; */
}

div#selected-works.wrapper {
  background-color: white;
  /* background-color: #5d737e; */
  /* background-color: #6e8387; */
  /* background-image: url("../media/grey_dithered.png"); */
  /* filter: brightness(80%); */
  /* background-size: cover; */
  /* background-repeat: no-repeat; */
  /* color: white; */
}

#home-about-img {
  width: 70%;
  height: 100%;
  margin-top: 50px;
  margin-right: 50px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#home-picture-wrapper {
  display: none;
}

#arrow-discover {
  filter:grayscale(100%);
  /* min-width: 30px; */
  width: 40px;
}

#arrow-discover:hover {
  filter:grayscale(0%);
}

#footer-container {
  font-weight: bold;
  text-align: center;
  background-image: url("../media/banner.png");
  color: white;
  padding: 5vh 0 5vh 0;
}

#works-headline-container {
  display: flex;
  align-items: center;
  height: 60vh;
}

#works-headline {
  width: 100%;
  font-size:80px;
  color: white;
  text-align: center;
  margin: 0;
  padding-top: 30vh;
  transform: translateY(-15vh);
}

/* .sticky {
  position: fixed;
  top: 0;
  width: 100%;
} */

.logo-icon {
  width: 30px;
  height: 30px;
  padding-right: 5px;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray; /* IE 6-9 */
}

.logo-icon:hover {
  -webkit-filter: none;
  -moz-filter: none;
  -ms-filter: none;
  filter: none;
}

.navbar-ul {
  display: inline-block;
  margin: 0;
  padding: 10px 0 5px 0;
  margin-left: 20px
}

.nav-list {
  list-style-type: none;
  margin: 0 5px 0 5px
}

.alignable, .pull-left, .pull-right {
  display: inline-block
}

.pull-left {
  float: left
}

.pull-right {
  float: right
}

.container {
  max-width: 60%;
  margin: auto;

}

.wrapper-auto {
  height: auto;
  padding-top: 100px;
  padding-bottom: 100px;
}

.wrapper {
  min-height: 100vh;
}

.regular-wrapper {
  z-index: 2;
  position: relative;
  background-color: white;
}

.parallax-wrapper {
  width: 100vw;
  height: 100vh;
  /* padding-top: 20vh; */
  box-sizing: border-box;
  transform-style: preserve-3d;
}

div#header.parallax-wrapper {
  height: 100vh;
}

div#works-banner-1.parallax-wrapper::before {
  filter: brightness(60%);
}

div#contact-banner-1.parallax-wrapper::before {
  filter: brightness(60%);
}

.parallax-wrapper::before {
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  z-index: -1;
}

.logo-container {
  padding-top: 20px;
}

.spacer {
  height: 100px;
}

.two-layer-row {
  /* padding-top: 7.2vw; */
  display: flex;
}

.two-layer-column {
  flex: 50%;
  display: block;
}

.two-layer-left {
  margin-right: 15px;
}

.two-layer-right {
  margin-left: 15px;
}

.keep-ratio {
  position: relative;
  width: 100%;
  padding-top: 75%;
}

.two-layer-spacer {
  margin-bottom: 30px;
}

.two-layer-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.two-layer-vid {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

.vertical-center {
  display: flex;
  align-items: center;
}

.works-description {
  text-align: left;
}

div#home-banner-1.parallax-wrapper {
  height: 60vh;
}

div#home-banner-1.parallax-wrapper::before {
  width: 100vw;
  height: 100vh;
  /* background-color: white; */
  background-image: url("../media/nø_school_dithered.png");
  filter: brightness(60%);
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateZ(-1px) scale(2);
}

div#home-banner-2.parallax-wrapper {
  height: 85vh;
}

div#home-banner-2.parallax-wrapper::before {
  width: 100vw;
  height: 100vh;
  background-image: url("../media/arcachon-enfants.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateZ(-1px) scale(2);
}

div#homme-banner-3 {
  --backgroundBanner3: none;
}

div#home-banner-3.parallax-wrapper {
  height: 85vh;
}

div#home-banner-3.parallax-wrapper::before {
  width: 100vw;
  height: 100vh;
  /*  background-image: url("../media/arcachon-enfants.jpg");*/
  background-image: var(--backgroundBanner3);
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateZ(-1px) scale(2);
}

div#contact-banner-1.parallax-wrapper {
  height: 60vh;
}

div#contact-banner-1.parallax-wrapper::before {
  width: 100vw;
  height: 100vh;
  background-image: url("../media/profile_dithered.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateZ(-1px) scale(2);
}

div#works-banner-1.parallax-wrapper {
  height: 60vh;
}

div#works-banner-1.parallax-wrapper::before {
  width: 100vw;
  height: 100vh;
  background-image: url("../media/ilophone-banner.png");
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateZ(-1px) scale(2);
}

div#header.parallax-wrapper {
  height: 100vh;
}

div#header.parallax-wrapper::before {
  width: 600px;
  height: 600px;
  background-image: url("../media/profile_alt_dithered.jpg");
  transform: translateZ(-1px) scale(1);
}

div#selected-works.parallax-wrapper::before {
  width: 100vw;
  height: 100vh;
  /* background-color: #fcca46; */
  background-image: url("../media/grey_dithered.png");
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateZ(-1px) scale(2);
}

#ins-logo {
  margin: auto;
  display: block;
  max-height: 100px;
  text-align: center
}

div#projects-more {
  outline: 3px dashed black;
  outline-offset: -1.5px;
  background-size: 25%;
  background-position: center;
  background-repeat: no-repeat;
  transition:all 0.2s ease-in;
}

div#projects-more:hover {
  outline: 3px dashed red;
}

div#publications-container {
  background-color: white;
}

h2#home-about {
  /* padding-top: 0; */
}

div#home-about>div {
  padding-top: 7vw;
  padding-bottom: 7vw;
}

.content a:hover {
  text-decoration: underline;
}

.content ol {
  counter-reset: list;
}

.content ol>li {
  list-style-position: none;
  position: relative;
  list-style: none;
  margin-top: 5px;
  margin-bottom: 5px
}

.content ul>li {
  margin: 5px 0 5px 0
}

.content ul {
  padding: 0 20px 0 20px
}

.content ol {
  padding: 0 30px 0 30px
}

.content ol>li:before {
  content: "["counter(list, decimal) "] ";
  counter-increment: list;
  position: absolute;
  left: -30px
}

.content blockquote {
  border-left: 5px solid #333333;
  margin: 20px 0 20px 0;
  padding: 2px 8px 2px 8px;
  font-style: italic
}

.content .profile-picture {
  height: 85px;
  width: 85px;
  position: relative;
  margin: -10px 0 0 15px;
  float: right;
  border-radius: 50%
}

p .content .profile-picture {
  padding: 0;
  margin: 0
}

.content img {
  text-align: center;
  /* width: 100% */
}

.half-img {
  width: 35vw;
  padding-top: 2vh;
}

.img-gallery {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition:all 0.2s ease-in;
}

.img-gallery:hover {
  filter: brightness(50%) grayscale(100%);
}

.gallery-container {
  margin-top: 35px;
  display: grid;
  /* place-content: center; */
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 50px;
  /* grid-auto-rows: minmax(150px, auto); */
  /* align-items: center; */
  /* justify-content: space-between; */
}

.gallery-object {
  /* height: 22vw; */
  text-align: center;
  vertical-align:middle;
}

.gallery-object-name {
  margin-top: 10px;
}

table {
  margin: 15px 0;
  border-collapse: collapse;
  width: 100%;
  padding: 0
}

table tr {
  border-top: 1px solid #cccccc;
  /* background-color: white; */
  margin: 0;
  padding: 0
}

table tr:nth-child(2n) {
  background-color: #f8f8f8
}

table tr th {
  font-weight: bold;
  border: 1px solid #cccccc;
  text-align: left;
  margin: 0;
  padding: 6px 13px
}

table tr td {
  border: 1px solid #cccccc;
  text-align: left;
  margin: 0;
  padding: 6px 13px
}

table tr th :first-child, table tr td :first-child {
  margin: 0
}

table tr th :last-child, table tr td :last-child {
  margin: 0
}

@media (max-width: 800px) {
  .container {
    max-width: 600px;
    transition: 0.3s ease all
  }

  .wrapper-auto {
    padding-top: 8.5vw;
  }
}

@media (max-width: 650px) {
  h2 {
    /* margin-top: 40px; */
    padding-top: 0;
  }

  /*hr#filet {
    display: none;
  }*/

  hr#filet-navbar-contact {
    display: block;
  }

  hr#filet-navbar-works {
    display: block;
  }

  div.parallax-wrapper {
    display: none;
  }

  footer {
    height: 2vh;
  }

  .two-layer-row {
    display: block;
    padding-top: 0;
  }

  .two-layer-column {
    margin-left: 0;
    margin-right: 0;
  }

  .regular-wrapper {
    height: auto;
    min-height: auto;
  }

  .container {
    max-width: 83%
  }

  .navbar {
    text-align: center;
    padding: 50px 0px 0px 0px
  }

  .navbar-ul {
    margin-top: 5px
  }

  .wrapper {
    min-height: 0;
  }

  #author-name {
    width: 100%;
    float: none;
    text-align: center;
  }

  #navlist {
    padding: 10px 0 10px 0;
    margin: 0;
    display: block;
    float: none;
    text-align: center;
    width: 100%
  }

  #navlist li.alignable, #navlist li.pull-left, #navlist li.pull-right {
    display: inline-block;
  }

  #navlist li.pull-left {
    float: none
  }

  #navlist li.nav-list {
    margin: 0
  }

  #navbar {
    padding: 35px 0 25px 0;
  }

  #header {
    display: none;
  }

  #home-picture-wrapper {
    display: block;
  }

  #home-picture {
    width: 100%;
    padding-top: 8.5vw;
  }

  #publications-container {
    display: none;
  }

  #home-about-img {
    display: none;
  }

  .gallery-container {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 20px;
    /* margin-top: 30px; */
    /* margin-bottom: 80px; */
  }
}

@media (max-width: 480px) {
  .content .profile-picture img {
    margin-top: -5px
  }
}
