/*
Theme Name: IFB Schulkreis Büren (One-Pager)
Theme URI: http://ifbueren/one-pager
Author: Sven Waser
Author URI: https://sven-waser.ch
Description: A custom one-pager theme for IFB Schulkreis Büren
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ifbueren
Tags: one-page, custom-theme
*/
@import url('https://fonts.googleapis.com/css2?family=News+Cycle&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background-color: #9c74ac;
    color: white;
}

body {
    height: auto;
    min-height: 100vh;
    font-size: 12pt;
    font-family: 'News Cycle', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}


/* Header Styles */
.site-header {
    position: fixed;
    z-index: 98;
    box-sizing: border-box;
    background-color: white;
    padding: 10px 20px;
    width: 100%;
    height: auto;
    box-shadow: 0px 0px 5px black;
    transition: 0.5s;
    -webkit-transition: 0.5s;
}

.site-header .custom-logo-link .custom-logo {
    display: block;
    height: 70px;
    width: auto; 
    margin: 0px auto;
}

.site-header .site-title a {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 12pt;
    text-align: center;    
    color: #632c86;
    text-decoration: none;
    margin-top: 10px;
}

article {
    margin: 25px auto 40px auto;
    width: 80%;
}

/* Featured Image */
.post-thumbnail {
    width: 100%;
    height: 60vh;
    background-position: center center;
    background-size: cover;
    box-shadow: 0px 0px 5px #cccccc;
}

/* Footer Styles */
.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 30px 10% 30px 10%;
  background-color: #9c74ab ;
  box-shadow: 0px 0px 5px #cccccc;
  color: white;
  font-family: 'News Cycle', sans-serif;
}

.site-footer a {
  color: white;
}

.site-footer .right-box {
  text-align: right;
}

/* Font styles */
h1 {
    font-size: 3em;
    color: #9c74ac;
}

h2 {
    font-size: 2.75em;
    color: #9c74ac;
}

h3 {
    font-size: 2.5em;
    color: #9c74ac;
}

h4 {
    font-size: 2.25em;
    color: #9c74ac;
}

h5 {
    font-size: 2em;
    color: #9c74ac;
}

h6 {
    font-size: 1.75em;
    color: #9c74ac;
}

/* WordPress default styles */
a {
    color: #9c74ac;
}

blockquote.wp-block-quote, #editor blockquote.wp-block-quote {
    border-left: 3px solid #9c74ac;
    color: #9c74ac;
    font-weight: 800;
    padding: 5px 10px;
    margin: 5px auto;
}

blockquote.wp-block-quote cite, #editor blockquote.wp-block-quote cite {
    color: #b090bd;
    font-size: 11pt;
}

figure.wp-block-pullquote, #editor figure.wp-block-pullquote {
    border-top: 4px solid #9c74ac;
    border-bottom: 4px solid #9c74ac;
    margin: 5px auto;
}

figure.wp-block-pullquote blockquote p, #editor figure.wp-block-pullquote blockquote p {
    color: #9c74ac;
}

figure.wp-block-pullquote blockquote cite, #editor figure.wp-block-pullquote blockquote cite {
    color: #b090bd;
    font-size: 11pt;
}

a.wp-block-button__link, #editor a.wp-block-button__link {
    display: inline-block;
    background-color: #9c74ac;
    color: white;
    border-radius: 5px;
    border: none;
    outline: none;
    padding: 12px 18px;
    transition: 0.5s;
    -webkit-transition: 0.5s;
}

a.wp-block-button__link:hover, #editor a.wp-block-button__link:hover {
    opacity: 0.85;
}

hr.wp-block-separator, #editor hr.wp-block-separator {
    color: #9c74ac;
    margin: 10px 0px;
}

ul, #editor ul {
    margin-left: 15px;
    color: #000000;
}

ul li::marker, #editor ul li::marker {
    color: #000000;
}

/* Responsive Styles */
@media only screen and (max-width: 1024px) {
    article {
        width: 100%;
        padding: 10px 20px 30px 20px;
        margin-top: 25px;
        margin: 0;
    }

    /* Featured Image */
    .post-thumbnail {
        width: 100%;
        height: 30vh;
        background-position: center center;
        background-size: cover;
        box-shadow: 0px 0px 5px #cccccc;
    }


    .site-footer {
        display: block;
        box-sizing: border-box;
        padding: 30px;
        color: white;
        font-family: 'News Cycle', sans-serif;
        width: 100%;
    }

    .site-footer .box {
        margin: 15px 0px;
        text-align: left
    }
}