#reserveren {
    position: fixed;
    right: 0;
    bottom: 0;
    font-family: var(--font-family-main);
    z-index: 2;

    width: auto;
    background-color: var(--main-bg-color);
    border: 1px solid var(--accent-color);
    outline: 1px solid var(--accent-color);
    outline-offset: 3px;
    padding: 20px;
    transition: padding 0.2s ease-in-out;
}

#reserveren-header {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 20px;
    transition: margin 0.2s ease-in-out;
}

#reserveren-header h2 {
    margin: 0!important;
    font-size: 32px;
}

#reserveren-header a {
    font-size: 30px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

#reserveren-info {
    max-width: 580px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#reserveren-info p {
    margin: 0;
}

#reserveren form {
    max-width: 580px;
}

#reserveren form p {
    margin: 0;
}

#reserveren form br {
    display: none;
}

#reserveren form div.form-row {
    margin-top: 30px;
}

#reserveren-content {
    max-height: calc(100vh - 220px);
    height: 520px;
    max-width: 640px;
    transition: all 0.3s ease-in-out;
    overflow: auto;
}


#reserveren:not(.open) {
    padding: 5px 5px 5px 20px;
}
#reserveren:not(.open) #reserveren-content {
    height: 0;
    max-width: 140px;
}
#reserveren:not(.open) #reserveren-header a{
    opacity: 0;
    width: 0;
}
#reserveren:not(.open) #reserveren-header {
    margin: 0;
}

@media (max-width: 1024px) {

    #reserveren-content {
        height: 420px;
        max-width: 400px;
    }
}