/*
 Theme Name:   Twenty Twenty Child
 Theme URI:    http://
 Description:  Twenty Twenty Child Theme
 Author:       Anke Wisch
 Template:     twentytwenty
 Version:      1.0.0
 Text Domain:  twentytwenty-child
*/

@font-face {
    font-family: 'Andale Mono Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Andale Mono Regular'), url('ANDALEMO.woff') format('woff');
}
@font-face {
    font-family: 'Calibri';
    font-style: normal;
    font-weight: normal;
    src: local('Calibri'), url('Calibri.woff') format('woff');
}

html {
    font-size: 50%; /* wenn die verändert wird, muss auch logohöhe verändert werden */
}
body {
    font-family: 'Andale Mono Regular';
}
main {
    background-color: #fff;
}

/* * * FONTS / SIZES * * */
.entry-content > * {
    font-family: 'Andale Mono Regular';
    letter-spacing: -0.03em;
}
.entry-content h2, .entry-content h3, .entry-content h4 {
    font-weight: normal;
    font-family: 'Andale Mono Regular';
}
.entry-content {
    font-size: 1.6rem;
}
.primary-menu li {
    font-weight: normal;
}

/* * * CONTENT BREITE * * */
.entry-content > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide), .section-inner.medium, .header-titles-wrapper, .header-navigation-wrapper, #site-footer .section-inner {
    width: calc(100vw - 4rem);
}
@media (min-width: 700px){
    .entry-content > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide), .section-inner.medium, .header-titles-wrapper, .header-navigation-wrapper, #site-footer .section-inner {
        width: 80rem;
        max-width: unset;
    }
}


/* * * LINKS * * */
.site-title a:link, .site-title a:visited, #site-footer a:link, #site-footer a:visited {
    text-decoration: none;
    color: #9cadb7;
}

a, a:link, a:visited, .primary-menu ul a, .primary-menu ul a:link, .primary-menu ul a:visited {
	text-decoration: none;
	color: #09497e;
}
a:hover, .site-title a:hover, .primary-menu ul a:hover  {
	color: #146cb9;
	text-decoration: none;
}

/* * * LINIEN * * */
.entry-content hr, hr.wp-block-separator {
    margin: 2rem auto;
    padding: 0;
}
.entry-content hr::before, .entry-content hr::after, hr.styled-separator::before, hr.styled-separator::after{
    display: none;
}
.entry-content hr, hr.styled-separator {
  border: unset;
  height: 2px;
  background: unset;
}



.singular .entry-header {
  background-color: #fff0;
}

.singular .entry-header {
  padding: 5rem 2rem 3rem 2rem;
}
.post-inner {
padding: 0 2rem;
}
.wp-block-archives:not(.alignwide):not(.alignfull), .wp-block-categories:not(.alignwide):not(.alignfull), .wp-block-code, .wp-block-columns:not(.alignwide):not(.alignfull), .wp-block-cover:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.aligncenter), .wp-block-embed:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.aligncenter), .wp-block-gallery:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.aligncenter), .wp-block-group:not(.has-background):not(.alignwide):not(.alignfull), .wp-block-image:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.aligncenter), .wp-block-latest-comments:not(.aligncenter):not(.alignleft):not(.alignright), .wp-block-latest-posts:not(.aligncenter):not(.alignleft):not(.alignright), .wp-block-media-text:not(.alignwide):not(.alignfull), .wp-block-preformatted, .wp-block-pullquote:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright), .wp-block-quote, .wp-block-quote.is-large, .wp-block-quote.is-style-large, .wp-block-verse, .wp-block-video:not(.alignwide):not(.alignfull) {
margin-bottom: 2rem;
margin-top: 0;
}



/* * * HEADER * * */

body:not(.enable-search-modal) .header-titles-wrapper {
  justify-content: right;
    -webkit-justify-content: right;
  margin: 0 auto;
}
.site-logo img {
  max-height: unset;
}
.header-titles .site-title, .header-titles .site-logo, .header-titles .site-description {
display: flex;
justify-content: flex-end;
width: 100%;
color: #09497e;
font-weight: normal;
text-align: right;
}
.site-description {
    text-transform: uppercase;
    font-size: 2rem;
    margin-top: 2rem;
}
.custom-logo {
    height: 40px !important;
}
.header-titles-wrapper{
    border-bottom: 2px solid #9cadb7;
    padding-bottom: 4rem;
    padding-right: 0;
}
@media (min-width: 700px) {
  .site-description {
    font-size: 2.6rem;
  }
    .custom-logo {
    height: 59px !important;
    }
}
@media (min-width: 1000px) {
  .site-description {
    font-size: 3.19rem;
    }
    .custom-logo {
    height: 73px !important;
    }
    .header-titles-wrapper{
        border-bottom: none;
        padding-bottom: 0;
    }
}
.header-inner {
    display: block;
    padding: 2.8rem 0 0 0;
}


/* * * NAVIGATION * * */

@media (min-width: 700px){
    .mobile-nav-toggle {
        display: none !important;
    }
}
  @media (min-width: 700px){
    .header-navigation-wrapper {
        align-items: center;
        display: flex;
    }
    .primary-menu-wrapper {
        display: block;
        width: 100%;
    }
    .header-titles-wrapper {
        border-bottom: none;
        padding-bottom: 0;
    }
}
/* * * Mobile Menu (drei Punkte ersetzt durch drei Kästchen in *
 * twentytwenty/classes/class-twentytwenty-svg-icons.php      *
 * muss ersetzt werden bei Theme update!!)                     *
 * * */

.header-inner .toggle svg {
  opacity: 0.5;
}

button.close-nav-toggle {
  justify-content: flex-start;
}

button.close-nav-toggle svg {
  position: absolute;
}

button.close-nav-toggle .toggle-text {
  margin-left: 2.6rem;
}

.toggle-inner .toggle-text{
  margin-top: -0.7rem;
}

.header-navigation-wrapper {
    margin: 6rem auto 2rem auto;
    border-top: 2px solid #9cadb7;
    border-bottom: 2px solid #9cadb7;
    padding: 1rem;
}

@media (min-width: 700px){
    .nav-toggle {
        left: 2rem;
    }
}
.nav-toggle {
    right: unset;
    left: 0;
}
.header-inner .toggle {
    align-items: start;
    padding: 5rem 2rem 2rem 2rem;
}

ul.primary-menu {
display: flex;
justify-content: space-between;
}

.primary-menu > li > .icon{
    color: #09497e;
}

/* * * UNTERMENÜ * * */

.primary-menu ul {
  background: #fff;
  color:  #09497e;
  border-top: 2px solid  #09497e;
  box-shadow: 0px 0px 20px rgba(200,200, 200, 0.3);
}

.primary-menu ul::after {
  border-bottom-color:  #09497e;
}

/* * * STARTSEITE * * */

.home .wp-block-group {
    display: flex;
    gap: 4rem; 
    flex-wrap: wrap;
    padding: 0 2rem;
}
.home .wp-container-1.wp-block-group:not(.has-background):not(.alignwide):not(.alignfull) {
    margin-bottom: 4rem;
}
@media (min-width: 480px){
    .home .wp-block-group {
        flex-wrap: nowrap;
    }
}
@media (min-width: 1000px){
    .home .wp-block-group {
        padding: 0;
    }
}
.entry-content > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    max-width: unset;
}

/* * * ÜBERSCHRIFTEN * * */

h1, .heading-size-1 {
  font-size: 3.2rem;
  font-weight: unset;
  text-transform: uppercase;
  text-align: left;
  color: #09497e;
  letter-spacing: unset;
}
h2, .heading-size-2 {
  font-size: 2.2rem;
  color: #09497e;
}
h3, .heading-size-3 .entry-content h3{
    font-size: 1.6rem;
}
h4, h5, h6, .heading-size-4, .heading-size-5, .heading-size-6 {
    font-size: 1em;
}

/* * * FOOTER * * */


.footer-top-visible .footer-nav-widgets-wrapper, .footer-top-hidden #site-footer {
  margin-top: 0;
  border-top: 0;
  padding-top: 4rem;
}

.powered-by-wordpress{
    display: none;
}
#site-footer {
    padding: 0 0 4.3rem 0;
}

#site-footer .section-inner{
    padding-top: 4rem;
    border-top: 2px solid #9cadb7;
}
a.to-the-top {
    margin-left: unset;
}
.footer-copyright {
    color: #9cadb7;
    font-weight: normal;
}
.footer-copyright a {
    content: "Irene Pimminger";
}
.extra-menu {
    text-align: right;
    font-weight: normal;
}
.extra-menu a:hover{
    color: #09497e;
}
.extra-menu p {
    margin-bottom:0;
}
@media (max-width:479px){
    #site-footer .section-inner {
        flex-direction: column-reverse;
        gap: 2rem;
    }
    #site-footer .section-inner * {
        width: 100%;
        text-align: right;
    }
}
