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

@font-face {
    font-family: 'Roboto';
    src: url('font/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #333;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center; 
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

header nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 15px;
}

nav ul li a:hover {
    background-color: #444;
    border-radius: 5px;
}

header .order-button {
    background-color: #ff9800;
    color: #000000;
    border: none;
    padding: 12px 24px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

header .order-button:hover {
    background-color: #e68a00;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-tile {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.product-tile img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
}

.product-tile h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.product-tile p {
    font-size: 0.9rem;
    color: #888;
}

.product-tile:hover {
    transform: scale(1.05);
}

.order-section {
    text-align: center;
    margin: 20px 0;
}

.order-section .order-button {
    background-color: #ff9800;
    color: #000;
    border: none;
    padding: 12px 24px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.order-section .order-button:hover {
    background-color: #e68a00;
}

.information {
    padding: 20px;
    max-width: 1000px;
    margin: 20px auto;
}

.information h1 {
    font-size: 2.1rem;
    margin-bottom: 20px;
    color: #000;
}

.information h2 {
    font-size: 1.7rem;
    margin-top: 20px;
    color: #000;
}

.information p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.information ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.information ul li {
    margin-bottom: 5px;
}

footer {
    background-color: #333;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}

footer .order-button {
    background-color: #ff9800;
    color: #000;
    border: none;
    padding: 12px 24px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

footer .order-button:hover {
    background-color: #e68a00;
}

nav {
    padding: 10px;
    align-content: flex-start;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 15px;
}

nav ul li a:hover {
    background-color: #444;
    border-radius: 5px;
}

.order-button {
    display: inline-block;
    background-color: #ff9800;
    color: white;
    padding: 12px 24px;
    font-size: 1.2rem;
    text-decoration: none; /* Убираем подчеркивание ссылки */
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.order-button:hover {
    background-color: #e68a00;
    text-decoration: none; /* Убираем подчеркивание при наведении */
}

.order-button:active {
    background-color: #cc7a00;
}

.order-button a {
    color: inherit; /* Цвет ссылки наследует цвет родителя */
    text-decoration: none; /* Убираем подчеркивание для ссылки */
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
}

nav ul.mobile {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background-color: #333;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
}

nav.active ul.mobile {
    display: flex;
}



@media (max-width: 768px) and (orientation: portrait) {
    nav ul.desktop {
        display: none;
    }

    .burger {
        display: flex;
    }

    nav.active ul.mobile {
        display: flex;
		align-items: center;
    }
}

@media (min-width: 768px) and (orientation: landscape) {
    nav ul.desktop {
        display: flex; 
    }

    .burger {
        display: none; 
    }

    nav ul.mobile {
        display: none; 
    }

    header nav {
        flex-direction: row; 
    }
}

.burger img {
    filter: invert(100%); 
}
