/* Default (Day) Mode */
:root {
    --background-color: #fff;
    --text-color: #000;
    --grayscale: 100%;
    --brightness: 0;
    --link-color: #000;
    --invert: 0;
}
  
/* Night Mode */
body.night-mode {
    --background-color: #000;
    --text-color: #fff;
    --grayscale: 0%;
    --brightness: 1;
    --link-color: #fff;
    --invert: 1;
}

body, html {
    height: 100%;
    margin: 0;
    overflow: auto;
    font-family: "Geist Mono";
    background-color: var(--background-color);
    color: var(--text-color);
}

/* common header and button styles */
.page-header {
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 0;
    font-size: 8em;
}

.top-buttons {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    cursor: pointer;
    margin: 10px;
    z-index: 1000;
}

.day-night-toggle {
    box-sizing: border-box;
    height: 2.5em;
    margin-left: 10px;
}

.day-night-toggle:hover {
    cursor: pointer;
}

.back {
    box-sizing: border-box;
    float: left;
    height: 2.5em;
    filter: grayscale(var(--grayscale));
    filter: brightness(var(--brightness));
}

.back:hover{
    cursor: pointer;
    background-color: var(--link-color);
}

.down-arrow {
    position: fixed;
    transform: rotate(-90deg);
    bottom: 0;
    left: 50%;
    margin-bottom: 5%;
    height: 1em;
    z-index: 10;
    filter: grayscale(var(--grayscale));
    filter: brightness(var(--brightness));
}

.down-arrow:hover{
    cursor: pointer;
    background-color: var(--link-color);
}

/* bespoke shared styles */
#contact-section {
    text-align: left;   
    margin-left: 5%;
    margin-right: 5%;
}

.paragraph-section {
    text-align: center;
    padding-left: 20%;
    padding-right: 20%;
    margin-bottom: 10%;
}

.contact-logo {
    height: 1.2em;
    filter: brightness(var(--brightness)) invert(var(--invert));
}

.contact-link {
    font-size: 1.5em;
}

.contact-info {
    margin-top: 10%;
}

.work-header {
    font-size: 3em;
}

#work-list{
    padding-left: 20%;
    padding-right: 20%;
    margin-top: -8%;
    margin-bottom: 5%;
    text-align: left;
}

/* link and list styles */
a:link, a:visited, a:active{
    text-decoration: none;
    color: var(--link-color);
}
  
a:hover {
    color: var(--link-color);
    font-weight: bold;
}

* {
    box-sizing: border-box;
}

li {
    list-style-type: circle;
}

@media screen and (max-width: 640px) {
    #contact-section {
        font-size: 0.8em;
    }

    .page-header {
        font-size: 5em;
    }

    
.day-night-toggle {
    height: 2em;
    margin-left: 10px;
}

.back {
    height: 2em;
}
}