@media only screen and (max-width: 850px) {

  :root {
    /* colors */
    --mainColor: #EEEEEE;
    /* verry light grey */
    --secColor: #1E2326;
    /* dark grey */
    --aColor1: #D27226;
    /* orange */
    --aColor2: #D22683;
    /* purple */
    --aColor3: #D24E51;
    /* red ish */
    --grad1: linear-gradient(90deg, rgba(210, 114, 38, 1) 0%, rgba(210, 38, 131, 1) 100%);
    /* orange > purple */
    /* movement */
    --trans1: 0.3s 0s ease;
    --trans2: 1s 0s ease;
    --trans3: 5s 0s ease;
    /* font size */
    --fSize1: 0.75rem;
    --fSize1half:  1.2rem;
    --fSize2: 1.5rem;
    --fSize3: 2rem;
    --fSize4: 1.2rem;
    /* padding */
    --contPad: 20px;
    /* container ofset */
    --ofsetPos: translate(2px, 2px);
    --ofsetNeg: translate(-4px, -4px);
    --ofsetPos2: translate(2px, 2px);
    --ofsetNeg2: translate(-2px, -2px);
    /* background shadow */
    --shadow1: rgba(0, 0, 0, 0.44) 0px 3px 8px;

      --width: -100%;
  }

  html, body{
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, curr*/
  }

  .container {
    width: 100vw;
    height: auto;
    padding: var(--contPad);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0px;
    left: 0px;
    transition: var(--trans2);
  }

  .content-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .box-container {
    width: 50vw;
    height: 50vw;
    transition: var(--trans1);
    background-color: var(--secColor);
    transform: var(--ofsetPos);
  }

  /* header */
  header {
    z-index: 100;
    position: fixed;
    top: 0;
    left: -100vw;
    width: 100vw;
    height: 100vh;
    -webkit-user-select: none;
    /* Chrome all / Safari all */
    -moz-user-select: none;
    /* Firefox all */
    -ms-user-select: none;
    /* IE 10+ */
    user-select: none;
    /* Likely future */
    background: rgb(190, 190, 190);
    background: -moz-linear-gradient(45deg, rgba(190, 190, 190, 1) 0%, rgba(238, 238, 238, 1) 50%, rgba(190, 190, 190, 1) 100%);
    background: -webkit-linear-gradient(45deg, rgba(190, 190, 190, 1) 0%, rgba(238, 238, 238, 1) 50%, rgba(190, 190, 190, 1) 100%);
    background: linear-gradient(45deg, rgba(190, 190, 190, 1) 0%, rgba(238, 238, 238, 1) 50%, rgba(190, 190, 190, 1) 100%);
    background-attachment: scroll;
    background-size: 100vw 100vh;
  }


  #header-container {
    width: auto;
    height: auto;
    padding-top: calc(var(--contPad) * 3);
  }

  .header-hamburger {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    z-index: 200;
    padding: var(--contPad);
    font-size: 2rem;
    color: var(--secColor);
  }

  .header-back{
    position: fixed;
    top: -6rem;
    right: 0;
    display: flex;
    z-index: 200;
    padding: var(--contPad);
    font-size: 2rem;
    color: var(--secColor);
  }

  #header-nav-container {
    padding-left: 0;
  }

  #header-nav-container>a>p{
    font-size: var(--fSize3);
  }

  /* home */
  #home-content {
    flex-direction: column;
    text-align: center;
  }

  /* gallery */
  #gallery-container {
    width: 100vw;
    height: auto;
    padding: 0px;
    transform: translateY(100vh);
  }

  #gallery-content{
    justify-content: flex-start;
    align-items: flex-start;
  }

  .gallery-item-container {
    margin: 0px;
    margin-top: calc(var(--contPad)/2);
    margin-bottom: calc(var(--contPad)/2);
    height: calc(100vh - var(--contPad));
    width: 200vw;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    overflow-x: hidden;

  }

  .gallery-item-wrapper {
    padding: var(--contPad);
    width: calc(100vw - calc(var(--contPad) * 2));
    height: auto;

  }

  .gallery-item-titel {
    margin-top: var(--contPad);
    margin-bottom: 0px;
  }

  .gallery-item-des {
    font-size: var(--fSize2);

  }



  .gallery-item-img {
    padding: 0px;
    width: 100vw;
    height: 100vw;
display: flex;
flex-direction: column;
align-items: center;
justify-content:center;
    -webkit-user-select: none;
    /* Chrome all / Safari all */
    -moz-user-select: none;
    /* Firefox all */
    -ms-user-select: none;
    /* IE 10+ */
    user-select: none;
    /* Likely future */
  }

  .gallery-item-img>img {
        height: 100%;
width: 75%;
    object-fit: center;
    object-position: center;
    -webkit-box-shadow: 8px 8px 0px 0px var(--secColor);
    box-shadow: 8px 8px 0px 0px var(--secColor);
    background-color: var(--secColor);
  }

  .gallery-subitem-container {
    display: none;
  }

  .gallery-sliding-container {
    position: relative;
    display: flex;
    width: auto;
    flex-direction: row;
    left: 0px;
  }

  .gallery-subitem {
    margin: calc(var(--contPad) / 2);
    width: calc(33.33% - var(--contPad) );
    transition: var(--trans1);
    cursor: pointer;
    -webkit-box-shadow: 4px 4px 0px 0px var(--secColor);
    box-shadow: 4px 4px 0px 0px var(--secColor);
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background-color: var(--aColor2);
  }

  .gallery-subitem:hover {
    transform: scale(1.1);
    -webkit-box-shadow: 0px 0px 0px 0px var(--secColor);
    box-shadow: 0px 0px 0px 0px var(--secColor);
  }

  .gallery-item-button {
    position: absolute;
    width: 34px;
    padding: 5px;
    height: 30vw;
    margin-top: -180px !important;
    z-index: 100;
    cursor: pointer;
    transition: var(--trans1);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .gallery-item-button:hover {
    transform: scale(2);
  }

  .gallery-item-button>img {
    width: calc(100% - 10px);
    transition: var(--trans1);
  }

  .gallery-item-next {
    left: calc(100vw - 44px);
  }

  .gallery-item-back{
    left: 0px;
  }

  .gallery-item-subtext-link {
    font-size: var(--fSize1);
    cursor: pointer;
  }

  .gallery-item-subtext-link>a {
    font-size: var(--fSize1);
    color: var(--aColor2);
  }

  .gallery-more-button{
  background-image: var(--grad1);
  -webkit-box-shadow: 4px 4px 0px 0px var(--secColor);
  box-shadow: 4px 4px 0px 0px var(--secColor);
  margin-top: var(--contPad2);
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(75% - calc(var(--contPad) * 2) );
  padding: var(--contPad);
  }

  .gallery-more-button>p{
    font-size:var(--fSize2);
  color: var(--mainColor);
  }

  .gallery-more-button:hover{
    transform: scale(1.1);
    -webkit-box-shadow: 0px 0px 0px 0px var(--secColor);
    box-shadow: 0px 0px 0px 0px var(--secColor);
  }

  .gallery-item-hide{
    display: block;
  }


  /*about */
  #about-container {
    width: calc(100% - (var(--contPad) * 2));
    height: auto;
    padding-top: 0;
    padding-bottom: 0;
    transform: translateX(100vw);
  }

  #about-content {
    width: 100%;
    height: 100%;
    transition: var(--trans1);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .about-item-container {
    margin: calc(4 * var(--contPad));
    height: calc(100vh - (var(--contPad) * 8));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .about-img-container {
    padding: var(--contPad);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .about-img {
    width: 50%;
    height: auto;
    object-fit: contain;
    object-position: bottom;
    -webkit-box-shadow: 8px 8px 0px 0px var(--secColor);
    box-shadow: 8px 8px 0px 0px var(--secColor);
  }

  .about-text-container {
    padding: var(--contPad);
    width: 100%;
    height: auto;
  }

  .about-desc {
    margin-top: var(--contPad);
  }

  .about-socials {
    margin-top: var(--contPad);
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
  }

  .about-socials>a {
    transition: var(--trans1);
    margin: var(--contPad);
    width: 60px;
    height: 60px;
    -webkit-box-shadow: 4px 4px 0px 0px var(--secColor);
    box-shadow: 4px 4px 0px 0px var(--secColor);
    cursor: pointer;
    z-index: 100;
  }

  .about-socials>a:first-child{
    margin-left: var(--contPad);
  }

  .about-socials>a:hover {
    transform: scale(1.1);
    -webkit-box-shadow: 0px 0px 0px 0px var(--secColor);
    box-shadow: 0px 0px 0px 0px var(--secColor);
  }

  .about-socials>a>img {
    width: 60px;
    height: 60px;;
  }


  /* contact */
  #contact-container {
    width: calc(100% - (var(--contPad) * 2));
    height: auto;
    padding-top: 0;
    padding-bottom: 0;
    transform: translateX(-100vw);
  }

  #contact-content {
    width: 100%;
    height: 100%;
    transition: var(--trans1);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .contact-item-container {
    margin: calc(4 * var(--contPad));
    height: calc(100vh - (var(--contPad) * 8));
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .contact-links {
    margin-top: var(--contPad);
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-a {
    transition: var(--trans1);
    width: 100px;
    height: 100px;
    -webkit-box-shadow: 4px 4px 0px 0px var(--secColor);
    box-shadow: 4px 4px 0px 0px var(--secColor);
    cursor: pointer;
    z-index: 100;
  }

  .contact-links>div>a:hover {
    transform: scale(1.1);
    -webkit-box-shadow: 0px 0px 0px 0px var(--secColor);
    box-shadow: 0px 0px 0px 0px var(--secColor);
  }

  .contact-links>div>a>img {
    width: 100px;
    height: 100px;
  }

  .contact-links>div>div {
    font-size: var(--fSize1);
    margin-top: var(--contPad);
  }

  .contact-item {
    transition: var(--trans1);
    margin: var(--contPad);
    margin-left: var(--contPad));
    margin-right: var(--contPad);
    width: 100px;
    height: 150px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .contact-copy-to-clipboard {
    width: 120%;
    text-align: center;
    height: 40px;
    text-decoration: none;
    margin: 0;
    padding: 0;
    font-size: var(--fSize2);
    font-family: Function_Regular;
    color: var(--secColor);
    transition: var(--trans1);
    font-weight: bold;
  }

  .contact-copy-to-clipboard:hover {
    color: var(--aColor3);
    transform: scale(1.4);
  }

  .contact-copyed {
    transition: var(--trans2);
    position: relative;
    padding: var(--contPad);
    top: -2%;
    transform: scale(0.1);
    color: var(--aColor3);
    opacity: 0%;
  }

  .contact-copyed>h3 {
    color: var(--aColor3);
  }
}
