:root {
    --top-bar-height: 100px;
    --main-content-top: 170px;
    --main-content-top-horizontal: 100px;
    --main-bg-color: #242424;
    --theme-color: #acaa7e;
    --random-seed: "ZmxhZ3t0aDE1X2k1X3ByMGI0YjF5X3RoM18zYXMxMzV0XzBuM30K";
}

html {
    margin: 0px;
    border: 0px;
    padding: 0px;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--main-bg-color);
    background-image: url("media/tripleframe_bg2.png");
    background-size: 100%;
    background-repeat: repeat-y;
    background-position: center;
    background-attachment: fixed;
    transition: background-position 0.01s ease-in-out;
}

h1 { 
    font-weight: normal;
}

a { 
    font-family: "Helvetica Neue";
    color: var(--theme-color);
    font-weight: bold;
    text-decoration: none;

}

a:hover {
    color: #bbbbbb;
}

.top-bar {
    display: flex;
    position: fixed;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    height: var(--top-bar-height);
    background-color: rgba(36, 36, 36, 0.89);
    z-index: 1000;
}

.header-bar {
    background-color: var(--theme-color);
    font-family: "Space Mono", monospace;
    font-size: 14px;
    width: 300px;
    margin-top: 10px;
    display: flex;
    transition: background-color 0.5s ease;
}

.header-bar h1 {
  margin: 0;
  padding: 0;
  line-height: 1.2
}

.nav-bar {
    display: flex;  
    align-items: center;
    justify-content: space-around;
    height: var(--top-bar-height);
    margin-left: 100px;
    width: 350px;
}

.nav-button {
    --button-color: #3a3a3a;
    --button-hover: #878787;
    font-family: "Space Mono", monospace;
    font-size: 16px;
    color: var(--theme-color);
    background: var(--button-color);
    width: 90px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    
    transition: background-color 0.3s ease, color 0.5s ease;
}

.nav-button:hover {
    background: var(--button-hover);
    cursor: pointer !important;
}


.main-content-wrapper {
  padding-top: var(--main-content-top);
}

.main-content {
    font-family: "Helvetica Neue";
    padding-top: 1px;
    height: 100%;
    color: var(--theme-color);
    transition: color 0.5s ease;
    column-count: 2; 
    column-gap: 10px;
}

.content-box {
    display: inline-block;
    background-color: rgba(58, 58, 58, 0.89);;
    padding: 5px;
    margin: 30px;
    font-size: 14px;
}

.grayscale-frame {
  filter: grayscale(95%);
  transition: filter 0.1s ease-in-out;
  border: none; /* optional */
  z-index: 1;
}

.grayscale-frame:hover {
  filter: grayscale(0%);
  z-index: 1;
}

.invisible {
    opacity: 0%;
    transition: opacity 0.6s ease-in-out;
}

.invisible:hover {
    opacity: 100%;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  display: block;
  margin: 5% auto;
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  font-size: 40px;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

.footer {
    font-family: "Helvetica Neue";
    font-size: 16px;
    color: var(--theme-color);
    margin-left: 5px;
    margin-bottom: 5px;
}



@media (max-width: 768px) {
    .top-bar {
        width: 100%;
        height: 170px;
    }
    .nav-bar {
        height: 55px;
        margin-left: 5%;
    }
    .main-content {
        column-count: 1;
    }
    .modal-content {
        display: block;
        margin: 1% auto;
        max-width: 100%;
        max-height: 100%;

    }
}

@media (min-width: 1280px) {

    .top-bar {
        width: 70%;
        padding-left: 15%;
        padding-right: 15%;
    }
    .nav-bar {
        margin-left: 5%;
    }
    .main-content {
        margin-left: 5%;
    }
    .content-box {
        width: 80%;
        font-size: 16px;
    }
    .brightness-frame {
        filter: brightness(75%);
        transition: filter 0.1s ease-in-out;
        border: none;
        z-index: 1;
    }
    .brightness-frame:hover {
        filter: brightness(100%);
    }
    .main-content-wrapper {
        padding-top: var(--main-content-top-horizontal);
    }
}


