@import './reset.css';

* {
    box-sizing: border-box;
}

html {
    width: 100%;
}

body {
    background: #f6f6f6;
    color: #333;
    font-family: "Signika Negative", serif;
    font-size: calc(15px + 0.390625vw);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    width: 100%;
    z-index: 60;
    background: rgba(255, 255, 255, 1);
    border-bottom: solid 1px #ddd;
    font-size: 2.4rem;
    font-weight: 700;
    text-align: left;
    font-family: "Afacad", sans-serif;
}
canvas {
    width: 800px;
    height: 800px;
}

.header_content {
    display: flex;
    margin: 0 auto;
    max-width: 1200px;
    padding: 25px 55px 25px 55px;
    justify-content: center;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
}
main.full {
    width: 100%;
}

footer {
    margin-top: auto;
    max-width: 100%;
    min-height: 40px;
    background-color: #fff;
    border-top: solid 1px #ddd;
    align-content: center;
    text-align: center;
    font-size: 0.8rem;
}

footer>div {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: center;

}

footer>div div {
    padding: 0 10px;
}

footer>div+div {
    padding-top: 0;
    font-weight: 700;
    font-size: 0.75rem;
}

h1 {
    font-size: 1.4em;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

h2 {
    font-size: 1.25rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px;
}

h3 {
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
}
h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 15px;
}

p {
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.6;
}

p.sub_text{
    font-style: italic;
    font-weight: 300;
}

p+p {
    margin-top: 10px;
}
h2 + p {
    margin-top: 20px;
}
h2 + h3, h3 + h4, ul + h4 {
    margin-top: 25px;
}
p+h2, p+h3, p+h4{
    margin-top: 20px;
}
ul {
    list-style-type:disc;
    list-style-position: inside;
    margin: 10px 0px 15px 0px;
}
li {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.3;
    text-indent: 20px;
}
li + li {
    margin-top: 8px;
}
a {
    text-decoration: none;
    color: #000;
}

a:hover {
    color: rgb(255, 174, 0);
}

hr {
    border: 0;
    border-bottom: 1px dashed #ccc;
    background: #fff;
    margin: 25px 0;
}

strong {
    font-weight: 600;
}

.small {
    font-size: 0.8rem;
}

.space {
    margin-top: 10px;
}

.row {
    display: flex;
    justify-content: center;
}

.card:hover {
    border: solid 1px #ccc;
}
.card {
    display: block;
    background-color: #fff;
    padding: 50px;
    margin: 20px 20px 20px 20px;
    border: solid 1px #ddd;
    text-align: center;
    line-height: 1;
}
.card h2{
    margin-bottom: 0;
}
.page {
    display: block;
    background-color: #fff;
    padding: 40px;
    margin: 20px 20px 20px 20px;
    border: solid 1px #ddd;
    text-align: left;;
}

.card+.card {
    margin-left: 0px;
}

@media screen and (max-width: 768px) {
    main {
        width: 100%;
    }
    .row {
        display: block;
    }
    .card {
        width: 100%;
        padding: 40px 20px;
        margin: 20px 0 0 0;
        border-left: 0px;
        border-right: 0px;
    }
    .page {
        width: 100%;
        padding: 40px 5vw;
        margin: 20px 0px;
        border-left: 0px;
        border-right: 0px;
    }
}