/* Colors to use
Color 1 #DCF2F1
Color 1 #7FC7D9
Color 1 #365486 
  Tins: #4a6592
Color 1 #0F1035

*/

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  /* 1 rem = 10px  */
  /* font-size: 10px; */
  /* 10px / 16px = 0.625 = 62.5% */
  /* Percentage of user's browser font-size setting */
  font-size: 62.5%;

  /* Si in html */
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Euclid Circular A", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #0f1035;

  /* Pentru animatia cu meniul pentru mobil */
  /* Only works if there is nothing absolutely positioned in relation to body */

  /* Does NOT work on Safari */
  /* overflow-x: hidden; */
}

/************************/
/* GENERAL REUSABLE COMPONENTS */
/************************/

.container {
  /* Valoarea standard: 1200px */
  /* Alta valoare pe care o putem folosi: 1140px */
  max-width: 120rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  column-gap: 6.4rem;
  row-gap: 9.6rem;

  /* margin-bottom: 9.6rem; */
}

/* .grid:last-child {
    margin-bottom: 0;
  } */

/* SAU */

/* Adaugam margin-bottom mai putin ultimului element */
.grid:not(:last-child) {
  margin-bottom: 9.6rem;
}

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
}

.grid--5-cols {
  grid-template-columns: repeat(5, 1fr);
}

.grid--center-v {
  align-items: center;
}

.heading-primary,
.heading-secondary,
.heading-tertiary {
  font-weight: 700;
  margin-bottom: 3.2rem;
  color: #222;
}

.heading-primary {
  font-size: 4.4rem;
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.heading-secondary {
  font-size: 4.4rem;
  line-height: 1.2;
  margin-bottom: 9.6rem;
}

.heading-tertiary {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 3.2rem;
}

.subheading {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  color: #cf711f;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  letter-spacing: 0.75px;
}

.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;

  font-size: 1.8rem;
  padding: 1.2rem 2.4rem;
  border-radius: 9px;

  /* Only necessary for .btn */
  border: none;
  cursor: pointer;
  font-family: inherit;

  transition: all 0.3s;
}

.btn--full:link,
.btn--full:visited {
  background-color: #4a6592;
  color: #fff;

  /* add animation for button */
  /* ❗ Put transition on original state */
  transition: all 0.3s;
}

.btn--full:hover,
.btn--full:active {
  background-color: #cf711f;
  color: #fff;
}

.btn--outline:link,
.btn--outline:visited {
  color: #365486;
  box-shadow: inset 0 0 0 2px #365486;
}

.btn--outline:hover,
.btn--outline:active {
  /* border: 1px solid #333; */

  /* trick to add border inside */
  color: #4a6592;
  box-shadow: inset 0 0 0 2px #4a6592;
}

/* HELPER/SETTINGS CLASSES */

.margin-right-sm {
  margin-right: 1.6rem !important;
}

.margin-bottom-sm {
  margin-bottom: 1.6rem !important;
}

.margin-bottom-md {
  margin-bottom: 4.8rem !important;
}

.margin-top-md {
  margin-top: 4.8rem !important;
}

.center-text {
  text-align: center;
}

strong {
  font-weight: 500;
}

.display-flex-gap-1-2 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.font-family {
  font-family: "Euclid Circular A", sans-serif !important;
}

.align {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 1rem !important;
}
