@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=STIX+Two+Text&display=swap');

body {
    position: relative;
    font-family: 'Lora', serif;
    background: #fff;
    color: rgb(20, 20, 20);
    transition: all .5s ease-in-out;
    padding-bottom: 200px;
}
body.dark {
    background: rgb(20, 20, 20);
    color: #fff;
}
.header {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* height: 60px; */
    padding: 40px 8px;
}
.header #logo {
    width: 180px;
    max-width: 50%;
    /* margin: 0 auto; */
    margin: 0 0 10px 0;
    
}
.header h1 {
    text-align: left;
    max-width: 90%;
    margin: 0 0 0 16px;
}

.header #toggle {
    position: absolute;
    top: 16px;
    right: 16px;
    height: 32px;
    width: 80px;
    padding: 4px;
    border-radius: 500px;
    background: #d8d8d8;
    transition: all .5s ease-in-out;
}
.header #toggle .button {
    height: 32px;
    width: 32px;
    border-radius: 500px;
    background: #ffffff;
    box-shadow: 0 0 4px rgba(0,0,0,.1);
    transition: all .5s ease-in-out;
}
.header #toggle .sun {
    position: absolute;
    top: 8px;
    left: 8px;
    height: 23px;
    width: 23px;
    filter: grayscale(0%);
    transition: all .5s ease-in-out;
}
.header #toggle .moon {
    position: absolute;
    top: 8px;
    right: 8px;
    height: 24px;
    width: 24px;
    filter: grayscale(100%);
    transition: all .5s ease-in-out;
}
body.dark .header #toggle {
    background: #3a3a3a;
}
body.dark .header #toggle .button {
    transform: translateX(48px);
}
body.dark .header #toggle .sun {
    filter: grayscale(100%);
}
body.dark .header #toggle .moon {
    filter: grayscale(0%);
}

.content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    text-align: center;
    /* padding: 10px; */
}
.content .divider {
    width: 120px;
    background: #433c81;
    height: 3px;
    margin: 60px auto 20px auto;
}
h1 {
    font-family: 'STIX Two Text', serif;
    font-size: 3.5rem;
    line-height: 3.5rem;
    max-width: 700px;
    margin: 16px auto;
    padding: 0 10px;
}
p {
    position: relative;
    font-size: 1.5rem;
    max-width: 700px;
    margin: 16px auto;
    padding: 0 10px;
}

p .arrow {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50%;
    z-index: -1;
}
.padding-64 {
    padding: 64px 0;
}
.padding-32 {
    padding: 32px 0;
}
.space {
    height: 100px;
}
#portrait {
    width: 300px;
    max-width: 90%;
    margin: 0 auto;
}
.photos {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* padding: 64px 0; */
    /* margin-bottom: 16px; */
}


.photo {
    max-width: 100%;
    min-width: 300px;
    max-width: 600px;
    /* box-shadow: 0 2px 16px rgba(0,0,0,.1); */
    margin: 16px;
    
}
.photos.two .photo:nth-child(1) {
    transform: translateY(-32px);
}
.photos.two .photo:nth-child(2) {
    transform: translateY(32px);
}

@media only screen and (max-width: 700px) {
    .photo {
        /* min-width: 90%;
        max-width: 90%; */
        /* margin: 16px 0; */
        transform: none !important;
    }
}

.photos.three .stack {
    display: flex;
    flex-direction: column;
}
.photos.three .stack .photo {
    max-height: 350px;
}
.photos.three .photo {
    max-height: 600px;
}