* {
    box-sizing: border-box;
    margin: 0;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background-color: black;
}

::-webkit-scrollbar-thumb {
    background-color: var(--card-border-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--card-border-color);
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 48px;
    z-index: 1;
}

.d_none {
    display: none !important;
}

.pad_s {
    padding: 8px 16px;
}

.pad_m {
    padding: 16px 32px;
}

.pad_l {
    padding: 32px 48px;
}

@media only screen and (min-width: 1440px) {
    main {
        padding-left: max(48px, calc(50% - 720px)) !important;
        padding-right: max(48px, calc(50% - 720px)) !important;
    }
}

@media only screen and (min-width: 770px)  and (max-width: 1024px) { 

    main {
        padding: 32px;
    }
}

@media only screen and (min-width: 481px)  and (max-width: 769px) {
    .pad_s {
        padding: 4px 8px;
    }

    .pad_m {
        padding: 8px 16px;
    }

    .pad_l {
        padding: 16px 32px;
    }

    main {
        padding: 16px 32px;
    }
}

@media only screen and (max-width: 480px) {
    .pad_s {
        padding: 4px 8px;
    }

    .pad_m {
        padding: 4px 8px;
    }

    .pad_l {
        padding: 8px 16px;
    }

    main {
        padding: 8px 16px;
    }
}

.pos_rel {
    position: relative;
}

.pos_abs_rc {
    position: absolute;
    top: 16px;
    right: 16px;
}

.d_flex_cs_gs,
.d_flex_cc_gs,
.d_flex_cs_gm,
.d_flex_cc_gm,
.d_flex_cs_gl,
.d_flex_cc_gl,
.d_flex_cs_gxl,
.d_flex_cc_gxl {
    display: flex;
    justify-content: center;
}

.d_flex_ss_gs,
.d_flex_sc_gs,
.d_flex_ss_gm,
.d_flex_sc_gm,
.d_flex_ss_gl,
.d_flex_sc_gl,
.d_flex_ss_gxl,
.d_flex_sc_gxl {
    display: flex;
    justify-content: flex-start;
}

.d_flex_cc_gs,
.d_flex_cs_gs,
.d_flex_sc_gs,
.d_flex_ss_gs {
    gap: 4px;
}

.d_flex_cc_gm,
.d_flex_cs_gm,
.d_flex_sc_gm,
.d_flex_ss_gm {
    gap: 16px;
}

.d_flex_cc_gl,
.d_flex_cs_gl,
.d_flex_sc_gl,
.d_flex_ss_gl {
    gap: 32px;
}

.d_flex_cc_gxl,
.d_flex_cs_gxl,
.d_flex_sc_gxl,
.d_flex_ss_gxl {
    gap: 48px;
}

.d_flex_cs_gs,
.d_flex_ss_gs,
.d_flex_cs_gm,
.d_flex_ss_gm,
.d_flex_cs_gl,
.d_flex_ss_gl,
.d_flex_cs_gxl,
.d_flex_ss_gxl {
    align-items: flex-start;
}

.d_flex_cc_gs,
.d_flex_sc_gs,
.d_flex_cc_gm,
.d_flex_sc_gm,
.d_flex_cc_gl,
.d_flex_sc_gl,
.d_flex_cc_gxl,
.d_flex_sc_gxl {
    align-items: center;
}

.d_sb {
    justify-content: space-between !important;
}


.f_d_c {
    flex-direction: column !important;
}

.f_d_r_resp_c {
    flex-direction: row !important;
}

.f_one{
    flex: 1;
}

@media screen and (max-width: 480px) {
    .f_d_r_resp_c {
        flex-direction: column !important;
    }
}

.f_d_r {
    flex-direction: row !important;
}

.c_pointer {
    cursor: pointer;
}

.m_auto {
    margin: auto;
}

.w_full {
    width: 100%;
}

.w_reset{
    width: unset !important;
}

.h_full {
    height: 100%;
}

.text_c {
    text-align: center;
}

.rotate_half{
    transform: rotate(180deg);
}

@media screen and (max-width: 480px) {
    .p_top_s {
        padding-top: 36px;
    }
}
