* {
  box-sizing: border-box;
}

body {
  font-family: 'Arial';
  display: flex;
  justify-content: center;
  background-color: #f5f6fa;
}

#main_text {
  margin-top: 50px;
}

#main_text p {
  margin: 10px;
}

#main_input {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

p:nth-child(1) {
  font-size: 40px;
}

p:nth-child(2) {
  font-size: 20px;
}

#input_name, #input_firstname, #input_ey, #input_sy {
  flex-grow: 1;
}

input, #acam {
  min-width: 40px;
	background: #fff;
	color: #002657;
	font: inherit;
	box-shadow: 0 6px 10px 0 rgba(0, 0, 0 , .1);
	border: 0;
	outline: 0;
	padding: 22px 18px;
  margin: 5px;
}

button {
  cursor: pointer;
}

.entry {
  display: flex;
  flex-direction: row;
}

.entry p {
  margin: 10px;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    background-color: #fff;
}

.styled-table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

#acam {
  text-align: center;
  cursor: pointer;
}

#acam:active {
  background-color: #EEE;
}

#acam_items {
  display: none;
  position: fixed;
  width: 40%;
  height: fit-content;
  inset: 0px;
  margin: auto;
  background-color: white;
  z-index: 99;
  border: 2px solid rgb(164, 164, 164);
  border-radius: 5px;
  box-shadow: 1px 1px 15px 1px;
  padding: 15px;
  flex-wrap: wrap;
}

.acam_item {
  padding: 10px;
  background-color: white;
}

#blur {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;
  background-color: black;
  opacity: 10%;
}

checkbox {
  display: flex;
  width: 100px;
  height: 62px;
  margin: 5px;
  box-sizing: border-box;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

#acam_items>checkbox {
  flex-grow: 1;
}

checkbox div {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 25px;
  transition: .5s ease;
}

checkbox div span {
  font-size: 15px;
  color: #3e3e3e;
}

checkbox input {
  position: absolute;
  width: 100px;
  height: 62px;
  opacity: 0;
  cursor: pointer;
}

input[type=checkbox]:checked ~ div {
  background-color: #a9e8d9;
}

#btn {
  width: auto;
  background-color: #c8dbff;
  cursor: pointer;
}

@media (max-width:760px) {
  checkbox {
    flex-grow: 1;
  }
  #wrapper {
    width: 100%;
  }
  #main_text {
    margin-top: 20px;
  }
  #acam {
    flex: 1 0 calc(100% - 10px);
  }
  #btn, #input_variance {
    flex: 0 1 calc(50% - 10px);
  }
  #acam_items {
    position: absolute;
    width: 90%;
    margin-top: 60px;
  }
  #btn {
    width: 100%;
  }
  #input_variance {
    width: calc(50% - 20px)
  }
  #data {
    overflow-y: scroll;
  }
  p:nth-child(1) {
    font-size: 30px;
  }
  p:nth-child(2) {
    font-size: 14px;
  }
}
