.debug *:nth-child(odd){
    border: 1px solid black;
}
.debug *:nth-child(even){
    border: 1px solid blue;
}
:root {
    /* --theme-bg: rgb(10,25,47); */
    --theme-bg: #303030;
    --theme-darkbg: #1d1d1d;
    --theme-color: rgb(171, 219, 171);
    --theme-darkaccent: rgba(132,192,132, .7);
    --theme-lightaccent: rgba(165, 190, 165, 0.6);
}
*{
    font-family: 'Roboto Slab', serif;
    padding: 0;
    margin: 0;
    font-size: 18px;
}
body{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--theme-darkbg);
    color: var(--theme-color)
}
h1{
    font-family: 'Open Sans', sans-serif;
    font-size: 4em;
}
h2{
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    font-size: 1.5em;
    letter-spacing: 4px;
}
h2:after{
    opacity: 0;
    content: "\00a0";
    padding: 0 10px;
    /* background-color: var(--theme-lightaccent); */
    animation: blink 1s infinite;
}
section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50%;
    width: 100%;
}
section:not(.hero){
    padding: 4em 0;
}
.hero{
    height: 100vh;
    background: var(--theme-bg);
}
.hero p{
    width: 60%;
}
.container{
    width: 70%;
}
.container > p{
    width: 60%;
}
p{
    font-size: 1.1rem;
    margin: 1em 0;
    line-height: 150%;
    color: var(--theme-lightaccent);
}
#rolodex:after{
    opacity: 0;
    content:"";
    transition: opacity 1s;
}
#rolodex[loaded]:after{
    opacity: 1;
    content: "a problem-solver."
}
#rolodex[loaded] ~ button {
    opacity: 1;
 }
#rolodex + span{
    opacity: 0;
    transition: opacity 2s 1s;
}
#rolodex[loaded] + span {
    opacity: 1;
}

button{
    display: block;
    opacity: 0;
    transition: opacity 2s 1s, background .3s;
    margin: 1.25em 0;
    padding: .75em 1.25em;
    background: transparent;
    border: 1px solid var(--theme-darkaccent);
    color: var(--theme-color);
    font-weight: bold;
    cursor: pointer;
}
button:hover{
    background: var(--theme-lightaccent);
}
#about{
    display: grid;
    gap: 2em;
    grid-template-columns: 60% auto;
    justify-content: center;
}
#about img{
    width: 90%;
    object-fit: scale-down;
    margin: auto;
    aspect-ratio: 1/1;
    /* opacity: .8; */
    /* box-shadow: 0px 4px 40px rgb(17, 17, 17); */
}
@keyframes blink{
    to {
        opacity: 1;
    }
}
.skills-grid{
    justify-content: center;
    margin: 2em 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}
.skills-grid > div{
    hyphens: auto;
    min-height: 200px;
    padding: 25px 1em;
    background: var(--theme-bg);
    display: flex;
    flex-direction: column;
    border-radius: 10px;
}
footer{
    display: none;
    width: 25%;
    color: #838383;
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* font-size: 1.5em; */
}
a{
    color: inherit;
    font-size: 90%;
    text-decoration: none;
}
@media only screen and (max-width: 1200px){
    section{
        width: 100%;
    }
    /* img{
        display: none;
    } */
    .container p{
        width: 100%;
    }
    #about{
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
}
@media only screen and (max-width: 800px){
    .container{
        display: flex;
        flex-direction: column;
        align-items:center;
        width: 90%;
    }

    #about img{
        width: 100%;
        object-fit: cover;
        margin: auto;
        aspect-ratio: 1/1;
        /* opacity: .8; */
        /* box-shadow: 0px 4px 40px rgb(17, 17, 17); */
    }
}