@font-face {
  font-family: regular;
  src: url(/fonts/regular.ttf?673965c55e0656d563fb1ff8200bbf86);
}

@font-face {
  font-family: hand;
  src: url(/fonts/hand.ttf?76097af968e5c01cc4cf0a27402a6017);
}

@font-face {
  font-family: grand-hotel;
  src: url(/fonts/grand-hotel.otf?12b13e1fb62fe03b9039600c319d52b9);
}

html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: regular;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 20vw;
  background-color: #02222d;
  color: white;
  overflow-y: scroll;
}

.sidebar hr {
  color: #b30b0b;
}

.sidebar ul {
  padding: 0;
  margin: 0;
}

.sidebar ul li {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.sidebar ul li a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 3% 6% 3% 15%;
}

.sidebar ul li a:hover {
  transition: 600ms;
  background-color: #21d0b8;
}

.content {
  width: 80vw;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
}

.form input[type=text],
.form input[type=date],
.form input[type=email],
.form input[type=password] {
  border: 1px solid #3adda2;
  width: 70%;
  height: 30px;
  border-radius: 3px;
  padding-left: 5px;
}

.form input[type=text]:focus,
.form input[type=date]:focus,
.form input[type=email]:focus,
.form input[type=password]:focus {
  outline: none;
  transition: 300ms;
  border: 1px solid #22cff4;
  box-shadow: 0 0 3px #15afcb;
}

.form input[type=date] {
  text-align: center;
}

.form input[type=submit] {
  border-radius: 5px;
  background-color: #3adda2;
  color: white;
  width: 60%;
  height: 30px;
  font-size: 100%;
  display: block;
  border: none;
  margin: 10% auto;
}

.form input[type=submit]:hover {
  cursor: pointer;
  opacity: 0.8;
}

.crudForm {
  display: block;
  margin: 1% auto;
  width: 50vw;
}

.crudForm table {
  width: 100%;
}

.crudForm td:first-child {
  width: 30%;
}

.crudForm input[type=text],
.crudForm input[type=date],
.crudForm input[type=number],
.crudForm input[type=password] {
  border: 1px solid #3adda2;
  width: 90%;
  height: 30px;
  border-radius: 3px;
  padding-left: 5px;
}

.crudForm input[type=text]:focus,
.crudForm input[type=date]:focus,
.crudForm input[type=number]:focus,
.crudForm input[type=password]:focus {
  outline: none;
  transition: 300ms;
  border: 1px solid #22cff4;
  box-shadow: 0 0 3px #15afcb;
}

.crudForm input[type=date] {
  text-align: center;
}

.crudForm input[type=submit] {
  border-radius: 5px;
  background-color: #3adda2;
  color: white;
  width: 60%;
  height: 30px;
  font-size: 100%;
  display: block;
  border: none;
  margin: 10% auto;
}

.crudForm input[type=submit]:hover {
  cursor: pointer;
  opacity: 0.8;
}

.crudForm select {
  width: 90%;
}

.formErrors {
  padding: 10%;
  color: red;
  font-size: 120%;
}

.list {
  position: relative;
  top: 10px;
  right: 10px;
  width: 78vw;
  margin-left: 21vw;
}

.list tr td,
.list tr th {
  padding: 10px;
  border-bottom: 1px dashed gray;
  border-right: 1px dashed gray;
}

.listPage {
  margin: 20px 0 0 20vw;
  width: 78vw;
  text-align: center;
}

.listPage .pageElement {
  border: none;
}

.listPage li {
  display: inline-block;
}

.listPage li .currentPage {
  background: #3adda2;
}

.listPage li a {
  padding: 10px;
  background: #15afcb;
  border-radius: 5px;
  color: white;
  text-decoration: none;
}

.listPage li a:hover {
  background: #22cff4;
  transition: 600ms;
}

.delete {
  display: block;
  margin: auto;
  min-width: 80%;
  text-align: center;
  border: none;
  border-radius: 5px;
  background-color: #f50b4c;
  color: white;
  padding: 10%;
}

.delete:hover {
  cursor: pointer;
  opacity: 0.7;
  transition: 600ms;
}

.sponsorButton {
  display: block;
  margin: auto;
  min-width: 80%;
  text-align: center;
  border: none;
  border-radius: 5px;
  background-color: #15afcb;
  color: white;
  padding: 6%;
  text-decoration: none;
}

.sponsorButton:hover {
  cursor: pointer;
  opacity: 0.7;
  transition: 600ms;
}

.editButton {
  display: block;
  margin: auto;
  min-width: 80%;
  text-align: center;
  border: none;
  border-radius: 5px;
  background-color: #3adda2;
  color: white;
  padding: 6%;
  text-decoration: none;
}

.editButton:hover {
  cursor: pointer;
  opacity: 0.7;
  transition: 600ms;
}

