:root {
  --green: #b7eb1b;
}

html {
    background-image: url(./img/bg-2.png);
    background-color:#fff;
    background-size: cover;
    background-position: top center;
    color:#000;
    min-height: 100%;
    background-repeat: no-repeat;
}

body {
    padding:0;
    margin:0;
    font-family: monospace;
    font-size:14px;
    line-height: 20px;
}

.visuals {
    background: #fff;
}

.container {
    
}

.terminal {
    background: #fff;
    border:2px solid var(--green);
    box-sizing: border-box;
    max-width:400px;
    overflow: hidden;
    margin: 40px;
    -webkit-box-shadow: 1px 14px 45px -19px rgba(67, 90, 66, 1);
    -moz-box-shadow: 1px 14px 45px -19px rgba(67, 90, 66, 1);
    box-shadow: 1px 14px 45px -19px rgba(67, 90, 66, 1);
}

.title-bar {
  align-items: center;
  background: linear-gradient(var(--green) 50%,transparent 0);
  background-size: auto;
  background-clip: border-box;
  background-clip: content-box;
  background-size: 6.6666666667% 13.3333333333%;
  display: flex;
  flex: none;
  height: 1.5rem;
  margin: .1rem 0;
  padding: .2rem .1rem;
}

.title-bar button {
  background-color: #fff;
  border: 4px solid #000;
  cursor: pointer;
  display: block;
  height: 40px;
  margin: 0 .2rem;
  position: relative;
  transform: scale(.5);
  width: 40px;
}

.title-bar .title {
  background: #fff;
  cursor: default;
  font-family: Chicago_12;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 auto;
  padding: 0 .5em;
  text-align: center;
}

.contents {
    padding:40px;
}

.gallery {
    columns: 2;
    padding-top:160px;
    padding-left:20px;
    padding-right:20px;
    gap:20px;
    z-index:100;
    position:relative;
}

.gallery .item {
    padding-bottom:20px;
}

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

a {
    color:#000;
    background: #e2ff8b;
    text-decoration: none;
}

small {
    padding-top:8px;
    line-height:1em;
    display:inline-block;
    font-family: "Helvetica", sans-serif;
}

.row {
    display:flex;
    flex-direction: row;
}

.menu {
    margin-bottom:20px;
}

.menu ul {
    flex:1;
    list-style: none;
    margin:0;
    padding:0;
}

.menu li.indent {
    padding-left:20px;
}

.menu a {
    background:transparent;
    color:#000;
}

a.active {
    font-weight: bold;
}

.label {
    font-size:10px;
    line-height: 12px;
    border: 1px solid #000;
    padding: 2px 4px 0px 3px;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    margin-left:6px;
    min-width: 8px;
    text-align: center;
}

#logo {
    width:100px;
    position:fixed;
    right:40px;
    top:40px;
}

.credit {
    margin-bottom: 20px;
    font-family: "Helvetica", sans-serif;
}

.green {
    color:var(--green);
}

@media (prefers-color-scheme: dark) { 
    html {
        color:#fff;
        background-color:#282a27;
        background-blend-mode: multiply;
    }
    .visuals {
        background: #282a27;
    }
    .terminal {
        background: #000;
    }
    a {
        background: #b7eb1b;
    }
    .label {
        border-color:#fff;
    }
    .menu a {
        color:#b7eb1b;
    }
    .title-bar button {
      background-color: #000;
      border: 4px solid #fff;
    }
    .title-bar .title {
      background: #000;
    }
}

@media screen and (max-width: 620px) {
    #logo {
        left: 15px;
        top: 15px;
        width:70px;
    }
    .terminal {
        margin: 15px 15px 0 100px;
    }
    .gallery {
        columns:1;
    }
}