/* + Root variables */
:root{
    --bs-body-font-family: 'Financier', sans-serif;
    --bs-font-sans-serif: 'Financier', sans-serif;
    --bs-font-monospace: 'Financier', sans-serif;
    --font-family-body: 'Financier', sans-serif;
    --font-family-modal: 'Inter', sans-serif;
    --font-family-preload: 'Inter', sans-serif;

    --color-body: #FFFFFF;
    --color-text: #212529;
    --color-hf: #212529;
    --color-error: #E0444B;

    --color-btn-text: #FBAF3B;
    --color-btn-bg: #212529;
    --color-btn-border: #FBAF3B;

    --color-btn-text-hover: #FFDDA8;
    --color-btn-bg-hover: #212529;
    --color-btn-border-hover: #FFDDA8;

    --color-btn-text-disabled: #3F454A;
    --color-btn-bg-disabled: #212529;
    --color-btn-border-disabled: #3F454A;

    --color-slider-text: #212529;
    --color-slider-line: #D3D3D4;
    --color-slider-line-active: #212529;
    --color-slider-arrow: #212529;

    --color-modal-info: #212529;
    --color-modal-label: #212529;
    --color-modal-input: #212529;
    --color-modal-input-border: #D9D9D9;
    --color-modal-input-border-focus: #212529;
    --color-modal-notify: #D9D9D9;

    --color-modal-btn-text: #FBAF3B;
    --color-modal-btn-bg: #212529;

    --color-modal-btn-text-hover: #FFDDA8;
    --color-modal-btn-bg-hover: #212529;

    --color-modal-btn-text-disabled: #F3F3F3;
    --color-modal-btn-bg-disabled: #D9D9D9;

    --color-modal-hr: #D9D9D9;
    --color-modal-close: #212529;
    --color-modal-preload: rgba(119, 124, 129, 0.2);

    --color-preload: rgba(119, 124, 129, 0.2);
    --color-preload-icon: #212529;
    --color-preload-text: #212529;

    --font-size-body: 14px;
    --font-line-height-body: 17px;
    --font-size-slider: 44px;
    --font-line-height-slider: 48px;
    --font-size-button: 22px;
    --font-line-height-button: 24px;
    --font-size-modal-info: 14px;
    --font-line-height-modal-info: 17px;
    --font-size-modal-label: 14px;
    --font-line-height-label: 17px;
    --font-size-modal-input: 14px;
    --font-line-height-input: 17px;
    --font-size-modal-success: 32px;
    --font-line-height-success: 35px;
    --font-size-preload: 12px;
    --font-line-height-preload: 15px;
    --font-size-modal-message: 12px;
    --font-line-height-message: 15px;

    --bg-filter-modal: blur(2px);
    --bg-filter-body: blur(5px);

    --border-radius: 4px;
    --border-line-type: solid;
    --border-line-width: 1px;

    --height-hf: 82px;
    --padding-hf: 20px 47px;

    --height-main: calc(100vh - var(--height-hf) * 2);
    --modal-width: 380px;
}
/* - Root variables */

/* + Root Elements */
html,
body{
    font-family: var(--font-family-body);
    font-size: var(--font-size-body);
    line-height: var(--font-line-height-body);
    background-color: var(--color-body);
    color: var(--color-text);
    overflow: hidden;
}

html {
    height: -webkit-fill-available;
}

body{
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    height: 100vh;
    height: -webkit-fill-available;
}

header,
footer{
    position: relative;
    z-index: 2;
    height: var(--height-hf);
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: var(--padding-hf);
    gap: 10px;
    background: var(--color-hf);
}

main{
    position: relative;
    z-index: 1;
    height: var(--height-main);
    overflow: hidden;
}
#main{
    padding: 0;
}

.h2{
    padding: 0;
    margin: 0;
    font-weight: 600;
    font-size: var(--font-size-slider);
    line-height: var(--font-line-height-slider);
    color: var(--color-slider-text);
}
*, *::before, *::after {
    outline: 0;
}
.shirts-say,
.shirts-cost,
.simply-know{
    margin: 0;
    padding-left: 40px;
}
.simply-know{
    padding-left: 60px;
}
.shirts-say li,
.shirts-cost li,
.simply-know li{
    list-style: none;
}
.simply-know li{
    list-style: lower-alpha;
}
.shirts-cost{
    padding: 0;
}
/* - Root Elements */

/* + Loading */
.loading{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: default;
    top: 0;
    left: 0;
    z-index: -1;
    visibility: hidden;
    opacity: 0;
    background: var(--color-preload);
    backdrop-filter: var(--bg-filter-body);
    transition: opacity 0.3s, visibility 0.3s, z-index 0.3s;
}

.loading.show{
    opacity: 1;
    visibility: visible;
    z-index: 3;
    transition: opacity 0.3s, visibility 0.3s, z-index 0.3s;
}

.loading svg{
    width: 48px;
    height: 48px;
}

.loading svg path{
    stroke: var(--color-preload-icon);
}

.loading-text{
    font-family: var(--font-family-preload);
    font-style: normal;
    font-weight: 700;
    font-size: var(--font-size-preload);
    line-height: var(--font-line-height-preload);
    color: var(--color-preload-text);
    margin-top: 5px;
}
/* - Loading */

/* + Button footer */
.btn-subscribe{
    border: var(--border-line-width) var(--border-line-type) var(--color-btn-border);
    border-radius: var(--border-radius);
    font-weight: 400;
    font-size: var(--font-size-button);
    line-height: var(--font-line-height-button);
    letter-spacing: 0.03em;
    color: var(--color-btn-text);
    background: var(--color-btn-bg);
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 185px;
    transition: color 0.2s, border 0.2s;
}

.btn-subscribe > *{
    display: flex;
    align-items: center;
    gap: 0 10px;
}

.btn-subscribe svg path{
    stroke: var(--color-btn-text);
    transition: stroke 0.2s;
}

.btn-subscribe:hover{
    border-color: var(--color-btn-border-hover);
    background: var(--color-btn-bg-hover);
    color: var(--color-btn-text-hover);
}

.btn-subscribe:hover svg path{
    stroke: var(--color-btn-text-hover);
}

.btn-subscribe:disabled{
    border-color: var(--color-btn-border-disabled);
    background: var(--color-btn-bg-disabled);
    color: var(--color-btn-text-disabled);
}

.btn-subscribe:disabled svg path{
    stroke: var(--color-btn-text-disabled);
}

/* - Button footer */

/* + Slider Nav Line */
.slider-nav,
.slider-nav-arrows{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    width: 20px;
}
.slider-nav-arrows{
    left: auto;
    right: 0;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 0;
    width: auto;
}
.slider-nav-arrow-prev,
.slider-nav-arrow-next{
    display: none;
}
.arrows-up,
.arrows-down{
    display: flex;
    flex-direction: column;
}
.arrow-up-two,
.arrow-down-one{
    margin-bottom: 5px;
}
.arrow-up-two,
.arrow-up-one,
.arrow-down-one,
.arrow-down-two{
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.arrow-up-two:hover svg path,
.arrow-up-one:hover svg path,
.arrow-down-one:hover svg path,
.arrow-down-two:hover svg path{
    stroke: #626262;
    transition: all 0.2s;
}
.arrow-up-two.disabled svg path,
.arrow-up-one.disabled svg path,
.arrow-down-one.disabled svg path,
.arrow-down-two.disabled svg path{
    stroke: #c1bebe;
    transition: all 0.2s;
}
.slider-nav__section .link{
    display: block;
    width: 1px;
    height: 100%;
}
.slider-nav__section .link::before{
    content: ' ';
    width: 100%;
    height: 100%;
    display: block;
    background: #D3D3D4;
    transition: background-color 0.3s;
}
.slider-nav__section.active .link::before{
    background: #212529;
    transition: background-color 0.3s;
}
.slider-nav__content-center{
    display: block;
    height: calc(100% - 5px);
}
/* - Slider Nav Line */

/* +Slider Content */
.slider{
    z-index: 1;
    margin: 0 auto;
}
.slider.hide{
    opacity: 0;
}
.content-center{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}
.slider__section{
    border: 0;
    outline: 0;
    box-shadow: none;
}
/* -Slider Content */

/* +Modal */
.modal{
    font-family: var(--font-family-modal);
}

.modal .modal-dialog{
    max-width: var(--modal-width);
    margin: 0 auto;
}

.modal-content{
    background-color: var(--color-body);
    border: 0;
    outline: 0;
    border-radius: var(--border-radius);
    padding: 30px;
}

.modal-header{
    padding: 0;
    min-height: 30px;
    border-bottom: var(--border-line-width) var(--border-line-type) var(--color-modal-hr);
    position: relative;
}

.modal-dialog.success .modal-header{
    border: 0;
}

.modal-body{
    padding: 20px 0 0 0;
}

.modal-body form{
    display: flex;
    flex-wrap: wrap;
}

.modal .btn-close{
    background: transparent;
    opacity: 1;
    box-shadow: none;
    border: 0;
    outline: 0;
    width: 15px;
    height: 15px;
    right: 0;
    position: absolute;
    margin: 0;
    bottom: auto;
    padding: 0 0 10px 0;
}

.modal .btn-close:hover{
    opacity: 0.8;
    transition: opacity 0.2s;
}

.input-text-info{
    padding-bottom: 20px;
    font-style: normal;
    font-weight: 400;
    font-size: var(--font-size-modal-info);
    line-height: var(--font-line-height-modal-info);
    color: var(--color-modal-info);
}

.input-text-info.last{
    font-family: var(--font-family-modal);
    font-size: 12px;
    line-height: 15px;
    color: var(--color-modal-notify);
    margin-top: 4px;
}

.input-block{
    width: 100%;
    margin-bottom: 30px;
}

.input-block.last{
    margin: 0;
}

.input-block label{
    font-family: var(--font-family-modal);
    font-weight: 500;
    font-size: var(--font-size-modal-label);
    line-height: var(--font-line-height-label);
    color: var(--color-modal-label);
    padding: 0 0 4px 0;
}

.input-block input{
    border: var(--border-line-width) var(--border-line-type) var(--color-modal-hr);
    border-radius: var(--border-radius);
    font-family: var(--font-family-modal);
    font-size: var(--font-size-modal-input);
    line-height: var(--font-line-height-input);
    color: var(--color-modal-input);
    height: 41px;
}

.input-block input:focus{
    background-color: transparent;
    border: var(--border-line-width) var(--border-line-type) var(--color-modal-input-border-focus);
    border-radius: var(--border-radius);
    box-shadow: none;
}

.modal-footer{
    padding: 20px 0 0 0;
    border-top: var(--border-line-width) var(--border-line-type) var(--color-modal-hr);
    justify-content: center;
}

.modal .btn-subscribe{
    margin: 0;
    background: var(--color-modal-btn-bg);
    border-radius: var(--border-radius);
    font-family: var(--font-family-body);
    font-size: var(--font-size-button);
    line-height: var(--font-line-height-button);
    letter-spacing: 0.03em;
    color: var(--color-modal-btn-text);
    border-color: transparent;
}

.modal .btn-subscribe svg path{
    stroke: var(--color-modal-btn-text);
}

.modal .btn-subscribe:hover{
    background: var(--color-modal-btn-bg-hover);
    color: var(--color-modal-btn-text-hover);
}

.modal .btn-subscribe:hover svg path{
    stroke: var(--color-modal-btn-text-hover);
}

.modal .btn-subscribe:disabled{
    background: var(--color-modal-btn-bg-disabled);
    color: var(--color-modal-btn-text-disabled);
}

.modal .btn-subscribe:disabled svg path{
    stroke: var(--color-modal-btn-text-disabled);
}
.danger-message{
    font-family: var(--font-family-modal);
    font-size: var(--font-size-modal-message);
    line-height: var(--font-line-height-message);
    color: var(--color-error);
    margin: 2px 0 0 4px;
    display: block;
}
.error-message{
    display: flex;
    font-family: var(--font-family-modal);
    font-size: var(--font-size-modal-message);
    line-height: var(--font-line-height-message);
    text-align: center;
    color: var(--color-error);
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}
.success-message{
    font-weight: 400;
    width: 90%;
    font-family: var(--font-family-body);
    font-size: var(--font-size-modal-success);
    line-height: var(--font-line-height-success);
    color: var(--color-text);
}
/* -Modal */

/* +Preload */
.preload{
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--color-modal-preload);
    backdrop-filter: var(--bg-filter-modal);
    flex-direction: column;
}

.preload.show{

}

.preload svg{
    width: 44px;
    height: 44px;
}

.preload svg path{

}
.preload .loading-text{
    display: block;
    font-family: var(--font-family-modal);
    font-weight: 700;
    font-size: var(--font-size-preload);
    line-height: var(--font-line-height-preload);
    color: var(--color-body);
}
/* -Preload */


@media (max-width: 600px){

    :root{
        --font-size-slider: 26px;
        --font-line-height-slider: 30px;
        --font-size-modal-success: 24px;
        --font-line-height-success: 28px;
    }

    .modal-dialog.success{
        max-width: 80%;
    }

    .shirts-say, .shirts-cost, .simply-know{
        font-size: 22px;
        line-height: 28px;
    }

}
