* {
    margin: 0; padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Jersey 10" verdana;
    font-weight: 400;
    font-style: normal;
    background-image: url(imgs/background.gif);
    background-size: cover;
    color: #baf5dc;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.modal-image {
    margin: auto;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 800px;
    animation-name: zoom;
    animation-duration: 0.4s;
    object-fit: contain;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 3em;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

main {
    background-color: #6294916a;
    width: 900px;
    height: 650px;
    margin: auto auto;
    position: relative;
    top: 4.3vh;
}

header {
    height: 30px;
    background-color: #215452;
}

.flex {
    display: flex;
    flex-flow: row;
    margin: 25px 35px;
    gap: 15px;
}

.gallery {
    width: 750px;
    height: 560px;
    max-height: 560px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: repeat(3,1fr);
    column-gap: 10px;
    row-gap: 10px;
}

.gallery div {
    aspect-ratio: 1;
    width: 205px;
    justify-self: center;
    transition: 0.5s;
    max-width: 205px;
    max-height: 180px;
    overflow: hidden;
}

.gallery div:hover {
    cursor: pointer;
    transform: scale(1.03);
}

.gallery div img {
    width: 100%;
}

.portland {
    height: 120%;
}

.info {
    width: 190px;
}

.pfp {
    aspect-ratio: 1;
    background-image: url(imgs/pfp.gif);
    background-size: cover;
}

.name h2 {
    font-size: 1.2em;
    margin: 10px 0 3px 0;
}

.name h3 {
    font-size: 1em;
    margin-bottom: 10px;
}

.bio p {
    margin-bottom: 10px;
}

.bio a {
    display: block;
    margin-bottom: 5px;
    text-decoration: none;
    color: #baf5dc;
}

a:hover {
    color: #eee;
}

a img {
    max-width: 18px;
    filter: invert(95%);
    position: relative;
    top: 3px;
}
