/* Общие стили */
body {
    font-family: 'Helvetica', sans-serif;
    line-height: 1.6;
    background: url('../src/background.jpg') center center fixed;
    background-size: cover;
    color: #333;
    margin: 0;
    padding: 0;
    height: 100%;
}

.layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Изменил на min-height для случаев, когда содержимое выше 100vh */
}

/* Стили заголовка */
header {
    height: 80px;
    flex-shrink: 0;
    background-color: #ff6f61;
    color: #fff;
    text-align: center;
    padding: 5px;
}

/* Стили навигационной панели */
nav {
    background-color: #ffa07a;
    text-align: center;
    padding: 10px;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    transition: color 0.3s ease-in-out;
}

nav a:hover {
    color: #ff6f61;
}

/* Стили карточек блюд */
.dish-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px auto;
}

.dish-card-item {
    width: 300px;
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    background: url('../src/div2.png') center center/cover;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.dish-card-item img {
    max-width: 100%;
}

@media only screen and (max-width: 600px) {
    .dish-card-item {
        width: 100%;
    }

    nav a {
    	color: #fff;
     	text-decoration: none;
    	margin: 0 15px;
    	font-size: 12px;
    	transition: color 0.3s ease-in-out;
    }

    nav {
    	background-color: #ffa07a;
    	text-align: center;
    	padding: 3px;
    }
}

/* Стили секции и блога */
#blog,
section {
    background: url('../src/div2.png') center center/cover;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1300px;
    position: relative;
    overflow: hidden;
}

section p,
h2 {
    padding-left: 15px;
    padding-right: 15px;
}

/* Стили раздела */
#section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 90px;
    color: white;
    background-color: red;
    border-radius: 30px 30px 0 0;
    padding: 22px;
    opacity: 0.7;
}

#description h2,
#description sup {
    display: inline-block;
    margin: 0; /* Убедитесь, что нет лишних отступов */
    padding: 0; /* Убедитесь, что нет лишних отступов */
}

#section h1 {
    font-size: 22pt;
    margin: 0.40em 0;
}

#section h2 {
    font-size: 13pt;
    margin: 0;
}

/* Стили списка */
ul {
    list-style-type: none;
    padding: 0;
}

li {
    padding: 10px;
    border-bottom: 1px solid black;
    display: flex;
    justify-content: space-between;
}

/* Стили медиа-элементов */
img,
video {
    display: block;
    margin: 0 auto;
    width: 90%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
}

/* Медиа-запросы */
@media screen and (max-width: 600px) {
    /* Дополнительные стили для устройств с шириной до 600px */
}

@media screen and (max-width: 450px) {
    /* Дополнительные стили для устройств с шириной до 450px */
}

/* Стили подвала */
footer {
    background-color: #ff6f61;
    color: #fff;
    padding: 20px;
    text-align: center;
}

footer p {
    margin: 0;
}

/* Стили информационных блоков */
.info-pair {
    display: flex;
    flex-direction: column;
    margin: 5px 10px;
}

.info-pair p {
    font-size: 14px;
    margin: 5px 0;
}

/* Стили иконок социальных сетей */
.social-icons {
    margin-top: 10px;
    width: 100%;
}

.social-icons p {
    font-size: 14px;
    margin-bottom: 5px;
}

.social-icons a {
    margin: 0 5px;
    display: inline-block;
    max-width: 30px;
}

.social-icons img {
    width: 100%;
    height: auto;
}

/* Стили ссылок */
a {
    color: white;
}

/* Стили заголовка страницы */
#head {
    display: flex;
    align-items: center;
    background-color: #ff6f61;
}

#home {
    padding: 16px;
    font-size: 20pt;
    margin-left: 30px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    color: #fff;
    border-radius: 5px;
}

#head h1 {
    text-align: center;
    flex-grow: 1;
    color: white;
    font-size: 25pt;
}

/* Стили правовой информации */
#impressum b,
#impressum p {
    font-size: 18pt;
}

#impressum {
    max-width: 1300px;
}

/* Дополнительные медиа-запросы */
@media screen and (max-width: 768px) {
    #home {
        margin-left: 10px;
        font-size: 25pt;
    }

    #head h1 {
        font-size: 35pt;
    }

    #impressum b,
    #impressum p {
        font-size: 16pt;
    }
}
