:root {
    /* --c-black: black; */
    --header-m: 3.5rem;
    --header-d: 4rem;
}


/* 
ELEMENTS
*/
.c-white {color: white !important;}
.c-black {color: black !important;}

.bg-white {background: white;}
.bg-black {background: black;}

.button {
    padding: .75rem 1rem;
    width: fit-content;
}
.button.t-xsmall {padding: .5em 1em;}

.button.c-black {
    border: 1px solid black;
    background: white;
}

.button.c-white {
    border: 1px solid white;
    background: black;
}


.ratio-9_16 {aspect-ratio: 9/16;}
.ratio-2_3 {aspect-ratio: 2/3;}
.ratio-4_5 {aspect-ratio: 4/5;}
.ratio-1_1 {aspect-ratio: 1/1;}
.ratio-5_4 {aspect-ratio: 5/4;}
.ratio-3_2 {aspect-ratio: 3/2;}
.ratio-16_9 {aspect-ratio: 16/9;}

.media-cover {width: 100%; height: 100%; object-fit: cover;}
.media-contain {width: 100%; height: 100%; object-fit: contain;}


/* 
MEASURMENTS
*/
.pad {padding: 1rem;}
.pad-l {padding: 2rem;}
.pad-xl {padding: 4rem;}
.pad-block {padding: 1rem;}

.mar-t {margin-top: 1rem;}
.mar-t-m {margin-top: 2rem;}
.mar-page--t {margin-top: var(--header-m);}

.mar-r_s {margin-right: .5rem;}

.mar-b {margin-bottom: 1rem;}
.mar-b--m {margin-bottom: 2rem;}

.mar-l {margin-left: 1rem;}

@media only screen and (min-width: 1096px) {
    .mar-page--t {margin-top: var(--header-d);}
}



/* 
DISPLAY
*/
.block {display: block;}
.inline {display: inline;}

.flex {display: flex;}
.f-wrap {flex-wrap: wrap;}
.f-nowrap {flex-wrap: nowrap;}
.f-column {flex-direction: column;}

.j-center {justify-content: center;}
.j-end {justify-content: end;}
.j-between {justify-content: space-between;}
.j-around {justify-content: space-around;}
.j-evenly {justify-content: space-evenly;}

.a-start {align-items: start;}
.a-center {align-items: center;}
.a-end {align-items: end;}


/* 
POSITION
*/
.p-fixed {position: fixed;}
.p-sticky {position: sticky;}
.p-relative {position: relative;}
.p-absolute {position: absolute;}

.p-all {top: 0; right: 0; bottom: 0; left: 0;}


/* 
STATUS
*/
.hide {display: none !important;}
.hide-m,
.hide-m_t,
.hide-m_d {display: none;}

.hide-scrollbar::-webkit-scrollbar {display: none;}
.hide-scrollbar {-ms-overflow-style: none; scrollbar-width: none;}

.v-hide {visibility: hidden;}
.stop {overflow: hidden;}

@media only screen and (min-width: 768px) {
    .hide-t,
    .hide-t_d {display: none;}

    .block-t,
    .block-t_d {display: block;}

    .flex-t,
    .flex-t_d {display: flex;}

    .grid-t,
    .grid-t_d {display: grid;}
}

@media only screen and (min-width: 1096px) {
    .hide-d,
    .hide-m_d {display: none !important;}

    .block-d {display: block;}
    .flex-d {display: flex;}
    .grid-d {display: grid;}
}

@media only screen and (min-width: 2048px) {
    .block-xd {display: block;}
    .flex-xd {display: flex;}
    .grid-xd {display: grid;}
}


@media only screen and (min-width: 768px) {}
@media only screen and (min-width: 1096px) {}
@media only screen and (min-width: 2048px) {}
@media (hover: hover) {}