/*
 Theme Name:   castrum_light
 Theme URI:    
 Description:  Castrum Theme 
 Author:       Tino Trautmann
 Author URI:   https://foto-repro-webdesign.de
 Version:      1.0.0
*/


html, body {
    height:100%;
    margin:0;
    padding-left: 0;
    font-size: 1.3rem;
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400;
    color: #485358;
    background-color: white;  
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

a  { 
    text-decoration: none;
    color: steelblue;
}

a:hover { 
    text-decoration: none;
    color: #485358;
}




/* castoro-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Castoro';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/castoro-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* castoro-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Castoro';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/castoro-v20-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/eb-garamond-v32-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/eb-garamond-v32-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/eb-garamond-v32-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/eb-garamond-v32-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cormorant-garamond-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/cormorant-garamond-v21-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cormorant-garamond-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  src: url('fonts/cormorant-garamond-v21-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cormorant-garamond-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cormorant-garamond-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/cormorant-garamond-v21-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}





h1 {

}

h2 {
    font-size: 1.3rem;
    font-style: italic;
}

h2 span { color: #485358; } 
h2 span:nth-child(2) { color: steelblue; } 

h3 {
    padding-top: 1rem;
    font-size: 1.3rem;
}

h4 {
    font-size: 0.6em;
}

/* Bildunterschrift */
.wp-element-caption {
    font-size: 0.8rem;
    text-align: center;
}

.inside {
    max-width: 1100px;
    padding: 0 1rem;
    margin-right: auto;
    margin-left: auto;
}

.site-header {
    background-color: lightgray;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.headercss {
    display:block;
    max-width: 900px;
    padding: 0 1rem;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    color: steelblue;
    font-style: italic;
    font-size: 1.8rem;
}

.left {
    width: 100%;
}

.right {
    max-width: 100%;
}



/* META - Kopfbereich*/
flex.site-header {
    padding-top: 1rem;
    padding-right: 1rem;
    padding-bottom: 0;
    padding-left: 1rem;
    background-color: lightgray;
}

/* NAVI - Navigationsbereich*/
.site-nav {
    background-color: white;
    color: black;
    padding-right: 1rem;
    padding-left: 1rem;
    margin: 1rem 0;
    font-size: 1.2rem;
    font-variant: small-caps;
}


nav ul {    
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

nav {
    background-color: white;
    color: #555;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

nav a {
    color: #555;
    text-decoration: none;
    text-align: center;
}

/** Mobile Navigation */

.site-nav {
    margin-bottom: 2rem;
    display: flex;
    border-bottom: solid 1px #555;
}

.side-nav .inside {
    padding: 0; }

.site-nav ul {
    display: flex;
    flex-flow: column;
    list-style: none;
    padding-top: 1rem;
    margin: 0;
}

.site-nav a {
    display: block;
    text-decoration: none;
    background: var(--dunkel-);
    color: #555; /** Dropdown Menüfarbe*/
    padding: 0rem 0rem 1rem 0rem;
}

.site-nav li[aria-current] a,
.site-nav a:hover {
    color: #888;
}

.menubutton {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: inherit;
    font: inherit;
    text-align: center;
    padding: 0.5rem;
    border: 0;
    margin: 0 auto;
}

.menubutton::before {
        content: url("img/menuburger_b.svg"); 
        width: 1rem; 
        height: 1rem; 
    } 

 /* Navigationsliste ausblenden  */
    /* https://web.dev/articles/website-navigation#hiding_the_list */
    [aria-expanded="false"] + ul {
        position: absolute;
        visibility: hidden;
        opacity: 0;
    }
    [aria-expanded="true"] + ul {
        transition: opacity 0.3s linear;
    } 

    [aria-expanded="true"].menubutton::before  {
        content: url("img/menuclose_b.svg"); 
    }   


/*Fußbereich*/
.site-footer {
    background-color: white;
    color: #555;
    padding: 0.5rem 1rem;
}


/* Inhaltsbereich*/
.site-content {
    background-color: white;
    padding-top: 0;
    padding-right: 1rem;
    padding-bottom: 0;
    padding-left: 1rem;
}









/* Desktop Version*/

@media screen and (min-width: 600px) { 

html, body {
    font-size: 1.2rem;
}
    

  
    h1 {
   font-size: 2rem;
}

h2 {
    font-size: 1.8rem;
    font-style: italic;
}

h2 span { color: #485358; } 
h2 span:nth-child(2) { color: indianred; } 

h3 {
    padding-top: 1rem;
    font-size: 1.2rem;
}

h4 {
    font-size: 0.6em;
}
    
.headercss {
    display:flex;
    max-width: 1100px;
    font-size: 1.0rem;
    padding: 0 1rem;
    margin-right: auto;
    margin-left: auto;
    text-align: start;
}

.left {
    width: 70%;
}
    
.right {
    width: 30%;
    text-align: end;
   
}
    
/* Navigationsbereich*/    
    
  .menubutton { 
            display: none !important; 
        } 
        .site-nav { 
            display: block;
            position: sticky; 
            top: 0; 
        } 
        .site-nav .inside {
            padding: 0 1rem; 
        }
        .site-nav ul { 
            position: static;
            visibility: visible;
            opacity: 1; 
            justify-content: space-around;
            flex-flow: row;  
        }
        .site-nav li {
            flex: 1; 
            text-align: center; 
            border-right: 1px solid var(--basisfarbe); 
        }
        .site-nav li:first-child { 
            border-left: 1px solid var(--basisfarbe); 
        }    


}

