html, body{
    padding: 0px;
    margin: 0px;
    font-family: "Open Sans", Helvetica, sans-serif;   
}

*{
    box-sizing: border-box;
    outline: none !important;
}

body{
    background-color: #cadeef;
    color: black;
}

body.dark{
    background-color: #202629;
    color: white;
}

a{
    text-decoration: none;
    color: inherit;
}
a:hover{
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6{
    margin: 0px;
    padding: 0px;
}

button{
    background-color: orange;
    border-radius: 3px;
    color: white;
    padding: 5px 15px;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    width: fit-content;
}
button:hover{
    background-color: rgb(172, 112, 1);
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="number"],
textarea,
select{
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #c3c3c3;
    transition: border-color 0.5s;
    font: inherit;
}
input[type="text"]:hover,
input[type="password"]:hover,
input[type="date"]:hover,
input[type="number"]:hover,
textarea:hover,
select:hover{
    border-color: grey;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}
.switch input:checked + .slider {
  background-color: #2196F3;
}
.switch input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}
.switch input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.checkbox {
  display: inline-block;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}
.checkbox:hover input ~ .checkmark {
  background-color: #ccc;
}
.checkbox input:checked ~ .checkmark {
  background-color: #2196F3;
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.checkbox input:checked ~ .checkmark:after {
  display: block;
}
.checkbox .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

table {
  border-collapse: collapse;
  width: 100%;
}
td, th{
  padding: 8px;
  border: 1px solid black;
}
body.dark td, body.dark th {
  border: 1px solid #ddd;
}
th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #2e3138;
  color: white;
}
