/* CSS FOR ALL THE PAGES! */
@font-face {
  font-family: "kabeljauw";
  src: url(/assets/fonts/KabeljauwText-Medium.woff);
}

@font-face {
  font-family: "AlfaZ";
  src: url(/assets/fonts/AlfaZed.otf);
}

body {
  margin: 0;
}

main {
  margin: 0 auto;
  width: 100%;
}

img {
  width: 100%;
  height: auto;
}

/* TEXT */
/* alle text */
h1,
h2,
h3,
h4,
p,
a,
figcaption {
  font-family: "kabeljauw";
}

/* titels bovenaan pagina's */
h1 {
  text-decoration: underline;
  line-height: 2rem;
  font-size: 1.1rem;
  height: fit-content;
  padding: 0 0.3rem;
  font-family: "AlfaZ";
  margin: 5rem auto 0 auto;
  width: 50%;
  text-align: center;
  color: white;
  background-color: rgb(0, 0, 0);
  width: fit-content;
}

h2 {
  text-decoration: underline;
  line-height: 2rem;
  font-size: 1.1rem;
  height: fit-content;
  padding: 0 0.3rem;
  font-family: "AlfaZ";
  margin: 5rem auto 0 auto;
  width: 50%;
  text-align: center;
  color: rgb(0, 0, 0);
  background-color: rgb(255, 255, 255);
  width: fit-content;
}

span {
  color: red;
}

p {
  font-size: 0.7rem;
  background-color: white;
}

/* popup close voor about page & feed */
.popup-close {
  position: absolute;
  top: 100px;
  right: 0.5rem;
  width: 25px;
  height: 25px;
  border: none;
  float: right;
  font-family: "Courier New", Courier, monospace;
  color: rgb(238, 255, 0);
  background-color: rgb(255, 0, 0);
  cursor: pointer;
  font-size: 1rem;
  border-radius: 50%;
  font-weight: 800;
}

.popup-close:hover {
  background-color: rgb(238, 255, 0);
  color: rgb(255, 0, 0);
}

/*** HEADER ***/
/* guestbook */

#guestbook {
  position: fixed;
  top: 0;
  left: 0;
  height: fit-content;
  z-index: 9999;
  color: blue;
  background-color: rgb(253, 255, 164);
  width: fit-content;
  font-size: 1.2rem;
  margin: 0.5rem;
  line-height: 2.4rem;
  padding: 0 1rem;
  font-size: 2rem;
  font-family: "AlfaZ";
}

#guestbook:hover {
  color: rgb(253, 255, 164);
  background-color: blue;
}

/* nav-menu */
.logo {
  display: block;
  padding: 1rem 1rem 1rem 0;
  width: 100px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9999;
}

.logo {
  box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0);
  -webkit-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0);
  -moz-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0);
}

.nav-menu {
  position: fixed;
  bottom: 0;
  padding: 0.5rem;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  width: 95vw;
  height: fit-content;
}

.nav-menu a {
  color: white;
  background-color: black;
  line-height: 2rem;
  font-size: 1.1rem;
  height: fit-content;
  font-family: "AlfaZ";
  padding: 0 0.3rem;
}

.nav-menu a:hover {
  cursor: pointer;
  color: yellow;
}

.catspelt {
  color: red;
  width: fit-content;
  margin: 0;
  position: absolute;
  right: 0;
  bottom: 0;
}

/* BIG SCREEN */
@media only screen and (min-width: 600px) {
  main {
    width: 50%;
    min-width: 500px;
  }

  /* guestbook */
  #guestbook {
    top: 2.3rem;
  }

  /* hamburger to top */
  nav {
    top: 0;
  }

  .nav-menu {
    top: 0;
    max-width: 70vw;
  }

  #check:checked ~ .nav-menu {
    display: flex;
    flex-direction: row;
    gap: 2rem;
  }

  .checkbtn img:hover {
    cursor: auto;
  }
}
