body {
    transition: background-color 0.5s ease;
    font-family: Arial, sans-serif;
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
}

header {
    text-align: left;
    padding-top: 40px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: background-color 0.5s ease;
    color: white;
}

h1 {
    font-size: 2.5em;
    margin: 0;
    color: black;
}

.black-divider {
    border: 0;
    height: 2px;
    margin-left: 20px;
    margin-right: 20px;
    background-color: black;
}

#projects {
    padding: 20px;
}

#projects h2 {
    font-size: 1.8em;
}

.element {
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 600px) {
    .project-list {
        grid-template-columns: 1fr;
    }
}

.project {
    background-color: white;
    padding: 20px;
    border: 2px solid black;
}

#projects a {
    color: black;
}

.project h3 {
    margin: 0;
    font-size: 1.4em;
}

.project p {
    font-size: 1em;
}

#about {
    padding-left: 20px;
    padding-right: 20px;
    background-color: background-color 0.5s ease;
}

#about p {
    font-size: 1.2em;
}

#about ul {
    list-style: none;
    padding: 0;
}

#about ul li {
    display: inline;
    margin-right: 10px;
}

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    background-color: background-color 0.5s ease;
    color: white;
}

.footer-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 30px;
}

.footer-links li:not(:last-child)::after {
    margin-right: 10px;
    margin-left: 10px;
    content: "•";
}

.footer-links a {
    color: white;
    font-size: 18px;
}

.radio-group input[type="radio"] {
    display: none;
}

.radio-group {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-size: 18px;
}

.radio-group label:not(:last-child) {
    margin-right: 20px;
}

.radio-group input[type="radio"]:checked+.radio-dot {
    border-color: white;
}

.radio-group input[type="radio"]:checked+.radio-dot::after {
    content: '';
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-dot {
    width: 10px;
    height: 10px;
    border: 2px solid white;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    transition: border-color 0.3s;
    display: inline-block;
}