@font-face {
  font-family: "RobotoRegular";
  src: url("/fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'RobotoRegular', sans-serif;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/*=============================================
Modal
=============================================*/
.contenedor_modal {
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: -1;
}

.contenedor_modal button {
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  padding: 14px 22px;
  border: none;
  background: #212529;
  border-radius: 6px;
  cursor: pointer;
}

.contenedor_modal button:hover {
  background-color: #595959;
}

.contenedor_modal button.show-modal,
.modal-box {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.contenedor_modal.active {
  z-index: 100000;
}

.contenedor_modal.active .show-modal {
  display: none;
}

.overlay-modal {
  position: fixed;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
}

.contenedor_modal.active .overlay-modal {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 380px;
  width: 100%;
  padding: 30px 20px;
  border-radius: 24px;
  background-color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%) scale(1.2);
}

.contenedor_modal.active .modal-box {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal-box i {
  font-size: 70px;
  color: #212529;
}

.modal-box img {
  max-width: 70px;
  color: #212529;
}

.modal-box h2 {
  margin-top: 20px;
  font-size: 25px;
  font-weight: 500;
  color: #333;
}

.modal-box h3 {
  font-size: 19px;
  font-weight: 400;
  color: #000;
  text-align: center;
  padding: 0.7rem;
}

.modal-box p {
  font-size: 15px;
  font-weight: 400;
  color: #000;
  text-align: center;
}

.modal-box p a {
  color: #000;
  text-decoration: none;
  color: #212529;
  text-transform: 600;
  font-weight: bold;
}

.modal-box .buttons {
  margin-top: 25px;
}

.modal-box button {
  font-size: 17px;
  padding: 6px 12px;
  margin: 0 10px;
}
