@font-face {
    font-family: 'SF Pro Display';
    src: url('fonts/SFProDisplay-Regular.woff2') format('woff2'),
         url('fonts/SFProDisplay-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', Arial, sans-serif;
    background: url('img/bg 4.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 375px;
    width: 100%;
    padding: 30px 20px 30px 20px;
    position: relative;
}

/* Хедер */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo {
    height: 50px;
}

nav {
    display: flex;
    gap: 15px;
}

nav a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    font-size: 14px;
    position: relative;
}

nav a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background-color: #000000;
}

/* Контент */
main {
    text-align: center;
}

/* Перенос картинки фламинго выше текста */
.main-image {
    width: 100%;
    max-width: 340px;
    margin: 0 auto -16px;
}

main h1 {
    font-size: 24px;
    line-height: 1.4;
    margin: 13px 0px 36px 0;
}

main h1 span {
    color: #FF007F;
}

/* Логотипы доставок */
.delivery-services {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 10px 0;
}

.delivery-services a img {
    width: 110px;
    height: 110px;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
.delivery-services a:hover img {
    transform: scale(1.1);
}
}

/* Футер */
footer {
    text-align: center;
    margin-top: 35px;
}

footer p {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-icons a img {
    width: 24px;
    height: 24px;
    transition: filter 0.3s ease;
}

.footer-icons a:hover img {
    filter: brightness(1.2);
}

footer p:last-child {
    font-size: 12px;
    color: #666;
}

.miest {
    font-size: 20px;
    font-weight: bold;
    /* margin: 0px -1px 43px 0px; */
}

.delivery-services a img {
    height: auto;
    transition: filter 0.3s ease-in-out;
  }
  
  /* Подсветка для Glovo */
  .delivery-services a:nth-child(1) img {
    filter: drop-shadow(0 0 10px rgba(255, 213, 0, 0.6));
  }
  
  /* Подсветка для Yandex.Eda */
  .delivery-services a:nth-child(2) img {
    filter: drop-shadow(0 0 10px #ffe033);
  }
  
  /* Подсветка для Wolt */
  .delivery-services a:nth-child(3) img {
    filter: drop-shadow(0 0 10px rgba(0, 174, 255, 0.6));
  }
  
  .separator {
    width: 80%;
    height: 2px;
    background-color: rgba(255, 182, 193, 0.5);
    margin: 35px auto;
  }
  

/* Десктопная версия */
@media (min-width: 768px) {
    body {
        background: url('img/bg 3.png') no-repeat center center fixed;
        background-size: cover;
    }

    .container {
        max-width: 900px;
        padding: 40px;
    }

    header {
        justify-content: space-between;
    }

    .logo {
        height: 70px;
    }

    nav a {
        font-size: 18px;
    }

    .main-image {
        max-width: 400px;
    }

    main h1 {
        font-size: 28px;
    }

    .delivery-services a img {
        width: 80px;
        height: 80px;
    }

    .footer-icons a img {
        width: 28px;
        height: 28px;
    }
}
