@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;
    flex-wrap: wrap;
    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;
}

/* Order Grid */

.grid-order {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid #e8e7e4;
    border-radius: 6px;
    overflow: hidden;
    margin: 40px auto;
    width: calc(100vw - 40px);
}

a.card-order {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    text-align: left;
    padding: 1.5rem 2rem;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

a.card-order {
    background: #fff;
}

a.card-order:nth-child(even) {
    background: #f9f9f8;
}

a.card-order:hover {
    border-left-color: #ffaf38;
    background: #fff8ed;
    color: inherit;
}

.card-order__icon {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 40px;
    height: 40px;
    margin-right: 1.5rem;
    align-self: center;
}

.card-order__icon svg {
    width: 40px;
    height: 40px;
}

.card-order__title {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.95rem;
    font-weight: 800;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
}

.card-order__desc {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.78rem;
    font-weight: 500;
    color: #999;
    line-height: 1.4;
}

.card-order__cta {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
    display: inline-block;
    padding: 9px 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #222;
    color: #fff;
    font-family: inherit;
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

a.card-order:hover .card-order__cta {
    background: #ffaf38;
    color: #222;
}

@media screen and (max-width: 768px) {
    .grid-order {
        border-radius: 0;
        margin: 20px 0;
        width: 100%;
    }

    a.card-order {
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto;
        padding: 1rem 1.25rem;
    }

    .card-order__icon {
        grid-row: 1;
        width: 32px;
        height: 32px;
        margin-right: 1rem;
    }

    .card-order__icon svg {
        width: 32px;
        height: 32px;
    }

    .card-order__title {
        margin-bottom: 0;
    }

    .card-order__desc {
        display: none;
    }
}

@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;
    }
}