/*
Theme Name: Samichlaus Appenzell
Theme URI: www.samichlaus-appenzell.ch
Author: Thomas Brändle
Author URI: https://thomas-braendle.com
Version: 1.0.0
*/

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: normal;
    src: url('./font/Montserrat-VariableFont_wght.ttf') format('truetype');
}

:root {
    --textfarbe: #716F6F;
    --backgroundfarbe: #E7E7E7;
    --primary: #B38865;
    --secondary: #B38865;
    --hover: #292929;
    --white: #FFFFFF;
}


/* ####################################################################### */


/* ### Allgemeine Angaben ### */


/* ####################################################################### */


h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
ul,
ol {
    color: var(--textfarbe);
}

h1 {
    font-size: 45x;
}

h2 {
    font-size: 35px;
    padding-top: 80px;
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 22px;
    font-style: italic;
}

p,
li,
ul,
ol {
    font-size: 20px;
    text-align: justify;
}

li {
    margin-left: 2em;
}

a {
    color: var(--hover);
    text-decoration: none;
    transition: 0.4s;
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 35px;
    }

    h2 {
        font-size: 28px;
    }

    h3,
    h4 {
        font-size: 20px;
    }

    p,
    li,
    a {
        font-size: 12px;
    }
}

@media screen and (min-width: 992px) {

    h2,
    p,
    .page {
        padding-left: 20px;
    }
}

a:hover,
a:active {
    color: var(--hover);
    text-decoration: none;
    transition: 0.4s;
}

a:visited,
a:link {
    color: var(--hover);
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .page:first-child {
        display: none;
    }
}

body,
html {
    font-family: 'Montserrat', 'Arial', 'sans-serife';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

section,
article {
    margin: 0 auto;
    padding-left: 24em;
}

@media screen and (max-width: 992px) {

    section,
    article {
        max-width: 480px;
        margin: 0 auto;
        padding-left: 0em;
    }
}

@media screen and (max-width: 576px) {

    section,
    article {
        max-width: 390px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 400px) {

    section,
    article {
        max-width: 280px;
        margin: 0 auto;
    }
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    padding: 20px;
}

@media screen and (max-width: 576px) {
    .wp-block-image img {
        padding: 0;
    }
}

.wp-block-table table {
    height: 80vh;
}


/* ####################################################################### */


/* ### Header-Menü ### */


/* ####################################################################### */

nav {
    font-size: 25px;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 10;
    transition: 0.4s;
}

@media screen and (max-width: 992px) {
    nav {
        width: 100%;
    }
}

.stickyNav {
    left: -40px;
    transition: 0.4s;
}

@media screen and (max-width: 992px) {
    .stickyNav {
        left: 0;
    }
}

@media screen and (min-width: 1425px) {
    nav {
        right: 180px;
    }
}

@media screen and (max-width: 1200px) {
    nav {
        font-size: 18px !important;
        top: 80px;
        right: 15px;
    }
}

@media screen and (max-width: 576px) {
    .menu li {
        padding-right: 80px;
    }
}

.menu-hauptmenu-container {
    background-color: var(--primary);
    min-height: 100vh;
    position: fixed;
    top: 0;
    width: 15em;
    font-size: 25px;
}

@media screen and (max-width: 992px) {
    .menu-hauptmenu-container {
        float: none;
        display: block;
    }
}

@media screen and (max-width: 992px) {
    .menu-hauptmenu-container li {
        float: left;
        display: block;
        position: relative;
        width: 80%;
        left: 10%;
        right: 10%;
        top: 45px;
    }
}

@media screen and (max-width: 992px) {
    .menu-hauptmenu-container a {
        text-align: left;
        font-size: 20px;
    }
}

.menu {
    margin-top: 250px;
}

@media screen and (max-width: 992px) {
    .menu {
        margin-top: 150px;
    }
}

@media screen and (max-width: 400px) {
    .menu {
        margin-top: 120px;
    }
}

@media screen and (max-width: 768px) {
    .menu {
        padding-left: 0;
    }
}

@media screen and (max-height: 650px) {
    .menu {
        margin-top: 190px;
    }
}

@media screen and (max-height: 450px) {
    .menu {
        margin-top: 120px;
    }
}

.menu.responsive {
    width: 160px;
}

@media screen and (max-height: 650px) {
    .menu.responsive {
        margin-top: 125px;
    }
}

.menuContainer {
    display: block;
}

@media screen and (max-width: 992px) {
    .menuContainer {
        display: none;
    }
}

.menu-hauptmenu-container a {
    color: var(--white);
    text-decoration: none;
    padding: 5px 25px 5px 25px;
    margin: 4px;
    transition: 0.4s;
}

@media screen and (max-width: 1200px) {
    .menu-hauptmenu-container a {
        padding: 5px 15px 5px 15px;
        margin: 5px;
    }
}

@media screen and (max-width: 992px) {
    .menu-hauptmenu-container {
        width: 100%;
    }
}

.menu-hauptmenu-container li {
    float: none;
    margin-top: 40px;
    margin-bottom: 40px;
    margin-left: 0px;
    margin-right: 0px;
    list-style-type: none;
}

@media screen and (max-height: 650px) {
    .menu-hauptmenu-container li {
        margin-top: 15px;
        margin-bottom: 15px;
    }
}

.menu-hauptmenu-container a:visited,
.menu-hauptmenu-container a:link {
    color: var(--white);
    text-decoration: none;
}

.menu-hauptmenu-container a:hover,
.menu-hauptmenu-container a:active {
    color: var(--hover);
    text-decoration: none;
    transition: 0.4s;
}

.current_page_item {
    border-bottom: var(--hover) 2px solid;
}

.current_page_item a {
    color: var(--hover) !important;
}

.overlayFull {
    z-index: 5 !important;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    transition: 0.4s;
}

.logo img {
    height: 120px;
    display: flex;
    position: fixed;
    top: 40px;
    transition: 0.4s;
    left: 45px;
}

@media screen and (max-width: 1200px) {
    .logo img {
        left: 20px;
    }
}

#myHeader {
    position: relative;
    z-index: 100;
}

.logo img:hover,
.logo img:active,
.logoSticky img:hover,
.logoSticky img:active {
    transform: scale(1.1);
    transition: 0.4s;
}

.logoSticky img {
    position: fixed;
    top: 40px;
    left: 20px;
    height: 120px;
    transition: 0.4s;
}

@media screen and (min-width: 1425px) {
    .logo img {
        left: 45px;
    }
}

@media screen and (max-width: 400px) {

    .logo img,
    .logoSticky img {
        top: 20px;
        height: 80px;
    }
}

@media screen and (max-height: 650px) {

    .logo img,
    .logoSticky img {
        height: 100px;
        top: 25px;
        left: 35px;
    }
}

@media screen and (max-height: 450px) {

    .logo img,
    .logoSticky img {
        height: 80px;
        top: 20px;
        left: 35px;
    }
}

.icon {
    display: none;
    color: var(--primary) !important;
}

@media screen and (max-width: 992px) {
    .menu-hauptmenue-container {
        font-weight: bold;
        font-size: 25px;
    }
}

@media screen and (max-width: 992px) {
    .icon {
        color: var(--primary);
        position: absolute;
        top: 0;
    }
}

@media screen and (max-width: 992px) {

    .icon:hover,
    .icon:active {
        color: var(--primary);
    }
}

@media screen and (max-width: 992px) {
    .menu.responsive a {
        float: left;
        display: block;
        text-align: left;
        font-size: 20px;
    }
}

@media screen and (max-width: 400px) {
    .menu.responsive a {
        font-size: 15px;
    }
}


@media screen and (max-width: 992px) {
    .menu-hauptmenu-container a {
        display: none;
    }
}

.icon {
    position: absolute;
    right: 15px;
    top: -15px;
    margin-right: 20px;
    color: var(--primary);
}

@media screen and (max-width: 992px) {
    .icon {
        float: right;
        display: block;
        font-size: 55px;
    }
}

@media screen and (max-width: 400px) {
    .icon {
        top: -35px;
        font-size: 35px;
    }
}

#menu-metamenu {
    margin-top: 0 !important;
    padding-left: 0;
}

.metaMenu {
    position: fixed;
    bottom: 1em;
    left: 1em;
}

.metaMenu li {
    list-style: none;
    font-size: 15px;
}

.metaMenu a {
    color: var(--white);
    transition: 0.5s;
}

.metaMenu a:hover {
    color: var(--hover);
    transition: 0.5s;
}

@media screen and (max-width: 992px) {
    .metaMenu {
        display: none;
        left: 0em;
    }
}

/* ####################################################################### */


/* ### Header ### */


/* ####################################################################### */

.bloginfo li,
.sozialMediaHome li,
.sozialMediaHomeSticky li {
    list-style: none;
    float: left;
}

.bloginfo {
    display: flex;
}

.bloginfo h3 {
    color: var(--white);
}

@media screen and (max-width: 1200px) {
    .bloginfo {
        left: 200px;
    }
}

@media screen and (max-width: 768px) {
    .bloginfo {
        left: 50px;
    }
}

.infoName {
    font-size: 28px;
}

.infoDescription {
    font-size: 22px;
}

@media screen and (max-width: 576px) {
    .bloginfo h3 {
        font-size: 75%;
    }
}

@media screen and (max-width: 576px) {
    .infoName {
        font-size: 20px;
    }
}

.descriptopnDesktop {
    position: fixed;
    z-index: 1000;
    top: 2.5em;
    left: 1em;
    text-align: center;
}

.descriptopnDesktop a {
    display: flex;
    width: 100%;
}

@media screen and (max-width: 992px) {
    .descriptopnDesktop {
        display: none;
    }
}

.descriptionMobile {
    display: none;
}

@media screen and (max-width: 992px) {
    .descriptionMobile {
        display: block;
    }
}


/* ####################################################################### */


/* ### Seiten ### */


/* ####################################################################### */

section {
    background-color: var(--white);
}


/* ### Startseite ### */

.hero-section {
    width: 100%;
    height: 90vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    background-color: transparent !important;
}

.hero-content section {
    background-color: transparent !important;
}


/* ### Page ### */

.page-header-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 20vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-header-title {
    color: var(--white);
    margin: 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

@media (max-width: 992px) {
    .page-header-title {
        font-size: 25px;
    }

}

.page-header-title-meta {
    color: var(--hover);
    margin: 0;
    padding-left: 12em;
    padding-top: 2em;
}

.scroll-content {
    margin-top: 17vh;
}

.scroll-content section {
    margin-left: 0em;
    padding-top: 2em;
    padding-left: 24em;
    margin-bottom: -2em;
    padding-bottom: 3em;
    min-height: 69vh;
    max-width: 79vw;
    padding-right: 2em;
}

.scroll-content a,
.scroll-content p,
.scroll-content ul,
.scroll-content ol,
.scroll-content button {
    padding-left: 15em;
}

.scroll-content form {
    padding-left: 19em;
}

@media (max-width: 992px) {
    .scroll-content section {
        max-width: 100vw;
        padding-left: 2em;
    }

    .scroll-content a,
    .scroll-content p,
    .scroll-content ul,
    .scroll-content ol,
    .scroll-content button,
    .scroll-content form {
        padding-left: 0em;
    }

}

/* ####################################################################### */
/* ### Anmeldung Formular ### */
/* ####################################################################### */

.samichlaus-form {
    padding-top: 21vh;
    padding-left: 24em;
    max-width: 70vw;
    min-height: 68vh;
}

.samichlaus-form h2 {
    padding-top: 0 !important;
}


@media (max-width: 1800px) {
    .samichlaus-form {
        max-width: 60vw;
    }
}

@media (max-width: 1000px) {
    .samichlaus-form {
        max-width: 50vw;
    }
}

.samichlaus-form h2 {
    margin-bottom: 0.8em;
    font-size: 28px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.3em;
}

.samichlaus-form p {
    margin-bottom: 1em;
}

.samichlaus-form input[type="text"],
.samichlaus-form input[type="number"],
.samichlaus-form input[type="email"],
.samichlaus-form input[type="date"],
.samichlaus-form textarea,
.samichlaus-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    transition: border 0.3s ease;
}

.samichlaus-form input:focus,
.samichlaus-form textarea:focus,
.samichlaus-form select:focus {
    border: 1px solid var(--primary);
    outline: none;
    box-shadow: 0 0 5px rgba(179, 136, 101, 0.4);
}

.samichlaus-form label {
    display: inline-block;
    margin-right: 15px;
    font-size: 16px;
    cursor: pointer;
}

.samichlaus-form input[type="checkbox"],
.samichlaus-form input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.2);
    vertical-align: middle;
}

.samichlaus-form .kind {
    margin-bottom: 1.5em;
    padding: 1em;
    border: 1px dashed #ccc;
    border-radius: 10px;
    background: #fff;
}

.samichlaus-form button {
    background: var(--primary);
    color: var(--white);
    padding: 12px 25px;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1em;
}

.samichlaus-form button:hover {
    background: var(--hover);
    transform: scale(1.05);
}

.samichlaus-form input[type="submit"] {
    background: var(--secondary);
    color: var(--white);
    padding: 14px 30px;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2em;
    display: inline-block;
}

.samichlaus-form input[type="submit"]:hover {
    background: var(--hover);
    transform: scale(1.05);
}

.samichlaus-form .kind {
    margin-bottom: 2em;
    padding: 1.5em;
    border: 2px solid var(--primary);
    border-radius: 12px;
    background: #fafafa;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.kind-header h3 {
    margin-top: 0;
    margin-bottom: 1em;
    font-size: 22px;
    color: var(--primary);
}

.kind-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em 2em;
}

.kind-fields label {
    font-weight: 500;
    margin-bottom: 0.3em;
    display: block;
}

.kind-fields input[type="text"],
.kind-fields input[type="number"] {
    width: 100%;
}

.radio-group label,
.checkbox-group label {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    font-size: 16px;
    line-height: 1;
    vertical-align: middle;
}

.radio-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
    margin: 0;
    margin-right: 2em !important;
}


@media (max-width: 768px) {
    .kind-fields {
        grid-template-columns: 1fr;
    }
}

.anmeldeInfo {
    font-size: 15px !important;
}

@media (max-width: 992px) {
    .samichlaus-form {
        padding-left: 1em !important;
        max-width: 85% !important;
    }

    .samichlaus-form h2 {
        font-size: 20px !important;
    }

    .kind-fields input[type="text"],
    .kind-fields input[type="number"] {
        width: 90%;
    }

}


/* ####################################################################### */
/* ### Kinder Eingabefelder Responsive ### */
/* ####################################################################### */

#kinder-wrapper{
    padding-left: 20px;
}

.samichlaus-form .kind {
    margin-bottom: 1.5em;
    padding: 1em;
    border: 1px dashed #ccc;
    border-radius: 10px;
    background: #fff;
    display: grid;
    gap: 1em;
    align-items: start;
}

/* Labels innerhalb der Kinderfelder */
.samichlaus-form .kind label {
    display: block ruby;
    margin-bottom: 0.3em;
    font-size: 15px;
    font-weight: 500;
}


/* Mobilansicht: alles untereinander */
@media (max-width: 768px) {
    .samichlaus-form .kind {
        grid-template-columns: 1fr;
    }
}


/* ### Leer ### */

.pageContent {
    padding-top: 2em;
    margin-top: -2em;
    padding-bottom: 2em;
    margin-bottom: -2em;
    background-color: white;
}


/* ####################################################################### */


/* ### Elemente ### */


/* ####################################################################### */

.wp-block-button a {
    color: var(--white);
    font-size: 30px;
    padding-left: 2em;
    padding-right: 2em;
    background-color: var(--secondary);
    border-radius: 10px;
    transition: 0.2s;
}

.wp-block-button a:hover {
    transform: scale(1.1);
    transition: 0.2s;
}

@media screen and (max-width: 576px) {
    .wp-block-button a {
        font-size: 20px;
    }
}


/* ####################################################################### */


/* ### Footer ### */


/* ####################################################################### */


@media screen and (max-width: 576px) {
    table {
        font-size: 70%;
    }
}

.footer {
    height: 8vh;
    background-color: var(--hover);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    text-align: center;
    transition: 0.2s;
    padding-left: 24em;
}

@media screen and (max-width: 992px) {
    .footer {
        height: auto;
        padding-left: 2em;
    }
}

.footer li {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    list-style: none;
    float: left;
}

@media screen and (max-width: 992px) {
    .footer li {
        width: 100%;
        margin: -10px;
    }
}

@media screen and (max-width: 576px) {
    .footer ul {
        padding: 0;
        margin: 0;
    }
}

.footer p {
    padding-right: 15px;
    padding-left: 35px;
    color: var(--white);
    font-size: 20px;
}

@media screen and (max-width: 992px) {
    .footer p {
        padding: 0;
        font-size: 15px;
    }
}

@media screen and (max-width: 576px) {
    .footer p {
        font-size: 10px;
    }
}