/*
Theme Name: Sintzel ins Schulpräsidium
Theme URI: http://kpunkt.ch/
Author: Timothy von K.
Author URI: http://kpunkt.ch/
Description: Ein Theme für den Schulpräsidiumswahlkampf von Ursula Sintzel, Kandidatin der Sozialdemokratischen Partei Zürich 9.
Version: 0.1
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sintzel
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/***** RESETS *****/
body {
    margin: 0;
}

p {
    margin-block-start: unset;
    margin-block-end: unset;
}

:focus {
    outline: none;
}

a {
    color: var(--red);
}

/***** DEFAULTS *****/
/* Variables */
:root {
    --red: #C2001D;
    --dark-red: #58000d;
    --black: #232323;
    --white: #FCFCFC;
    --grey: #8A8A8A;
    --light: #CACACA;

    /*Paddings*/
    --small-pad: 5vw;
}

#main-content {
    padding-top: 2rem;
    min-height: 60vh;
}

/* Typo */
html {
    background-color: var(--white);
    overflow-x: hidden;
}


html {font-size: 20px;} /*20px*/

@media only screen and (max-width: 980px) {
    html {font-size: 17px;} /*17px*/
}

body {
    font-family: nimbus-sans, sans-serif;
    font-weight: 300;
    font-style: normal;
    line-height: 1.3;
    color: var(--black);
}

p {margin-bottom: 1.25rem;}

h1, h2, h3, h4, h5 {
  margin: 0.5rem 0 1.25rem;
  font-weight: 700;
  line-height: 1;
}

h1 {
  margin-top: 0;
  font-size: 3.052rem;
}

h2 {font-size: 2.441rem;}

h3 {font-size: 1.953rem;}

h4 {font-size: 1.563rem;}

h5 {font-size: 1.25rem;}

small, .text_small {font-size: 0.8em;}


/***** CONTAINER *****/
.small-container {
    padding: 0 var(--big-pad);
    width: calc(100vw - 2 * var(--big-pad));
}

.medium-container {
    padding: 0 var(--med-pad);
}

.big-container {
    padding: 0 var(--small-pad);
}

.ma-small-container {
    margin: 0 var(--big-pad);
}

.ma-medium-container {
    margin: 0 var(--med-pad);
}

.ma-big-container {
    margin: 0 var(--small-pad);
}

@media only screen and (max-width: 980px) {
    .small-container {
        width: 90%;
        margin: 0 auto;
        padding: 0;
    }

    .medium-container {
        width: 90%;
        margin: 0 auto;
        padding: 0;
    }
    
    .ma-small-container {
        width: 90%;
        margin: 0 auto;
    }

    .ma-medium-container {
        width: 90%;
        margin: 0 auto;
    }
}

.content-section {
    padding-bottom: 4rem;
}

@media only screen and (max-width:980px) {
    .content-section {
        padding-bottom: 2rem;
    }

    .content-section:last-of-type {
        padding-bottom: 4rem;
    }
}



/***** ELEMENTS *****/
/* Unterstützen Form */
.unterstutzen-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    row-gap: 1rem;
}

.unterstutzen-form input {
    font-size: clamp(1rem, 1vw, 2.5rem);
    padding: 0.4em 0.4em;
    border-radius: 5px;
    border: none;
    width: -webkit-fill-available;
    width: -moz-available;
    width: stretch;
}

@media only screen and (max-width: 600px) {
    .unterstutzen-form {
        grid-template-columns: 1fr;
    }
}

/* Buttons */

.button {
    background-color: var(--red);
    color: var(--white);
    border: solid 2px var(--red);
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: 3px;
    cursor: pointer;
    transition: .25s;
    padding: 0.4em 0.4em;
    text-decoration: none;
    display: block;
    width: fit-content;
    text-align: center;
    text-shadow: none;
}

.button.second {
    background-color: var(--white);
    color: var(--red);
    border: solid 2px var(--red);
}

.button:hover {
    -webkit-box-shadow: -0.25rem 0.25rem 0px 0px var(--dark-red);
    -moz-box-shadow: -0.25rem 0.25rem 0px 0px var(--dark-red);
    box-shadow: -0.25rem 0.25rem 0px 0px var(--dark-red);
    transform: translate(0.25rem, -0.25rem)
}

.button:active, .button:focus {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    transform: unset;
}


/* Position Grid */
#position-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    row-gap: 1rem;
}

@media only screen and (max-width: 980px) {
    #position-grid {
        grid-template-columns: 1fr;
    }
}

.position-item {
    border: 1px solid #CACACA;
    box-sizing: border-box;
    border-radius: 3px;
    padding: 1rem;
    height: fit-content;
}

.position-item p {
    margin-bottom: 0.8rem;
}

.position-item .button {
    font-size: 0.8rem;
}

/* BUTTON Grid */
.button-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    row-gap: 1rem;
    width: fit-content;
}

.button-grid .button {
    width: unset;
}

@media only screen and (max-width: 980px) {
    .button-grid {
        width: -webkit-fill-available;
        width: -moz-available;
        width: stretch;
    }

    .button-grid .button {
        width: -webkit-fill-available;
        width: -moz-available;
        width: stretch;
        font-size: 1rem;
    }
}

/* PAPERFORMS 
.submit.btn-primary {
    color: var(--white) !important;
} */