/* Базовые стили для всего сайта */
body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    margin: 0;
    display: grid;
    place-items: center;
}

/* Стили для шапки */
header {
    display:flex;
    align-items: flex-start;
    justify-content: space-between;
    height: 150px;
    font-size: 32px;
    color: #333;
    text-align: center;
    border-radius: 5px;
    background-image: url('img/res/toad.png');
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    padding-right:200px;
}

/* Стили для основного контента */
.menu-list {
  list-style: none;
  margin-top: 200px;
  padding: 0;
  
  display: flex;            /* Выстраивает пункты в строку */
  gap: 20px;                /* Задает одинаковое расстояние между пунктами */
  justify-content: center;  /* Центрирует меню (можно заменить на flex-start или flex-end) */
}

/* Стили для ссылок (чтобы красиво кликались) */
.menu-list a {
  text-decoration: none;    /* Убирает подчеркивание */
  color: #333;              /* Цвет текста */
  padding: 8px 16px;        /* Кликабельная зона вокруг текста */
  transition: color 0.3s;   /* Плавный эффект при наведении */
}

/* Эффект при наведении */
.menu-list a:hover {
  text-decoration:overline;
}
.menu {
    justify-content: space-between;
    height: 200px;
    background: white;
    align-items: center;
    background-image: url('img/res/base_img.png');
    background-repeat: no-repeat;
    background-position:left;
    background-size: contain;
    padding-bottom: 25px;
    padding-left:200px;
    font-style: bold;
    font-size: 24px;
}

.alert {
    font-size: small;
    margin-top:-10px;
    margin-left:700px;
}
main {
    max-width:1100px;
    min-height: 1000px;
    background: white;
}

main h1{
    align-self: left;
    font-size: 48px;
    color:#333;
}
main img{
    max-width:500px;
    height:auto;
}
main img:hover{
outline: 5px solid #333; }

main span{
    color:#222;
    font-size:22px;
    font-style:bold;
}

.links {
    max-width:1100px;
    min-height: 1000px;
    background: white;
}
.links a {
    text-decoration: none;    
    color: #333;              
    padding: 8px 16px;        
    transition: color 0.3s; 
}

.links a:hover {
  text-decoration:underline;
}

.footer {
    width:100%;
    height:500px;
    background-image: url('img/res/footer.png');
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    margin-bottom:-5px;
}
footer {
    text-align: center;
    font-size: 14px;
    color: #777;
    display: flex;
    align-items: center;


}
