@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono&family=Overpass:ital,wght@0,100;0,200;0,400;0,600;0,700;0,800;1,400;1,600;1,700;1,800&display=swap');

:root {
    --bg-color: white;
    --bg-light_color: #ebecf3;
    --bg-extralight_color: #ffffff;
    --text-color: #323232;
    --text-color_pale: #7d7d7d;
    --text-color_contrast: #000000;
    --link-color: #37485a;
    --main-color: #d7202d;
    --main-color-light: #f12432;
    --main-color-dark: #ab151f;
    --second_color: #0d65ff;
    --second_color_light: #c3daff;
    --second_color_dark: #0038ab;
    --neutral_color: #dbe9ff;
    --good_color: #1ec167;
    --warn_color: #f3ca17;
    --bad_color: #ca122b;
    --transparent_normal: #2e2e2ee3;
}

/* @media (prefers-color-scheme: dark) { */
/* Elements */
* {
    transition: .1s;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Overpass', sans-serif;
    /*font-family: "Rubik", serif;*/
    /*font-optical-sizing: auto;*/
    /*font-weight: 500;*/
    border-radius: .2rem;
}

*:focus {
    outline: none;
}

html {
    height: 100%;
}

body {
    height: 100%;
    background: var(--bg-color);
    font-size: 1rem;
}

h2 {
}

h3 {
    font-weight: 600;
    font-size: 1.5rem;
}

h4 {
    font-weight: 600;
    margin: 1rem 0 .5rem;
    font-size: 1.3rem;
}

h5 {
    color: var(--link-color);
    font-size: .9rem;
    margin: 1rem 0 0;
    display: inline-block;
    padding: 4px 1rem;
    border-radius: 1.5rem;
    border: 1px solid var(--link-color);
}

h6 {
    font-size: .9rem;
}

a {
    color: var(--link-color);
    /* border-bottom: 1px solid; */
    border-radius: 0;
}

a:hover {
    color: var(--main-color-dark)
}

p {
    padding: .5rem 0
}

i {
    color: var(--text-color);
}

code {
    padding: .2rem .5rem;
    background: var(--text-color_pale);
    font-family: monospace;
    color: white;
    border-radius: .4rem;
}

ol {
    margin-left: 4rem;
}

ul {
    margin-left: 2rem;
}

li {
    padding: .3rem;
}

/* Customized Inputs */
/* radiobutton */
.radio {
    cursor: pointer;
    user-select: none;
    text-align: left;
}

.radio input {
    display: none;
}

.radio input + div {
    position: relative;
    border: 1px solid #bbbbbb;
    border-radius: .5rem;
    padding: .1rem;
    display: flex;
    align-items: center;
}

.radio input + div:hover {
    background: var(--bg-light_color);
}

.radio input:checked + div {
    background: var(--second_color_light);
    border-color: var(--second_color_light);
    font-weight: 800;
}

.radio input:checked + div.green_button {
    background: #1ec167;
}

/* checkbox */
label.checkbox {
    cursor: pointer;
    display: block;
}

.checkbox input {
    display: none;
}

.checkbox input + span {
    display: block;
    position: relative;
}

.checkbox span {
    padding-left: 2rem;
}

.checkbox span:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 21px;
    /*! background: var(--bg-extralight_color); */
    top: -3px;
    left: 0;
    border-radius: 0.2rem;
    opacity: .2;
    border: 1px solid var(--text-color);
    transition: 0.2s all;
}

.checkbox span:after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    left: 5px;
    top: 3px;
    border-radius: .1rem;
    background: var(--text-color);
    opacity: 0;
    transform: scale(0, 0);
    /* transition: all 0.2s cubic-bezier(0.64, 0.57, 0.67, 1.53); */
}

.checkbox input:checked + span:before {
    border: 1px solid var(--second_color);
}

.checkbox input:checked + span:after {
    background: var(--second_color);
}

.checkbox input:checked + span:after,
.checkbox input:checked + span:before {
    opacity: 1;
    transform: scale(1, 1);
}

input,
select,
textarea {
    color: var(--bg-color);
}

input,
select {
    height: 2.5rem;
    width: 100%;
    border: 1px solid var(--text-color_pale);
    padding: 0 .5rem;
    font-size: 1rem;
    color: var(
            --text-color);
}

input:focus,
select:focus {
    border: 2px solid var(--second_color_light);
}

option {
    color: var(--bg-color);
}

input[type=submit] {
    cursor: pointer;
    background-color: var(--main-color);
    color: white;
    width: auto;
    padding: 0 1rem;
    border: 1px solid;
}

textarea {
    resize: none;
    max-width: 30rem;
    height: 15rem;
    color: var(--text-color_contrast);
    padding: .5rem;
    margin-bottom: 1rem;
    border-radius: .5rem;
    border: none;
    background: var(--bg-light_color);
}

label {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Layout */
#wrpapper,
#wrapper_promo {
    display: flex;
    flex-direction: column;
    height: 100%
}

.grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-gap: 1rem;
}

.inline_block {
    display: inline-block !important;
    position: unset !important;
}

header,
main,
footer {
    display: flex;
    margin: auto;
    max-width: 1250px;
    align-items: center;
    width: 95%;
    position: relative;
}

header {
    height: 7rem;
    flex-direction: row;
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
}

main {
    flex-direction: column;
    flex: 1 0 auto;
}

footer {
    flex: 0 0 auto;
    min-height: 10vh;
    justify-content: space-between;
    width: 100%;
    padding: 1rem;
    /* border-top: 2px solid var(--neutral_color); */
    margin-top: 2rem;
    border-radius: 0;
    color: var(--text-color);
}

/*Messages*/
.message,
.info_message {
    padding: 1rem;
    margin: 1rem 0;
}

.message {
    background: var(--bg-light_color);
}

.info_message {
    background: aquamarine;
}

/* Header */
.site_title {
    text-decoration: none;
    border: none;
}

.nav_class {
    display: flex;
    align-items: center;
}

.nav_menu {
    margin-right: 1rem;
    margin-left: 1rem;
    display: flex;
}

.nav_menu li {
    list-style-type: none;
    display: inline-flex;
}

.nav_menu a {
    align-items: center;
    justify-content: center;
    color: var(--bg-extralight_color);
    text-decoration: none;
    display: flex;
    /* margin: 0 0.5rem; */
    border: 1px solid transparent;
    border-radius: 5rem;
    background: var(--main-color);
    padding: .5rem 1rem;
    transition: .1s;
}

a.nav_links {
    background: none;
    color: black;
    text-decoration: underline;
}

a.nav_links:hover {
    background: none !important;
    box-shadow: none !important;
    color: var(--main-color) !important;
}

.nav_menu a:hover {
    cursor: pointer;
    color: white;
    /* border-radius: .2rem; */
    background: var(--main-color-light);
    transition: .1s;
    box-shadow: 0 5px 5px #f1212f52;
}

.social_block {

    display: flex;

    align-items: center;
}

.social_block i {
    font-size: 2rem;
    cursor: pointer;
}

.social_block i a {

}

.logo_container {
    display: flex;
    align-items: center;
}

.logo_container img {
    width: 47px;
    margin-right: 1rem;
}

.logo_container a {
    color: var(--text-color) !important;
    text-decoration: none;
}

.logo_container h2 {
    margin-top: 3px;
}

.menu_button {
    display: none;
}

/* Main */
.page_wrapper {
    margin: .5rem 0;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

.article_image {
    width: 89vw;
    margin: 0 auto;
    min-width: 100px;
    max-width: 617px;
}

section {
    margin: .5rem 0;
}

section h3 {
    margin: 0 0 .5rem;
}

section span {

}

section ul li {
    font-style: italic;
}

.menu_section {
    padding: .1rem;
    background: #98adb9;
    width: 2rem;
    display: inline-flex;
    height: 2rem;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-family: monospace;
}

.info_container {
    display: flex;
    align-items: center;
    justify-content: left;
    width: 100%;
    background: var(--second_color_light);
    padding: 1rem;
    border: 1px solid var(--second_color);
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.info_container > i {
    font-size: 2rem;
    color: var(--second_color);
    margin-right: 1rem;
}

.info_container a {
}

.info_container_content {
    display: flex;
    flex-direction: column;
    padding: .5rem;
}

.info_container_content * {
    cursor: auto !important;
    font-size: .8rem !important;
}

.info_container_content > div {
    display: flex;
    align-items: center;
    padding: .2rem;
    /* transform: scale(90%); */
}

.info_text {
    padding-left: .5rem;
    font-size: 0.8rem;
}

/*Sign in Sign up*/
.form_block {
    padding: 1rem;
    width: 20rem;
    max-width: 30rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.base_form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.oauth_block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.oauth_list {
    display: flex;
    gap: 0.5rem;
    list-style-type: none;
}

.oauth_list li {
    display: inline;
    font-size: 1.5rem;
}

/*Footer*/

.splash_screen {
    margin: 0 auto;
}

.splash_logo {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.splash_logo img {
    margin: 0 auto;
    width: 15rem;
}

.splash_logo h2 {
    font-size: 2.2rem;
    font-weight: 800;
    text-shadow: 0 0 9px #226ea300;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(55deg, #2b2b2b 27%, #676565);
    background-clip: text;
    text-align: center;
    margin-top: 1rem;
}
.splash_logo h4{
    text-align: center;
}

.splash_screen h4 {
    margin: 0 0 1rem;
    font-weight: 400;
}

.splash_logo span {

}

.intro_menu {
    list-style-type: none;
    text-align: center;
    margin: 2rem 0 3rem;
}

.intro_menu li {
    display: inline;
    padding: 1rem .5rem;
    display: inline-block;
}

/*Styles*/

h3.style_title_1 {

    background: linear-gradient(55deg, #157c6f 27%, #90b8a7);
}

h3.style_title_2 {
    background: linear-gradient(55deg, #34716a 27%, #52a39b);
}

h3.style_title_3 {
    background: linear-gradient(55deg, #316d7d 27%, #5eacb8);
}

h3.style_title_4 {
    background: linear-gradient(55deg, #316d7d 27%, #5eacb8);
}

h3.style_title_5 {
    background: linear-gradient(55deg, #1e635c 27%, #5e9a80);
}

h3.style_title_6 {
    background: linear-gradient(55deg, #21586d 27%, #379bc5);
}

h3.style_title_7 {
    background: linear-gradient(55deg, #144055 27%, #4f9cb1);
}

h3.style_title_8 {
    background: linear-gradient(55deg, #2c2e2f 27%, #5f686b);
}

h3.style_title_1,
h3.style_title_2,
h3.style_title_3,
h3.style_title_4,
h3.style_title_5,
h3.style_title_6,
h3.style_title_7,
h3.style_title_8 {
    font-size: 2.5rem;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

li.link_1 {
}

li.link_2 {
}

li.link_3 {
}

li.link_4 {
}

li.link_5 {
}

li.link_6 {
}

li.link_7 {
}

li.link_8 {
}

a.button_1 {
    background: #f17230;
}

a.button_2 {
    background: #ffa027;
}

a.button_3 {
    background: #f1764e;
}

a.button_4 {
    background: #f1764e;
}

a.button_5 {
    background: #649670;
}

a.button_6 {
    background: #ef4e84;
}

a.button_7 {
    background: #ed791f;
}

a.button_8 {
    border: none;
    border-radius: 2rem;
    background: #bf1e29;
}

a.button_8:hover {
    border-radius: 2rem;
    box-shadow: 0 8px 8px #db373780;
    background: var(--main-color-light);
    border: none;
    color: white;
}

.download_container {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.download_os_element {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 1rem;
    padding: .7rem;
}
.download_os_element a{padding: .5rem .7rem;background: var(--main-color);border-radius: 1rem;color: white;text-decoration: none;}


.intro_download {
    border: none;
    padding: 1rem;
    background: #34a0ff;
    display: block;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.registered_info {
    position: absolute;
    bottom: 2rem;
    padding: 2rem 2rem 0;
    font-size: .7rem;
    color: #9f9f9f;
}

.telegram_button {
    text-decoration: none;
    position: absolute;
    right: 2rem;
    top: 2rem;
    border: none;
    font-size: 2rem;
}

.models_container {
    grid-gap: 1rem;
}

.model_block {
    position: relative;
    padding: 1rem;
    border-radius: .7rem;
    border: none;
    text-decoration: none;
}

.model_block:hover {
    background: var(--bg-light_color);
}

.model_block h4 {
    display: flex;
    gap: 5px;
    align-items: center;
    color: var(--text-color);
}

.model_block img {
    width: 100%;
}

/*Car Badges*/
.badges_container {
    position: absolute;
    right: 1rem;
}

.badges_container_big {
    position: relative;
    width: auto;
    display: flex;
    padding: 1rem 0;
}

.badge_accept {

}

.badge_accept i {
    color: #1ec167;
}

.has_mods_badge {
    font-weight: 600;
    border: 1px solid #0a63ff;
    padding: 3px 7px;
    font-size: .7rem;
    color: #064781;
    background: #438dff52;
    border-radius: .7rem;
}

.model_info_container {
    margin: 2rem 0 1rem;
}

.model_info_container img {

}

.mod_description {
    padding: 2rem;
    background: var(--bg-light_color);
    border-radius: .5rem;
}

.h4_icon {
    width: 36px;
    margin: -.4rem .5rem 0 0;
}

.details_with_icon {
    display: flex;
    align-items: center;
}

@media (max-width: 860px) {

    .nav_class {
        flex-direction: column;
        position: absolute;
        width: 100%;
        height: 1px;
        background: gray;
        padding: 1rem;
        top: 1rem;
        border-radius: 1rem;
        display: none;
        transition: .5s;
    }

    .enabled {
        flex-direction: column;
        position: absolute;
        width: 100%;
        height: auto;
        background: var(--bg-light_color);
        padding: 1rem;
        top: 1rem;
        border-radius: 1rem;
        display: block;
        transition: .5s;
        box-shadow: 0 5px 15px #8a8a8a96;
        z-index: 11;
    }

    .nav_menu {
        flex-direction: column;
    }

    .nav_menu li {
        display: block;
    }

    .social_block {
        position: absolute;
        top: 1rem;
        left: 1rem;
    }

    .menu_button {
        display: block;
        font-size: 1rem;
        position: absolute;
        z-index: 12;
        top: 2rem;
        right: 1rem;
    }

    .menu_button i {
        font-size: 1.2rem;
    }

    .model_info_container img {
        display: block;
        margin: 0 auto;
    }

    .splash_logo {
        width: 85%;
    }

    .splash_logo img {
        width: 10rem;
    }

    .splash_logo h2 {
        font-size: 2rem;
    }

    .splash_screen h4 {
        font-size: 1.2rem;
        text-align: center;
    }

    .intro_menu {
        margin: 1rem 0 2rem;
    }

    .intro_menu li {
        padding: .3rem;
    }

}

@media (max-width: 960px) {
    .download_os_element > div{
        display: flex;
        flex-direction: column;
        gap: .2rem;
    }
    .download_os_element a{
        text-align: center;
        width: 75px;
    }
}

