body {
  background-color: #f4f7f6;
}

li {
  list-style-type: none;
}

a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #2980b9;
}

p,
label {
  font-weight: bold;
}

menu {
  padding: 0;
}

main {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

#number_1,
#number_2,
#result {
  font-weight: bold;
}

.container-home-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 10px;
}

#btn-home-page {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2c3e50;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  padding: 10px 20px;
  margin: 15px 0 5px 0;
  transition: background-color 0.3s, transform 0.1s;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  height: 40px;
}

#btn-home-page:active {
  transform: scale(0.95);
}

#btn-home-page svg {
  margin-right: 10px;
  margin-left: 0;
  width: 30px;
  height: 30px;
}

#btn-home-page a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: white;
}

.container-definitions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.container-definitions li {
  margin: 10px 0;
}

.input-search {
  width: 100%;
  max-width: 400px;
  padding: 10px 15px;
  margin: 15px 0;
  border: 1px solid #ccc;
  border-radius: 25px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.input-search:focus {
  border-color: #333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  outline: none;
}

.input-search::placeholder {
  color: #888;
}

.container-btn-home-page {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
}

#btn-modal-save,
#btn-save-test-result,
#btn-clean,
#btn-measurement,
#btn-remove-entry {
  background-color: #27ae60;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  cursor: pointer;
  margin: 5px;
  transition: background-color 0.3s, transform 0.1s;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

#btn-calculate {
  background-color: #1e8449;
  font-weight: bold;
  border: 4px solid #145a32;
}

#btn-calculate:hover {
  background-color: #145a32;
}

.btn-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px;
}

.author {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #7f8c8d;
}

.author > p {
  font-style: italic;
  font-weight: lighter;
  font-size: small;
}

#icon-github,
#icon-facebook,
#icon-linkedin {
  cursor: pointer;
}

.social-media svg:not(:last-child) {
  margin-right: 10px;
}

.social-media svg {
  margin-right: 5px;
  transition: fill 0.3s;
}

.social-media svg:hover {
  fill: #3498db;
}

.sticky-search-container {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color: #ecf0f1;
  z-index: 1000;
  padding: 10px 0;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}
