html, body {
	margin: 0;
	padding: 0;
	border:none;
	font-family: verdana, 'Roboto', Arial, Helvetica, sans-serif;
	line-height: 1.125rem;
	color: #d5d6d7;
	color: #fdfeff;
	width: 100%;
}

body {
	background-color: #182331;
	background-image: url(../img/bg.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	background-attachment: fixed;
	position:relative;
}
a {
    color:#f7f7f8;
    text-decoration: none !important;
}
.mainHeader {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 5.6375rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    background-position: center top;
    background-repeat: no-repeat;
    background-position-x: -462px;
    user-select: none;
    background-color: rgb(50 58 76 / 50%);
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.brandheader {
    background-color: rgb(47 55 75 / 81%);
}

.mainLogo {
	display: block;
	width: 15.625rem;
	height: 5.9375rem;

	overflow: hidden;
}
	.mainLogoIn {
		display: block;
		width: 249px;
		height: 54px;
		margin-top: 1.625rem;
	}
    @media screen and (max-width:767px) {
        .mainLogo {
            display: block;
            width: 39px;
            height: 28px;
            position: absolute;
            top: 6px;
            left: 15px;
        }
        .mainLogoIn{
            background-image:url(../img/logo_okta_mini.webp);
            background-size: 39px 28px;	
            width: 39px;
            height: 28px;
            margin-top: 0px;
        }
    }
    @media screen and (min-width:768px) {
        .mainLogoIn{
            background-image:url(../img/logo_tm.png);
        }
        .mainLogo {
            position: relative;
            left: 30px;
        }
    }

.mainHeader__nav {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}
.mainHeader__nav ul li:after {
    content: '.';
    display: inline-block;
    height: 1.25rem;
    width: 1px;
    vertical-align: top;
    font-size: 0;
    background-color: #7d8792;
}
.mainHeader__nav ul li:last-child:after {
    content: none;
}
.mainHeader__nav ul li {
    display: inline-block;
    position: relative;
    white-space: nowrap;
    vertical-align: top;
}
.header-links {
    top:20%; 
    position:relative;
}
.mainHeader__nav ul li > a {
    margin: 0px 1.875rem;
    font-size: 1.1625rem;
    text-decoration: none;
}
.order-message {
    background-color: rgba(255, 255, 255, 0.85); /* Белый фон с легкой прозрачностью */
    border-radius: 10px; /* Скругленные углы */
    padding: 20px;
    margin: 0px auto;
    max-width: 600px; /* Максимальная ширина блока */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Легкая тень */
    font-size: 18px;
    text-align: center;
    color: #333; /* Темный текст */
    min-height: 15%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.order-message strong {
    font-weight: 700;
}

.order-links {
    display: flex;
    justify-content: space-between; /* Размещаем ссылки по разным сторонам */
    margin-top: 20px; /* Отступ сверху для разделения текста и ссылок */
}

.order-links a {
    color: #f7f7f8; /* Цвет текста - светло-серый */
    background-color: #2c3e50e6; /* Темно-серый фон кнопки */
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px; /* Внутренние отступы для удобства клика */
    border-radius: 5px; /* Скругленные углы */
    border: 2px solid #34495e; /* Обрамление с более светлым оттенком */
    transition: all 0.5s ease; /* Плавные изменения при наведении */
}

.order-links a:hover {
    font-size: 16px;
    border:2px solid #dfdfdf;
    background-color: #34495e; /* Светлее при наведении */
    color: #fff; /* Белый текст при наведении */
}

.order-message_text {
    font-size: 2rem;
    line-height: 2rem;
}
.brand-detail-container {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
    padding-top: 110px;
    padding-inline: 30px;
    text-align: center;
}

.brand-title {
    font-size: 32px;
    font-weight: bold;
}

.brand-description {
    font-size: 18px;
    line-height: 1.6;
}

.brand-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
}

.sub-brands {
    margin-top: 30px;
    padding: 5px;
    text-align: center;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.sub-brands h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffcc00;
}

.sub-brand-item {
    display: inline-block;
    margin: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
    position: relative;
}

.sub-brand-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.sub-brand-item {
    text-decoration: none;
    font-size: 18px;
    color: #ffcc00;
    font-weight: bold;
    display: block;;
    height: 100%; /* чтобы ссылка занимала весь блок */
    padding: 15px 20px; /* добавляем padding, чтобы был внутренний отступ */
    transition: color 0.3s ease; /* Плавное изменение цвета */
}

.sub-brands_inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
    padding-left: 5%;
}

.sub-brand-item:hover {
    color: #ffaa00; /* Изменение цвета при наведении */
}

.language {
    position: absolute;
    right: 1.725rem;
    color: #f5903b;
    font-size: 0.875rem;
}
#lang_select:hover {
    cursor: pointer;
}

@media (max-width:767px) {
    .mainHeader {
        height: 2.5rem;
		border-bottom: 1px solid white;
		z-index: 9998;
        justify-content: flex-end;
    }
    .order-message {
        padding: 15px;
        font-size: 16px;
    }

    .order-links a {
        margin-bottom: 10px;
    }
    .order-message_text {
        font-size: 1.5rem;
        line-height: 1.5rem;
    }
    .mainHeader__nav ul li > a {
        margin-inline: 0.6rem;
        font-size: 1.0625rem;
    }
    .brand-detail-container {
        padding-inline: 15px;
        padding-top: 50px;
    }
}
