@import url('https://fonts.google.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #000;
}


/* Navigation Bar decoration */

.NavBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.6s;
    padding: 40px 30px;
    z-index: 1000000;
}

.NavBar.sticky {
    padding: 5px 30px;
    background: #fff;
}

.NavBar .NavBar_title {
    position: relative;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.6s;
    flex: 1;
}

.NavBar_title {
    display: flex;
    align-items: left;
    justify-content: left;
}

.NavBar_title img {
    height: 50px; 
    width: auto; 
}

.NavBar .NavBar_ul {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.NavBar .NavBar_ul .NavBar_li {
    position: relative;
    list-style: none;
}

.NavBar .NavBar_ul .NavBar_li .NavBar_a {
    position: relative;
    margin: 0 15px;
    text-decoration: none;
    color: #fff;
    letter-spacing: 2px;
    font-weight: 500px;
    transition: 0.6s;
}

.NavBar.sticky .NavBar_ul .NavBar_li .NavBar_a, .NavBar.sticky .NavBar_title {
    color: #000;
}

/* Catalog page decoration */


.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    margin-top: 120px;
}

.card {
    position: relative;
    box-sizing: border-box;
    margin: 20px;
    width: 320px;
    height: 420px;
    background: #122936;
    border-radius: 20px;
    overflow: hidden;
    flex: 0 1 auto;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    width: 100%;
    height: 100%;
    background: #76B900;
    transform: skewY(345deg);
    transition: 0.5s;
}

.card:hover::before {
    top: -70%;
    transform: skewY(390deg);
}

.card::after {
    content: 'NEED';
    position: absolute;
    bottom: 0;
    left: 0;
    font-weight: 600;
    font-size: 8em;
    color: rgba(0, 0, 0, 0.1);
}

.card .Card_ImgBox {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    z-index: 1;
}

.card .Card_ImgBox img {
    max-width: 90%;
    transition: 0.6s;
}

.card:hover .Card_ImgBox img {
    max-width: 60%;
}

.card .Card_content {
    position: relative;
    padding: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1;
}

.card .Card_content h3 {
    font-size: 18px;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card .Card_content .Card_price {
    font-size: 18px;
    margin-top: 5px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
}

.card .Card_content .Card_buyNow {
    position: relative;
    top: 200px;
    opacity: 0;  
    padding: 10px 30px;
    margin-top: 15px;
    color: #fff;
    text-decoration: none;
    background: #76B900;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.6s;
}

.card:hover .Card_content .Card_buyNow {
    top: 0;
    opacity: 1;
}

/* new */

.line {
    width: 100%;
    height: 1px;
    background: #fff;
    margin-top: 20px;
    margin-bottom: 20px;
}

.top120 {
    margin-top: 120px;
}

.info_block {
    background-color: #f9f9f9; /* Светлый фон для блоков */
    border: 1px solid #ddd; /* Легкая граница */
    border-radius: 10px; /* Скругленные углы */
    padding: 20px; /* Внутренние отступы */
    margin: 20px; /* Отступы между блоками */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Легкая тень */
    display: flex; /* Используем Flexbox */
    flex-direction: row; /* Расположение элементов в строку */
    flex-wrap: wrap; /* Позволяет элементам переноситься на новую строку */
}

.info_content {
    display: flex; /* Гибкое расположение для содержимого */
    width: 100%; /* Занимаем всю ширину блока */
}

.info_image {
    width: 100%; /* Ширина картинки 100% */
    max-width: 400px; /* Максимальная ширина картинки */
    height: auto; /* Автоматическая высота для сохранения пропорций */
    margin-right: 20px; /* Отступ между картинкой и текстом */
    flex-shrink: 0; /* Запрет на сжатие картинки */
    border-radius: 10px;
}

.text_content {
    flex: 1; /* Позволяет тексту занимать оставшееся пространство */
}

.info_title {
    margin: 0; /* Убираем отступы у заголовка */
}

.info_text {
    margin-top: 10px; /* Отступ между заголовком и текстом */
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .info_content {
        flex-direction: column; /* Вертикальное расположение на маленьких экранах */
        /* align-items: center; Центрируем элементы */
        /* text-align: center; Выравнивание текста по центру */
    }

    .info_cont {
        display: flex; /* Flexbox для родительского контейнера */
        justify-content: flex-start; /* Убедитесь, что элементы выровнены по левому краю */
    }
    
    .text_cont {
        text-align: left; /* Выравнивание текста по левому краю */
    }
    
    .info_image {
        margin-right: 0; /* Убираем отступ для картинки */
        margin-bottom: 10px; /* Отступ снизу для картинки */
        max-width: 100%; /* Картинка занимает всю ширину контейнера */
    }
}

.footer {
    background-color: #333; /* Темный фон для подвала */
    color: #fff; /* Белый цвет текста */
    padding: 20px; /* Внутренние отступы */
    text-align: center; /* Центрирование текста */
    margin-top: 20px;
}

.footer_content {
    max-width: 1200px; /* Максимальная ширина подвала */
    margin: 0 auto; /* Центрирование подвала */
}

.footer_text {
    margin: 10px 0; /* Отступы сверху и снизу */
    font-size: 0.9em; /* Размер текста */
}

.footer_links {
    list-style: none; /* Убираем маркеры списка */
    padding: 0; /* Убираем отступы */
    margin: 10px 0; /* Отступы сверху и снизу */
}

.footer_links li {
    display: inline; /* Отображение ссылок в строку */
    margin: 0 15px; /* Отступы между ссылками */
}

.footer_link {
    color: #fff; /* Цвет ссылок */
    text-decoration: none; /* Убираем подчеркивание */
}

.footer_link:hover {
    text-decoration: underline; /* Подчеркивание при наведении */
}