:root {
    --primary: #ebdbb2;
    --secondary: #73e621;
    --selection: #73e62191;
    --panel: #3c3836;
    --background: #282828;
}

html {
    visibility: visible;
    opacity: 1;
    background: var(--background)
}

@view-transition {
  navigation: auto;
}

.pride {
    height: .5em;
    background: linear-gradient(90deg,#ea392f 0% 9.091%,#f28917 9.091% 18.182%,#eecb12 18.182% 27.273%,#78b82a 27.273% 36.364%,#4375ca 36.364% 45.455%,#c346e3 45.455% 54.545%,#7bcce5 54.545% 63.636%,#eaeaea 63.636% 72.727%,#f4aec8 72.727% 81.818%,#000 81.818% 90.909%,#945516 90.909% 100%)
}

body {
    background-color: var(--background);
    max-width: 100ch;
    font-family:monospace;
    font-size: 1.5em;
}

a {
    color: var(--primary);
    font-weight: bold;
}

::selection {
    background: var(--selection);
}

p {
    color: var(--primary);
}

h1 {
    color: var(--primary)
}

.content {
    position: fixed;
    padding: 5%;
    padding-left: 5%;

    width: 90%;
}

.projectlink {
    text-decoration: none;
}

.projectlink:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.nav {
    >ul {
        display: grid;
        list-style: none;
        padding: 0;
        margin: 0;
        grid-column: repeat;
        grid-template-columns: 1fr;

        @media (min-width:40rem) {
            grid-template-columns: repeat(3, 1fr);
        }
        
        >li>a {
            display: block;
            text-align: center;
            margin: 2px;
            padding-top: 5px;
            padding-bottom: 5px;
            text-decoration: none;
            border-radius: 5px;
        }

        >li>a:hover {
            color: var(--secondary);
            border: 2px solid var(--secondary);
            border-radius: 5px;
        }
    }
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  font-size: 0.75em;
  background-color: var(--panel);
  >a {
    color: var(--primary);
  }
}

#right {
    float: right;
    text-align: right;
}

input,
input:focus {
    background: transparent;
    border: none;
    color: var(--primary)
}
