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

@font-face {
    font-family: "FontRegular";
    src: url(/resources/css/fonts/TitilliumWeb-Regular-57e937e4eef39e324bd4f26745053687.ttf) format("truetype");
    font-weight: 400;
    font-style: normal
}
@font-face {
    font-family: "FontMedium";
    src: url(/resources/css/fonts/TitilliumWeb-SemiBold-c21564022e51245ca150237eeb23a2bb.ttf) format("truetype");
    font-weight: 400;
    font-style: normal
}
@font-face {
    font-family: "FontBold";
    src: url(/resources/css/fonts/TitilliumWeb-Bold-d49a8ee8f1baee082909ab2e7c4062d1.ttf) format("truetype");
    font-weight: 700;
    font-style: normal
}
@font-face {
    font-family: "Formula";
    src: url(/resources/css/fonts/Formula1-Regular_web_0-90c10fedcba64d6d4ec43309b0971b4b.ttf) format("truetype");
    font-weight: 400;
    font-style: normal
}
@font-face {
    font-family: "Formula-bold";
    src: url(/resources/css/fonts/Formula1-Bold_web_0-ee580ed0cdf37e9d2b7d08f50312fe43.ttf) format("truetype");
    font-weight: 700;
    font-style: normal
}

:root {
    --darkBlue: #021529;
    --purple: #804780;
    --yellow: #ffd000;
    --white: #fff;
    --black: #000;
    --lightWhite : #ffffff45;
    --regular: "FontRegular";
    --medium: "FontMedium";
    --bold: "FontBold";
    --formReg: "Formula";
    --formBold: "Formula-bold"
}

html {
    scroll-behavior: smooth
}

ul {
    list-style-type: none;
}

p,ul {
    margin-bottom: 0;
}

a {
    text-decoration: none!important;
}

.langs-desktop{
    padding-inline-start: 1rem;
    border-inline-start: 1px solid var(--lightWhite);
}
.langs-mobile{
    margin-top: 4rem;
}

.row .btn-back-to-all-prod{
    font-family: var(--formBold);
    background-color: var(--yellow);
}
.row .btn-back-to-all-prod > a {
    color: var(--black);
}

.main_nav {
    position: relative;
    padding: 1rem 2rem;
    background-color: rgb(0 0 0 / .7);
    font-family: var(--regular);
}

.main_nav .upper {
    padding: .5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    border-bottom: 1px solid var(--lightWhite);
}

.main_nav .upper li:last-of-type {
    padding-left: 0;
}

.main_nav .container {
    position: relative;
}

.main_nav .logo img {
    width: 275px;
}

.main_nav ul li {
    color: var(--white);
    position: relative;
    display: inline-block;
    padding-inline-end: 1.4rem;
}

.main_nav ul li i {
    margin-left: .25rem;
}

.main_nav .mobile_menu ul li i {
    font-size: 18px;
}

.main_nav .mobile_menu ul li i[data-state="active"] {
    transform: rotate(180deg);
    transition: transform 0.5s;
}

.main_nav .mobile_menu ul li i[data-state="deactive"]{
    transform: rotate(360deg);
    transition: transform 0.5s;
}

.main_nav ul li:hover .sub_menu {
    opacity: 1;
    visibility: visible;
}

.main_nav ul li .sub_menu {
    opacity: 0;
    position: absolute;
    visibility: hidden;
    z-index: 10;
    width: 120px;
    transition: all 0.5s ease-in-out;
    background-color: rgb(0 0 0 / .75)
}

.main_nav ul li .sub_menu li {
    padding: 0;
    display: block;
}

.main_nav ul li .sub_menu li a {
    color: var(--white);
    display: block;
    padding: .35rem 1rem;
    border-bottom: 1px solid var(--white);
}

.main_nav ul li .sub_menu li a:hover {
    color: var(--black);
    background-color: var(--yellow);
}

.main_nav ul li .sub_menu li:last-of-type a {
    border-bottom: none;
}

.main_nav ul li a {
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s ease-in-out;
}

.main_nav ul li.active a,.main_nav ul li a:hover {
    color: var(--yellow);
}

.main_nav .btns {
    display: flex;
    align-items: center;
}

.main_nav .btns a {
    height: 50px;
    width: 205px;
    color: var(--black);
    display: flex;
    font-size: 11px;
    line-height: 23px;
    align-items: center;
    justify-content: center;
    font-family: var(--formBold);
    background-color: var(--yellow);
    transition: all 0.25s ease-in-out;
}

.main_nav .btns a:hover {
    color: var(--white);
    background-color: #04aede;
}

.main_nav a.lang_btn {
    all: unset;
    color: var(--white);
    cursor: pointer;
    padding: .5rem 1rem;
    font-size: 16px;
    width: auto!important;
}

.main_nav a.lang_btn:hover {
    color: var(--yellow);
    background-color: #fff0;
}

.main_nav .opening_menu {
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--yellow);
}

.mobile_menu {
    position: fixed;
    background-color: var(--darkBlue);
    width: 300px;
    top: 0;
    height: 100%;
    z-index: 999;
    padding: 1rem;
    left: -400px;
    /*transition: left 0.8s ease;*/
}

.mobile_menu.mobile_menu_open {
    left: 0;
}

.mobile_menu img {
    margin: 1rem 0;
    width: 200px;
}

.mobile_menu ul {
    padding-left: 0;
}

.mobile_menu ul li {
    width: 100%;
    padding: unset;
}

.mobile_menu ul li a {
    padding: 1rem 0;
    color: var(--white);
    font-weight: 700;
}

.mobile_menu ul li p {
    display: flex;
    margin-top: 0;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--white);
}

.mobile_menu .customBtn {
    width: 100%;
}

.mobile_menu .close_btn {
    position: absolute;
    top: 2.2rem;
    inset-inline-end: 1rem;
    font-size: 22px;
    cursor: pointer;
    color: var(--white);
}

.mobile_menu .btns {
    display: unset;
}

.mobile_menu .btns a:first-of-type {
    margin: 2rem auto 1rem;
}

.mobile_menu .btns a:last-of-type {
    all: unset;
    color: var(--white);
    cursor: pointer;
    margin: 1.5rem auto;
    display: block;
}

.main_nav .body_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 998;
    background-color: rgb(0 0 0 / .5);
    display: none;
}

.overlay_lighterblue {
    background-color: rgb(97 172 210);
}

.overlay_blue {
    background-color: rgb(21 73 152);
}

.overlay_purple {
    background-color: rgb(138 70 148);
}

.overlay_orange {
    background-color: rgb(235 129 7);
}

.overlay_lightblue {
    background-color: rgb(4 174 222);
}


@media (max-width: 1400px) {
    .main_nav ul li a {
        font-size: 13px;
    }
}

@media (max-width: 1200px) {
    .main_nav ul li a {
        font-size: 11px;
    }
}

@media (max-width: 992px) {
    .main_nav ul li .sub_menu a::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        width: 8px;
        height: 2px;
        background-color: var(--white);
    }
}

@media (max-width: 992px) {
    .main_nav ul li .sub_menu {
        opacity: unset;
        position: unset;
        visibility: unset;
        margin-top: .5rem;
        background: #fff0;
        display: none;
        width: 100%;
        transition: unset;
    }
}

@media (min-width: 320px) and (max-width: 800px) {
    .row > .btn-back-to-all-prod.rounded-angle {
        border-bottom-right-radius: 20px;
    }
}

@media (max-width: 390px) {
    .main_nav .logo img {
        width: 210px;
    }
}
