@font-face {
    font-family: quicksand;
    src: url(../assets/fonts/Quicksand-VariableFont_wght.ttf)
}

html {
    font-family: quicksand, sans-serif;
}

.main-header {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
}

.logo-helper {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 20px;
    text-decoration: none;
    color: inherit;
}

.logo-helper img {
    display: block;
    height: 2rem;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.events-item {
    display: flex;
    flex-direction: row;
    align-self: stretch;
    max-width: 640px;
    border: 1px solid black;
    border-radius: 11px;
    padding: 10px;
    gap: 15px;
}

.events-item-a {
    text-decoration: none;
    color: inherit;
    flex-grow: 1;
    display: flex;
    flex-direction: row;
}

.events-item header {
    flex-grow: 1;
}

.events-item h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.event-item-details {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    font-style: italic;
    font-size: small;
}

.event-item-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-left: 1px solid #d8d8d8;
}

.event-item-button img {
    display: block;
    max-height: 3rem;
}

.message-404 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.message-404 h1 {
    margin-top: 50px;
    margin-bottom: 0;
}

.message-404 a {
    font-size: large;
    font-weight: bold;
}

.message-404 img {
    max-height: 8rem;
}

.event-toolbar {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-self: stretch;
}

.event-toolbar a {
    text-decoration: none;
    border: 1px solid black;
    border-radius: 5px;
    padding: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 7px;
}

.event-toolbar a img {
    width: 1em;

}

.event-article {
    max-width: 640px;
    border: 1px solid black;
    border-radius: 11px;
    align-self: stretch;
    padding-bottom: 10px;
}


.event-header {
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
}

.event-heading {
    margin-top: 0.25em;
    margin-bottom: 0.25em;
    text-align: center;
}

.event-details {
    align-self: flex-end;
    text-align: right;
}

.event-details time,
.event-details address {
    font-style: italic;
    font-weight: bold;
}

.event-description {
    margin-top: 10px;
    border-top: 1px solid black;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: justify;
}

.event-form {
    padding: 10px;
}

.event-form-alert {
    text-align: justify;
    border: 1px solid #ffacac;
    background-color: #ffdfdf;
    padding: 4px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.event-form-alert p {
    margin: 0;
}

.confirmed {
    border: 1px solid #9fd495;
    background-color: #e6ffe1;
    padding: 4px;
    text-align: justify;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.confirmed p {
    margin: 0;
}

.warn {
    border: 1px solid #d4ce95;
    background-color: #fffde1;
    padding: 4px;
    text-align: justify;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.warn p {
    margin: 0;
}

.event-form-help {
    margin-top: 10px;
    border-top: 1px solid #cbcbcb;
    font-style: italic;
    font-size: small;
    flex-grow: 1;
    align-self: stretch;
}

.event-form h2 {
    font-size: larger;
    margin-bottom: 0.5em;
}

.event-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.event-form form div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.event-form form input {
    font-size: large;
    font-family: quicksand, sans-serif;
}

.event-form form label {
    font-size: large;
}

.event-form button {
    background-color: #444ea9;
    font-size: large;
    border-radius: 5px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
    font-family: quicksand, sans-serif;
    border: none;
    cursor: pointer;
}

.event-form .input {
    overflow: hidden;
    user-select: none;
    margin-top: 10rem;
    height: 1px;
    width: 1px;
}

.event-form .input-group {
    height: 1px;
    overflow: hidden;
}