/**
 * =================================================================================
 * -- CUSTOM COMPONENTS ------------------------------------------------------------
 * =================================================================================
 */

/**
 * =================================================================================
 * CUSTOM COMPONENTS - BUTTON GROUP
 * =================================================================================
 */

.button--group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
}

/**
 * =================================================================================
 * CUSTOM COMPONENTS - CHANGELOG MODAL
 * =================================================================================
 */

.changelog {
    display: flex;
    height: 100vh;
    justify-content: center;
    opacity: 0;
    overflow: auto;
    padding: 40px 20px 40px 20px;
    pointer-events: none;
    transition: opacity .3s ease-in-out, visibility 0s linear .3s;
    visibility: hidden;
    width: 100vw;
}

.changelog--visible {
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: opacity .3s ease-in-out;
    visibility: visible !important;
}

.changelog__content {
    background: #281834;
    border: 1px solid #6b54b6;
    box-shadow: 0px 0px 16px -3px rgba(52, 34, 66, 0.25);
    height: max-content;
    max-width: 780px;
    padding: 20px 26px 20px 26px;
    position: relative;
    width: 100%;
}

.changelog__close {
    align-items: center;
    cursor: pointer;
    display: flex;
    height: 26px;
    justify-content: center;
    position: absolute;
    right: 15px;
    top: 15px;
    width: 26px;
}

.changelog__close:hover .close__line {
    background: #6b54b6;
}

.changelog__close .close__line {
    background: #ffffff;
    height: 3px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform-origin: center;
    transition: background-color .15s ease-in-out;
    width: 22px;
}

.changelog__close .close__line:first-child {
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.changelog__close .close__line:last-child {
    transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

.changelog__title {
    border-bottom: 1px solid #0f0f10;
    color: #6b54b6;
    font-family: 'Rajdhani', serif;
    font-size: 26px;
    font-weight: 700;
    padding: 0 0 10px 0;
    text-align: center;
    width: 100%;
}

.changelog__item {
    display: flex;
    flex-direction: column;
    padding: 20px 0 0 0;
    width: 100%;
}

.changelog__wrapper {
    padding: 20px 0 0 0;
}

.changelog__wrapper:first-child {
    padding: 0 0 0 0;
}

.changelog__subtitle {
    color: #ebcd0e;
    font-family: 'Rajdhani', serif;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
}

.changelog__list {
    display: flex;
    flex-direction: column;
    margin: 20px 0 0 0;
    width: 100%;
}

.changelog__list .list__item {
    align-items: center;
    border-bottom: 1px solid #0f0f10;
    display: flex;
    height: 100%;
    justify-content: space-between;
    padding: 10px 5px 10px 0;
    width: 100%;
}

.changelog__list .list__item:first-child {
    border-top: 1px solid #0f0f10;
}

.changelog__definition {
    color: #ffffff;
    font-family: 'Rajdhani', serif;
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
}

.changelog__detail {
    align-items: center;
    background: #342242;
    color: #ffffff;
    display: flex;
    font-family: 'Rajdhani', serif;
    font-size: 15px;
    font-weight: 500;
    height: 25px;
    padding: 0 14px 0 14px;
    transform: skew(-22deg);
    width: max-content;
}

.changelog--check {
    height: 25px !important;
    justify-content: center;
    width: 40px !important;
}

.changelog__detail span {
    display: inline-block;
    transform: skew(22deg);
}

/**
 * =================================================================================
 * CUSTOM COMPONENTS - SLIDER IMAGES MODAL
 * =================================================================================
 */

.slider {
    display: flex;
    height: 100vh;
    justify-content: center;
    opacity: 0;
    overflow: auto;
    padding: 0 20px 0 20px;
    pointer-events: none;
    transition: opacity .3s ease-in-out, visibility 0s linear .3s;
    visibility: hidden;
    width: 100%;
}

.slider--visible {
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: opacity .3s ease-in-out;
    visibility: visible !important;
}

.slider__content {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    padding: 40px 0 40px 0;
    position: relative;
    width: 100%;
}

.slider__icon:hover {
    color: #6b54b6;
}

.slider__wrapper {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    padding: 40px 40px 40px 40px;
    position: relative;
    width: 100% !important;
}

.slider__previous,
.slider__next {
    align-items: center;
    display: flex;
    height: 110px;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 110px;
    z-index: 9999;
}

.slider__previous {
    left: 160px;
}

.slider__next {
    right: 160px;
}

.slider__icon {
    color: #ffffff;
    cursor: pointer;
    font-size: 60px;
    transition: color .15s ease-in-out;
}

.slider__close {
    align-items: center;
    cursor: pointer;
    display: flex;
    height: 40px;
    justify-content: center;
    position: absolute;
    right: 15px;
    top: 15px;
    width: 40px;
    z-index: 9999;
}

.slider__close:hover .close__line {
    background: #6b54b6;
}

.slider__close .close__line {
    background: #ffffff;
    height: 4px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform-origin: center;
    transition: background-color .15s ease-in-out;
    width: 36px;
}

.slider__close .close__line:first-child {
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.slider__close .close__line:last-child {
    transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

.slider__img {
    border: 4px solid #6b54b6;
    height: 100%;
    object-fit: contain;
    width: auto !important;
}

.swiper-wrapper {
    height: 100%;
    width: 100%;
}