@font-face {
    font-family: "Volkhov", serif;
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Poppins", serif;
    font-weight: normal;
    font-style: normal;
}

:root {
    --sf-white: #FFFFFF;
    --sf-gold: #F7A821;
    --sf-coral: #FC8C29;
    --sf-soft-red: #DF6951;
    --sf-dark-blue: #181E4B;
    --sf-black: #000000;
    --sf-text-gray: #909090;
    --sf-bd-color: #BFBFBF;
    --white: #fff;
    --black: #000;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    color: var(--sf-dark-blue);
    background-color: var(--sf-white);
    font-family: "Volkhov", serif;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mis-8 {
    margin-inline-start: 8px;
}

/*Header*/

header {
    position: relative;
    z-index: 5;
    padding: 10px max(1.2vw,15px);
}

    header.white-bg {
        background-color: var(--sf-white);
        box-shadow: 0px 0px 9.9px 0px rgba(0, 0, 0, 0.25);
    }

    header nav > ul {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: max(1vw,5px);
        color: var(--sf-dark-blue);
        font-size: clamp(18px,1.5vw,22px);
        margin-inline: 24px;
        width: 100%;
        justify-content: space-around;
        max-width: 1600px;
    }

    header nav {
        gap: clamp(5px, 0.7vw, 10px);
    }

.sf-nav-link {
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 3px;
    color: inherit;
    font-size: clamp(16px, 1.3vw, 20px);
    transition: all ease .3s;
}

        .sf-nav-link:hover, .sf-nav-link.active {
            text-shadow: 0 0 1px var(--sf-dark-blue);
            color: var(--sf-dark-blue);
        }

        .sf-nav-link:after {
            content: '';
            display: block;
            height: 4px;
            width: 0;
            background-color: var(--sf-soft-red);
            transition: all ease .3s;
        }

        .sf-nav-link:hover:after, .sf-nav-link.active:after {
            width: 70%;
        }

    .sf-flyout-menu .sf-nav-link:after {
        display: none;
    }

    .sf-flyout-menu .sf-nav-link,
    .sf-flyout-auth-btn {
        padding: 15px 10px;
    }

    .sf-flyout-auth-btn {
        display: block;
        width: 100%;
        text-align: center;
    }

        .sf-flyout-auth-btn.logout {
            color: var(--sf-soft-red);
        }

    .sf-flyout-menu .sf-nav-link,
    .sf-flyout-menu .sf-user-menu-link,
    .sf-flyout-menu .sf-flyout-user-menu-toggle,
    .sf-flyout-auth-btn {
        font-size: 22px;
        color: inherit;
    }

        .sf-user-menu-link.active,
        .sf-flyout-menu .sf-nav-link.active {
            color: var(--sf-soft-red);
            text-shadow: none;
            font-weight: 700;
        }

    .sf-logo img {
        width: max(80px,9vw);
        max-width: 180px;
    }

    .sf-main-header-backdrop {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-end;
        width: 100%;
        padding: clamp(10px,1.5vw,30px) clamp(10px,8vw,160px) 0;
    }

    .sf-user-nav-section {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-inline-start: clamp(8px, 1.2vw, 20px);
    }

    .sf-burger-menu {
        display: none;
        width: 80px;
    }

    .sf-main-header-backdrop.expanded {
        position: absolute;
        z-index: 7;
        inset: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0,0,0,.4);
        transition: background-color ease .3s;
    }

    .sf-user-pts {
        margin-inline-start: auto;
        color: var(--sf-header-orange);
        font-size: clamp(22px,1.5vw,30px);
    }

    .sf-user-profile {
        --sf--nav-profile-col-size: clamp(50px,4vw,80px);
        position: relative;
        display: grid;
        grid-template-columns: repeat(3, minmax(var(--sf--nav-profile-col-size),1fr));
        cursor: pointer;
    }

    .sf-flyout-menu .sf-user-profile {
        --sf--nav-profile-col-size: 70px;
        grid-template-columns: repeat(4, var(--sf--nav-profile-col-size));
        gap: 5px 0;
    }

    .sf-user-profile-picture {
        grid-area: 1 / 1 / 4 / 2;
        width: var(--sf--nav-profile-col-size);
        height: var(--sf--nav-profile-col-size);
        overflow: hidden;
        border-radius: 50%;
    }

    .sf-flyout-menu .sf-user-profile-picture {
        grid-area: 1 / 1 / 3 / 3;
        margin-inline: auto;
    }

    .sf-user-profile h3 {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        text-align: center;
        text-overflow: ellipsis;
        padding-inline-end: 10px;
        height: 100%;
        font-size: 18px;
        color: var(--sf-soft-red);
        max-width: 155px;
    }

    .sf-user-profile .sf-user-name, .sf-flyout-menu .sf-user-profile .sf-user-name {
        align-items: flex-start;
    }

    .sf-user-welcome-text {
        grid-area: 1 / 2 / 2 / 4;
    }

    .sf-flyout-menu .sf-user-welcome-text {
        grid-area: 1 / 3 / 2 / 5;
    }

    .sf-user-name {
        grid-area: 2 / 2 / 3 / 4;
    }

    .sf-flyout-menu .sf-user-name {
        grid-area: 2 / 3 / 3 / 5;
    }

    .sf-user-menu-arrow {
        grid-area: 3 / 2 / 4 / 4;
        margin-inline: auto;
        transition: all ease .3s;
        margin-top: 4px;
    }

    .sf-flyout-menu .sf-user-menu-arrow {
        grid-area: unset;
        display: none;
    }

    .sf-user-profile.expanded .sf-user-menu-arrow {
        transform: rotate(180deg);
    }

    .sf-user-menu {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        width: 100%;
        padding: 10px;
        border-radius: 10px;
        background-color: var(--sf-white);
        box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    }

    .sf-flyout-menu .sf-user-menu {
        grid-area: 3 / 1 / 4 / 5;
        display: block;
        position: unset;
        border-radius: unset;
        box-shadow: unset;
        width: 100%;
        padding: 10px;
    }

        .sf-flyout-menu .sf-user-menu ul {
            /*display: none;*/
            padding-inline-start: 20px;
            padding-top: 20px;
        }


    .sf-user-menu li {
        padding: 8px 5px;
    }

    .sf-user-menu-link {
        font-size: 18px;
        color: inherit;
        transition: all ease .3s;
    }

        .sf-user-menu-link.logout, .sf-user-menu-link:hover {
            color: var(--sf-soft-red);
        }

    .sf-flyout-menu .sf-logout-desktop {
        display: none;
    }

    .sf-flyout-user-menu-toggle {
        display: none;
    }

        .sf-flyout-user-menu-toggle img {
            transition: all ease .3s;
        }

        .sf-flyout-user-menu-toggle.expanded img {
            transform: rotate(180deg);
        }
    /*******************/
    /*Flyout*/

    .sf-flyout-menu {
        display: none;
        position: absolute;
        z-index: 1111;
        top: 0;
        inset-inline-start: -310px;
        flex-direction: column;
        width: 300px;
        height: 100svh;
        padding-bottom: 80px;
        background-color: var(--sf-white);
        border-start-end-radius: 144px;
        overflow-y: scroll;
        padding: 85px 10px;
        box-shadow: 7px 2px 5.6px 1px rgba(0, 0, 0, 0.1);
        transition: all ease .3s;
    }

    .sf-flyout-menus-wrapper {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
    }

        .sf-flyout-menus-wrapper ul {
            order: 1;
        }

        .sf-flyout-menus-wrapper .sf-login-btn {
            order: 2;
            align-self: center;
            margin-top: auto;
        }

    .sf-sidebar-nav {
        flex: 1;
        width: 100%;
    }

    .sf-sidebar-nav-wrapper {
        width: 100%;
    }

    .sf-sidebar-nav-link {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 12px;
        padding: 20px 10px;
        border-radius: 15px;
        font-family: sharktooth-regular;
        color: inherit;
        transition: all ease .3s;
    }
    /*******************/

    button.sf-primary-btn, input[type="submit"].sf-primary-btn, .sf-primary-btn {
        -webkit-appearance: none;
        background-color: var(--sf-gold);
        border-radius: 10px;
        min-width: 50px;
        font-size: clamp(18px,1.4vw,22px);
        color: var(--sf-black);
        padding: 10px 20px;
        font-family: inherit;
        width: fit-content;
        text-align: center;
        box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.12);
        transition: all ease .3s;
    }

        button.sf-primary-btn:disabled,
        input[type="submit"].sf-primary-btn:disabled {
            pointer-events: none;
            background: grey;
        }

        .sf-primary-btn.white-text, input[type="submit"].sf-primary-btn.white-text {
            color: var(--sf-white);
        }

        .sf-primary-btn.red-bg, input[type="submit"].sf-primary-btn.red-bg {
            background: var(--sf-soft-red);
        }

    .sf-secondary-btn {
        text-decoration: underline;
        color: var(--sf-soft-red);
        font-size: clamp(20px,1.6vw,30px);
        font-weight: 700;
    }

        .sf-secondary-btn:hover {
            text-decoration: underline;
        }

    .sf-wizard-destinations-container {
        flex: 1;
    }

    .sf-modal-backdrop {
        position: fixed;
        inset: 0;
        z-index: 5;
        width: 100%;
        height: 100svh;
        display: none;
        background-color: rgba(0,0,0,.7);
        padding: 20px;
    }

    .sf-modal {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: clamp(10px,1vw,20px);
        width: clamp(260px,90%,800px);
        height: fit-content;
        max-height: 98vh;
        background-color: var(--sf-white);
        padding: 15px;
        border-radius: clamp(12px,1.2vw,20px);
        overflow-y: auto;
        box-shadow: 0px 5px 23.1px 0px rgba(0, 0, 0, 0.1);
    }

    .sf-modal-header {
        display: flex;
        justify-content: flex-end;
        width: 100%;
    }

    .sf-modal .sf-modal-close-btn {
        position: static;
    }

    .sf-modal-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: clamp(10px,1vw,20px);
    }

    .sf-modal-title, .sf-modal-sub-title {
        font-size: clamp(18px,2vw,36px);
        width: 100%;
        text-align: center;
        color: var(--sf-dark-blue);
    }

    .sf-modal-sub-title {
        font-size: clamp(18px,2vw,36px);
        color: var(--sf-soft-red);
    }

    .sf-modal-form {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: clamp(12px,1.2vw,20px);
        width: 80%;
    }

    .sf-modal-form.full-width {
        width: 100%;
    }

    html[dir="rtl"] .sf-modal-form {
        width: 100%;
    }

    .sf-modal-form-option {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        font-size: clamp(18px,2vw,30px);
        color: var(--sf-dark-blue);
        font-weight: 700;
        width: 100%;
    }

        .sf-modal-form-option label {
            word-break: break-word;
        }

    .sf-num-input {
        flex-shrink: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid var(--sf-black);
        border-radius: 20px;
        padding-block: 5px;
        width: 160px;
    }

    .sf-modal-form label {
        font-size: inherit;
        font-weight: inherit;
    }

    .sf-num-input button {
        padding: 5px 15px;
        text-align: center;
        font-size: clamp(18px, 2vw, 25px);
        font-weight: 700;
    }

    .sf-modal-form-option input[type="number"]::-webkit-inner-spin-button,
    .sf-modal-form-option input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .sf-modal-form-option input[type="number"] {
        -moz-appearance: textfield;
        -webkit-appearance: none;
        border: 0;
        outline: none;
        width: 100%;
        text-align: center;
    }

    .sf-modal .sf-primary-btn {
        margin-block: auto;
    }


    @media screen and (max-width:1200px) {
        header {
            /*padding: 15px;*/
        }
    }

    @media screen and (max-width:1150px) {

        header {
            background-color: var(--sf-white);
            box-shadow: 0px 0px 9.9px 0px rgba(0, 0, 0, 0.25);
            padding: 10px;
        }

            header nav ul,
            .sf-user-nav-section .sf-login-btn,
            header .sf-user-profile {
                display: none;
            }

            header nav ul, .sf-user-nav-section {
                order: 3;
            }

            .sf-logo {
                order: 2;
            }

            .sf-burger-menu {
                display: block;
                order: 1;
            }

            .sf-flyout-menu, .sf-flyout-user-menu-toggle {
                display: flex;
            }

                .sf-flyout-menu.expanded {
                    inset-inline-start: 0;
                }

            .sf-modal-backdrop {
                padding: 40px;
            }

            .sf-num-input {
                border-radius: 16px;
                width: 120px;
            }
        }

    @media screen and (max-width:480px) {

        .sf-inner-layout-sections-wrapper {
            width: 100%;
        }

        .sf-modal-backdrop {
            padding: 20px;
        }

        .sf-modal-form {
            width: 100%;
        }
    }
