@font-face {
font-family: FTT-CHIARO B;
src: url(TT_CHIARO-B.ttf);
}
@font-face {
font-family: FTT-RodinNTLG DB;
src: url(TT_RodinNTLG-DB.ttf);
}
@font-face {
font-family: GhM;
src: url(GhM.otf);
}
html, body {height:100%; margin:0; padding:0;}

body {
    font-family: FTT-CHIARO B;
    background: #141414;
        display: grid;
        min-height:100vh;
    grid-template-areas:
        "nav"
        "header"
        "main"
        "footer";
}

header {
    font-family: GhM;
    color: white;
    text-align: center;
    letter-spacing: 5px;
    padding: 2.5px;
}
.solid {
    background: black;
    font-family: FTT-CHIARO B;
    color: white;
    border: 2.5px solid #009228;
    display: grid;
    margin: auto;
    width: 130vh;
    height: 10vh   
}

main {display:grid;}

main img {
    border: 2.5px solid #009228;
    margin: auto;
    width: 40vh;
}

button img {
    width: 100px;
    padding: 1rem;
}

footer {
    position: fixed;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    width: fixed;
}

button {
    background-color: rgba(255, 0, 0, 0);
    border: 2.5px solid rgba(139, 0, 0, 0);
    position: fixed;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    width: fixed;
}

nav {
    position: fixed;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    width: fixed;

}

/* basic reset for nav */
nav.nav {
  background: rgba(0, 0, 0, 0.58);
  color: #ffffff;
  width: 15%;
  overflow: hidden;
  transition: max-height 300ms ease;
  max-height: 0;           /* collapsed */
}

/* when open we give large enough max-height for content */
nav.nav.open {
  max-height: 100vh;       /* or a measured value if you prefer */
}

/* hide the element from layout when collapsed */
nav[hidden] {
  display: block;          /* keep block so max-height anim works; we'll collapse via max-height */
}

/* simple list styling */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

nav a {
  display: block;
  padding: 0.75rem 1rem;
  color: inherit;
  text-decoration: none;
}

/* accessible focus style */
nav a:focus,
.menu-toggle:focus {
  outline: 3px solid rgba(112, 112, 116, 0);
  outline-offset: 2px;
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  nav.nav { transition: none; }
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    text-shadow: 2px 2px 5px #3c3c3c;
    color: #59ec81;
}