body {
  margin: 0;
  font-family:Georgia, 'Times New Roman', Times, serif;
  background: #f7ea7d; /* Колір фону */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Стиль для шапки (header) */
header {
  background-image:linear-gradient(rgb(106, 195, 247), rgb(247, 244, 101));
 
  width: 100%;
  border-bottom: 1px solid #ccc;
  padding: 10px;
  text-align: center;
  
}
header h1 {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 46px;
  font-weight: bold;
  color: #d6e411; /* Вибраний колір, можете змінити */
  text-shadow: 5px 5px 4px rgba(0, 0, 0, 0.2); /* Тінь тексту */
  box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.3); /* Тінь навколо тексту або блока */
  padding: 5px 10px; /* Додатковий відступ для кращого вигляду */
  display: inline-block; /* Щоб box-shadow був видимий по всьому блоку */
}
nav a {
  display: inline-block;
  margin: 5px 10px;
  padding: 10px 15px;
  text-decoration: none;
  color: #333; /* початковий колір */
  font-weight: bold;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* Стиль для посилань при наведенні */
nav a:hover {
  color: #fff; /* колір тексту при наведенні */
  background-color: #5fe4ee; /* фон при наведенні */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* тінь для ефекту */
  transform: translateY(-3px) scale(1.05); /* підйом і збільшення */
}

main {
    padding: 20px;
    position: relative;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 24px;
}



.menu, .sale, .dost,.about {
    background: linear-gradient(to right, #fff, #cceeff);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    position: relative;
    justify-content: center;
}

.menu-div {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.menu-img, .sale-img, .footer-img, .logo-img {
    max-width: 30%;
    border-radius: 10px;
    margin-right: 20px;
    position: relative;
}



.menu-info {
    max-width: 70%;
    position: relative;
}

.menu-info h3, .menu-info p, .sallary, .order {
    margin: 5px 0;
    position: relative;
}

.menu:hover{
    box-shadow: 0 5px 5px 5px rgb(112, 199, 228);
}
 
.sale:hover{
    box-shadow: 0 5px 5px 5px rgb(112, 199, 228) ;
}

.dost:hover{
    box-shadow: 0 5px 5px 5px rgb(112, 199, 228) ;
}

.about:hover{
    box-shadow: 0 5px 5px 5px rgb(112, 199, 228);
}

.order {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(to right, #66b2ff, #3399ff);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    position: relative;
    opacity: 0.5;
}

.order:hover {
    background: linear-gradient(to right, #3399ff, #0066cc);
    opacity: 1;
}

.sale h2{
    text-align: center;
    font-size: 30px;
    border-bottom: 3px dooted #3399ff;
}

.dost h2{
    text-align: center;
    font-size: 30px;
    border-bottom: 3px dooted #3399ff;
}
.dost img{
    justify-content:space-around;
}

.sale:hover{
    box-shadow: 10px 10px rgb(109, 109, 202);
}

.about h2{
    text-align: center;
}

.about{
    font-size: 20px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}


ul{
    list-style: url("https://learn.logikaschool.com/uploads/student/5271930/687a086a8c162.jpg");
    padding-left: 50px;
}
footer {
  background-color: #999;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 14px;
}

.footer-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
}

.footer-img {
    max-width: 30px;
    border-radius: 50%;
    margin: 0 10px;
    position: absolute;
}

/* Стиль для кнопок у шапці із псевдоелементом :hover */
.header-buttons button:hover {
  background-color: #e2c6b0; /* вже є */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* додатковий ефект тіні */
  transform: translateY(-2px); /* підняти кнопку при наведенні */
}

/* Посилання у навігації (тобто `nav a`) */
nav a:hover {
  color: #ff6600; /* колір при наведенні */
  background-color: #0066cc; /* фон при наведенні */
  transform: translateY(2px); /* злегка підняти */
  transition: all 0.3s ease; /* додати плавність */
}

/* Заголовки секцій `.sale h2`, `.dost h2`, `.about h2` */
.sale h2:hover,
.dost h2:hover,
.about h2:hover {
  color: #3399ff; /* цвета при наведенні */
  cursor: pointer; /* курсор у вигляді руки */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2); /* тінь для тексту */
}

/* Карти, наприклад, `.menu`, `.sale`, `.dost`, `.about` */
.menu:hover,
.sale:hover,
.dost:hover,
.about:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.3); /* більш виразний тінь при наведенні */
  transform: scale(1.02); /* легке збільшення */
  transition: all 0.3s ease;
}
