@font-face {
    font-family: "KyivTypeSans";
    src: url(../../../../assets/fonts/KyivTypeSans-VarGX.ttf) format("truetype");
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "TikTokSans";
    src: url(../../../../assets/fonts/TikTokSans_18pt-Regular.ttf) format("truetype");
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "TikTokSans MediumItalic";
    src: url(../../../../assets/fonts/TikTokSans16pt-MediumItalic.otf) format("opentype");
    font-style: normal;
    font-display: swap;
}

:root{
    --bg-color-main: #f4f3f0;
    --bg-color-secondary: #513c2b;

    --font-regular-main: "TikTokSans";
    --font-regular-secondary: "KyivTypeSans";
    --font-decorative: "TikTokSans MediumItalic";

    --text-color-main: #66563d;
    --text-color-secondary: #c5a067;
}

html {
    scroll-behavior: smooth;
}

body{
    background-color: var(--bg-color-main);
    /*scroll-behavior: smooth;*/
}

.regular-header{
    font-family: var(--font-regular-secondary), sans-serif;
    font-size: 4rem;
    color: var(--text-color-main);
}

.regular-subheader{
    font-family: var(--font-regular-secondary), sans-serif;
    font-size: 3rem;
    color: var(--text-color-main);
}

.regular-text{
    font-family: var(--font-regular-main), sans-serif;
    font-size: 1.3rem;
    color: var(--text-color-main);
}

.regular-link{
    display: inline-block;
    position: relative;
    text-decoration: none;
    width: fit-content;
    color: var(--text-color-main);
    font-family: var(--font-regular-main), sans-serif;
}
.regular-btn{
    color: var(--text-color-main);
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    font-size: 1.4rem;
    border: 2px solid var(--text-color-main);
    background-color: white;
    border-radius: 40px;
    font-weight: bold;
    padding: 0.8rem 1.4rem;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.regular-btn:hover{
    background-color: var(--bg-color-main);
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
}

.regular-link::after{
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    border-bottom: 2px solid var(--text-color-main);
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.regular-link:hover::after{
    width: 100%;
}

.regular-link.text-color-secondary::after{
    border-color: var(--text-color-secondary);
}

.text-color-main{
    color: var(--text-color-main) !important;
}
.text-color-secondary{
    color: var(--text-color-secondary) !important;
}

.bg-color-main{
    background-color: var(--bg-color-main) !important;
}
.bg-color-secondary{
    background-color: var(--bg-color-secondary) !important;
}

.font-regular-header{
    font-family: var(--font-regular-main), sans-serif !important;
}
.font-regular-main{
    font-family: var(--font-regular-secondary), sans-serif !important;
}
.font-decorative{
    font-family: var(--font-decorative), sans-serif !important;
}

.font-large{
    font-size: 2.4rem !important;
}

/*loading animation*/
.loading-screen{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background-color: var(--bg-color-secondary);
    z-index: 9999;
    -webkit-animation: curtainMoveUp .6s cubic-bezier(0.4, 0, 1, 1) forwards;
    -o-animation: curtainMoveUp .6s cubic-bezier(0.4, 0, 1, 1) forwards;
    animation: curtainMoveUp .6s cubic-bezier(0.4, 0, 1, 1) forwards;
    -webkit-animation-delay: 1.8s;
    -moz-animation-delay: 1.8s;
    -o-animation-delay: 1.8s;
    animation-delay: 1.8s;
}
.loading-screen__logo{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-animation: curtainLogoMoveUp .6s cubic-bezier(0.4, 0, 1, 1) forwards;
    -o-animation: curtainLogoMoveUp .6s cubic-bezier(0.4, 0, 1, 1) forwards;
    animation: curtainLogoMoveUp .6s cubic-bezier(0.4, 0, 1, 1) forwards;
    -webkit-animation-delay: 1.5s;
    -moz-animation-delay: 1.5s;
    -o-animation-delay: 1.5s;
    animation-delay: 1.5s;
}
.loading-screen__logo::after{
    content: "";
    position: absolute;
    display: block;
    width: 0%;
    left: 150px;
    bottom: -35px;
    /*transform: translateX(-50%);*/
    border-bottom: 2px solid var(--text-color-secondary);
    opacity: .8;
    -webkit-animation: loading-bar 1.5s linear forwards;
    -o-animation: loading-bar 1.5s linear forwards;
    animation: loading-bar 1.5s linear forwards;
}
@-webkit-keyframes loading-bar {
    0%{
        width: 0%;
    }
    80%{
        width: 50%;
        opacity: 1;
    }
    to{
        width: 50%;
        opacity: 0;
    }
}
@-webkit-keyframes curtainLogoMoveUp {
    0%{
        top: 50%;
        width: 600px;
    }
    to{
        top: 35%;
        width: 400px;
    }
}
@-webkit-keyframes curtainMoveUp {
    0%{
        height: 100vh;
        opacity: 1;
        visibility: visible;
    }
    70%{
        height: 20vh;
        opacity: 1;
    }
    to{
        height: 20vh;
        opacity: 0;
        visibility: hidden;
    }
}