:root{
    --dull: #A9D7DB;
    --dark: #1F2829;
    --blue: #019ad7;
    --purple: #9C59E0;
}

@font-face{
    font-family: ButlerBold;
    src: url(../fonts/Butler_Bold_Stencil.otf)
}@font-face{
    font-family: ButlerLight;
    src: url(../fonts/Butler_Light_Stencil.otf)
}@font-face{
    font-family: ButlerLightFull;
    src: url(../fonts/Butler_Light.otf)
}

h1{
    font-family: ButlerBold;
    font-size: 40px;
    font-weight: 100;
    line-height: 5;
    color: var(--dark);
}
h2{
    font-family: ButlerLight;
    font-size: 180px;
    font-weight: 100;
    line-height: 0;
    color: var(--dark);
}
h3{
    font-family: "abril-display", serif;
    font-weight: 400;
    font-style: italic;
    font-size: 28pt;
    line-height: 1.2;
    color: var(--dark);
}
h4{
    font-family: "abril-display", serif;
    font-weight: 800;
    font-style: italic;
    font-size: 14pt;
    color: var(--dark);
}
h5{
    font-family: "ButlerLightFull", serif;
    font-weight: 800;
    font-size: 22pt;
    color: var(--blue);
}
h6{
    font-family: "ButlerLightFull", serif;
    font-weight: 800;
    font-size: 26pt;
    color: var(--purple);
}
h7{
    font-family: ButlerBold;
    font-size: 72pt;
    font-weight: 100;
    line-height: 1;
    color: var(--dark);
}
p{
    font-family: "abril-display", serif;
    font-weight: 100;
    font-style: normal;
    font-size: 14pt;
    max-width: 50vw;
    margin: 18px auto;
    color: var(--dark);
}

p, h1, h3, h4, h5, h6, h7{ /*ink texture*/
    -webkit-mask-image: url(../images/ink.webp);
    mask-image: url(../images/ink.webp);
    -webkit-mask-repeat: repeat;
    mask-repeat: repeat;
    text-shadow: 0px 0px 4px var(--paper),0px 0px 12px var(--paper);
}

b{
    font-weight: 1000;
    font-style: italic;
}
a{
    text-decoration: none;
}
/* unvisited link */
a:link {
    color: var(--blue);
}
/* visited link */
a:visited {
    color: var(--blue);
}
/* mouse over link */
a:hover {
    color: var(--dull);
}
/* selected link */
a:active {
    color: var(--dark);
}

.center{
    text-align: center;
    justify-content: center;
}
.justify{
    text-align: left;
    justify-content: flex-start;
}
hr{
    margin: 64px 0;
}
hr.small{
    border-top: dotted 1px;
    width: 50%;
    margin: 64px auto 58px auto;
}
footer{
    height: 50vh;
    align-items: center;
}

input{
    width: 50%;
    padding: 12px 20px;
    margin: 12px auto;
}
textarea{
    width: calc(80% + 48px);
    height: 10vh;
    padding: 12px 20px;
    margin: 12px auto;
}
label {
    display: block;
    font-family: abril-display;
    font-size: 12pt;
    margin: 12px 0 auto;
}
.sub {
    display: inline;
    font-style: italic;
    color: var(--purple);
}

.paper{ /*paper texture*/
    position: absolute;
    top: -32px;
    bottom: 0;
    left: 0;
    right: 0;
    background-repeat: repeat;
    background-image: url(../images/paper.gif);
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 99999;
}

body{
    margin:0;
    padding: 0;
    position: relative;
}
.top{
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    max-width: 100%;
    height: auto;
    z-index: -1;
    margin: 0 auto;
    padding: 0;
}
.bottom{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    height: auto;
    z-index: -1;
    margin: 0 auto;
    padding: 0;
}

button {
    background-color: #fff;
    border-radius: 3px;
    border: 1px solid var(--blue);
    box-shadow: rgba(255, 255, 255, .7) 0 1px 0 0 inset;
    box-sizing: border-box;
    color: var(--blue);
    cursor: pointer;
    display: inline-block;
    font-family: ButlerLight;
    font-size: 18pt;
    font-weight: 400;
    line-height: 1.15385;
    margin: 12px auto;
    outline: none;
    padding: 8px .8em;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    white-space: nowrap;
}

button:hover{
    background-color: var(--blue);
    color: #fff;
}
button:focus {
    background-color: var(--blue);
    color: #fff;
}

button:focus {
    box-shadow: 0 0 0 4px rgba(0, 149, 255, .15);
}

button:active {
    background-color: #a0c7e4;
    box-shadow: none;
    color: #2c5777;
}

input[type="radio"]{
    width: auto;
    margin: 12px;
}

.gallery img{
    max-width: 512px;
    width: 100%;
    padding: 16px;
}

@media only screen and (max-width: 700px) {
    .container{
        width:100%;
    }
    p{
        font-size: 14pt;
        max-width: 100vw;
    }
    h7{
        font-size: 48pt;
    }
    input{
        width: 100%;
    }
    textarea{
        width: 100%;
    }
    label{
        font-size: 16pt;
    }
    button{
        font-size: 24pt;
    }
}