/* Сброс всех отступов и полей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


header {
    background-color: #c00;
    color: white;
    padding: 30px;
    text-align: center;
}

header h1 {
    font-size: 40px;
}


nav {
    background-color: #e63946;
    display: flex;
    justify-content: center; /* центрируем ссылки */
}

nav a {
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    font-weight: bold;
    transition: background 0.3s;
}

nav a:hover {
    background-color: #9b0000;
}


div, h1, h2, p {
    text-align: center;
}


section {
    background-color: #fff;
    margin: 30px auto;
    padding: 30px;
    max-width: 1000px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);  /*тень*/
}


.service {
    margin: 20px auto;
    padding: 15px;
    width: 600px;
    border-radius: 10px;
}


.service h2 {
    color: #c00;
    margin-bottom: 10px;
}

.service p {
    font-size: 1em;
    margin-bottom: 15px;
}


.service img {
    width: 600px;
    height: 350px;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

footer {
    background-color: #c00;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

#logi {
    width: 300px;
    margin: 100px auto;
    text-align: center;
}