@import url("root.css");

/* MAIN CODE */
*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* outline: 2px solid orange; */
}

html {
  font-size: 62.5%;
}

body {
  font-family: var(--roboto);
  position: relative;
}

.span-purple-text {
  color: var(--purple);
}

.title-section {
  font-size: var(--title-section);
  text-align: center;
  font-weight: bold;
}

.spl-section {
  padding: 94px 50px;
}

.title {
  font-family: var(--raleway);
  font-size: clamp(4rem, 7vw, 7.2rem);

}

.subtitle {
  font-size: clamp(3.2rem, 5vw, 7rem);
  font-family: var(--roboto);

}

/* ::selection {
  background-color: #8374f972;
  color: #FFF;
} */

.btn-contact {
  position: relative;
  display: block;
  margin-top: 30px;
  background-color: var(--purple);
  padding: 12px;
  /* max-width: 60%; */
  font-size: 1.6rem;
  color: var(--white);
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  z-index: 1;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-contact::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--btn-hover);
  border-radius: 6px;
  z-index: -1;
  transform: translateX(-100%);
  transition: transform 0.3s linear;
}

.btn-contact:hover::after {
  transform: translateX(0);
}