* {
  box-sizing: border-box !important;
}

body {
  width: 100vw;
  height: 100vh;
  margin: 0;
}

/* usually used in a flex display anyways */
h1, h2, h3, h4 {
  margin: 0;
}

input {
  outline: 0;
  font-size: 1rem;
  box-sizing: border-box;
}

button {
  cursor: pointer;
  font-size: 1rem;
  box-sizing: border-box;
}

.centered-children, .centered-vertically, .centered-horizontally {
  display: flex;
}

.centered-vertically, .centered-children {
  align-items: center;
}

.centered-horizontally, .centered-children {
  justify-content: center;
}

.border {
  border: solid 1px black;
}

.gap {
  height: 0.5rem;
}

.break {
  height: 1rem;
}
  
.modal-background {
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  left: 0;
  top: 0;
}

.modal {
  width: 30rem;
  padding: 1rem;
  box-sizing: border-box;
  z-index: 9999;
}

@keyframes fade-in {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fade-out {
  from {opacity: 1;}
  to {opacity: 0;}
}

@keyframes move-up {
  from {margin-top: 100vh;}
  to {margin-top: 0;}
}

@keyframes move-down {
  from {margin-top: 0;}
  to {margin-top: 100vh;}
}

.horizontal-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vertical-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
