:root {
    --primary-color: #42c6e7e6;
    --primary-light: rgba(66, 198, 231, 0.5);
    --while-color: #fff;
    --black-color: #000;
    --text-color: #333;
    --border-color: #dbdbdb;
    --star-gold-color: #FFCE3E;

    --header-height: 135px;
    --body-width: 100%;
    --navbar-height: 34px;
    --header-with-search-height: calc(var(--header-height) - var(--navbar-height));
    --header-sort-bar-height: 46px;
}

* {
    box-sizing: inherit;
}

html {
    font-size: 62.5%;
    line-height: 1.6rem;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
    color: #000;
}

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

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

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 100%;
    }
}

@keyframes growth {
    from {
        transform: scale(0.7);
    }

    to {
        transform: scale(1);
    }
}


/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    /* display: none; */
}

.modal__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: fadeIn linear .2s;
    background-color: rgba(0, 0, 0, 0.4);
}

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

/* Btn Styles */
.btn {
    text-decoration: none;
    border: none;
    border-radius: 2px;
    width: 142px;
    height: 36px;
    font-size: 1.5rem;
    padding: 0 8px;
    line-height: 1.8rem;
    outline: none;
    cursor: pointer;
    color: var(--text-color);
    background-color: var(--while-color);
    display: inline-flex;
    align-items: center;
    box-shadow: 0 1px 1px #ccc;
    justify-content: center;
}

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

.btn.btn--primary {
    box-shadow: 0 1px 1px rgba(66, 198, 231, 0.5);
    background-color: var(--primary-color);
    color: var(--while-color);
}

.btn.btn--primary:hover {
    background-color: rgba(66, 198, 231, 0.5);
}

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

/* Selection */
.select-input {
    position: relative;
    height: 34px;
    min-width: 200px;
    padding: 0 12px;
    border-radius: 2px;
    background-color: var(--while-color);
    display: flex;
    align-items: center;
    box-shadow: 0 1px 1px #ccc;
    justify-content: space-between;
}

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

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

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

.select-input__list {
    position: absolute;
    left: 0;
    right: 0;
    top: 25px;
    border-radius: 2px;
    background-color: var(--while-color);
    list-style: none;
    padding: 8px 16px;
    display: none;
    box-shadow: 0 1px 1px #ccc;
    z-index: 1;
}

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

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

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

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

/* .pagination-item--active.pagination-item {
    background-color: var(--primary-color);
    color: var(--black-color);
} */

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

.pagination-item__link:hover {
    background-color: rgba(204, 125, 125, 0.6);
    color: var(--text-color);
}

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

.pagination-item__link:hover.pagination-item__link--active {
    background-color: rgba(204, 125, 125, 0.8);
}