@font-face {
    font-family: "PixelOperator"; 
    src: url("https://rebecka.xyz/fonts/PixelOperator.ttf") format("truetype");
}

:root {
  --link-color:blue;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  font-family: "PixelOperator";
  font-size: 1em;
  line-height: 1.3em;
  background-color: #000;
  color: #fff;
}

body a {
  color:#79E5CB;
}

body a:hover {
  color: #79E5CB;
  text-decoration: line-through;
}

h2 {
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: overline;
  margin-bottom: 10px;
  padding-left: 10px;
}

img {
  max-width:100%;
}

img:hover {
   -webkit-filter: invert(0);
   filter: invert(0);
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
  padding: 20px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
  background-color: rgba(0,0,0,0.7);
  border-radius: 5px;
  gap: 20px;
}

.header-logo {
  flex: 1;
}

.header-logo h2 {
  color: #fff;
  text-decoration: none;
}

.header-right {
  text-align: right;
  color: #79E5CB;
}

.center {
  flex: 1;
  padding: 20px;
  background-color: rgba(0,0,0,0.5);
  border-radius: 5px;
}

.center p {
  text-align: center;
  line-height: 1.6;
  color: #fff;
}

figure {
  margin: 30px auto;
  padding: 0;
  text-align: center;
}

figure img {
  margin: 15px auto;
  display: block;
}

.photograph {
  text-align: center;
  margin: 30px 0;
}

.gallery {
  column-count: 2;     
  column-gap: 5px;     
}

.gallery img {
  width: 100%;
  display: block;
  margin-bottom: 5px;  
}

.duo-gallery {
  column-count: 2;     
  column-gap: 5px;
  margin-bottom: 100px;
}

.duo-gallery img {
  width: 350px;
  max-height: 95vh;
  display: block;
  margin-bottom: 5px;  
}

.item {
  break-inside: avoid;
  margin-bottom: 5px;
} 

.footer {
  text-align: center;
  padding: 20px;
  color: #ccc;
  border-top: 1px solid #79E5CB;
  margin-top: auto;
}

.footer a {
  text-decoration: none;
  color: #79E5CB;
}

.footer a:hover {
  text-decoration: line-through;
}

@media only screen and (max-width: 600px) {
  .container {
    gap: 10px;
    padding: 10px;
  }

  .header {
    flex-direction: column;
    padding: 15px;
    gap: 15px;
  }

  .header-logo h2 {
    font-size: 1em;
    padding: 0;
  }

  .header-right {
    text-align: center;
    font-size: 0.9em;
  }

  .center {
    padding: 15px;
  }

  .center p {
    font-size: 0.9em;
  }
  
  .gallery {
    column-count: 2;
  }
  
  .duo-gallery {
    column-count: 1;
  }

  figure {
    margin: 20px auto;
  }

  figure img {
    max-width: 90vw;
    height: auto;
    justify-content: center;
  }

  .footer {
    font-size: 0.85em;
    padding: 15px;
  }
}