
:root {
  font-family: Tahoma;
  font-size: 16px;
  
* {
  box-sizing: border-box;
}
  
  
  
  --color1: purple;
  --color2: grey;
  --testcolor1: red;
  --testcolor2: green;
  --testcolor3: blue;
}


H1 {
  font-size: 5rem;
  text-align: center;
}

html {
  display: flex;
  justify-content: center;
  background-color: black;
}

body {
  height: 1080px;
  width: 1350px;
  background: url("./background.jpg");
}

header {
  height: 200px;
  justify-content: center;
  background-color: var(--testcolor3);
}
  
.title {
  display: flex;
  flex-direction: row;
  justify-content: center;
      
  background-color: var(--testcolor2);
}

.titlechar {
  display: inline;
  background-color: var(--testcolor2);
}

main {
  display: grid;
  grid-template-columns: 250px auto;
  
  & > * {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
  & > nav {
    grid-column: 1 / span 1;
    background-color: var(--testcolor2);
  }
  
  & > section {
    grid-column: 2 / span 1;
    background-color: var(--testcolor1);
  }
}

nav {
      
  & ul {
    display: grid;
    grid-template-rows: auto;
    gap: 8px;
    
    width: 200px;
    padding: 0;
    list-style: inside;
    list-style: none;
    background-color: var(--testcolor3);  
    
    & li {
      grid-row: auto;      
      
      justify-content: center;
      width: 100%;
      border: 2px solid var(--color2);
      background-color: var(--testcolor3);  
    }
    
    & a {
      display: grid;
      grid-template-columns: 64px 1fr;
      align-items: center;
      justify-items: center;
      
      width: 100%;
      text-align: center;
      background-color: var(--testcolor1);
    }
    
    & .icon {
      grid-column: 1 / span 1;
      width: 48px;
      height: 48px;
      background-color: var(--testcolor3);
    }
      
    & .home {
      background: url(https://kariarmato.neocities.org/images/icons/w95_home.png);
      background-size: 48px;
    }
    
    & .projects {
      background: url(https://kariarmato.neocities.org/images/icons/w95_projects.gif);
      background-size: 48px;
    }
    
    & .sitemap {
      background: url(https://kariarmato.neocities.org/images/icons/w95_sitemap.png);
      background-size: 48px;
    }
    
    & h3 {
      grid-column: 2 / span 1;
    }
  }

.hidden {
  display: none;
}

