:root{--bg:#1d1e20;--card:#2e2e33;--text:#dadadb;--muted:#9b9c9d;--border:#3a3a3a;--link:#8ab4f8}

*{
  box-sizing:border-box;
  }
  
html {
    background-image: url(https://kreide.tv/pictures/noise_test_05.gif);
    background-size: 20%;
    background-repeat: repeat;
    background-color: #000;
}

body {
    margin: 0;
    color: #dadadb;
    font-family: "main", monospace;
    font-size: 16px;
    background: transparent;
    }
    
header {
  padding:20px;
  max-width:900px;
  margin:auto;
  min-height: 80px;
  top:0;
  list-style-type:none;
  border-bottom:2px dashed var(--border)
  }
  
  .logo {
  margin-left: 10px;
  }
  
nav {
    max-width: 900px;
    height: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 20px;
    padding: 0;
    gap: 20px;
    }

nav li {
    list-style: none;
}

nav a {
    color: var(--text);
    text-decoration: none;
    position: relative;
    transition: color .2s ease;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 20px;
    padding: 0;
    gap: 48px;
}

nav a.active,
nav a[aria-current="page"] {
  color: #fff;
  font-weight: 700;
}


@media (max-width: 900px) {

    .logo {
        margin-left: 0;
    }

    nav {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    nav ul {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 30px;

        width: 100%;
        margin: 20px 0 0;
        padding: 0;

        text-align: center;
    }

    nav li {
        margin: 0;
    }

    nav a {
        display: block;
        margin: 0;
    }
    
}

hr.dashed {
    border: 0;
    border-bottom: 2px dashed var(--border);
    margin: 0;
    padding: 0;
    height: 0;
}

main {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.project-info {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}


div.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1800px;
  margin: 0 auto;
}

div.gallery-item {
  margin: 0;
  border: none;
  width: calc(50% - 10px); /* Two items per row */
  box-sizing: border-box;
}

div.gallery-item img {
  width: 100%;
  height: auto;
}

div.gallery-item div.desc {
  padding: 5px;
  text-align: center;
}

@media only screen and (max-width: 768px) {
  div.gallery-item {
    width: calc(50% - 10px);
  }
}

@media only screen and (max-width: 480px) {
  div.gallery-item {
    width: 100%;
  }
}

.about-video {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    }

h1,h2{line-height:1.2}a{color:var(--link)}blockquote{border-left:4px solid #666;padding-left:1rem;color:var(--muted)}
table{width:100%;border-collapse:collapse}td,th{border:1px solid var(--border);padding:.6rem}
code{background:#383842;padding:.15rem .35rem;border-radius:4px}
pre{background:#2e2e33;padding:1rem;overflow:auto;border-radius:8px}
details{background:var(--card);padding:1rem;border-radius:8px;margin:1rem 0}

footer {
    max-width: 900px;
    margin: auto;
    padding: 20px 40px 20px 20px;
    border-top: 2px dashed var(--border);
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 18px;
}

.footer-copy img {
    display: block;
}

.footer-copyright {
    margin-left: auto;
    text-align: right;
    color: var(--muted);
}

@media (max-width: 900px) {
  footer {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-copy {
    display: flex;
    flex-direction: row;      
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding-left: 0;
  }

  .footer-copyright {
    margin-left: 0;
    text-align: center;
  }
}