:root {
  --blue: #005099;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background-color: #f1f3fb;
    font-family: 'DM Sans', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.heading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--blue);
    color: white;
    margin: 10% 10% 0rem 10%;
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    border-radius: 8px 8px 0px 0px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.container {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0rem 10% 10% 10%;
    max-width: 600px;
    padding: 1rem 2rem 2rem 2rem;
    border-radius: 0px 0px 8px 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}


h1 {
    text-align: center;
}

textarea, input, select {
    display: flex;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    width: 100%;
    padding: 0.75rem 0.75rem;
    flex-direction: column-reverse;
    position: relative;
	z-index: 1;
	background-color: transparent;
	border: 2px solid #eeeeee; 
	font: inherit;
	font-size: 1.125rem;
    resize: none;
	&:focus {
		outline: 0;
		border-color: var(--blue);
		&+.input-label {
			color: var(--blue);
			transform: translateY(-1.5rem);
		}
	}
}

ul {
    list-style-type: none;
    padding: 0;
}

.display-error {
    color: red;
    font-weight: bold;
}

label {
	color: #8597a3;
	top: 1.5rem;
	transition: .25s ease;
}


.submit-button {
	font: inherit;
    color: var(--blue);
	font-size: 1.25rem;
	padding: 0.5em;
	width: 100%;
	font-weight: bold;
	background-color: inherit;
    border: 2px solid var(--blue);
    text-transform: uppercase;
	&:hover {
		background-color: var(--blue);
        color: #FFF;
	}
}

#add-user-field, #remove-user-field {
	font: inherit;
    color: var(--blue);
	padding: 0.5em;
	font-weight: bold;
	background-color: inherit;
    border: 2px solid var(--blue);
	&:hover {
		background-color: var(--blue);
        color: #FFF;
	}
}

.other-users {
    font: inherit;
    font-weight: bold;
    font-size: 1.3rem;
}

hr {
	border: 1.5px solid #eeeeee;
    margin: 1.5rem 0rem;
}