:root {
    --primary-color: #ffffff;
    --secondary-color: #1879ca;
    --action-color: #85ba42;

    --font-primary: math, serif, sans-serif;
    --font-primary-color: #333;
    --font-action-color: #0a64ad;
    --font-action-color-v1: #054274; /* VARIANT #1 */
    --font-action-color2: #85ba42; 
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: var(--primary-color);
    font-family: var(--font-primary);
    color: var(--font-primary-color);
}

header {
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary-color);
    box-shadow: 0px 1px 5px 1px #444;
}
.header-logo {
    margin: 0;
    margin-left: 5px;
    max-width: 160px;
}
.header-logo img {
    width: 100%;
}
.header-title {
    font-size: 0.8em;
    margin: 0;
    margin-right: 8px;
}


.hero {
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-icon {
    margin: 0;
    max-width: 160px;
}
.hero-icon img {
    width: 100%;
}
.hero-description {
    font-size: 0.9em;
    text-align: center;
    color: var(--font-action-color);
}
.hero-description h4 {
    margin: 8px 0;
}
.hero-description p {
    margin: 5px 0;
}
.hero-description strong {
    background-color: var(--font-action-color-v1);
    font-weight: 600;
    color: #fff;
}
.hero-description .size-1 {
    font-size: 1em;
}
.hero-description .size-2 {
    font-size: 0.75em;
}
.hero-description .fontbold {
    font-weight: 600;
}


.content {
    margin: 0 25px;
    font-size: .8em;
}
.content-form {
    width: 80%;
    margin: 0 auto;
}
.content-form-field {
    margin-bottom: 15px;
}
.content-form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 3px;
}
.content-form-field input,
.content-form-field textarea {
    display: block;
    width: 100%;
    max-width: 300px;
    border: 1px solid #555;
    border-radius: 3px;
    outline: none;
    padding: 5px;
}
.content-form-field input:focus,
.content-form-field textarea:focus  {
    border-color: var(--action-color);
}
.content-form-field textarea {
    min-height: 50px;
}
.content-form-field input[type="submit"] {
    background-color: var(--secondary-color);
    border: none;
    border-radius: 8px;
    margin: 0 auto;
    padding: 8px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
}

.asterisk {
    color: var(--font-action-color);
    font-weight: 900;
    font-size: 1em;
}

.msg {
    width: 80%;
    padding: 8px;
    margin: 12px auto;
    box-shadow: 0px 1px 5px 0px #999;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
}
.msg p {
    margin: 0;
}

.failure {
    background-color: #f75555;
}

.success {
    background-color: #55ed55;
}

.fadeOut {
    animation-name: FadeOut;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

.g-recaptcha {
    transform: scale(0.75);
    transform-origin: 0 0;
}

@keyframes FadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


@media only screen and (min-width: 500px) {
    header {
        height: 5rem;
    }
    .header-title {
        font-size: 1em;
    }
    .header-logo {
        max-width: 190px;
    }

    .hero-icon {
        margin: 0;
        max-width: 260px;
    }
    .hero-description {
        font-size: 1em;
    }
    .hero-description .size-1 {
        font-size: 1.2em;
    }
    .hero-description .size-2 {
        font-size: 0.9em;
    }

    .content {
        font-size: 1em;
    }
    .content-form {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr  1fr;
        grid-template-rows: auto;
        column-gap: 10px;
    }
    .content-form textarea {
        max-width: none;
    }
    .content-form-field input[type="submit"] {
        height: 40px;
    }
    .content-form .suggestionsWrapper {
        grid-column-start: 1;
        grid-column-end: 3;
    }
    .content-form .saveBtnWrapper {
        grid-column-start: 1;
        grid-column-end: 3;
    }

    .g-recaptcha {
        transform: scale(1);
        transform-origin: 0 0;
    }
}

@media only screen and (min-width: 700px) {
    .content {
        max-width: 600px;
        margin: 0 auto;
    }
    .content-form-field input[type="submit"] {
        height: 50px;
    }
}
