@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600;700&display=swap');

@font-face {
    font-family: 'Colus';
    src: url('../assets/fonts/Colus.otf') format('opentype');
    font-style: normal;
}

@font-face {
    font-family: 'Evolventa';
    src: url('../assets/fonts/Evolventa.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Jost';
    src: url('../assets/fonts/Jost.ttf') format('truetype');
    font-style: normal;
}

:root {
    --grey-10: #F5F5F5;
    --grey-20: #EDEDED;
    --grey-30: #e7e7e7;
    --grey-40: #dedede;
    --grey-50: #d6d6d6;
    --grey-base: #cecece;
    --grey-60: #acacac;
    --grey-70: #898989;
    --grey-80: #676767;
    --grey-90: #454545;
    --grey-100: #292929;

    --red-10: #ffcfcf;
    --red-20: #ffaeae;
    --red-30: #ff8686;
    --red-40: #ff5e5e;
    --red-50: #ff3535;
    --red-base: #ff0d0d;
    --red-60: #d50b0b;
    --red-70: #aa0909;
    --red-80: #800707;
    --red-90: #550404;
    --red-100: #330303;

    --primary-black: #080808;
    --primary-white: #FFFFFF;
    --spacing-1: 1px;
    --spacing-2: 2px;
    --spacing-xxs: 4px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 40px;
    --spacing-xl: 64px;
    --spacing-xxl: 112px;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-sizing: border-box;
}

body {
    background: var(--grey-30);
    font-family: Evolventa;
    font-size: 16px;
    font-weight: 400;
    line-height: 32px;
    text-align: left;
    color: var(--primary-black);
    background-image: url(../assets/back.jpg);
    height: 100%;
    min-height: 100vh;
}

body.dark {
    background-image: url(../assets/back_dark.jpg);
    color: #E7E7E7;
}

.body2 {
    font-family: Evolventa;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
}

.box-container.top {
    background-image: url(../assets/01q4.jpg) !important;
}

body.dark .box-container.top {
    background-image: url(../assets/mramor_b.jpg) !important;
}

h1 {
    font-family: Colus;
    font-size: 48px;
    font-weight: 400;
    line-height: 68px;
    letter-spacing: 0em;
    text-shadow: 0px 5px 4px #00000026;
    text-align: center;
}

h1 span {
    color: var(--red-70);
}

body.dark h1 span {
    background: linear-gradient(180deg, #BD9C49 0%, #E6B843 63.5%, #EECE7F 79%, #8C7845 98.5%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-family: Colus;
    font-size: 48px;
    font-weight: 400;
    line-height: 52px;
    letter-spacing: -0.01em;
}

h3 {
    font-family: Colus;
    font-size: 32px;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: -0.01em;
    text-align: center;
}

.likeh3 {
    font-family: Jost;
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
    letter-spacing: -0.01em;
    text-align: center;
}

h4 {
    font-family: Colus;
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
}

h4 span {
    color: var(--red-70);
}

h2 span {
    color: var(--red-70);
}

h5 {
    font-family: Colus;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
}

img,
video {
    max-width: 100%;
    display: block;
    margin-bottom: 0;
}

.butstyle {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-family: Colus;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    background-color: inherit;
    cursor: pointer;
    min-height: 52px;
    height: 52px;
    position: relative;
    transform-style: flat;
    transition: all 250ms ease-out;
    filter: drop-shadow(0px 2px 2px #0000004D);
}

.red_mini_but {
    background-image: url(../assets/redmain.png);
    width: 324px;
    height: 60px;
    color: var(--grey-20);

    &:hover {
        color: var(--primary-white);
        filter: drop-shadow(0px 4px 4px #0000004D);
    }
}


.red_but {
    width: 327px;
    height: 60px;
    font-family: Colus;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    background-image: url(../assets/redmain.png);
    color: var(--grey-20);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transform-style: flat;
    transition: all 250ms ease-out;
    cursor: pointer;
    background-repeat: no-repeat;
    background-color: #ffffff00;
    padding: 0 0 2px;

    &:before,
    &:after {
        content: "";
        position: absolute;
        z-index: -2;
        transition: all 250ms ease-out;
    }
}

.paper-flatten {

    &:before,
    &:after {
        bottom: 15px;
        width: 50%;
        height: 20%;
        max-width: 145px;
        max-height: 15px;
        box-shadow: 0 15px 12px rgba(31, 31, 31, 0.7);
    }

    &:before {
        left: 20px;
        transform: rotate(-3deg);
    }

    &:after {
        right: 20px;
        transform: rotate(3deg);
    }

    &:hover {

        &:before,
        &:after {
            transition: box-shadow 600ms ease-out, left 200ms, right 200ms;
            box-shadow: 0 8px 8px rgba(31, 31, 31, 0.5);
        }

        &:before {
            left: 20px;
        }

        &:after {
            right: 20px;
        }
    }
}

.white_but {
    background-image: url(../assets/buttonwhite.png);
    width: 308px;
    min-width: 308px;
    color: var(--primary-black);
    display: block;
    padding: 15px 0;
    font-family: Colus;
    font-size: 18px;
    font-weight: 400;
    line-height: 29px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transform-style: flat;
    transition: all 250ms ease-out;
    background-size: cover;
    cursor: pointer;
    background-repeat: no-repeat;
    background-color: #ffffff00;

    &:before,
    &:after {
        content: "";
        position: absolute;
        z-index: -2;
        transition: all 250ms ease-out;
    }
}

body.dark .white_but {
    background-image: url(../assets/buttonblack.png);
    color: #E7E7E7;
    filter: drop-shadow(0px 0px 1px #bd9c49);
}

body.dark .white_but:hover {
    color: #BD9C49;
}

.white-flatten {

    &:before,
    &:after {
        bottom: 17px;
        width: 50%;
        height: 20%;
        max-width: 145px;
        max-height: 20px;
        box-shadow: 0 15px 12px rgba(31, 31, 31, 0.7);
    }

    &:before {
        left: 10px;
        transform: rotate(-3deg);
    }

    &:after {
        right: 10px;
        transform: rotate(3deg);
    }

    &:hover {
        color: var(--red-70);

        &:before,
        &:after {
            transition: box-shadow 600ms ease-out, left 200ms, right 200ms;
            box-shadow: 0 8px 8px rgba(31, 31, 31, 0.5);
        }

        &:before {
            left: 10px;
        }

        &:after {
            right: 10px;
        }
    }
}


@media (max-width: 920px) {

    :root {
        --spacing-1: 1px;
        --spacing-2: 2px;
        --spacing-xxs: 4px;
        --spacing-xs: 8px;
        --spacing-sm: 16px;
        --spacing-md: 24px;
        --spacing-lg: 32px;
        --spacing-xl: 40px;
        --spacing-xxl: 112px;
    }

    h1 {
        font-size: 24px;
        font-weight: 400;
        line-height: 30px;
        letter-spacing: -0.24px;
    }

    h2 {
        font-size: 32px;
        font-weight: 400;
        line-height: 36px;
        letter-spacing: -0.01em;
    }

    h3 {
        font-size: 28px;
        font-weight: 600;
        letter-spacing: -0.8px;
        line-height: 36px;
    }

    .likeh3 {
        font-size: 26px;
        font-weight: 600;
        line-height: 32px;
        letter-spacing: 0.5px;
    }

    h4 {
        font-size: 24px;
        font-weight: 600;
        letter-spacing: -0.2px;
        line-height: 32px;
    }

    h5 {
        font-size: 18px;
        font-weight: 600;
        line-height: 24px;
    }
}

@media (max-width: 599px) {

    :root {
        --spacing-1: 1px;
        --spacing-2: 2px;
        --spacing-xxs: 2px;
        --spacing-xs: 4px;
        --spacing-sm: 8px;
        --spacing-md: 32px;
        --spacing-lg: 16px;
        --spacing-xl: 24px;
        --spacing-xxl: 64px;
    }

    body {
        font-size: 13px !important;
        line-height: 16px;
    }

    h2 {
        font-size: 32px;
        font-weight: 400;
        line-height: 36px;
        letter-spacing: -0.01em;
    }

    h3 {
        font-size: 24px;
        font-weight: 600;
        letter-spacing: -0.8px;
        line-height: 32px;
    }

    .likeh3 {
        font-size: 22px;
        font-weight: 600;
        line-height: 28px;
        letter-spacing: -0.01em;
    }

    h4 {
        font-family: Colus;
        font-size: 24px;
        font-weight: 400;
        line-height: 28px;
        letter-spacing: -0.008em;
        text-align: center;
    }

    h5 {
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
    }

}