/*
grün: #B3C6B8
orange: #DD8F68
blau: #22223D
*/

.mobile-note {
  display: none;
}

:root {
  --green: #ffffff;
  --blue: #44574f;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  font-size: 14px;
  color: var(--blue);
  background-color: var(--white);
}

/* SCROLLBAR */
/* width */
::-webkit-scrollbar {
  width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
  background: var(--white);
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--blue);
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background-color: var(--blue);
  opacity: 0.7;
}

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  overflow-x: hidden;
}

/*HOME*/
.home {
  width: 100vw;
  height: 99vh;
  padding: 0;
  margin: 0;
  position: absolute;
  display:flex;
}

/*HOME BACKGROUND IMAGE*/
.home-img {
  width: 40%;
  margin-left: 25%;
  border-radius: 2px;

  align-self: center;
  position: absolute;
  object-fit: cover;
  /*when only graphical image: fill, otherwise: none*/


}
.overlay {
  opacity: 0;
  z-index: 1;
  width: 40%;
  margin-left: 25%;
  border-radius: 2px;

  align-self: center;
  position: absolute;
  object-fit: cover;
}
.home:hover .overlay {
  opacity: 1;
  transition: .5s ease;
}

.buttons-home {
  padding-top: 5vh;
  position: absolute;
  display: flex;
  align-content: flex-start;
  align-items: flex-start;
}

/*HEADER and FOOTER*/

footer {
  height: 98vh;
  display: flex;
  position: sticky;
  align-items:end;
  justify-content: space-around;
}

.footer-text{
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  font-size: 16px;
  border: none;
  background: 0;
}
.footer-text>a{
  font-size: 16px;
  color:var(--blue);
  text-decoration: none;
  cursor: pointer;
}

/*ABOUT*/
.about {
  padding-top: 40vh;
  height: 60vh;
  margin-left:4vw;
  margin-right:4vw;
  position: absolute;
  display: flex;
  justify-content: flex-end;
  overflow: auto;
}

.about div {
  max-width: 30vw;
}

.buttons-about {
  bottom: 0;
  right: 5vw;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-content: flex-end;
  align-items: flex-end;
}

/*CV*/
.cv {
  height: 100vh;
  width: 100vw;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: auto;
}
.cv div {
  max-width: 50vw;
}

/*PRIVACY IMPRINT*/
.privacy-imprint {
  width: 100vw;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: scroll;
}
.privacy-imprint div {
  max-width: 50vw;
  height: fit-content;
}



/*BUTTONS index*/
.button-about {
  -webkit-mask: url(data/button-about.svg) no-repeat center;
  mask: url(data/button-about.svg) no-repeat center;
  height: 12vh;
  width: 12vh;
  background-color: var(--blue);
  border-radius: 50%;
}

.button-about:hover {
  -webkit-mask: url(data/button-about-hover.svg) no-repeat center;
  mask: url(data/button-about-hover.svg) no-repeat center;
  height: 12vh;
  width: 12vh;
  background-color: var(--blue);
  border-radius: 50%;
}

.button-shop {
  -webkit-mask: url(data/button-shop.svg) no-repeat center;
  mask: url(data/button-shop.svg) no-repeat center;
  height: 12vh;
  width: 12vh;
  background-color: var(--blue);
  border-radius: 50%;
}

.button-shop:hover {
  -webkit-mask: url(data/button-shop-hover.svg) no-repeat center;
  mask: url(data/button-shop-hover.svg) no-repeat center;
  height: 12vh;
  width: 12vh;
  background-color: var(--blue);
  border-radius: 50%;
}

.button-youtube {
  -webkit-mask: url(data/button-youtube.svg) no-repeat center;
  mask: url(data/button-youtube.svg) no-repeat center;
  height: 12vh;
  width: 12vh;
  background-color: var(--blue);
  border-radius: 50%;
}

.button-youtube:hover {
  -webkit-mask: url(data/button-youtube-hover.svg) no-repeat center;
  mask: url(data/button-youtube-hover.svg) no-repeat center;
  height: 12vh;
  width: 12vh;
  background-color: var(--blue);
  border-radius: 50%;
}

/*BUTTONS about*/
.button-back {
  -webkit-mask: url(data/button-back.svg) no-repeat center;
  mask: url(data/button-back.svg) no-repeat center;
  height: 12vh;
  width: 12vh;
  background-color: var(--blue);
}

.button-back:hover {
  -webkit-mask: url(data/button-back-hover.svg) no-repeat center;
  mask: url(data/button-back-hover.svg) no-repeat center;
  height: 12vh;
  width: 12vh;
  background-color: var(--blue);
}

.button-insta {
  -webkit-mask: url(data/button-insta.svg) no-repeat center;
  mask: url(data/button-insta.svg) no-repeat center;
  height: 12vh;
  width: 12vh;
  background-color: var(--blue);
}

.button-insta:hover {
  -webkit-mask: url(data/button-insta-hover.svg) no-repeat center;
  mask: url(data/button-insta-hover.svg) no-repeat center;
  height: 12vh;
  width: 12vh;
  background-color: var(--blue);
}

.button-work {
  -webkit-mask: url(data/button-work.svg) no-repeat center;
  mask: url(data/button-work.svg) no-repeat center;
  height: 12vh;
  width: 12vh;
  background-color: var(--blue);
}

.button-work:hover {
  -webkit-mask: url(data/button-work-hover.svg) no-repeat center;
  mask: url(data/button-work-hover.svg) no-repeat center;
  height: 12vh;
  width: 12vh;
  background-color: var(--blue);
}

.button-cv {
  -webkit-mask: url(data/button-cv.svg) no-repeat center;
  mask: url(data/button-cv.svg) no-repeat center;
  height: 12vh;
  width: 12vh;
  background-color: var(--blue);
}

.button-cv:hover {
  -webkit-mask: url(data/button-cv-hover.svg) no-repeat center;
  mask: url(data/button-cv-hover.svg) no-repeat center;
  height: 12vh;
  width: 12vh;
  background-color: var(--blue);
}

.button {
  z-index: 1;
  width: 12vh;
  margin-left: 60px;
  margin-bottom: 40px;
  border: 0;
  cursor: pointer;
  background: 0;
  padding: 0;
}

.button-text {
  z-index: 1;
  width: 12vh;
  margin-left: 50%;
  margin-top: 5px;
  border: 0;
  cursor: pointer;
  background: 0;
  padding: 0;
}


@media (max-width: 800px) {

  #bottom,
  #top,
  .topic-ceramic-crafts,
  .topic-illustration-design,
  .footer-text,
  .home>img,
  .home>.topic-ceramic-crafts,
  .home>.topic-illustration-design,
  .button-back,
  .buttons-about button:nth-of-type(3),
  .content-home {
    display: none;
  }

  html {
    overflow: hidden;
  }

  .mobile-note {
    display: flex;
    width: auto;
    padding-left: 1.5em;
    padding-bottom: .5em;
    flex-direction: column-reverse;
  }

  .mobile-note>a {
    font-size: 14px;
    width: 100vw;
  }

  body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }


  .home {
    display: flex;
    justify-content: flex-start;
    background-image: url(ceramic/kaiping_vase_1.JPG);

    background-repeat: no-repeat;
    background-size: cover;
  }

  .buttons-home {
    margin-top: -3em;
    margin-left: 2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }

  .buttons-home button {
    margin: 0;
  }

  footer {
    margin-top: auto;
    padding-bottom: 0;
  }

  .about>div {
    max-width: 80vw;
    transform: translate(0, -80px)
  }

  .buttons-about {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-bottom: 6em;
    right: 0;

  }

  .button {
    margin: 0;
  }

}

