/* LAYOUT */
@import url("layout/header.css");
@import url("layout/footer.css");
@import url("layout/breadcrumb.css");
@import url("layout/banner.css");
@import url("layout/title.css");
@import url("layout/errors.css");

/* COMPONENTS */
@import url("components/form.css");
@import url("components/buttons.css");
@import url("components/accordion.css");
@import url("components/marquee.css");
@import url("components/tabs.css");
@import url("components/tooltip.css");
@import url("components/password-toggler.css");
@import url("components/services-card.css");
@import url("components/lessons-card.css");
@import url("components/article-card.css");

/* VIEWS */
@import url("views/homepage.css");
@import url("views/articles.css");
@import url("views/therapies.css");
@import url("views/books.css");
@import url("views/lessons.css");
@import url("views/about-us.css");
@import url("views/contact-us.css");

/* ============================================== */
/* ==================== FONTS =================== */
/* ============================================== */

@font-face {
  font-family: "Montserrat";
  font-weight: 100;
  src: url("../fonts/Montserrat/Montserrat-Thin.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-weight: 200;
  src: url("../fonts/Montserrat/Montserrat-ExtraLight.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-weight: 300;
  src: url("../fonts/Montserrat/Montserrat-Light.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-weight: 400;
  src: url("../fonts/Montserrat/Montserrat-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-weight: 500;
  src: url("../fonts/Montserrat/Montserrat-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-weight: 600;
  src: url("../fonts/Montserrat/Montserrat-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-weight: 700;
  src: url("../fonts/Montserrat/Montserrat-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-weight: 800;
  src: url("../fonts/Montserrat/Montserrat-ExtraBold.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-weight: 900;
  src: url("../fonts/Montserrat/Montserrat-Black.ttf") format("truetype");
}

/* ============================================== */
/* ================== VARIABLES ================= */
/* ============================================== */

:root {
  color-scheme: only light;
  --container: 1320px;
  --small-spacing: 2rem 0;
  --regular-spacing: 4rem 0;
  --large-spacing: 6rem 0;
  --app-dark: #000000;
  --app-light: #ffffff;
  --app-white-1: #f3f4f6;
  --app-white-2: #f1f5f9;
  --app-black-1: #262626;
  --app-black-2: #161c2d;
  --app-black-3: #1f2937;
  --app-blue-1: #2d3e50;
  --app-blue-2: #002d69;
  --app-blue-3: #0f172a;
  --app-grey-1: #73787c;
  --app-grey-2: #d1d5db;
  --app-grey-3: #94a3b8;
  --app-grey-4: #c8c8c8;
  --app-grey-5: #efecf2;
  --app-grey-6: #e1e1e1;
  --app-purple-1: #7c3aed;
  --app-purple-2: #df90e7;
  --app-purple-3: #b279b8;
  --app-purple-4: #f2e5fd;
  --app-yellow-1: #ffbe35;
  --transparent: rgba(0, 0, 0, 0);
  --transition: cubic-bezier(0.42, 0, 0.58, 1);
  --letter-spacing-large: 3px;
  --font-80: 5rem;
  --font-60: 3.75rem;
  --font-58: 3.625rem;
  --font-50: 3.125rem;
  --font-48: 3rem;
  --font-46: 2.875rem;
  --font-44: 2.75rem;
  --font-40: 2.5rem;
  --font-36: 2.25rem;
  --font-34: 2.125rem;
  --font-32: 2rem;
  --font-30: 1.875rem;
  --font-28: 1.75rem;
  --font-26: 1.625rem;
  --font-24: 1.5rem;
  --font-22: 1.375rem;
  --font-20: 1.25rem;
  --font-18: 1.125rem;
  --font-16: 1rem;
  --font-14: 0.875rem;
  --font-12: 0.75rem;
  --line-30: 1.875rem;
  --line-26: 1.625rem;
  --line-20: 1.25rem;
  --col-2: repeat(6, 1fr);
  --col-5: repeat(5, 1fr);
  --col-3: repeat(4, 1fr);
  --col-4: repeat(3, 1fr);
  --col-6: repeat(2, 1fr);
  --col-12: repeat(1, 1fr);
  --w-25: 25%;
  --w-33: calc(100% / 3);
  --w-50: 50%;
  --w-66: calc(100% / 3 * 2);
  --w-100: 100%;
}

/* ============================================== */
/* ================== RESET CSS ================= */
/* ============================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  font-variant-numeric: tabular-nums;
}

body {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  line-height: normal;
}

p,
span {
  line-height: var(--line-26);
}

a,
p,
span {
  font-size: var(--font-16);
  font-weight: 400;
}

ul,
ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
}

button,
input,
select,
textarea {
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0;
  outline: none;
}

input[type="number"] {
  appearance: textfield;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
}

figure {
  margin: 0;
  unicode-bidi: unset;
}

/* ============================================== */
/* ================== MAIN CSS ================== */
/* ============================================== */

.app {
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track-piece {
  background: var(--emar-light);
}

::-webkit-scrollbar-track {
  background: var(--emar-white-2);
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: var(--emar-blue);
}

::-webkit-scrollbar-thumb:hover {
  opacity: 0.7;
}

.app-container {
  padding: 0 1rem;
  max-width: var(--container);
  margin: 0 auto;
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 5px;
  padding: 1rem;
}

.alert-box.success {
  background: rgb(0, 207, 110);
}

.alert-box.error {
  background: rgb(242, 61, 61);
}

.alert-box > .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-box > .icon > svg {
  fill: var(--app-light);
}

.alert-box > p {
  color: var(--app-light);
  font-size: var(--font-18);
  text-transform: uppercase;
  font-weight: 500;
}

@keyframes opacity {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ============================================== */
/* ================ ROOT QUERIES ================ */
/* ============================================== */

@media (max-width: 1600px) {
  :root {
    --font-60: 3.375rem;
    --font-50: 2.75rem;
    --font-48: 2.625rem;
    --font-46: 2.5rem;
    --font-40: 2.25rem;
    --font-36: 2rem;
    --font-30: 1.75rem;
    --font-24: 1.375rem;
    --font-20: 1.125rem;
    --font-18: 1rem;
    --line-30: 1.75rem;
    --line-26: 1.5rem;
  }
}

@media (max-width: 1400px) {
  :root {
    --container: 1180px;
    --font-60: 3rem;
    --font-50: 2.375rem;
    --font-48: 2.25rem;
    --font-46: 2.125rem;
    --font-40: 2rem;
    --font-36: 1.75rem;
    --font-30: 1.625rem;
    --font-24: 1.25rem;
    --line-30: 1.625rem;
    --line-26: 1.375rem;
  }
}

@media (max-width: 1200px) {
  :root {
    --font-60: 2.625rem;
    --font-50: 2.125rem;
    --font-48: 2rem;
    --font-46: 1.875rem;
    --font-40: 1.75rem;
    --font-36: 1.625rem;
    --font-30: 1.5rem;
    --font-24: 1.125rem;
    --font-20: 1rem;
    --font-16: 0.875rem;
    --font-14: 0.75rem;
    --line-30: 1.5rem;
    --line-26: 1.25rem;
  }
}

@media (max-width: 992px) {
  :root {
    --font-60: 2.25rem;
    --font-50: 2rem;
    --font-48: 1.875rem;
    --font-46: 1.75rem;
    --font-40: 1.625rem;
    --font-36: 1.5rem;
    --font-30: 1.375rem;
    --line-30: 1.375rem;
    --line-26: 1.125rem;
    --large-spacing: 4rem 0;
    --regular-spacing: 2rem 0;
  }
}

@media (max-width: 576px) {
  :root {
    --font-60: 2rem;
    --font-50: 1.875rem;
    --font-48: 1.75rem;
    --font-46: 1.625rem;
    --font-40: 1.5rem;
    --font-36: 1.375rem;
    --font-30: 1.25rem;
  }
}
