* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

:root {
  font-family: "custom", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--font-color);
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;

  transition: background-color 0.3s linear, color 0.2s linear;

  overflow-x: hidden;
}

main {
  position: relative;
  padding-left: 15dvw;
  padding-right: 15dvw;
}

h1 {
  font-size: 64px;
  font-family: "custom-bold";
}

h2 {
  font-size: 32px;
  font-family: "custom-bold";
}

h3 {
  font-size: 18px;
  font-family: "custom-bold";
}

p {
  font-size: 16px;
  text-align: justify;
}

.tittle-decoration {
  position: relative;
  margin-top: 100px;
  margin-bottom: 50px;
}

.tittle-decoration::after,
.tittle-decoration::before {
  content: "";
  position: absolute;
  height: 3px;
  border-radius: 50px;
  width: calc(300px - 50%);
  background-color: var(--azul-intenso);
  top: 50%;
}

.tittle-decoration::after {
  left: 100%;
  margin-left: 15px;
}

.tittle-decoration::before {
  right: 100%;
  margin-right: 15px;
}

/* Estilo del toast */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1000;
}
.toast.show {
  opacity: 1;
}
