﻿:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 20px;
    color: #242021;
}

#wrapper {
    max-width: 800px;
    margin: 1rem auto;
    padding: 60px;
    border: solid thin #242021;
    overflow: hidden;
    position: relative;
}

header {
    display: flex;
    align-items: center;
    gap: 60px;
}

article {
    padding: 16px 0;
}

section {
    text-align: center;
}

h1 {
    font-size: 23px;
    margin: 16px 0;
    line-height: 28px;
    font-weight: 700;
}

h2 {
    font-size: 24px;
    margin: 16px 0;
    line-height: 28px;
    font-weight: 700;
}

h3 {
    font-size: 16px;
    margin: 16px 0 0;
    line-height: 20px;
    font-weight: normal;
    text-decoration: underline;
}

img {
    max-width: 100%;
}

p:not(:last-child) {
    margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #0000FF;
    text-decoration: underline;
    white-space: nowrap;
}

a[href^="tel:"] {
    color: #242021;
    text-decoration: none;
}

ul {
    margin: 0 0 16px;
    list-style: none;
}

ul li {
    padding-left: 25px;
}

li:before {
    text-indent: -25px;
    content: "\2022";
    color: #242021;
    float: left;
    font-size: 25px;
}

@media screen and (max-width:800px) {
    #wrapper {
        border: none;
        margin: 0;
        padding: 16px;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    p span {
        white-space: nowrap;
    }
}

@media screen and (max-width:500px) {
    header {
        flex-direction: column;
        gap: 16px;
    }
}