@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Roboto, sans-serif;
}

input {
    all: unset;
    border: 1px solid grey;
}

button {
    all: unset;
    cursor: pointer;
}

.flex-container {
    padding: 10px;
    display: flex;
    flex-wrap:  nowrap;
    background-color: black;
}

.flex-container > button {
    text-transform: uppercase;
    margin-right: 20px;
    color: white;
}

.modal {
    position: fixed;
    /* Centers the modal in the middle of the screen */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    /* Transitions when shown */
    transition: 200ms ease-in-out;
    border: 1px solid black;
    border-radius: 4px;
    /* Puts the modal in front of the screen */
    z-index: 10;
    width: 500px;
    max-width: 80%;
}

.modal.active {
    /* Makes the modal appear */
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    font-size: 150%;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid grey;
}

.modal-invis {
    visibility: hidden;
}

.modal-title {
    margin-left: auto;
    margin-right: auto;
}

.modal-body {
    padding: 10px 15px;
    display: flex;
    flex-wrap: wrap;
}

.modal-row {
    width: 100%;
    padding-bottom: 10px;
}

.modal-row > input {
    width: 100%;
    margin-top: 3px;
    box-sizing: border-box;
    padding: 3px 3px;
}

.modal-row > button {
    width: 100%;
    margin-top: 10px;
    padding: 10px 0;
    background-color: lightgrey;
    border-radius: 4px;
    text-align: center;
}