:root{
    --primary: #0f0f0f;
    --accent: #f5f5f5;

    --footH: 100px;
    --headH: 60px;
    --headMarg: 20px;
}

body{
    font-family: Helvetica, sans-serif, Arial;
    margin: 0;
    background-color: var(--primary);
    color: var(--accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

header{
    width: 100%;
    display: flex;
    align-items: center;
    height: var(--headH);
    padding: var(--headMarg) 0;
}

h1{
    flex: 1;
    font-size: 38pt;
    margin: 0;
    text-decoration: none;
    color: var(--accent);
    padding: 0 10px;
}

button {
    background-color: var(--primary);
    color: var(--accent);
    border: none;
}

h2, h3, h4, h5, h6 {
    text-align: center;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
    padding: 0;
}

p{
    width: 100%;
}

p a{
    color: var(--accent);
    text-decoration: solid var(--accent) underline;
}

main{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer{
    width: 100%;
    height: var(--footH);
    display: flex;
    align-items: center;
    justify-content: space-around;
}

footer>a{
    width: 200px;
}

/* classes */

.dropdown-menu{
    position: relative;
    display: inline-block;
}

.dropdown-content {
    width: 10rem;
    list-style: none;
    background-color: var(--primary);
    position: absolute;
    right: 0;
    padding: 0;
    box-shadow: var(--primary) 4px 6px 14px;
}

.dropdown-content a {
    display: flex;
    justify-content: center;
    color: var(--accent);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
}

.sliding-puzzle{
    display: grid;
    user-select: none;
    justify-items: center;
}

.multi-pic{
    font-size: 0;
}

.portfolio{
    list-style: none;
    margin: 0;
    padding: 0;
}

.icon{
    height: 50px;
    padding-right: 1rem;
}

.image-text{
    max-height: 35px;
    max-width: 100%;
}

.auto-inset{
    width: min(calc(100vh - var(--footH) - var(--headH) - var(--headMarg)), calc(100vw - 50px));
    margin: auto;
}

.inset{
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
}

iframe{
    border: none;
}

.contact{
    width: 200px;
    margin: 10px;
}

.project{
    width: 336px;
    height: 336px;
}

.multi-pic>*{
    display: none;
}

.talset,
.set{
    width: 759px;
    height: 506.44px;
    aspect-ratio: 3/2;
}

.talset{
    height: 948.75px;
    aspect-ratio: 4/5;
}

.portrait{
    width: 599px;
    height: 900px;
    aspect-ratio: 599/900;
}

/* states of being */

.hidden{ display: none; }

/* media queries */

@media (max-width: 800px){
    .talset,
    .set{
        width: 90vw;
        height: auto;
    }
    .portrait{
        width: 80vw;
        height: auto;
    }
}

@media (max-width: 550px) {
    footer{
        flex-direction: column;
    }
    .project{
        width: 80vw;
        height: 80vw;
    }
}
