/* Global variables */
:root {
  /* Font-family */
  --theme-font: "Bricolage Grotesque", sans-serif;
  --family-inter: "Inter", sans-serif;

  /* Font-sizes */
  --font-size-alfa: 14px;
  --font-size-beta: 16px;
  --font-size-gamma: 18px;
  --font-size-delta: 20px;
  --font-size-ezra: 22px;
  --font-size-epsilon: 24px;
  --font-size-zeta: 32px;
  --font-size-kappa: 42px;
  --font-size-eta: 48px;
  --font-size-theta: 64px;
}


/* Settings */

body.logged-in {
  background-color: #222225;
}

html,
body,
main {
  padding: 0;
  margin: 0;
  font-family: var(--theme-font);
  color: var(--color-black);
  background: #f6f6f6;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

/* Titles & Texts */
h1,
h2,
h3,
h4,
p,
a,
strong,
span {
  font-family: var(--theme-font);
  padding: 0;
  margin: 0;
  -webkit-font-feature-settings: "lnum";
  -moz-font-feature-settings: "lnum";
  font-feature-settings: "lnum";
}

.text-purple {
  color: #6b3a8e;
}

/* Buttons */
.digbutton-outline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 16.8px;
  text-align: left;
  color: #6b3a8e;
  text-decoration: none;

  border: 1px solid #6b3a8e;
  padding: 10px 12px;
  border-radius: 8px;
  transition: all 0.3s;

  display: flex;
  align-items: center;
  gap: 8px;
  max-width: fit-content;
}

/* Change color of svg on hover with filter */
.digbutton-outline:hover svg {
  filter: invert(1) saturate(0) contrast(10);
}

.digbutton-outline:hover {
  background-color: #6b3a8e;
  color: #fff;
  cursor: pointer;
}

.digbutton-purple {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background-color: #6b3a8e;
  padding: 12px;
  border-radius: 8px;
  display: block;
  text-decoration: none;
  max-width: fit-content;

  display: flex;
  align-items: center;
  gap: 8px;

  transition: all 0.3s;
}

.digbutton-purple:hover {
  background-color: #4a1f5d;
  cursor: pointer;
}

/* Titles */
.title-h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 38.4px;
  text-align: left;

}

body,
body.front-page.logged-in {
  font-family: var(--theme-font);
  background-color: #fff;
}

/* Header */
header {
  background-color: #522676;
  color: #fff;
  padding: 20px 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

header .container {
  width: 100%;
}

header .container .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header nav {
  display: flex;
  align-items: center;
}

header nav ul {
  display: flex;
  align-items: center;
}

header nav ul li {
  list-style: none;
  margin-right: 20px;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  font-size: 14px;
}

header nav ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
}

header nav ul li a.active {
  background-color: #6b3a8e;
  padding: 13px;
  border-radius: 8px;
}

.header__end {
  display: none;
}

.header__user a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.header__user div p {
  font-weight: 100;
}

.header__user__image {
  border-radius: 100%;
  overflow: hidden;
  margin-right: 10px;
  border: 1px solid #fff;
}

.header__user__login {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px;
  border-radius: 8px;
  display: block;
  text-decoration: none;
  max-width: fit-content;

  display: flex;
  align-items: center;
  gap: 8px;

  transition: all 0.3s;
}

.header__user__login:hover {
  background-color: #4a1f5d;
  border: 1px solid #4a1f5d;
  cursor: pointer;
}

header .header__user__logged--mobile {
  display: none;
}

header .menu__toggle svg {
  display: none;
  width: 50px;
  height: 50px;
  filter: invert(1);
  position: relative;
}

.header__logged__mobile {
  display: none;
}

@media (max-width: 992px) {
  .header__end {
    display: initial;
  }

  header {
    padding: 20px 0;
  }

  .header .menu__toggle svg {
    display: block;
    z-index: 11;
  }

  header nav ul {
    display: none;
  }

  header .header__nav--open ul {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #522676;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 60px;
    z-index: 10;
  }

  header .header__nav--open ul li {
    margin: 0;
  }

  header nav ul li a {
    font-size: 18px;
  }

  /* disable body scroll if header__nav--open */
  body.nav--open {
    overflow: hidden;
  }

  .header__user {
    display: none;
  }

  .header__logged__mobile {
    display: block;
  }
}

/* Header Search */
.header__search {
  position: relative;
}

.header__search svg {
  position: absolute;
  left: 16px;
  top: 15px;
  bottom: 0;
  cursor: pointer;
}

.header__search input {
  background-color: transparent;
  padding: 13px 12px;
  border: none;
  font-size: 14px;
  border-radius: 8px;
  color: #fff;
  max-width: 0;
  padding-left: 40px;
  visibility: hidden;
  transition: all 0.3s;
}

.header__search .search--open {
  background-color: #6B3A8E;
  max-width: 250px;
  /* width: 230px */
  visibility: initial;
}





/* ## 1.1 Header Transparent ## */
.header__transparent {
  background-color: transparent;
  position: relative;
  z-index: 1;

  border-bottom: 1px solid #ffffff30;
}

.header__transparent .header__user__login {

  background-color: #6b3a8e;
  border: none;

  transition: all 0.3s;
}

.header__transparent .header__user__login:hover {
  background-color: #4a1f5d;
  cursor: pointer;
}

/* ## 2. Footer ## */

/* Geral */
footer {
  margin-top: 30px;
}

footer hr {
  opacity: 0.1;
  height: 1px;
  border: none;
  margin-bottom: 32px;
}

/* Footer Head */
.footer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 34px;
}

.footer__head__social {
  display: flex;
  align-items: center;
  gap: 19px;
}

.footer__head__social a {
  text-decoration: none;
  display: block;
}

/* Footer content */
.footer__content {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.footer__content :is(h3, p, a) {
  font-family: var(--theme-font);
}

.footer__content__item:not(:last-child) {
  margin-bottom: 28px;
}

.footer__content__item p {
  font-size: var(--font-size-beta);
  color: var(--oath);
  line-height: 24px;
}

.footer__content__item h3 {
  font-size: var(--font-size-gamma);
  font-weight: 600;
  color: #111344;
  margin-bottom: 16px;
}

.footer__content__item .menu-item-has-children>a {
  font-size: var(--font-size-gamma);
  font-weight: 600;
  color: #111344 !important;
  margin-bottom: 16px;
}

.footer__content__item a {
  font-size: var(--font-size-beta);
  color: var(--oath);
  text-decoration: none;
}

.footer__content__item li {
  margin-bottom: 12px;
}

.footer__content__item li:last-child {
  margin-bottom: 0;
}

.footer__content__item span {
  display: block;
  margin-bottom: 5px;
}

@media (max-width: 492px) {
  .footer__content__item p {
    text-align: center;
  }
}

/* Footer end */
.footer__end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 34px 0 24px 0;
  color: #A2ACBD;
  font-size: var(--font-size-alfa);
}

.footer__end .attri {
  display: flex;
  align-items: center;
  gap: 5px;
}

@media screen and (max-width: 768px) {

  /* Footer head */
  .footer__head {
    flex-direction: column;
    gap: 20px;
  }

  /* Footer content */
  .footer__content {
    grid-template-columns: 1fr;
  }

  .footer__content__col {
    display: none;
  }

  .footer__content__info,
  .footer__content__description {
    display: grid;
  }

  .footer__content__info {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer end */
  .footer__end {
    flex-direction: column;
    gap: 20px;
  }
}

/* Custom Footer's */
.footer__black {
  margin-top: 0;
}

.footer__black hr {
  opacity: 0.2;
  background-color: #fff;
  border: none;
  height: 1px;
  margin-top: 0;
}

.footer__black a,
.footer__black p {
  color: #717179;
}

.footer__black h3 {
  color: #FFFFFF;
}

.footer__black .footer__content__item .menu-item-has-children>a {
  color: #FFFFFF !important;
}

.footer__black .footer__content__item span {
  color: #717179;
}

[data-tutor-nav-target="tutor-course-details-tab-reviews"] {
    display: none !important;
  }
  