html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 150px;
    background-color: #53a1d1;
    color: white;
    height: 78px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.25rem;
}

nav a {
    text-decoration: none;
    color: white;
}

nav a:visited {
    color: white;
}

footer {
    padding: 0 15px;
    padding-top: 50px;
    padding-bottom: 15px;
    display: flex;
    gap: 50px;
    justify-content: start;
    color: #4579d0;
    font-weight: 800;
    font-size: 1.25rem;
}

footer a {
    text-decoration: underline;
}

.fa-viber {
    color: purple;
}

main {
    flex-grow: 1;
    padding-top: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}

main h2 {
    color: #246ee4;
    font-size: 1.25rem;
    padding-bottom: 10px;
}

main h1 {
    color: #246ee4;
    font-size: 2.5rem;
    padding-bottom: 25px;
}

main p {
    color: #246ee4;
    padding: 0px 15px;
    max-width: 800px;
    line-height: 2;
}

main section {
    padding-top: 50px;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

main section h3 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

main section p {
    color: black;
    text-align: center;
}

main section img {
    padding: 25px 0px;
    width: 100%;
    max-width: 1250px;
}

@media only screen and (max-width: 650px) {
    nav {
        gap: 50px;
        font-size: 1rem;
    }

    footer {
        flex-direction: column;
        gap: 15px;
        font-size: 1.15rem;
    }
}
