/* global */
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--text_family);
  text-decoration: none;
  list-style: none;

  font: inherit;
}
html {
  color: var(--text_clr);
  scroll-behavior: smooth;
  font-size: 14px;
  font-family: var(--main_family);
}
/* ::-webkit-scrollbar{
    width: 0;
    height: 0;
  } */
/* ::selection{
    background: $main_color;
    color: $white_color;
  } */
/* remove arrows on inputs */
/* ::-webkit-outer-spin-button,
  ::-webkit-inner-spin-button{
    display: none;
  }
   */

/* make images responsive */
img,
picture,
video,
svg {
  display: block;
  max-width: var(--width_100);
}

img{
  object-fit: cover;
}
/* make inputs, and form elements  uinherit the fornts */
input,
textarea,
button,
select {
  font: inherit;
}

/* flex box -> flex_justify-content_align-items */
.flex_center {
  display: flex;
  align-items: center;
}

.flex_center_center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex_center_start {
  display: flex;
  align-items: start;
  justify-content: center;
}

.flex_between_center {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flex_between_end {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.flex_between_start {
  display: flex;
  align-items: start;
  justify-content: space-between;
}
.flex_end_start {
  display: flex;
  align-items: start;
  justify-content: flex-end;
}
.flex_start {
  display: flex;
  align-items: start;
}
.flex_start_center {
  display: flex;
  align-items: center;
  justify-content: start;
}
.flex_end_center {
  display: flex;
  align-items: center;
  justify-content: end;
}
.flex_start_start {
  display: flex;
  align-items: start;
  justify-content: start;
}
.flex_start_end {
  display: flex;
  align-items: end;
  justify-content: start;
}
.flex_align_center {
  display: flex;
  align-items: center;
}
.flex_align_start {
  display: flex;
  align-items: start;
}
.flex_align_end {
  display: flex;
  align-items: end;
}
.flex_justify_start {
  display: flex;
  justify-content: start;
}
.flex_justify_center {
  display: flex;
  justify-content: center;
}
.flex_justify_center {
  display: flex;
  justify-content: center;
}
.flex_justify_between {
  display: flex;
  justify-content: space-between;
}
.flex_justify_end {
  display: flex;
  justify-content: end;
}
.flex_column {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.flex_col {
  display: flex;
  flex-direction: column;
}
.flex_col_center_center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.flex_col_center_start {
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
}
.flex_col_start_center {
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
}

/* grid */
.grid {
  display: grid;
  grid-auto-flow: row;
}
.grid_class {
  display: grid;
}
.i_grid {
  display: inline grid;
  grid-auto-flow: row;
}
/* grid two columns auto rows*/
.two_columns {
  grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
}
.three_columns {
  grid-template-columns: repeat(3, minmax(32%, 1fr));
}
.three_columns_fixed {
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  gap: 20px;
}
.three_columns_auto {
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-between;
  gap: 20px;
}

/* buttons */

/* btn styles */
.btn {
  text-align: center;
  font-weight: 500;
  font-size: var(--size_1p1em);
  color: var(--body_color);
  transition: all 0.35s ease;
  outline: none;
  cursor: pointer;
  background-color: var(--text_color);
  &.circular {
    border-radius: 50%;
  }
  &.br_0 {
    border-radius: 0px;
  }
  &.br_2 {
    border-radius: 2px;
  }
  &.br_3 {
    border-radius: 3px;
  }
  &.br_4 {
    border-radius: 4px;
  }
  &.br_5 {
    border-radius: 5px;
  }
  &.br_6 {
    border-radius: 6px;
  }
  &.br_7 {
    border-radius: 7px;
  }
  &.br_8 {
    border-radius: 8px;
  }
  &.br_9 {
    border-radius: 9px;
  }
  &.br_10 {
    border-radius: 10px;
  }
  &.br_11 {
    border-radius: 11px;
  }
  &.br_12 {
    border-radius: 12px;
  }
  &.br_13 {
    border-radius: 13px;
  }
  &.br_14 {
    border-radius: 14px;
  }
  &.br_15 {
    border-radius: 15px;
  }
  &.borderless {
    border: 0;
  }
  &.transparent {
    background: transparent;
  }
  &.hidden {
    opacity: 0;
    pointer-events: none;
  }
  &.visible {
    opacity: 1;
    pointer-events: initial;
  }
  &.outlined {
    border: 1px solid var(--text_color);
  }
}

body {
  background-color: #ffff;
}
