:root {
    --slider-bg-card: antiquewhite;
    --slider-bg-img: lightgray;
    --slider-bg-btn: rgba(28,28,28, 0.9);
    --slider-bg-btn-hover: rgba(56, 56, 56, 0.9);
    --slider-clr-btn: white;
}

/*================================ Slider ===========================================================*/

.slider-container {
    display: flex;
    justify-content: center;
    width: 80%;
    height: 500px;
    margin: 0 auto;
    user-select: none;
    position: relative;
}

.slider {
    display: flex;
    padding: 10px;
    overflow-x: hidden;
    cursor: grab;
}

.slider-btn {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.slider-btn button{
    width: 50px;
    font-size: 2rem;
    font-weight: 600;
    background-color: var(--slider-bg-btn);
    border: none;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--slider-clr-btn);
    transition: all .2s ease-out;
}

.slider-btn button:hover{
    background-color: var(--slider-bg-btn-hover);
    transform: scale(105%);
    font-size: 1.5rem;
}

.slider-btn-left {
    left: 1%;
}

.slider-btn-right {
    right: 1%;
}

/*================================ Card ===========================================================*/

.card-wrapper {
    background-color: var(--slider-bg-card);
    display: grid;
    grid-template-rows: 1fr 1fr;
    border-radius: 10px;
    min-width: 400px;
    margin: 0 15px;
    height: 100%;
}

.card-wrapper.card-wrapper-grid-column {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
    border-radius: 10px;
}

.hidden-image .card-image{
    display: none !important;
}

.hidden-content {
    grid-template-columns: none;
    grid-template-rows: none;
}

.hidden-content .card-content{
    display: none !important;
}

.card-image {
    position: relative;
    border-radius: 10px;
    width: 100%;
    background-color: var(--slider-bg-img);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 10%;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 20px;
    text-align: center;
}

/*================================ Slider ref ===========================================================*/

/*optional*/
.slider-image-ref {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/*================================ Indicator ===========================================================*/

.slider-indicator {
    width: 100%;
}

.indicator-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 20px 0;
    height: min-content;
}

.indicator-wrapper button {
    cursor: pointer;
    padding: 0;
}

.indicator-preset {
    display: none;
}

.indicator-round {
    width: 10px;
    height: 10px;
    border: 1px solid #303030;
    border-radius: 50%;
    margin: 0 5px;
    background-color: transparent;
}

.indicator-box {
    width: 10px;
    height: 10px;
    border: 1px solid #303030;
    margin: 0 5px;
    background-color: transparent;
}

.indicator-rect {
    width: 40px;
    height: 10px;
    border: 0;
    background-color: #e2e2e2;
}

/*===========> Indicator custom area*/

/* ex:
.indicator-custom-format {
    width: 40px;
    height: 10px;
    border: 0;
}
*/

.indicator-selected {
    background-color: #303030;
    transform: scale(130%);
}

.indicator-around-selected {
    transform: scale(130%);
}

.indicator-previous {
    background-color: #7a7a7a;
    border: 0;
}