// Fonts
@use './variables' as var;
@use './mixins' as *;

html {
  interpolate-size: allow-keywords;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 16px 0;
}
h1 {
  font-size: var(--font-size-22);
  color: var(--dark-purple);
  line-height: var(--line-height-h1);
}
h2 {
  font-size: var(--font-size-18);
  font-weight: var(--font-weight-regular);
  color: var(--purple);
}
h3 {
  font-size: var(--font-size-18);
  font-weight: var(--font-weight-regular);
}
p {
  font-size: var(--font-size-14);
  line-height: var(--line-height-14);
  font-weight: var(--font-weight-regular);
  color: var(--dark-purple);
  &:last-of-type {
    margin: 0;
  }
}
a {
  color: inherit;
  text-decoration: none;
  &:hover {
    text-decoration: none;
    cursor: pointer;
  }
}
li {
  font-size: var(--font-size-14);
  line-height: var(--line-height-p);
  font-weight: var(--font-weight-regular);
  color: var(--dark-purple);
  margin-bottom: 8px;
}
label {
  .required-asterisk {
    color: var(--red);
    margin-left: 2px;
  }
}
.no-visibility {
  visibility: hidden;
}

// Copywrite
.copywrite {
  display: flex;
  font-size: var(--font-size-10);
  justify-content: center;
  font-weight: var(--font-weight-regular);
  color: var(--purple);
  @media only screen and (max-width: var.$breakpoint-sm-max) {
    display: none;
  }
}

.blur-overlay {
  filter: blur(5px);
}

// Box
.box {
  background: var(--faint-gray);
  padding: 16px;
  border: 1px solid var(--medium-purple);
  border-radius: 4px;
}

// Border Helper Classes
.bdr {
  border-top-width: 1px;
  border-top-style: solid;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-left-width: 1px;
  border-left-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  &t {
    border-top-width: 1px;
    border-top-style: solid;
  }
  &b {
    border-bottom-width: 1px;
    border-bottom-style: solid;
  }
  &l {
    border-left-width: 1px;
    border-left-style: solid;
  }
  &r {
    border-right-width: 1px;
    border-right-style: solid;
  }
}

::-webkit-scrollbar {
  height: 0;
  width: 0; /* remove scrollbar space */
  background: transparent; /* optional: just make scrollbar invisible */
}

// Header styles
.header {
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--medium-purple);
  .dropdown-box {
    max-width: max-content;
  }
  @media only screen and (min-width: var.$breakpoint-md) {
    padding: 0 20px;
    height: 72px;
  }
}

// Fix for default Chrome browser styles for focus
:focus-visible {
  outline: none;
}
