:root {
    --color-main-background: #ffffff;
    --color-main-text: #000000;
    --color-separator: #0000003f;
    --color-violet: #8d81c18c;
    --color-green: #a1c181;
    --color-red: #dd2d4a;

    --color-white: #FFFFFF;

    --color-dark-area: #1e1e1e;
    --color-dark-lighter: #2d2d2d;
    --color-dark-accent: #414141;
    --color-dark-accent-01: rgba(65, 65, 65, 0.1);

    --color-night-shade: #2c3e50;
    --color-green-sea-dark: #0f705c;
    --color-green-sea: #16a085;
    --color-green-sea-06: rgba(22, 160, 132, 0.6);
    --color-green-sea-04: rgba(22, 160, 132, 0.4);
    --color-green-sea-02: rgba(22, 160, 132, 0.2);
    --color-green-sea-01: rgba(22, 160, 132, 0.1);
    --color-everland: #2ecc71;
    --color-nephritis: #27ae60;
    --color-peter-river-contrast: #115d8e;
    --color-peter-river-dark: #408bbd;
    --color-peter-river: #3498db;
    --color-peter-river-04: rgba(52, 152, 219, 0.4);
    --color-peter-river-03: rgba(52, 152, 219, 0.3);
    --color-peter-river-01: rgba(52, 152, 219, 0.1);
    --color-belize-hole: #030303;
    --color-amethyst: #9b59b6;
    --color-amethyst-08: rgb(156, 89, 182, 0.8);
    --color-amethyst-04: rgb(156, 89, 182, 0.4);
    --color-amethyst-01: rgb(156, 89, 182, 0.1);
    --color-wisteria: #8e44ad;
    --color-wet-asphalt: #34495e;
    --color-midnight-blue: #2c3e50;
    --color-night-shade: #2c3e50;
    --color-sun-flower: #f1c40f;
    --color-orange-contrast: #ffcd8d;
    --color-orange-dark: #cd830e;
    --color-orange: #f39c12;
    --color-orange-08: rgb(243, 156, 18, 0.8);
    --color-orange-03: rgb(243, 156, 18, 0.3);
    --color-orange-01: rgb(243, 156, 18, 0.1);
    --color-carrot: #e67e22;
    --color-pumpkin: #d35400;
    --color-alizarin: #e74c3c;
    --color-pomegranate: #c0392b;
    --color-pomegranate-06: rgb(192, 57, 43, 0.6);
    --color-pomegranate-04: rgb(192, 57, 43, 0.4);
    --color-pomegranate-02: rgb(192, 57, 43, 0.2);
    --color-pomegranate-01: rgb(192, 57, 43, 0.1);

    --color-clouds: rgba(237, 241, 242, 1);
    --color-clouds-darker: #d6dadb;
    --color-silver: rgba(189, 195, 199, 0.902);
    --color-silver-darker: rgba(189, 195, 199);
    --color-concrete: #95a5a6;
    --color-concrete-01: rgba(149, 165, 166, 0.1);
    --color-asbestos: #7f8c8d;

    --font-main-text: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI",
        "Inter", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Microsoft YaHei Light", sans-serif !important;
    --font-main-header: "Montserrat", "Roboto", -apple-system,
        BlinkMacSystemFont, "Segoe UI", "Inter", "Apple Color Emoji",
        "Segoe UI Emoji", "Segoe UI Symbol", "Microsoft YaHei Light", sans-serif !important;
    --font-code: "PT Mono", Courier New, monospace !important;
    --font-size-post-add: 14px;
    --font-size-price: 20px;

    --padding-text: 30px;
    --padding-mobile: 0;

    --width-margin-left-content: 20px;

    --margin-top-section: 60px;

    --width-main: 1700px;
    --width-blog: 800px;
    --width-sidebar: 400px;
    --margin-main: calc(50% - 1700px / 2);
    --width-map-workspace: 50px;

    --height-header: 90px;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    /* box-sizing: border-box; */
}

.user_select {
    -moz-user-select: -moz-none;
    -o-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.user_allow_select {
    -moz-user-select: -moz-all;
    -o-user-select: all;
    -khtml-user-select: all;
    -webkit-user-select: all;
    user-select: all;
}

.cursor_default,
.cursor-default {
    cursor: default !important;
    opacity: 1 !important;
}

.no_link {
    pointer-events: none;
    cursor: default !important;
}

.bold {
    font-weight: 900;
}

.display_none {
    display: none;
}

.margin_top_20 {
    margin-top: 20px !important;
}

.margin_top_30 {
    margin-top: 30px !important;
}

.margin_left_30 {
    margin-left: 30px !important;
}

.margin_bottom_0 {
    margin-bottom: 0px !important;
}

.margin_bottom_20 {
    margin-bottom: 20px !important;
}

.margin_bottom_40 {
    margin-bottom: 40px !important;
}

.margin-right-30 {
    margin-right: 30px;
}

.lower_text {
    text-transform: lowercase !important;
}

.flex_center {
    display: flex;
    align-items: center;
}

.text_align_left {
    text-align: left !important;
}

.hover {
    transition: opacity 0.5s ease;
}

.hover:hover {
    opacity: 0.7;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

pre,
.code_xml,
.code_php,
.code_xml p,
.code_php p {
    font-family: var(--font-code);
}

img {
    width: 100%;
}

.img_icon,
.img_before::before,
.img_after::after {
    float: left;
    display: block;
    font-family: fontawesome;
    color: #000;
    opacity: 1;
    display: flex;
    justify-content: flex-start;
    line-height: inherit;
    font-size: inherit;
    width: auto;
    height: auto;
    transition: 0.2s transform ease-in-out;
    align-items: center;
}

/* .img_before::before {
    margin-right: 0.1em;
}

.img_after::after {
    margin-left: 0.1em;
} */

.button {
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 4px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, .2); */
    background: var(--color-peter-river);
    transition: opacity 0.2s;
    cursor: pointer;

    font-family: var(--font-main-header);
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 300;
    text-align: center;

    width: fit-content;
    padding: 8px 16px 8px 16px;
    white-space: nowrap;
}

.button.spin::after,
.button.spin::before {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

body,
html {
    height: 100%;
    margin: 0;
}

body {
    display: grid;
    background: var(--color-clouds);
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "wrap";

    font-family: var(--font-main-text);
    height: 100%;
    width: 100%;
    margin: 0;
    overflow-x: hidden;

    box-sizing: border-box;
}

body.no-scroll {
    overflow: hidden;
    position: relative;
}

#wrap {
    grid-area: wrap;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: min-content auto min-content;
    grid-template-areas:
        "header header header"
        "main main main"
        "footer footer footer";

    height: 100%;
    width: 100%;
    box-sizing: border-box;
    /* overflow-x: hidden; */
    /* gap: 30px; */
}

#wrap header {
    grid-area: header;

    display: grid;
    grid-template-columns: min-content min-content auto 30px min-content;
    grid-template-rows: auto;
    grid-template-areas: "logo logo_text menu space login";
    align-items: center;

    height: var(--height-header);

    background: var(--color-peter-river);
    border-bottom: 0;
    box-sizing: border-box;
}

#wrap header #mobile_menu {
    float: left;
    font-family: fontawesome;
    color: #fff;
    margin-right: 10px;
    opacity: 1;
    display: flex;
    justify-content: flex-start;
    line-height: inherit;
    font-size: inherit;
    width: auto;
    height: auto;
    display: none;
    margin: 20px;
}

#wrap header #mobile_menu::after {
    font-size: 30px;
    line-height: 30px;
    letter-spacing: 0;
    content: "\2630";
    margin-right: 0;
}

#wrap .logo {
    grid-area: logo;
    display: flex;
    gap: 10px;
    align-items: center;
}

#wrap .logo .image {
    background-image: url("/img/site/logo_white.svg");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.5s ease;

    width: 70px;
    height: 70px;
    margin: 10px;
    display: block;
}

#wrap .logo_text {
    grid-area: logo_text;
    color: #FFF;
    font-family: var(--font-main-header);
    text-decoration: none !important;
    font-size: 35px;
    font-weight: 500;
}

#wrap header .logo:hover {
    opacity: 0.5;
    cursor: pointer;
}

#wrap header .menu {
    grid-area: menu;

    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: flex-end;

    box-sizing: border-box;
}

#wrap header .menu .item {
    font-family: var(--font-main-header);
    color: #ffffff;
    font-weight: 500;
    display: flex;
}

#wrap header .space {
    grid-area: space;
}

#wrap .login {
    grid-area: login;
    justify-self: end;

    display: flex;
    align-content: center;
    align-items: center;

    gap: 20px;

    padding: 20px;

    white-space: nowrap;
    position: relative;
}

#wrap .login .item {
    display: flex;
    align-items: center;
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

.header_login_icon::before {
    content: "\f2be";
    margin: 0;
    width: auto;
    font-size: 40px;
}

#wrap .login .item:hover {
    opacity: 0.8;
    cursor: pointer;
}

header .login_popup_button::before,
header .profile_popup_button::before {
    color: #ffffff;
}

#wrap main {
    grid-area: main;
    width: 100%;
    height: 100%;
}

#wrap footer {
    grid-area: footer;
    /* height: 60px; */
    /* background: var(--color-clouds); */
}

#mobile_menu_box {
    display: none;
}

/**
* LOGIN
*/

.login-page {
    display: none;
}

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 20px;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.5s ease;
    font-family: var(--font-main-text);
}

.cookie-consent-content {
    display: flex;
    max-width: var(--width-blog);
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text p {
    margin: 0 0 8px 0;
    font-size: 12px;
    line-height: 1.5;
    color: #333;
}

.cookie-policy-link {
    color: var(--color-peter-river-dark);
    text-decoration: none;
    font-size: 12px;
}

.cookie-policy-link:hover {
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-direction: column;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.accept-btn {
    background: var(--color-peter-river-dark);
    color: white;
}

.accept-btn:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-consent-buttons {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}