@import "./common/variables.css";

/*  ========================
RESETS
*/

html {
  box-sizing: border-box;
  font-size: 62.5%;
}

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

html,
body,
:root {
  height: 100%;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  border: none;
  font-family: inherit;
}

/*   =================================
GENERAL STYLES
*/

body {
  width: 100vw;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 2.6rem;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-weight: 500;
}

h1 {
  font-size: 4.8rem;
  line-height: 4.8rem;
}

h2 {
  font-size: 4rem;
  line-height: 4.8rem;
  letter-spacing: 0.2rem;
}

h3 {
  font-size: 2rem;
  line-height: 2.6rem;
  letter-spacing: 0.5rem;
}

/*   =================================
UTILS
*/

.container {
  max-width: 1111px;
  width: 95%;
  margin: 0 auto;
}

.btn-primary {
  background-color: var(--color-white);
  color: var(--color-black);
  display: inline-block;
  text-transform: uppercase;
  border-radius: 0.8rem;
  font-weight: 500;
  padding: 1.7rem 3.8rem;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0.2rem 0.3rem rgba(0, 0, 0, 0.1);
}

.btn-primary--salmon {
  background-color: var(--color-peach);
  color: var(--color-white);
}

.btn-primary:hover {
  transform: translateY(-0.3rem);
  box-shadow: 0 0.6rem 1rem rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
  transform: translateY(0.1rem);
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
}
