* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --p : neue-haas-grotesk-text, sans-serif;
    --blk : #000;
    --wht : #fff;
    --bl : #4169e1;
    --ylw : #fafad2;
    --snw : #FFFEF8;
}

body {
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
    background-color: var(--snw);
    color: var(--blk);
    margin: 0;
/*    max-width: 1920px;*/
}

#spacer {
    display: block;
    width: 100%;
    height: 45px;
}

a {
    color: var(--blk);
    text-decoration: none;
}


a:visited {
    color: var(--blk);
}

a:hover {
    color: var(--bl);
    transition: 0.3s;
}

a.anchor {
    display: block;
    position: relative;
    top: -65px;
/*    visibility: hidden;*/
}

p {
    padding: 20px 0 0 0;
}

button {
    background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}

button:hover {
    color: var(--rd);
    transition: 0.3s;
}

.navbar {
    display: flex;
    width: 100%;
    padding: 16px 20px 16px 20px;
    position: fixed;
    top: 0;
    background-color: var(--snw);
    z-index: 99;
}

.logo {
    width: 30%;
}

.about {
    width: 30%;
    margin-left: -6px;
}


.site-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.sans {
    font-family: neue-haas-grotesk-text, sans-serif;

}

.serif {
    font-family: nimbus-roman, serif;
    font-size: 16px;
}

.project-wrapper {
    width: 70%;
    margin: 20px 0 0 0;
    padding: 0 20px 20px 0px;
    align-self: flex-end;
}

.project-covers {
    width: 70%;
    margin: 70px 0 0 0;
    padding: 0 20px 0px 0px;
    align-self: flex-end;
}

.project-covers img {
    width: 100%;
}

.project-covers .project-photo .portrait {
    padding: 0px;
}

.project-wrapper img {
    width: 100%;
}

.project-photo {
    display: flex;
    flex-direction: column;
    padding: 0 0 20px 0;
}

.archive-projects {
    width: 70%;
    margin: 70px 0 0 0;
    padding: 0 20px 20px 0px;
    align-self: flex-end;
    display: flex;
    flex-wrap: wrap;
    column-gap: 5%;
}

.archive-item {
    margin: 0 0 120px 0;
    max-width: 40%;
    min-width: 400px;
/*    align-items: flex-start;*/
}

.archive-item img {
    max-height: 100%;
    max-width: 100%;
    display: block;
    align-self: center;
}

.archive-item p {
    font-size: .8em;
    font-style: italic;
    padding: 20 0 0 0;
}

.portrait {
    display: flex;
    flex-direction: column;
    padding: 0 0 20px 0;
    width: 50%;
}

.nocursor:hover {
    cursor: none;
}

#bottom-buttons {
    width: 70%;
    margin: 20px 0 0 0;
    padding: 0 20px 20px 0px;
    align-self: flex-end;
    display: flex;
    justify-content: space-between;
}

.list {
    width: 30%;
}

.list ul {
    margin: 0;
    padding: 0;
}

.list li {
    list-style: none;
    padding-top: 10px;
}

.list-fixed {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.desc {
    position: fixed;
    width: 25%;
    bottom: 0px;
    left: 0px;
    padding: 20px;
    padding-top: 0px;
    display: flex;
    flex-direction: column;
}

.about-desc {
    position: fixed;
    width: 25%;
    left: 0px;
    padding: 20px;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
}

.construction {
    position: fixed;
    width: 100%;
    left: 0px;
    padding: 20px;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
}

.ascii {
    width: 100%;
    margin: 100px 0 0 0;
    padding: 0 20px 0px 20px;
    align-content: center;
}

a.surprise {
    color: var(--wht);
    text-decoration: none;    
    padding: 20px 20px 20px 0;
    align-self: flex-end;
    display: flex;
}

a.surprise:hover {
    color: var(--rd);
    transition: 0.3s;
}

div:hover > .hov {
    display: block;
}

/*
.hov {
    display: none;
    position: absolute;
    font-size: 16px;
    color: var(--wht);
    mix-blend-mode: difference;
    z-index: 99;
}
*/

/* Smooth scrolling IF user doesn't have a preference due to motion sensitivities */
@media screen and (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media screen and (max-width: 575.98px) {

  .site-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}  
  
    .list {
    width: inherit;
}

    .mobile-hide {
        display: none;
    }
    
    a.mobile-hide {
        display: none;
    }
    
    .project-covers {
    width: 100%;
    margin: 70px 0 0 0;
    padding: 0 0px 10px 0px;
}
    
    
    .project-wrapper {
    width: 100%;
    margin: 70px 0 0 0;
    padding: 0 0px 10px 0px;
}
    
    .portrait {
    width: 100%;
    margin: 0 0 0 0;
    padding: 0 0px 10px 0px;
}
    
    .logo {
    width: 50%;
}

    .about {
    position: fixed;
    right: 10px;
    width: 50%;
}
 
.desc {
    position: inherit;
    width: 100%;
    bottom: inherit;
}
    
.about-desc {
    position: inherit;
    width: 100%;
    bottom: inherit;
}
    
    #bottom-buttons {
    width: 100%;
    padding: 20px;
    align-self: flex-end;
    display: flex;
    justify-content: space-between;
}
    
    #spacer {
    display: none;

}
    
.archive-projects {
    width: 100%;
    margin: 70px 0 0 0;
    padding: 0 0px 10px 0px;
    align-self: flex-end;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
/*    align-items: flex-start;*/
/*    align-content: flex-start;*/
    column-gap: 5%;
}

.archive-item {
    margin: 0 0 120px 0;
    min-width: 400px;
    min-width: 100%;
/*    align-items: flex-start;*/
}

.archive-item img {
    max-height: 100%;
    max-width: 100%;
    display: block;
    align-self: center;
}

.archive-item p {
    font-size: .8em;
    font-style: italic;
    padding: 20 20 20 20;
}
}

/* Medium devices (tablets, 768px and up)*/
@media screen and (min-width: 575.98px) and (max-width: 1024px) {
    
  .site-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}  
  
    .list {
    width: inherit;
}

    .mobile-hide {
        display: none;
    }
    
    a.mobile-hide {
        display: none;
    }
    
    .project-covers {
    width: 100%;
    margin: 70px 0 0 0;
    padding: 0 20px 10px 20px;
}
    
    
    .project-wrapper {
    width: 100%;
    margin: 70px 0 0 0;
    padding: 0 20px 10px 20px;
}
    
        .portrait {
    width: 100%;
    margin: 0 0 0 0;
    padding: 0 0px 10px 0px;
}
    
    .logo {
    width: 50%;
}

    .about {
    width: 100%;
    margin-left: -6px;
}
 
    
.desc {
    position: inherit;
    width: 100%;
    bottom: inherit;
}
    
 .about-desc {
    position: inherit;
    width: 100%;
    bottom: inherit;
}
    
    #bottom-buttons {
    width: 100%;
    padding: 20px;
    align-self: flex-end;
    display: flex;
    justify-content: space-between;
}
    
#spacer {
    display: none;

}
    
.archive-projects {
    width: 100%;
    margin: 70px 0 0 0;
    padding: 0 20px 10px 20px;
    align-self: flex-end;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
/*    align-items: flex-start;*/
/*    align-content: flex-start;*/
    column-gap: 5%;
}
    
    .archive-item {
    margin: 0 0 120px 0;
    min-width: 400px;
    min-width: 100%;
/*    align-items: flex-start;*/
}

.archive-item img {
    max-height: 100%;
    max-width: 100%;
    display: block;
    align-self: center;
}

.archive-item p {
    font-size: .8em;
    font-style: italic;
    padding: 20 20 20 20;
}
}
