/*    - - - - - - - - - - - - -   */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input {
        margin: 0;
        padding: 0;
        border: 0;
        font-size: 100%;
        font: inherit;
        vertical-align: baseline;
        box-sizing:border-box;       /*  keeps track of internal box-model measurements  */
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
        display:block;
}
body {
        line-height:1;
}
ol, ul {
        list-style:none;
}
blockquote, q {
        quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
        content:'';
        content:none;
}
table {
        border-collapse:collapse;
        border-spacing:0;
}

/*  - - - - - - - - - - - END CSS RESET - - - - - - - - - - - -   */

:root {

    --background: #4A1919;

}

html {
    position:relative;
    box-sizing:border-box;
    image-rendering:pixelated;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--background);
    width: 100%;
}

#overlay-texture {
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:url(assets/rose.png) 0 0 / 5% 5% repeat fixed border-box;
    pointer-events:none;
    filter: blur(0.5px);
}

#wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

#hero {
    position: absolute;
    right:0;
    margin:1%;
}
#hero > p {
    font-weight: bold;
    color: black;
}

#crowley{
    height:10vh;
    width:100%;
    background:url(assets/crowleybanner.png);
    background-position: 45% 42%;
    background-repeat: no-repeat;
    background-size: 175% 250%;
}

#title {
    margin:5%;
}

#intro{
    display: flex;
    flex-direction: row;
    align-items: center;
    height:20vh;
}

#textintro {
    justify-content: space-around;
    text-align: center;
    flex-direction: column;
}

h1{
    font-family: 'Aguafina Script', cursive;
    font-size: 3em;
    color: white;
    letter-spacing: .08em;
}

#woman {
    margin-top:3%;
}

h2{
    font-family: 'Comic Relief', sans-serif;
    color: white;
}

p{
    font-family: 'Comic Relief', sans-serif;
    color: white;
}

label {
    font-family: 'Comic Relief', sans-serif;
    color: black;
}

#survey {
    width:75%;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: white;
    padding: 0 5%;
    margin-top: 3%;
    margin-bottom: 10%;
}

#survey h2 {
    margin:0;
    padding:0;
    color:black;
    text-align:left;
}

.question {
    margin: 5vh 0;
}

.question > h2 {
    font-weight: bold;
}

.radio {
    margin: 3% 0;
    background-color:lightgray;
    padding: 5%;
}

.survey-response {
    display:flex;
    flex-direction: column;
    position:relative;
    left:2%;
}

input[type='radio']:checked {
    accent-color: red;
}

.button {
    display:block;
    min-width:8vw;

    padding:5vw;
    margin-bottom: 10%;
    background-color: var(--background);
    color:white;   
    border-radius:10px;
    font-size:1em;
    text-align:center;
    cursor:pointer;
    border:0;
    font-family:'Comic Relief', sans-serif;
}

.submit {
    display:flex;
    flex-direction: column;
    align-items: center;
}

.hidden {
    display:none;
}

.show {
    display:block;
}

#blinky {
    font-size:2.8vw;
    animation: blinker 0.7s linear infinite;
    color:red;
}

@keyframes blinker {
    50% {
    font-size: 2.3vw;
    opacity: 0.4;
    }
}

#blinky-box {
    min-height:5vh;
    margin: 5% 0;
}

#images {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#images > img {
    margin: 5% 0;
}