@import url('https://fonts.googleapis.com/css?family=Abel');

html, body {
    margin: 0;
    padding: 0;
    background: #FFFFFF;
    color: #3A3A3A;
    /* font-family: 'Verdana', 'Tahoma', 'Arial', sans-serif; */
    font-family: 'Abel', sans-serif;
    text-align: center;
}

body {
    max-width: 100%;
    margin: 2em;
    border-radius: 15px;
    background: #FAFAFA;
    box-shadow: 6px 6px 10px #CCCCCC;
    padding: 0em 2em 2em 2em;
}

@keyFrames vroom {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0%);
    }
}

@keyFrames nameJump {
    0% {
        transform: translateY(-1400%) rotate(720deg);
    }
    100% {
        transform: translateY(0%) rotate(0deg);
    }
}

div.img_container {
    border-radius: 15px;
    box-shadow: 6px 6px 10px #CCCCCC;
    /* max-height: 300px; */
    min-height: 10em;
    /* max-height: 20em; */
    margin-bottom: 1em;
}

img#chill_n_grill {
    margin-top: 2.0em;
    min-height: 4em;
}

img {
    position: relative;
    max-width: 100%;
    height: auto;
    padding: 0;
    display: inline-block;
}

img#goldrausch {
    margin-top: 2.0em;
    min-height: 4em;
    width: 60%;
}

img#toyota-yaris {
    width: 40%;
    max-height: 80%;
    margin-bottom: 2em;
}


img#img_text {
    z-index: 1;
}

img#img_car {
    animation: 1.5s ease 0s 1 vroom;
    z-index: 2;
    /* top: -300px; */
    margin-top: -100%;
    margin-bottom: 0;
}

img#img_name {
    animation: 2.0s ease-out 0s 1 nameJump;
    z-index: 3;
    margin-top: -100%;
    margin-bottom: 2.5%;
}

div#id_gift_image {
    margin-top: 1em;
    margin-bottom: 1em;
}

div#id_gift_image img {
    max-width: 90%;
}
a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 0.2em #FAFAFA;
    transition: box-shadow 0.75s linear;
}

a:visited {
    color: #000000;
    text-decoration: none;
}

a:hover {
    box-shadow: 0 0.10em #000000;
    transition: box-shadow 0.5s linear;
}

input, select {
    border-radius: 10px;
    height: 1.5em;
    padding: 0 15px 0 15px;
}

label {
    font-size: 0.75em;
    text-align: left;
    text-transform: uppercase;
}

button {
    display: inline-block;
    margin-top: 2em;
    font-size: 1em;
    font-weight: bold;
    border-radius: 10px;
    height: 50px;
    background-color: #EEEEEE;
    transition: background-color 0.5s linear;
}

button:hover {
    cursor: pointer;
    background-color: #AAAAAA;
    transition: background-color 0.5s linear;
}

ul.form_fields {
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;

    width: 100%;
    padding: 0;
    flex-direction: column;
    -webkit-flex-direction: column;
    align-items: center;
    list-style: none;
}

ul.errorlist {
    padding-inline-start: 0;
}

ul.form_fields li {
    display: inline-grid;
    min-height: 3em;
    max-width: 25em;
    min-width: 25em;
    flex-basis: 40%;
    flex-grow: 0;
    /* -webkit-flex-basis: 20%; */
}

ul#menu_footer {
    list-style: none;
    text-align: center;
    padding-left: 0;
}

ul#menu_footer li {
    display: inline-block;
    margin-left: 1em;
    margin-right: 1em;
}

#terms {
    text-align: justify;
}

@keyFrames bevelShadow {
    0% {
        transition: box-shadow 1.0s linear;
        box-shadow: inset 0px 0px 0px #CCCCCC;
    }

    100% {
        transition: box-shadow 1.0s linear;
        box-shadow: inset 6px 6px 10px #000000;
    }
}

#messages_container {
    display: flex;
    -webkit-flex-wrap: wrap;
    -webkit-flex-direction: column;
    align-items: center;

    border-radius: 15px;
    color: #FFFFFF;
    background-color: #AA0000;
    box-shadow: inset 6px 6px 10px #000000;
    margin-left: 25%;
    margin-right: 25%;
    animation: 2s ease-out 0s 1 bevelShadow;
}

#messages_container ul {
    list-style: none;
    display: inline-block;
}

#messages_container li {
    display: inline-grid;
}

div#terms ul {
    list-style: none;
}

