* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
  background: url(../../images/mainBG.jpg) center center/cover fixed;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
}
/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow: -moz-scrollbars-none;
}
body {
  height: 100vh;
  min-width: 320px;
  max-width: 1024px;
  width: 100%;
  margin: 0 auto;
  clear: both;
}
.pagebody {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  border-radius: 0 0 10px 10px;
  background-color: rgba(255, 255, 255, 0.616);
  box-sizing: border-box;
}
.pagetitle {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
}
.content {
  background-color: #f2f2f2;
  padding: 20px;
  border-radius: 4px;
}
.adminPanelButton,
.greenButton {
  background-color: #4caf50;
}
.redButton {
  background-color: #af4c4c;
}
.adminPanelButton,
.greenButton,
.redButton {
  width: 150px;
  height: 30px;
  text-align: center;
  margin: 10px;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.adminPanelButton:hover,
.greenButton:hover {
  background-color: #3e8e41;
}
.redButton:hover {
  background-color: #8e3e3e;
}
.greenLayout,
.redLayout {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}
.greenLayout div,
.redLayout div {
  width: 200px;
  margin: 5px 0;
}
.searchFilter form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  flex-direction: row;
  margin-bottom: 5px;
}
#searchButton,
.searchButton {
  background-color: #007bff;
  border: none;
  color: #fff;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}
#searchButton:hover,
.searchButton:hover {
  background-color: #0069d9;
}
#searchEvent,
#searchUser {
  max-width: 200px;
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  margin: 0;
}
legend {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}
label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
}
input[type="date"],
input[type="file"],
input[type="number"],
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="time"],
select,
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
textarea {
  height: 200px;
  resize: vertical;
}
@media screen and (max-width: 768px) {
  .pagetitle {
    font-size: 24px;
  }
  .greenLayout,
  .redLayout {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
}
