.content {
    margin-top: 4rem;
    margin-left: 1rem;
    margin-right: 1rem;
    max-width: 1300px;
    text-align: center;
}

.popup-windows {
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
    width: 15rem;
    border: gray solid 1px;
    padding: 1rem;
    box-shadow: 5px 5px gray;
}

.form-control {
    margin-bottom: 1rem;
}

.form-control input {
    font-size: 1rem;
}

.form-control input.error {
    border: red solid 2px;
    outline: none;
}

.form-control input:focus {
    border: #28af60 solid 2px;
    outline: none;
}

.menu {
    text-align: right;
}

.submit-button {
    color: white;
    background-color:  #28af60;
    padding: 0.75rem;
    border: none;
    font-size: 1rem;
    font-weight: bold;
}

.backend-error {
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    border-radius: 5px;
    padding: 0.75rem;
}

.error-message {
    margin: 0;
    color: white;
    background-color: red;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border-radius: 5px;
}

.frontend-error {
    display: none;
}

.frontend-error.show {
    display: block;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    border-radius: 5px;
    padding: 0.75rem;
}

.member {
    max-width: 1300px;
    margin: 0 1rem;
}

.modal-container {
    display: none;
}

.modal-container.show {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100vw;
    min-height: 100vh;
    z-index: 5;
}

.modal {
    width: 80%;
    max-width: 500px;
    background-color: white;
    box-shadow: grey 5px 5px;
    border: gray 1px solid;
    border-radius: 5px;
    padding: 1rem;
}

.modal-header {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}

.close-modal-button {
    background-color: red;
    color: white;
    border: none;
    border-radius: 5px;
    display: block;
    padding: 0.5rem;
}

.member-button {
    color: white;
    background-color:  gray;
    padding: 0.75rem;
    border: none;
    font-size: 1rem;
    font-weight: bold;
}

.not-member-button {
    color: white;
    background-color:  #28af60;
    padding: 0.75rem;
    border: none;
    font-size: 1rem;
    font-weight: bold;
}

/* Tablet Design */

@media(min-width: 768px) {
    .popup-windows {
        width: 25rem;
    }

    .form-control label {
        width: 7rem;
        display: inline-block;
    }
}

/* Desktop design */

@media(min-width: 992px) {
    .content {
        margin-left: auto;
        margin-right: auto;
    }
}