/*
Theme Name: QUERORT Newsletter
Author: Jakob Böhme
Description: Mobile Newsletter-Anmeldeseite für QUERORT
Version: 0.1
*/

@font-face {
    font-family: 'TASA Orbiter';
    src: url('assets/fonts/TASAOrbiterVF.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* =========================================================
   TYPO SYSTEM
   ========================================================= */

:root {
    --fs-small: 14px;
    --fs-base: 16px;
    --fs-large: 22px;

    --color-text: #777;
    --color-text-strong: #000;

    --button-ring-width: 85px;
    --button-ring-outline: 7px;
	
}

/* =========================================================
   ALLGEMEIN
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: 'TASA Orbiter', Arial, Helvetica, sans-serif;
    font-size: var(--fs-base);
    line-height: 1.4;
    background: #f2f2f2;
    color: var(--color-text);

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================================================
   LAYOUT
   ========================================================= */

.q3-newsletter-page {
    width: 100%;
    max-width: 390px;

    height: 100vh;
    max-height: 720px;
	
	background: #faf9f7;

    margin: 0 auto;
}

.q3-newsletter-box {
    width: 100%;
    height: calc(100% - 120px);

    overflow-y: auto;

   
    padding: 25px 20px;
}

/* =========================================================
   KOPF
   ========================================================= */

.q3-start-image {
    display: block;
    width: 100%;
    height: auto;
}

.q3-newsletter-head {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 18px;
    align-items: start;
}

.q3-newsletter-logo {
    display: block;
    width: 55px;
    height: auto;
}

.q3-intro-text {
    font-size: var(--fs-large);
    line-height: 1.4;
    text-align: right;
	color: var(--color-text-strong);
}

.q3-intro-text p {
    margin: 0;
}

.q3-page-text {
    margin-left: 20px;
    font-size: var(--fs-base);
    line-height: 1.2;
    text-align: left;
	text-align: justify;
	hyphens: auto;
}

.q3-page-title {
    font-size: 28px;
	font-weight: 800;
	color: var(--color-text-strong);
    line-height: 1.4;
    text-align: left;	
}

.q3-title {
    font-size: var(--fs-large);
	font-weight: 500;
    line-height: 1.4;
    text-align: left;	
}



/* =========================================================
   FORMULAR
   ========================================================= */

.q3-field {
    margin-top: 12px;
}

.q3-label {
    display: block;
    margin-top: 0;
    font-size: var(--fs-small);
    line-height: 1.4;
    font-weight: 400;
    color: var(--color-text-strong);
}

.q3-label-required {
    display: block;
    margin-top: 0;
    font-size: var(--fs-small);
    line-height: 1.4;
    font-weight: 700;
    color: var(--color-text-strong);
}

.q3-field input {
    display: block;
    width: 100%;
    height: 40px;
    margin-top: 4px;
    padding: 0 10px;
    border: 1px solid #bbb;
    font-family: inherit;
    font-size: var(--fs-base);
    color: var(--color-text-strong);
    background: #fff;
}

.q3-consent {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px;
    align-items: start;
    margin-top: 12px;
    font-size: var(--fs-base);
    text-align: right;
}

.q3-consent input {
    display: none;
}

.q3-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #111;
}

.q3-consent input:checked + .q3-checkbox {
    background: #111;
}

.q3-consent a {
    color: var(--color-text-strong);
    text-decoration: underline;
}

/* =========================================================
   FORMULAR FEHLER
   ========================================================= */

.q3-field-error input {
    border: 2px solid #f53939;
}

.q3-consent-error .q3-checkbox {
    border: 2px solid #f53939;
}

/* =========================================================
   BUTTON WRAP
   ========================================================= */

.q3-button-wrap {
    position: relative;
    width: 85px;
    height: 85px;
    margin: auto 0;
}

/* =========================================================
   BUTTON
   ========================================================= */

.q3-button {
    position: absolute;
    left: 0;
    top: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 80px;
    height: 80px;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #555555;
    color: #fff;

    font-family: inherit;
    font-size: var(--fs-base);
    font-weight: 700;
    line-height: 1.05;
    text-align: center;
    white-space: normal;

    cursor: pointer;
	text-decoration: none;
}

.q3-button:link,
.q3-button:visited,
.q3-button:hover,
.q3-button:active {
    text-decoration: none;
}

/* =========================================================
   BUTTON RING READY
   ========================================================= */

.q3-button-ready {
    position: absolute;
    left: 0;
    top: 0;

    width: var(--button-ring-width);
    height: var(--button-ring-width);
    padding: 0;

    border-radius: 50%;
    outline: var(--button-ring-outline) solid #555555;
    pointer-events: none;
}

/* =========================================================
   BUTTON RING ERROR
   ========================================================= */

.q3-button-error {
    position: absolute;
    left: 0;
    top: 0;

    width: var(--button-ring-width);
    height: var(--button-ring-width);
    padding: 0;

    border-radius: 50%;
    outline: var(--button-ring-outline) solid #f53939;
    pointer-events: none;
}

/* =========================================================
   BUTTON RING SUCCESS
   ========================================================= */

.q3-button-success {
    position: absolute;
    left: 0;
    top: 0;

    width: var(--button-ring-width);
    height: var(--button-ring-width);
    padding: 0;

    border-radius: 50%;
    outline: var(--button-ring-outline) solid #88ff19;
    pointer-events: none;
}

/* =========================================================
   BUTTON RING INFO
   ========================================================= */

.q3-button-info {
    position: absolute;
    left: 0;
    top: 0;

    width: var(--button-ring-width);
    height: var(--button-ring-width);
    padding: 0;

    border-radius: 50%;
    outline: var(--button-ring-outline) solid #7fdcff;
    pointer-events: none;
}

/* =========================================================
   FUNKTIONSFOOTER
   ========================================================= */

.q3-function-footer {
    width: 100%;
    height: 120px;

    display: flex;
    justify-content: center;
    align-items: flex-start;
	
	padding-top: 8px;
}

/* =========================================================
   DEBUG BORDERS
   ========================================================= */
/*
body {
    outline: 4px solid red;
}

.q3-newsletter-page {
   border: 8px solid lime !important;
}

.q3-newsletter-box {
    outline: 4px solid blue;
}

.q3-function-footer {
    outline: 4px solid orange;
}
*/