* {
  padding: 0;
  margin: 0;
  font-family: Ubuntu, Helvetica, sans-serif;
}

a {
  text-decoration: none;
  color: black;
}

body {
  height: 100vh;
}

header {
  background: #222128;
  border-bottom: 1px solid #e1e1e1;
  height: 50px;
  width: 100vw;
  position: fixed;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  top: 0;
}

main {
  height: calc(100vh - 50px);
  transform: translateY(50px);
}

#header-title-container {
  width: 350px;
  height: 100%;
  background: #19181c;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#header-left {
  display: flex;
}

#header-title {
  color: #f43333;
  font-size: 30px;
}

#header-navigation {
  display: flex;
  align-items: center;
  margin-left: 20px;
  overflow-x: hidden;
}

.header-nav-link {
  color: white;
}

.header-nav-arrow {
  color: #b3b3b3;
  margin: 10px;
  font-weight: bold;
  font-size: 20px;
}

/* header user info */
#header-user-info {
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 0 10px;
  cursor: pointer;
  margin-right: 5px;
}

#header-user-info-name {
  text-align: right;
  font-weight: bold;
  font-size: 20px;
  color: white;
}

#header-user-info-role {
  text-align: right;
  font-weight: bold;
  font-size: 12px;
}

#header-logout {
  display: none;
  position: absolute;
  right: 0px;
  top: 50px;
  padding: 5px 30px;
  border-left: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  border-top: 1px solid #838383;
  font-weight: bold;
  color: #9e9da2;
  background: #222128;
}

/* loading animation */
#loading-circle {
  height: 20px;
  width: 20px;
  background: transparent;
  border-top: 2px solid white;
  border-bottom: 2px solid white;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  border-radius: 50%;
  animation: 1s loadingButton linear infinite;
}

@keyframes loadingButton {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* header message */
#header-message-container {
  display: flex;
  position: absolute;
  justify-content: center;
  width: 100vw;
  transform: translateY(60px);
}

#header-message {
  height: 40px;
  display: none;
  justify-content: space-around;
  align-items: center;
  border-radius: 10px;
}

#header-message-text {
  margin-left: 15px;
  margin-right: 20px;
  color: white;
}

#header-message-hide {
  margin-right: 15px;
  cursor: pointer;
  color: #000000;
}

/* leadership override */
#leadership-override-container {
  justify-content: center;
  align-items: center;
  height: 100%;
  z-index: 19;
  display: none;
  position: absolute;
  width: 100vw;
  top: 0;
}

#leadership-override-form {
  width: 400px;
  border-radius: 40px;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  box-shadow: 0 0 7px #222128;
  background: #222128;
  display: flex;
}

@keyframes fadeInDown {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-in-down {
  animation: fadeInDown 100ms linear 0s 1 normal forwards;
}

.fade-out-up {
  animation: fadeInDown 100ms linear 0s 1 reverse forwards;
}

#leadership-override-icon {
  font-size: 100px;
}

#leadership-override-title {
  color: #f9f9f9;
  font-size: 40px;
  margin-top: 10px;
}

#leadership-override-subtitle {
  font-size: 15px;
  margin-top: 5px;
  color: #cacaca;
}

#leadership-override-reason {
  color: #ffffff;
}

#leadership-override-username-container, #leadership-override-password-container {
  margin: 20px;
  display: flex;
  flex-direction: column;
}

#leadership-override-username-label, #leadership-override-password-label {
  margin-bottom: 3px;
  font-family: 10px;
  font-weight: 500;
  color: #f43333;
}

#leadership-override-username, #leadership-override-password {
  font-size: 20px;
  width: 300px;
  padding: 12px;
  border: 1px solid #e1e1e1;
  outline: none;
  border-radius: 17px;
}

#leadership-override-username:focus, #leadership-override-password:focus {
  box-shadow: 0 0 5px white;
}

#leadership-override-submit {
  font-size: 20px;
  padding: 10px 10px;
  border-radius: 10px;
  background: #f43333;
  color: white;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 0 5px #f43333;
  border: none;
  transition: background 500ms;
}

#leadership-override-submit:hover {
  background: #df0808;
}

#leadership-override-exit {
  position: absolute;
  color: #cacaca;
  font-size: 25px;
  font-weight: bold;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

.popup-container {
  display: none;
  justify-content: center;
  align-items: center;
  height: 100%;
  z-index: 10;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  background: #00000044;
}

.popup {
  width: 400px;
  border-radius: 40px;
  padding: 30px;
  box-shadow: 0 0 5px #222128;
  background: white;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-title {
  color: #f43333;
  font-size: 35px;
}

.popup-subtitle {
  font-size: 20px;
  margin-bottom: 10px;
}

.popup-exit {
  position: absolute;
  color: #cacaca;
  font-size: 25px;
  font-weight: bold;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

input[type=text], input[type=number], input[type=date] {
  font-size: 20px;
  width: 300px;
  padding: 12px;
  border: 1px solid #e1e1e1;
  outline: none;
  border-radius: 17px;
  background: 500ms;
}

input[type=text]:focus, input[type=number]:focus, input[type=date]:focus {
  box-shadow: 0 0 5px #cbcbcb;
}

input[type=text]:disabled, input[type=number]:disabled, input[type=date]:disabled {
  background: #f2f2f2;
}

button, input[type=submit] {
  font-size: 20px;
  padding: 7px 12px;
  border-radius: 10px;
  background: #19181c;
  color: white;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 0 7px #b0b0b0;
  border: none;
  transition: background 500ms;
}

button:hover, input[type=submit]:hover {
  background: #3c3b4b;
}