/* ==========================================================================
   Public Form Page - Shared styles for public-facing form pages
   (register, contact, etc.)
   ========================================================================== */

html {
    background: url(../../images/leaves13.png) no-repeat bottom left fixed;
    -moz-background-size: 100% 100%;
    background-size: 100% 100%;
    width: cover;
    height: 100%;
    min-width: 1000px;
    min-height: 500px;
}

body {
    font-family: "Segoe UI",Frutiger,"Frutiger Linotype","Dejavu Sans","Helvetica Neue",Arial,sans-serif;
    font-weight: 900;
    background-color: rgba(0, 0, 0, 0);
}

h1 {
    -webkit-animation: color-change 3s infinite;
    -moz-animation: color-change 3s infinite;
    -o-animation: color-change 3s infinite;
    -ms-animation: color-change 3s infinite;
    animation: color-change 3s infinite;
    margin-top: 5%;
    min-width: 700px;
}

h2 {
    font-size: 20px;
}

h4 {
    color: white;
    font-size: 24px;
    width: 800px;
    margin: 0 auto;
}

@-webkit-keyframes color-change {
    0% { color: silver; }
    50% { color: white; }
    100% { color: silver; }
}

@-moz-keyframes color-change {
    0% { color: silver; }
    50% { color: white; }
    100% { color: silver; }
}

@-ms-keyframes color-change {
    0% { color: silver; }
    50% { color: white; }
    100% { color: silver; }
}

@-o-keyframes color-change {
    0% { color: silver; }
    50% { color: white; }
    100% { color: silver; }
}

@keyframes color-change {
    0% { color: silver; }
    50% { color: white; }
    100% { color: silver; }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-weight: 300;
    z-index: 0;
}

.wrapper {
    background: rgba(241, 255, 207, 0.8);
    margin: 0 auto;
    margin-top: 2%;
    width: 300px;
    height: auto;
    padding-bottom: 20px;
    overflow: hidden;
    border-radius: 3px;
}

.wrapper.form-success .container p {
    -webkit-transform: translateY(85px);
    -ms-transform: translateY(85px);
    transform: translateY(85px);
}

.container {
    max-width: 300px;
    margin: 0 auto;
    padding: 0 0;
    height: auto;
    text-align: center;
}

.container p1 {
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
    -webkit-transition-timing-function: ease-in-put;
    transition-timing-function: ease-in-put;
    font-weight: 500;
}

form {
    padding: 15px 0;
    position: relative;
    z-index: 2;
}

form input,
form select,
form textarea {
    appearance: none;
    outline: 0;
    border: 1px solid #a0bc47;
    background-color: rgba(255, 255, 255, 0.5);
    width: 250px;
    border-radius: 3px;
    padding: 10px 15px;
    margin: 0 auto 10px auto;
    display: block;
    text-align: center;
    font-size: 18px;
    font-family: "Segoe UI",Frutiger,"Frutiger Linotype","Dejavu Sans","Helvetica Neue",Arial,sans-serif;
    font-weight: 400;
    color: #568a02;
    -webkit-transition-duration: 0.25s;
    transition-duration: 0.25s;
}

form input:hover,
form select:hover,
form textarea:hover {
    background-color: rgba(255, 255, 255, 0.75);
    color: lightpurple;
}

form input:focus,
form select:focus,
form textarea:focus {
    background-color: rgba(255, 255, 255, 1);
    width: 275px;
    color: rgba(51, 51, 51, 1);
}

form textarea {
    text-align: left;
    resize: vertical;
    min-height: 100px;
}

form button.signup {
    appearance: none;
    outline: 0;
    background-color: #a0bc47;
    border: 0;
    padding: 10px 15px;
    color: white;
    border-radius: 3px;
    width: 250px;
    cursor: pointer;
    font-size: 18px;
    font-family: "Segoe UI",Frutiger,"Frutiger Linotype","Dejavu Sans","Helvetica Neue",Arial,sans-serif;
    font-weight: bold;
    -webkit-transition-duration: 0.25s;
    transition-duration: 0.25s;
}

form button:hover {
    background-color: #66bc47;
}

a:visited {
    color: darkslateblue;
}

/* Honeypot - hidden from users */
.hp-field {
    position: absolute;
    left: -9999px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

:root {
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --touch-target-min: 44px;
}

html.responsive {
    min-width: 0 !important;
}

@media (max-width: 767px) {
    html.responsive {
        background-size: cover !important;
        background-position: center !important;
    }

    .responsive h1 {
        min-width: 0 !important;
        font-size: clamp(1.5rem, 6vw, 3rem) !important;
        padding: 0 var(--space-md);
        margin-top: var(--space-lg) !important;
    }

    .responsive .wrapper {
        width: 90% !important;
        max-width: 320px !important;
        height: auto !important;
        padding: var(--space-md);
    }

    .responsive .container {
        max-width: 100% !important;
        height: auto !important;
        padding: var(--space-sm) 0;
    }

    .responsive form {
        padding: var(--space-sm) 0;
    }

    .responsive form input,
    .responsive form select,
    .responsive form textarea {
        width: 100% !important;
        max-width: 100% !important;
        min-height: var(--touch-target-min);
        font-size: 16px !important;
        box-sizing: border-box !important;
    }

    .responsive form input:focus,
    .responsive form select:focus,
    .responsive form textarea:focus {
        width: 100% !important;
    }

    .responsive form button.signup {
        width: 100% !important;
        min-height: var(--touch-target-min);
        box-sizing: border-box !important;
    }

    .responsive center a {
        display: inline-block;
        padding: var(--space-sm) 0;
        min-height: var(--touch-target-min);
    }
}
