/* Font START */

@font-face {
    font-family: 'reader-regular';
    src:  url('../fonts/reader-regular.woff2') format('woff2'),
          url('../fonts/reader-regular.woff') format('woff'),
          url('../fonts/reader-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'reader-bold';
    src: url('../fonts/reader-bold.woff2') format('woff2'),
         url('../fonts/reader-bold.woff') format('woff'),
         url('../fonts/reader-bold.ttf') format('truetype');
    font-weight: bold;
    font-style: bold;
}

@font-face {
    font-family: 'reader-italic';
    src: url('../fonts/reader-italic.woff2') format('woff2'),
         url('../fonts/reader-italic.woff') format('woff'),
         url('../fonts/reader-italic.ttf') format('truetype');
    font-weight: italic;
    font-style: italic;
}

/* Font END */

/* GENERAL DOCUMENT */

html {
    background-color: rgb(192, 192, 192);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: -300;
    cursor: none;
}

body {
    margin: 0px;
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    cursor: none!important;
    width: 100%;
    max-width: 2000px;
    background-color: white;
    z-index: -50;
}

body::-webkit-scrollbar {
    display: none;
}

::-moz-selection { /* Code for Firefox */
    background: rgb(255, 103, 57);
  }
  
  ::selection {
    background: rgb(255, 103, 57);
  }

a {
    text-decoration: none;
    cursor: none;
    color: black;
}

a:hover {
    color: rgb(255, 103, 57);

}

.activepage {
    color: rgb(255, 103, 57)!important;
    /* pointer-events: none; */
}

.padding {
    padding-left: 30px;
    padding-right: 30px;
}

.pagetype{
    display: none;
}

/* TEXT */

.heading {
    font-family: reader-regular;
    font-size: 36px;
}

.subtitle {
    font-family: reader-regular;
    font-size: 30px;
    
}

.description {
    font-family: reader-regular;
    font-size: 24px;
}

#copyright {
    font-family: reader-regular;
    font-size: 14px;
    width: 100%;
    background-color: white;
    line-height: 60px;
    border-bottom: 1px solid black;
}

.superscript {
    font-size: 14px;
}

/* NAVBAR */

#navbar {
    width: calc(100% - 60px);
    height: 60px;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
    position: fixed;
    top: 0px;
    background-color: white;
    z-index: 50;
    max-width: calc(2000px - 60px);
    border-bottom: 1px solid black;
}

#navbarheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 50%;
}

#name {
    font-size: 36px;
    line-height: 60px;
    font-family: reader-bold;
}

#initials {
    display: none;
}

.navigationhamburger {
    width: 30px;
    height: 26px;
    display: none;
}

.hamburgerclosed {
    width: 30px;
    height: 26px;
    position: absolute;
    display: inline-block;
    z-index: 5;
}

.hamburgeropen {
    width: 30px;
    height: 26px;
    position: absolute;
    display: none;
    z-index: 5;
}

.hamburgertop {
    pointer-events: none;
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: black;
    transition: margin-top 0.1s, transform 0.1s;
}

.hamburgermiddle {
    pointer-events: none;
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: black;
    margin-top: 12px;
}

.hamburgerbottom {
    pointer-events: none;
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: black;
    margin-top: 24px;
    transition: margin-top 0.1s, transform 0.1s;
}

#navbaritems {
    width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 20px;
}

.navitem {
    font-size: 36px;
    line-height: 60px;
    font-family: reader-regular;
}

#navanimationcontainer {
    width: 100%;
    height: calc(100vh - 61px);
    background-color: white;
    position: fixed;
    top: 61px;
    margin-left: -30px;
    z-index: 50;
    display: none;
    justify-content: center;
    align-items: center;
    max-width: calc(2000px);
}

.navanimation {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: none;
}

.navanimationtall {
    height: 100%;
    max-height: 500px;
    max-width: auto;
    width: auto;
}

#transitionpage {
    width: 100%;
    position: fixed;
    top: 61px;
    height: calc(100vh - 61px);
    background-color: white;
    pointer-events: none;
    opacity: 1;
    z-index: 90;
    max-width: calc(2000px);
}

/* Lightbox */

.lightbox {
    top: 61px;
    width: 100%;
    height: calc(100% - 61px);
    position: fixed;
    z-index: 39;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    opacity: 0;
  }
  
  .lightboxbackground {
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.8;
    position: absolute;
    pointer-events: none;
  }
  
  .lightboxx {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 41;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .lightboxx1 {
    width: 42px;
    height: 3px;
    background-color: white;
    position: absolute;
    transform: rotate(45deg);
    pointer-events: none;
  }
  
  .lightboxx2 {
    width: 42px;
    height: 3px;
    background-color: white;
    position: absolute;
    transform: rotate(-45deg);
    pointer-events: none;
  }
  
  .lightboximage {
    opacity: 1;
    pointer-events: none;
    z-index: 40;
  }
  
  .lightboximagewide {
    width: calc(100% - 180px);
    height: auto;
  }
  
  .lightboximagetall {
    height: calc(100% - 60px);
    width: auto;
  }

/* CONTENT */

#content {
    padding-top: 60px;
    width: 100%;
    height: auto;
    min-height: calc(100vh - 120px);
    background-color: white;
    max-width: calc(2000px - 60px);
    margin-left: 0px;
}

@media only screen and (max-width: 1100px) {
    .padding {
        padding-left: 20px;
        padding-right: 20px;
    }
    #navbar {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        width: calc(100% - 40px);
    }
    #navbarheader {
        width: 100%;
    }
    #name {
        width: auto;
    }
    .navigationhamburger {
        display: inline-block;
    }

    #navbaritems {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        margin-left: 0px;
    }

    .navitem {
        line-height: 50px;
    }
    #navanimationcontainer {
        width: 100%;
        position: relative;
        display: flex;
        margin-left: 0px;
    }
    .navanimationtall {
        max-height: 400px;
    }
  }

  @media only screen and (max-width: 420px) {
      #fullname {
          display: none;
      }
      #initials {
          display: inline-block;
      }

  
}

@media only screen and (max-width: 340px) {
    #initials {
        display: inline-block;
        font-size: 24px;
    }
    .navitem {
    font-size: 24px;
    }
}

@media (pointer: coarse) and (min-width: 1100px) {
    #navanimationcontainer {
        display: none;
    }
}
