*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: rgb(26, 26, 26);
    min-width: 390px;
    color: white;
    font-family: 'Days', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.all {
    background-image: url(img/back-g.png);
    width: 100%;
    height: 917px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: background-image 0.3s ease;
    position: relative;
}

.all.hovered-left {
    background-image: url(img/back-left-c.png);
}

.all.hovered-right {
    background-image: url(img/back-right-c.png);
}

a {
    text-decoration: none;
    color: #fff;
}

.logo {
    width: 132px;
    height: 63px;
    margin-left: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    position: relative;
    z-index: 10;
}

.left-header-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 50%;
}

.column-h2-h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.lang-text {
    display: none;
}

.language-ru .lang-ru {
    display: block;
}

.language-en .lang-en {
    display: block;
}

.column-h2-h3 h2 {
    font-size: 20px;
    margin: 0;
}

.column-h2-h3 h3 {
    font-size: 12px;
    margin: 0;
    color: grey;
}

.right-header-content {
    font-size: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 50%;
    height: 100%;
}

.right-header-content a {
    position: relative;
    margin-top: -10px;
    margin-left: 20px;
    display: inline-block;
}
.right-header-content a .lang-text {
    display: none;
}
.language-ru .right-header-content a .lang-ru {
    display: block;
}
.language-en .right-header-content a .lang-en {
    display: block;
}
.our-discord {
    color: #fecb97;
    transition: 0.7s transform;
}
.our-discord:hover{
    transform: scale(1.05);
}
.top-menu-hover-button{
    transition: 0.7s transform;
}
.top-menu-hover-button:hover{
    transform: scale(1.05);
}

.in-cab {
    background: linear-gradient(to right, #a62037, #6f1525);
    padding: 10px 32px;
    border-radius: 20px;
    transition: 0.5s;
    margin-right: 20px;
}

.in-cab:hover {
    background: linear-gradient(to right, #6f1525, #a62037);
}

.language-switcher {
    position: relative;
    display: inline-block;
    margin-left: 15px;
}

.language-current {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0px;
    background:transparent;
    border-radius: 20px;
    transition: all 0.3s ease;
}
.language-current span img:nth-child(2){
    margin-left: 3px;
}
.language-current span{
    display: flex;
    align-items: center;
    margin-top: -7px;
    margin-left: -20px;
    margin-right: 40px;
}
.lg-rus-fl{
    border: 2px solid transparent;
    padding: 2px;
    transition: 1s border;
    border-radius: 100%;
    width: 40px;
    height: 40px;
}
.language-current:hover .lg-rus-fl{
    border: 2px solid wheat;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 10px;
    background: rgba(30, 30, 30, 0.95);
    border-radius: 10px;
    padding: 10px;
    margin-top: 5px;
    display: none;
    flex-direction: column;
    min-width: 120px;
    z-index: 1000;
}

.language-dropdown span{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.language-dropdown.open{
    display: flex;
}

.language-option {
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.center-c {
    display: flex;
    justify-content: space-between;
    padding: 100px 50px;
    height: calc(100% - 90px);
}

.left-center, .right-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 45%;
}

.left-center {
    align-items: flex-end;
    text-align: center;
    margin-right: 50px;
}

.right-center {
    align-items: flex-start;
    text-align: center;
    margin-left: 50px;
}

.left-center span, .right-center span {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 200px;
}

.left-center span h3, .right-center span h3 {
    color: #fecb97;
    font-size: 32px;
    margin-bottom: 10px;
}

.left-center span h2, .right-center span h2 {
    font-size: 53px;
    margin-bottom: 30px;
}
#first-button:hover{
    color: white;
    background-image:  linear-gradient(#1e67a2);
    transform: scale(1.04);
    box-shadow: 0 0 15px #1e67a2;
}
#second-button:hover{
    color: white;
    background-image:  linear-gradient(#9e1d1d);
    transform: scale(1.04);
    box-shadow: 0 0 15px #9e1d1d;
}
#red-c{
    color: #ff2b58;
}

.our-telegram{
    transition: 0.7s transform;
}
.our-telegram:hover{
    transform: scale(1.05);
}
.main-button {
    padding: 25px 50px;
    color: #000000;
    font-size: 26px;
    border-radius: 10px;
    background-image: linear-gradient(to right, #c9c9c9, #cacaca);
    cursor: pointer;
    transition: transform 0.6s ease, box-shadow 0.6s ease, color 0.6s ease, background-image 0.6s ease;
    display: inline-block;
    text-align: center;
}
.footer{
    width: 100%;
    height: 50px;
    position: absolute;
    display: flex;
    justify-content: space-between;
    margin-top: -60px;
    align-items: center;
}
.footer img{
    margin-right: 30px;
}
.footer p {
    position: relative;
    width: 200px;
    font-size: 12px;
    font-variant: small-caps;
    margin-left: 30px;
}

.footer p .lang-text {
    display: none;
}
.footer-img{
    width: 167px;
    height: 47px;
}
.language-ru .footer p .lang-ru {
    display: block;
}

.language-en .footer p .lang-en {
    display: block;
}

.menu-burger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    margin-left: -20px;
    margin-right: 40px;
    position: relative;
    z-index: 1001;
}

.menu-burger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-burger.open span:nth-child(2) {
    opacity: 0;
}

.menu-burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
    visibility: hidden;
}

.mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
}

.mobile-menu .top-menu-hover-button {
    margin: 15px 0;
    font-size: 24px;
    display: block !important;
    opacity: 1 !important;
}

.mobile-menu .column-h2-h3 h2 {
    font-size: 28px;
}

.mobile-menu .column-h2-h3 h3 {
    font-size: 18px;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.center-line {
    position: absolute;
    left: 52%;
    visibility: hidden;
    top: -1.76%;
    height: 103.53%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 5;
    transform: rotate(15deg);
    transform-origin: 50% 50%;
}

@media (max-width: 1900px){
    .column-h2-h3 h2{
        font-size: 15px;
    }
    .column-h2-h3 h3{
        font-size: 10px;
    }
    .right-header-content a{
        font-size: 15px;
    }
}
@media (max-width: 1631px){
    .our-telegram{
        color: #fecb97;
    }
    .our-discord{
        color: #fff;
    }
}
@media (max-width: 1366px) and (max-height: 768px){
    .all{
        height: 768px;
    }
}
@media (max-width: 1280px) and (max-height: 720px){
    .all{
        height: 720px;
    }
}
@media (max-width: 1036px){
    .left-center span a{
        font-size: 20px;
        padding: 20px;
        width: 300px;
        margin-top: -20px;
    }
    .right-center span a{
        font-size: 20px;
        padding: 20px;
        width: 300px;
        margin-top: -20px;
    }
    .left-center span h3{
        font-size: 25px;
    }
    .right-center span h3{
        font-size: 25px;
    }
    .left-center span h2{
        font-size: 45px;
        margin-top: -10px;
    }
    .right-center span h2{
        font-size: 45px;
        margin-top: -10px;
    }
}
@media (max-width: 1100px){
    .mobile-menu .column-h2-h3 h2{
        font-size: 20px;
    }
    .mobile-menu .column-h2-h3 h3{
        font-size: 14px;
    }
}
@media (max-width: 1300px){
    .menu-burger {
        display: flex;
    }
    .left-header-content{
        justify-content: flex-start;
        width: 150px;
    }
    .right-header-content{
        width: calc(100% - 200px);
    }
    .top-menu-hover-button{
        display: none;
    }
    .center-c {
        padding: 50px 30px;
    }
}
@media (max-width: 850px){
    .all{
        height: 500px;
    }
    .right-center{
        margin-left: 0px;
    }
    .left-center{
        margin-right: 0px;
    }
    .center-c{
        margin-top: 0px;
    }
    .left-center span, .right-center span{
        margin-left: 0px;
        margin-right: 0px;
    }
    .footer{
        position: absolute;
        margin-top: 30px;
    }
    .logo{
        width: 100px;
        height: 45px;
    }
    .right-header-content a{
        font-size: 10px !important;
    }
    .center-c {
        flex-direction: row;
        align-items: center;
        padding: 30px 20px;
    }
    .left-center, .right-center {
        width: 100%;
        align-items: center;
        text-align: center;
        margin-bottom: 40px;
    }
}
@media (max-width: 716px){
    .our-discord{
        display: none !important;
    }
    .our-telegram{
        display: none !important;
    }
}
@media (max-width: 677px){
    .right-header-content{
        width: calc(100% - 100px);
        text-align: center;
    }
    .left-center span h3{
        font-size: 15px;
    }
    .left-center span h2{
        font-size: 35px;
    }
    .left-center span a{
        width: 200px;
        font-size: 15px;
    }

    .right-center span h3{
        font-size: 15px;
    }
    .right-center  span h2{
        font-size: 35px;
    }
    .right-center  span a{
        width: 200px;
        font-size: 15px;
    }
}
@media (max-width: 565px){
    .left-center span h3{
        font-size: 10px;
    }
    .left-center span h2{
        font-size: 25px;
    }
    .left-center span a{
        width: 150px;
        font-size: 10px;
    }

    .right-center span h3{
        font-size: 10px;
    }
    .right-center  span h2{
        font-size: 25px;
    }
    .right-center  span a{
        width: 150px;
        font-size: 10px;
    }
    .footer p{
        font-size: 10px;
    }
    .footer-img{
        width: 157px;
        height: 40px;
    }
}