* {
    font-family: monospace;
    color: #f2f2f2;
}

body {
    margin: 10% auto;
    text-align: center;
    background-color: #1a1a1a;
}

#countdown {
    color: #595959;
}

h1 {
    font-size: 3em;
}

a {
    text-decoration: none;
    background: linear-gradient(to right, #DB6842 0%, #DB6842 100%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    transition: background-size 0.4s ease;
}

a:hover {
    background-size: 100% 100%;
}

.projectContainer {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.project {
    width: 40%;
    margin: 0 auto;
}

.projectHeader {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;

    padding: 0 1.5rem;

    transition: all 0.3s ease;
}

.headerUnselected {
    border-radius: 2em;
    background-color: #384172;
}

.headerSelected {
    border-radius: 2em 2em 0 0;
    background-color: #415ADB;
}

.projectTitle {
    flex: auto;
    text-align: left;
}

button {
    width: 2.5em;
    height: 2.5em;
    border: none;
    border-radius: 50%;
    color: #1a1a1a;
    padding-left: 1ex;
}

button:hover {
    color: #f2f2f2;
    background-color: #87DB42;
    cursor: pointer;
}

.projectBody {
    text-align: left;

    padding: 1.5em 1.5em 2em 1.5em;

    border-radius: 0 0 2em 2em;
    background-color: #415ADB;

    transition:
            max-height 0.4s ease,
            padding 0.4s ease,
            opacity 0.3s ease;
    overflow: hidden;
}

.bodyHidden {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

.bodyVisible {
    max-height: fit-content;
    opacity: 1;
}

.projectDescription {
    color: #d8d8d8;
    margin: 0;
    padding: 0;
}

@media (max-width: 600px) {
    .project {
        width: 90%;
    }
}