html, body {
    scroll-behavior: smooth;
}

body {
    background: #008080;
    margin: 0;
    padding: 0;
    font-family: latoregular, sans-serif;
    font-size: 1.3rem;
    color: #dddddd;
}

input,
select {
    border: 0px solid #90ace7;
    font-size: 100%;
    border-radius: 3px;
}

input[type="submit"],
input[type="button"] {
    background-color: #fff;
    border-radius: 2px;
}

input[type="submit"]:hover,
input[type="button"]:hover {
    background-color: #dee6ff;
}

input[type="radio"] {
    border-width: 0;
}

input[type="checkbox"] {
    border-width: 0;
}

input:focus {
    outline: 0;
    color: #333;
    border-color: #aaaaff;
}

:focus {
    outline: 0;
}

a {
    color: #bbbbdd;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
}

h1,
h2 {
    font-family: merriweatherbold, serif;
    padding: 0;
}

h1 {
    font-weight: normal;
    font-size: 280%;
    margin-top: 5px;
    margin-bottom: 5px;
    line-height: 1.1;
}

h2 {
    font-weight: normal;
    font-size: 200%;
    margin-top: 5px;
    margin-bottom: 5px;
}

h3 {
    font-size: 115%;
}

h1,
h2,
h3 a:hover {
    text-decoration: none;
}

dl {
    margin: 0px 15px 0 35px;
    font-size: 100%;
}

dt {
    margin-top: 8px;
    font-size: 100%;
}

dd {
    margin: 0px 25px 3px 25px;
}

.contact-button {
    font-size: 80%;
    padding: 10px 15px;
    margin: 3px;
    border-radius: 25px;
    border-color: #dddddd;
    border-width: 3;
    border-style: solid;
    color: #008080;
    background-color: #dddddd;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: 0.4s;
}

.contact-button:hover {
    color: #dddddd;
    background-color: #008080;
    text-decoration: none;
    transition: 0.4s;
}

.inv-contact-button {
    padding: 6px;
    margin: 3px;
    border-radius: 10px;
    color: #dddddd;
    background-color: #008080;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: 0.4s;
}

.inv-contact-button:hover {
    color: #008080;
    background-color: #dddddd;
    text-decoration: none;
    transition: 0.4s;
}

.language-menu {
    position: fixed;
    top: 15px;
    right: 30px;
    z-index: 100;
}

.language-btn {
    text-align: center;
    text-decoration: none;
    background-color: #008080;
    border: 0px solid #dddddd;
    color: #dddddd;
    padding: 10px;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
}

.language-btn i {
    font-size: 150%;
}

.language-btn-text {
    font-size: 115%;
}

.language-dropdown {
    right: 0;
    display: none;
    position: absolute;
    background-color: #008080;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border: 3px solid #dddddd;
    border-radius: 15px;
    z-index: 1;
    margin-top: 5px;
    overflow: hidden;
}

.language-dropdown a {
    color: #dddddd;
    padding: 10px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: 0.4s;
}

.language-dropdown a:hover {
    background-color: #dddddd;
    color: #008080;
    text-decoration: none;
}

.scroll-button a {
    font-size: 200%;
    position: fixed;
    left: 50%;
    z-index: 99;
    background-color: #008080;
    color: #dddddd;
    padding: 10px;
    border-radius: 15px;
    transition: 0.4s;
    text-align: center;
    text-decoration: none;
    transform: translate(-50%, 0%);
}

.scroll-button:hover a {
    background-color: #dddddd;
    color: #008080;
    transition: 0.4s;
}

p {
    margin: 0px 25px 0px 25px;
    font-size: 100%;
}

ol, ul {
    margin: 25px 25px 25px 15px;
    font-size: 100%;
}

ol li::marker {
    font-weight: bold;
    font-family: latoblack, sans-serif;
}

ol li {
    margin-bottom: 20px;
}

ol li ul {
    margin-top: 10px;
}

ul li, ol ul li {
    margin-bottom: 10px;
}

strong {
    font-weight: bold;
    font-family: latoblack, sans-serif;
}

.bodytopbg {
    max-height: 0px;
}

.mainbody {
    margin: 0;
    padding: 0;
    position: relative;
    margin: auto;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    /* scroll-behavior: smooth; */
    scroll-snap-stop: always;
}

.page {
    margin: 0 5%;
    width: calc(100% - 10%);
    min-height: 100vh;
    scroll-snap-align: start;
    /* justify-content: center; */
    align-items: center;
    display: flex;
}

.description {
    margin-bottom: 30px;
}

.img {
    margin: 10px;
    height: auto;
    width: auto;
    text-align: center;
}

.img img {
    display: inline;
    margin: 5pt;
    padding: 10pt;
    border: 3px solid #dddddd;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.avatar {
    margin: 10px;
    height: auto;
    width: auto;
    float: right;
    text-align: center;
}

.avatar img {
    display: inline;
    margin: 5pt;
    padding: 10pt;
    border: 3px solid #dddddd;
    object-fit: cover;
    aspect-ratio: 0.65;
    width: 300px;
}

.logo {
    margin: 10px;
    height: auto;
    width: auto;
    float: right;
    text-align: center;
}

.logo img {
    display: inline;
    object-fit: cover;
    margin: 5pt;
    padding: 10pt;
    height: 330px;
}

.slogan {
    padding-bottom: 30px;
}

table {
    margin: 10px;
    text-align: center;
}

td {
    margin: 10px;
    padding: 0px;
    vertical-align: top;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    text-align: center;
}

.services-cell {
    flex: 1 1 30%;
    margin: 10px;
    padding: 0px;
    vertical-align: top;
}

.desc {
    text-align: center;
    font-weight: normal;
    width: 256px;
    margin: 5px;
}

.maxwidth {
    max-width: 1300px;
    margin: auto;
}

.content {
    margin: 100px 0;
    min-height: 10px;
    width: 1300px;
}

.content p {
    margin-top: 20px;
}

.content h3 {
    margin-top: 30px;
}

.top-content {
    margin-top: 50px;
    margin-bottom: 100px;
    min-height: 10px;
    width: 1300px;
}

.name {
    padding-top: 40px;
    font-family: merriweatherbold, serif;
}

.slogan {
    font-family: merriweather, serif;
}

.menu {
    padding: 0;
    position: absolute;
    margin: 0 2px 0 2px;
    text-align: center;
    height: 29px;
    width: 860px;
}

.top {
    height: 100px;
}

.header {
    margin: 0;
    padding: 32px 0px 0px 0px;
    height: 103px;
}

.header-logo {
    margin: -130px 0px 0px 20px;
    padding: 30px 0px 0px 0px;
    height: 174px;
}

.header-content {
    margin: -104px 0px 0px 0px;
    text-align: center;
    height: 99px;
}

.sf-menu {
    margin: 0;
    padding: 0;
}

.sf-menu a {
    line-height: 29px;
    padding-right: 1em;
    padding-left: 1em;
    text-decoration: none;
    font-weight: normal;
    display: block;
    font-size: 10.5pt;
}

.sf-menu a,
.sf-menu a:visited {
    color: #666666;
}

.sf-menu a:hover {
    color: #000000;
}

.sf-menu li {
    display: inline-block;
}

.sf-menu li:hover {
    background: #e5e5e5;
}

.footer {
    clear: both;
    min-height: 50px;
}

.footer-content {
    padding-top: 15px;
    padding-bottom: 10px;
}

.form {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    width: 100%;
}

.line {
    height: 1px;
    margin: 3px auto 3px auto;
    width: 55%;
    background: #662244;
}

@media (max-width: 900px) {
    .avatar {
        float: none;
        display: block;
        margin: 0 auto 0 auto;
    }

    .avatar img {
        aspect-ratio: 0.9;
        width: min(300px, 70%);
    }

    .logo {
        float: none;
        display: block;
        margin: 0 auto 0 auto;
        text-align: center;
    }

    .logo img {
        height: 200px;
    }

    .slogan {
        padding-bottom: 10px;
    }

    h1 {
        text-align: center;
    }

    .top-content {
        margin-top: 10px;
    }

    .top-content h2, h3 {
        padding-bottom: 10px;
        text-align: center;
    }

    .footer-content {
        text-align: center;
    }

    .name {
        padding-top: 20px;
    }

    .scroll-button {
        display: none;
    }

    .mainbody {
        scroll-snap-type: none;
        scroll-snap-stop: normal;
    }

    .page {
        scroll-snap-align: none;
    }

    .language-menu {
        top: 10px;
        right: 6px;
    }

    .language-btn-text {
        display: none;
    }
}

@media (max-width: 800px) {
    h1 {
        font-size: 250%;
    }

    h2 {
        font-size: 150%;
    }
}

@media (max-width: 700px) {
    .services-container {
        flex-direction: column;
    }

    .services-cell {
        flex: 1 1 100%;
    }
}

@media (max-width: 400px) {
    .language-btn i {
        font-size: 130%;
    }

    h1 {
        font-size: 200%;
    }

    h2 {
        font-size: 130%;
    }
}

