@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
:root {
  --white-color: #fff;
  --black-color: #000;
  --text-color: #333;
  --primary-color: #ee4020;
  --border-color: #dbdbdb;
  --start-gold-color: #ffce3e;
  /*     --primary-color-rgba: rgb(238, 75,43); */
  --header-height: 120px;
  --navbar-height: 34px;
  --header-with-search-height: calc(
    var(--header-height) - var(--navbar-height)
  );
}

* {
  box-sizing: inherit;
  font-family: "Roboto", sans-serif;
}

html {
  font-size: 62.5%; /* Trong trường hợp này thì khi xét font-size = 62,5% thì 1rem = 10px */
  line-height: 1.6rem; /* 16px */
  font-family: "Roboto", sans-serif; /* sans-serif là chủng chữ không có chân */
  box-sizing: border-box;
}

.grid {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
}

.grid__full-width {
  width: 100%;
}

.grid__row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -5px;
  margin-right: -5px;
}

.grid__column-2 {
  padding-left: 5px;
  padding-right: 5px;
  width: 16.6667%;
}

.grid__column-2-4 {
  padding-left: 5px;
  padding-right: 5px;
  width: 20%;
}

.grid_-column-10 {
  padding-left: 5px;
  padding-right: 5px;
  width: 83.3334%;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes growth {
  from {
    transform: scale(var(--growth-from));
  }
  to {
    transform: scale(var(--growth-to));
  }
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  animation: fadeIn linear 0.1s;
}

.modal__overplay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal__body {
  --growth-from: 0.7;
  --growth-to: 1;
  margin: auto;
  position: relative;
  z-index: 1;
  animation: growth linear 0.2s;
}

.btn {
  padding: 0 12px;
  height: 36px;
  min-width: 142px;
  border: none;
  text-decoration: none;
  border-radius: 3px;
  font-size: 1.2rem;
  cursor: pointer;
  outline: none;
  background-color: #fff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  line-height: 1.6rem;
}

.btn.btn--normal:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.btn.btn--size-s {
  height: 32px;
  font-size: 12px;
  padding: 0 12px;
}

.btn.btn--primary {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.btn.btn--disabled {
  color: #949494;
  cursor: default;
  background-color: #c3c3c3;
}

.select-input {
  position: relative;
  height: 34px;
  padding: 0 12px;
  border-radius: 2px;
  min-width: 200px;
  background-color: var(--white-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.select-input:hover .select-input__list {
  display: block;
}

.select-input__list::before {
  content: "";
  position: absolute;
  left: 0;
  top: -10px;
  width: 100%;
  height: 10px;
  display: block;
}

.select-input__label {
  font-size: 1.4rem;
}

.select-input__icon {
  font-size: 1.2rem;
  color: rgba(131, 131, 131);
  position: relative;
  top: 1px;
}

.select-input__list {
  position: absolute;
  left: 0;
  right: 0;
  top: 25px;
  border-radius: 2px;
  background-color: var(--white-color);
  padding: 12px 16px;
  list-style: none;
  display: none;
}

.select-input__link {
  font-size: 1.4rem;
  text-decoration: none;
  color: var(--text-color);
  display: block;
  padding: 6px 0;
}

.select-input__link:hover {
  color: var(--primary-color);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}

.pagination-item {
  margin: 0 12px;
}

.pagination-item--active .pagination-item__link {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.pagination-item--active .pagination-item__link:hover {
  background-color: #f05d40;
}

.pagination-item__link {
  --height: 30px;
  display: block;
  text-decoration: none;
  font-weight: 300;
  font-size: 1.9rem;
  color: #919191;
  min-width: 40px;
  height: var(--height);
  line-height: 30px;
  text-align: center;
  border-radius: 2px;
}
