* {
  box-sizing: border-box;
}
.icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #007bbf;
  padding: 32px;
  height: 138px;
}
.permIcon {
  position: absolute;
  top: -1%;
  left: 45%;
}
#btnIcon {
  width: 47px;
  height: 49px;
  background: none;
}
body {
  padding-top: 4px;
  margin: 0;
  height: 100%;
  font-family: "Libertinus Math", cursive;
  background-color: #007bbf;
}
html {
  padding-top: 4px;
  margin: 0;
  height: 100%;
  font-family: "Libertinus Math", cursive;
}

.wrapper {
  display: flex;
  height: 100%;
  margin-bottom: 20px;
  margin-left: 10px;
  margin-right: 10px;
}

.section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  color: rgb(4, 0, 255);
  font-size: 1.7rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.section.inactive {
  filter: brightness(0.7);
}

.section.active {
  filter: none;
}

.data {
  background-color: #007bbf;
  border-radius: 10px;
}
.traje {
  background-color: #00a3e8;
  border-radius: 10px;
}
.presente {
  background-color: #6ec6ff;
  border-radius: 10px;
}
.presenca {
  background-color: #b3e5fc;
  border-radius: 10px;
}

.content {
  position: absolute;
  top: 32%;
  left: 10%;
  right: 10%;
  background: #007bbf;
  padding: 30px;
  border: 1px solid #004eb4;
  border-radius: 15px;
  text-align: center;
  font-size: 1.5rem;
  color: rgb(0, 0, 0);
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  text-align: left;
}

input,
select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #000;
  border-radius: 8px;
  font-size: 1rem;
}

button {
  margin-top: 25px;
  width: 100%;
  padding: 12px;
  background-color: hsl(199, 96%, 82%);
  color: #000000;
  font-weight: bold;
  border: 2px solid rgb(141, 219, 255);
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background-color: #005f91;
}

@media (max-width: 768px) {
  .content {
    top: 20%;
    left: 10%;
    padding: 10px;
    margin: 34px;
  }
  .icon {
    height: 1px;
    padding: 0px;
  }
  .permIcon {
    padding: 0px;
    top: 1%;
    left: 30%;
  }
  .wrapper {
    flex-direction: row;
    writing-mode: vertical-rl; /* ou vertical-lr */
    text-orientation: upright; /* mantém as letras em pé */
  }
  .section {
    font-size: 1.2rem;
    padding: 15px;
  }
  .presenca,
  .data,
  .presente,
  .traje {
    border-radius: 0px;
  }
}
