
body {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100vh;
    
    font-family: times, arial, noto-serif, sans-serif;
    
    margin: 0;
}

body > header {
    width: 100%;
    height: 50px;

    position: fixed;
    top: 0;
    
    background-color: #228b22;
}
body > header > nav a.logo {
    color: #ff7b00;
    padding-inline-start: 15px;
}
body > header > nav a.logo img {
    vertical-align: top;
}
body > header > nav ul {
    float: right;
    overflow: hidden;

    height: 50px;

    margin: 0;
    padding-inline-start: 0;

    list-style-type: none;
}
body > header > nav ul li {
    float: left;
}
body > header > nav ul li a {
    display: block;

    padding-top: 16px;
    padding-right: 15px;
    padding-bottom: 16px;
    padding-left: 15px;

    color: #f3f3f3;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}
body > header > nav ul li a:hover {
    background-color: #167f16;
}

body > header > nav ul li.language-switch {
    border-left: 1px solid #f3f3f340;
}

body > header + main {
    margin-top: 58px;
}

body > main {
    flex-grow: 1;
    
    margin: 8px;
}

main > section:not(:first-child) {
    margin-top: 40px;
}

section > h1 {
    text-align: center;

    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
}

.summary > div,
.contact > div {
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
}
.summary > div {
    text-align: center;
}
.services {
    display: grid;
    column-gap: 10px;
    row-gap: 15px;
    justify-items: center;
}

@media only screen and (min-width: 417px) {
    .services > section {
        width: 400px;
    }
}
@media only screen and (max-width: 830px) {
    .services {
        grid-template-columns: auto;
    }
}
@media only screen and (min-width: 830px) {
    .services {
        grid-template-columns: auto auto;
    }
}
@media only screen and (min-width: 1240px) {
    body > header {
        zoom: 1.5;
    }
    body > main {
        zoom: 1.5;
    }
}
@media only screen and (min-width: 1650px) {
    body > header {
        zoom: 2;
    }
    body > main {
        zoom: 2;
    }
}
@media only screen and (min-width: 2560px) {
    .contact > div {
        text-align: center;
    }
    .services {
        grid-template-columns: auto auto auto;
    }
}
@media only screen and (min-width: 3440px) {
    .services {
        grid-template-columns: auto auto auto auto;
    }
}

.services > section {
    border: 1px solid black;
}
.services > section > header {
    border-bottom: 1px solid black;
    padding: 10px;
}
.services > section > header h4 {
    margin: 0;
}
.services > section > div {
    padding: 10px;
}
.services ul {
    margin: 0;
    padding-inline-end: 10px;
}
.services ul:last-child {
    padding-block-end: 10px;
}
.services ul:not(:last-child),
.services header + ul {
    padding-block-start: 10px;
}

body > footer {
    margin-top:20px;
    padding: 20px;
    background-color: #228b22;
    color: #f3f3f3;
}
