*,
*::before,
*::after {
  box-sizing: border-box;
}
:root {
    --background-color: hsl(48,21.7%,95.5%);  /* #F6F5F1 */
    --text-color: hsl(193.8,12.9%,19.8%);     /* #2C3639 */
    --accent-color-1: hsl(26.3,37.6%,42.7%);  /* #966844 */
    --accent-color-2: hsl(183.8,11.3%,27.8%); /* #3F4E4F */
    --accent-color-3: hsl(160,5.2%,77.3%);    /* #C2C8C6 */
    --accent-color-4: hsl(44.2,21.3%,82.5%);
}
html, body{
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
}
:target:before {
    content: "";
    display: block;
    height: 3rem;
}
a {
    color: var(--text-color);
}
h1, h2, h3, h2 a {
    color: var(--accent-color-2);
}
h1 {
    padding: 0;
    margin: 0;
    text-align: center;
}
body {
    height: 100vh;
    padding-top: 6rem;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
body nav {
    z-index: 100;
    width: 100%;
    position: fixed;
    top: 0;
    overflow-x: scroll;
    overflow-y: auto;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--text-color);

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
body nav a {
    padding: 1rem;
}
body nav svg{
    font-size: 1.4rem;
}
body nav div {
    display: flex;
    flex-direction: column;
}
body nav div div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
body nav div div.subnav {
    font-size: 0.8rem;
}
body nav div div.subnav a{
    padding: .5rem 1rem;
}
body section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
body section.front{
    gap: 1rem;
}
body section.front div{
    max-width: 900px;
    width: 100%;
}
body section.front svg {
    display: block;
    min-width: 250px;
    width: 100%;
    max-width: 500px;
    min-height: 100px;
}
body section.front .hero {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
}
body section.front .hero img {
    width: 400px;
}
body section div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
}
body section video.banner,
body section img.banner {
    z-index: -10;
    opacity: 0.3;
    position: absolute;
    top: 0;
    width: 100%;
    overflow: hidden;
}
table {
    color:var(--background-color);
}
thead {
    text-align: center;
}
.note{
    font-size: 0.7rem
}
tr:nth-child(even) {
    color: var(--text-color);
    background-color: var(--accent-color-4);
}
tr:nth-child(odd) {
    background-color: var(--accent-color-2);
}
td {
    padding: 1rem;
}
.prices {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1em;
    padding-top: 1rem;
}
.prices div {
    display: flex;
    flex-direction: column;
}
.prices div i {
    font-size: 3rem;
}
.prices div p {
    width: 100%;
}
footer{
    margin-top: 2rem;
    width: 100%;
    text-align: center;
    padding-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--text-color);
    font-size: .8rem;
}
footer i.fab {
    font-size: 1rem;
}
.leysir {
    font-family: 'Allerta Stencil', sans-serif;
    text-transform: uppercase;
}
i.fab {
    font-size: 1.5rem;
    margin: .25rem;
}
i.fa-check, svg.fa-check {
    color: green;
}
i.fa-ban, svg.fa-ban {
    color: red;
}
/** form styles */
form {
    width: 100%;
    display: flex;
    flex-direction: column;
}
input, textarea, select, button {
    padding: 8px;
    margin: 4px 0;
    text-align: left;
    vertical-align: middle;
    border: 2px solid var(--accent-color-2);
    border-radius: 3px;
}
form label {
    font-weight: bold;
    padding: 4px 0 0 0;
}
button {
    font-weight: bold;
    text-align: center;
    background-color: var(--accent-color-3);
    cursor: pointer;
}
textarea{
    resize: vertical;
}
select, option{
    background-color: white;
    color: var(--text-color);
    padding: 8px;
    border: 2px solid var(--accent-color-2);
    border-radius: 3px;
    -webkit-appearance: listbox;
}
input:not(type="checkbox"), select, option {
    width: 100%;
}
input[type="checkbox"] {
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    display: inline-block;
    vertical-align: middle;
    background-origin: border-box;
    user-select: none;
    flex-shrink: 0;
    height: 2rem;
    width: 2rem;
    color: var(--accent-color-2);
    border-color: var(--accent-color-2);
    border-width: 2px;
    border-radius: 0.25rem;
}
input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
    border-color: transparent;
    background-color: currentColor;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}
form .note {
    grid-column: 1 / span 2;
}

.hoop-form-preview {
    border-radius: 1rem;
    padding: 1rem;
    width: 50%;
    display: flex;    
    flex-direction: row;
    justify-content:center;
    background-color: var(--background-color);
}
#preview{
    width: 75%;
}
#preview img {
    padding: 1rem;
}
/** responsiveness tweaks */
@media only screen and (max-width: 600px) {
    .prices{
        flex-direction: column;
        width: 100%;
    }
    body nav, body nav div {
        justify-content: flex-start;
    }
    body section {
        padding: 0 1rem;
    }
    body section div {
        width: 100%;
    }
    body section p {
        width: 100%;
    }
    body section.front .hero img {
        width: 90%;
    }
    form {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .hoop-form-preview {
        width: 80%;
        flex-direction: column;
    }
}