@import url("./css-fix.css");

/* @font-face {
    font-family: 'Alice';
    src: url('./Alice-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
} */


@font-face {
    font-family: 'MontserratV';
    src: url('./Montserrat-Variable.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


body {
    font-family: Liberation Sans, Nimbus Sans, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Oxygen, Ubuntu, Noto Sans, Cantarell, Arial, sans-serif;
    background-color: #e1e1e1;
    padding: 0;
    margin: 0;
    width: auto;
    font-size: 16pt;
}

h1,
h2,
h3,
p {
    font-family: MontserratV;
}

/* h1, h2, h3, p {
    font-family: Alice;
} */


h2,
h3 {
    color: #490501;
    margin-bottom: 1em;
}

h2 {
    font-size: 1.3em;
}

p {
    margin: 1em auto;
    line-height: 1.5em;
}

div.page {
    /* max-width: 900px; */
    max-width: 60rem;
    margin: auto;
}

.page section,
.page footer {
    background-color: white;
    /* border: solid #e1e1e1 1px; */
    border-radius: 0.8rem;
    margin: 0.5rem;
    padding: 1rem;
}

.page footer {
    font-size: 0.7em;
}

.page>header {
    background-color: #6e664d;
    background-image: url('../static/head-background.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    padding: 2rem 2rem;
    text-align: center;
    border-radius: 0 0 0.8rem 0.8rem;
    margin: 0 0.5rem 0.5rem 0.5rem;
}

.page>footer {
    margin-bottom: 1rem;
}

header>address,
header>.phone {
    font-size: 1rem;
    font-style: italic;
    color: white;
    margin: 1em 0 0 0;
}

.vcard>.org {
    display: none;
}

header {
    font-size: 1.6rem;
}

header h1 {
    color: white;
    font: bold 2em 'MontserratV';
    background-color: #000000aa;
    border-radius: 0.6em;
    padding: 0.1em 0.5em;
    margin: 0.2em auto;
    width: fit-content;
    clear: both;

}

header h2 {
    color: black;
    font: bold italic 0.8em 'MontserratV';
    background-color: #FFFFFFaa;
    border-radius: 0.9em;
    padding: 0.5em 2em;
    margin: 0.2em auto;
    width: fit-content;
    clear: both;
}


img#logo {
    width: 100%;
    max-width: 700px;
}

.page section>h2 {
    text-align: center;
}

.page section>h2 {
    text-align: center;
}

section.text {
    padding: 1rem 4rem;
}

.social {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.social .link {
    border: solid lightgray 1px;
    border-radius: 1ex;
    margin: 0.5rem;
    padding: 1rem;
    overflow: hidden;
}

.social .link a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #414141;
}

.social .link:hover {
    background-color: #ffefd1;
}

.social .link a span {
    margin: 1ex;
    white-space: nowrap;
    font-weight: bold;
}

.social .link {
    font-size: 1.6rem;
    max-width: 30%;
    min-width: 15rem;
    flex: 1 1 10rem;
}

.social .link img {
    font-size: 1ex;
    width: 4rem;
}

footer {
    text-align: center;
}

/* Small devices */
@media (max-width: 350px) {
    body {
        font-size: 12pt;
    }

    h2 {
        font-size: 1.1em;
    }

    .page>header {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    header>address,
    header>.phone {
        font-size: 0.7rem;
    }

    img#logo {
        width: 95%;
    }

    section.text {
        padding: 1rem;
    }

    .social .link {
        font-size: 1.1rem;
        margin: 0.3rem;
        padding: 0.3rem;
        min-width: 95%;
    }

    .social .link img {
        font-size: 0.5ex;
        width: 3rem;
    }
}

/* Medium devices */
@media (min-width: 350px) and (max-width: 767px) {
    body {
        font-size: 14pt;
    }

    h2 {
        font-size: 1.2em;
    }

    .page>header {
        padding: 1rem;
        font-size: 1.2rem;
    }

    section.text {
        padding: 1rem 1.5rem;
    }

    header>address,
    header>.phone {
        font-size: 0.8rem;
    }

    img#logo {
        width: 90%;
    }

    .social .link {
        font-size: 1.4rem;
        margin: 0.5rem;
        padding: 0.5rem;
    }

    .social .link img {
        font-size: 0.5ex;
        width: 3.5rem;
    }
}

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) {}

/* // X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}