@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:wght@100;200;300;400;500;600;700;800;900&display=swap");


/* Общие стили для всей страницы */
* {
    box-sizing: border-box;
    text-size-adjust: auto;
    font-family: 'Fira Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

video {
    display: block;
    margin: 0 auto;
    align-items: center;
    height: 500px;
    width: auto;
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
    }

    .nav a {
        font-size: 18px;
        padding: 10px 10px;
    }

    video {
        display: block;
        margin: 0 auto;
        align-items: center;
        height: 500px;
        width: 350px;
    }
}

footer {
    padding: 10px 20px;
    background: #ff6600;
    color: white;
}

.birtday img {
    max-width: 100%;
    height: auto;
}

footer p {
    font-size: 18px;

    text-align: center;
    padding: 10px 20px;
}


/* Стили для контейнера, в котором находится весь контент */
.container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Fira Sans', Arial, sans-serif;
}

/* Стили для логотипа пиццерии */
.logo {
    text-align: center;
    margin: 20px 0;
}

/* Стили для заголовка h1 */
h1 {
    color: #000000;
    text-align: center;
    font-size: 36px;
}

h2 {
    color: #000000;
    text-align: center;
    padding: 10px 20px;
    font-size: 36px;
}

section {
    display: flex;
    /* делает элементы гибкими */
    flex-wrap: wrap;
    /* разрешает перенос элементов на новую строку */
    justify-content: space-between;
    /* распределяет элементы равномерно по горизонтали */
    align-items: center;
    /* выравнивает элементы по центру по вертикали */
}

/* Стили для абзаца p */
p {
    color: #000000;
    text-align: justify;
    font-size: 18px;
    line-height: 1.5;
}

/* Стили для навигации nav */
.nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #ff6600;
}

/* Стили для ссылок в навигации a */
.nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px;
    transition: all 0.3s ease-in-out;
}

/* Стили для ссылок в навигации при наведении курсора a:hover */
.nav a:hover {
    background-color: #ffffff;
    color: #ff6600;
}

.ingredient-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 75%;
    margin: 30px 0px;
}

.ingredient-card {
    width: 100%;
    border-radius: 10px;
    background: rgb(253, 242, 232);
    padding: 26px 35px 39px 26px;
    font-size: 19px;
}


/* Блок с акциями */
.action {
    display: flex;
    flex-direction: column;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.birthday {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

ul, ol {
    list-style-type: disc;
    margin-left: 20px;
}

li {
    margin-bottom: 10px;
}

.action a {
    color: #ff6600;
}

form label {
    text-align: center;
    font-size: large;
}

.container h1 {
    color: #ff6600;
    font-weight: bold;
}

.action h2 {
    color: #ff6600;
    font-weight: bold;
}

.action p {
    color: #000000;
    font-size: 14px;
}

.text-typography {
    color: #333;
    max-width: 857px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 15px;
  }