* { margin: 0; padding: 0; } body { width: 100%; min-height: 100vh; display: flex; justify-content: center; } main { width: 50%; display: flex; flex-direction: column; gap: 32px; margin-top: 32px; } a { color: black; } a.gray { background: lightgray; } a.green { background: lime; } a:hover { color: white; background: black; text-decoration: line-through; } p img { vertical-align: bottom; } .status { display: flex; flex-direction: column; justify-content: center; align-items: center; } .main-links { display: flex; flex-direction: row; justify-content: space-around; } .main-links img { vertical-align: middle; } .rain { width: 100%; min-height: 10%; background-image: url('/static/img/rain.gif'); background-repeat: repeat; display: flex; justify-content: end; align-items: end; } .rain p { padding: 0 32px; font-family: cursive, serif; } .rain img { vertical-align: bottom; } .projects { display: flex; flex-direction: column; gap: 8px; } .project { padding-top: 16px; display: flex; flex-direction: row; gap: 8px; } .project .icon-wrapper { display: flex; justify-content: center; align-items: center; } .icon-wrapper img { width: 256px; } .project .summary { display: flex; flex-direction: column; justify-content: space-between; } .summary .title { display: flex; flex-direction: row; gap: 16px; } .title .year { font-size: 10px; } .project .screenshots { display: flex; flex-direction: row; gap: 8px; } .screenshots a:hover { background: unset; color: unset } .screenshots img { vertical-align: bottom; width: 128px; } .links { display: flex; flex-direction: row; gap: 8px; align-items: center; } .projects>.project { border-top: 1px solid black; } .projects>.project:first-child { border-top: none; } @media only screen and (max-width: 1400px) { main { width: 70%; } } @media only screen and (max-width: 1200px) { main { width: 80%; } } @media only screen and (max-width: 1000px) { main { width: unset; } .project { flex-direction: column; } .screenshots { justify-content: center; } }