/*
 Theme Name:   Rudolf Theme
 Description:  Little customization theme for Rudolf e.V. webpage
 Author:       Alfred Hanisch
 Template:     generatepress
 Version:      0.1
*/

/* ******************** GLOBAL COLORS & FONTS & STYLES ******************** */

:root {
	--rudolf-red: #6e122a;
    --rudolf-light-red: #c6204c; /* #d22855 (original) #c6204c (brightness 1.8)  #b01d43 (brightness 1.7)  #a51b3f (brightness 1.5)*/
    --rudolf-ultralight-red: #e6b1bf;
  }

@font-face {
    font-family: 'varelaround';
    src:
        url('assets/varelaround/VarelaRound-Regular.ttf') format('ttf'),
        url('assets/varelaround/varelaround-regular-webfont.woff2') format('woff2'),
        url('assets/varelaround/varelaround-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

h1, h2 {
    font-family: 'varelaround';
    font-weight: bold;
}

h3, h4, h5, h6 {
    font-family: 'varelaround';
}

.read-more.button {
    border-radius: 100px;
}

/* ******************** HEADER STYLES ******************** */

.site-branding-container {
    display: block;
    text-align: center;
}

.site-branding-container .site-logo {
    margin-right: 0px;
}

.site-branding {
    margin-top: 20px;
}

.site-logo a {
    transition: 0.5s;
}

.site-logo a:hover {
    filter: brightness(1.8);
}

.site-description {
    font-size: 18px;
}

.main-navigation .main-nav ul li a {
    background-color: var(--rudolf-red);
    color: white;
    border: solid 2px white;
    line-height: 40px;
    margin-right: 8px;
    transition: 0.5s;
    border-radius: 100px;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a {
    background-color: var(--rudolf-light-red);
    color: white;
}

.main-navigation .main-nav ul li a:hover {
    background-color: var(--rudolf-light-red);
    color: white !important;
}

.main-navigation ul ul {
    background-color: rgba(0,0,0,0.0);
    box-shadow: none;
    margin-left: 15px;
}

.slideout-navigation button.slideout-exit {
    color: #000000 !important;
}

button.menu-toggle {
    background-color: var(--rudolf-red);
    color: white;
    border: solid 2px white;
    border-radius: 100px;
}


/* ******************** STARTPAGE STYLES ******************** */

.home .inside-article {
    padding-top: 0px;
}

.startpage-heading {
    gap: 1em;
}

.startpage-heading:not(:first-child) {
    margin-top: 60px;
    margin-bottom: 40px;
}

.startpage-heading .wp-block-column {
    align-self: center;
}

.startpage-heading .wp-block-column:nth-child(1) {
    flex-grow: 10;
}

.startpage-heading .wp-block-column:nth-child(2) {
    flex-basis: fit-content;
    flex-grow: 0;
}

.startpage-heading .wp-block-column:nth-child(2) h1 {
    text-align: center;
    margin-bottom: 0px;
}

.startpage-heading .wp-block-column:nth-child(3) {
    flex-grow: 10;
}

.home figure.wp-block-post-featured-image img {
    height: 350px;
}

.home .wp-block-post-title a {
    text-decoration: none;
}


/* ******************** ARCHIVE STYLES ******************** */

/* heading */

.archive .page-header {
    display: flex;
    gap: 1em;
    flex-wrap: wrap!important;
}

.archive .page-header div {
    align-self: center;
}

.archive .page-header div:nth-child(1) {
    flex-grow: 10;
}

.archive .page-header div:nth-child(2) {
    flex-basis: fit-content;
    flex-grow: 0;
}

.archive .page-header div:nth-child(2) h1 {
    text-align: center;
    margin-bottom: 0px;
}

.archive .page-header div:nth-child(3) {
    flex-grow: 10;
}

@media (max-width: 781px){
    .archive .page-header div {
        flex-basis: 100%;
    }
    .archive .page-header div:nth-child(2) {
        flex-basis: 100%;
    }
}

/* article separators */

.archive .inside-article {
    padding-top: 20px;
    padding-bottom: 20px;
}

.archive .site-main article:last-child .box { 
    display: none;
}

.archive .inside-article .box {
    margin-top: 60px;
}

/* ******************** SINGLE STYLES ******************** */

/* article navigation */

.single .nav-previous {
    background-color: var(--rudolf-red);
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 25px;
    padding-left: 15px;
    border-radius: 9999px;
    width: fit-content;
    margin-bottom: 1.5em;
}

.single .nav-previous .gp-icon {
    color: white;
}

.single .nav-previous:hover {
    background-color: var(--rudolf-light-red);
}

.single .nav-previous a {
    color: white;
    text-decoration: none;
}

.single .nav-next {
    background-color: var(--rudolf-red);
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 25px;
    padding-left: 15px;
    border-radius: 9999px;
    width: fit-content;
    margin-bottom: 1.5em;
}

.single .nav-next .gp-icon {
    color: white;
}

.single .nav-next:hover {
    background-color: var(--rudolf-light-red);
}

.single .nav-next a {
    color: white;
    text-decoration: none;
}

@media (max-width: 781px){
    .single .nav-previous {
        font-size: small;
    }

    .single .nav-next {
        font-size: small;
    }
}


/* ******************** PAGE STYLES ******************** */

.page .entry-header {
    display: flex;
    gap: 1em;
    flex-wrap: wrap!important;
}

.page .entry-header div {
    align-self: center;
}

.page .entry-header div:nth-child(1) {
    flex-grow: 10;
}

.page .entry-header div:nth-child(2) {
    flex-basis: fit-content;
    flex-grow: 0;
}

.page .entry-header div:nth-child(2) h1 {
    text-align: center;
    margin-bottom: 0px;
}

.page .entry-header div:nth-child(3) {
    flex-grow: 10;
}

@media (max-width: 781px){
    .page .entry-header div {
        flex-basis: 100%;
    }
    .page .entry-header div:nth-child(2) {
        flex-basis: 100%;
    }
}

/* ******************** GENERAL CONTENT STYLES ******************** */

.wp-block-gallery {
    margin-bottom: 50px;
}

.wp-block-buttons {
    margin-bottom: 1.5em;
}

.wp-block-button__link {
    transition: 0.5s;
}

#nf-field-4 {
    background-color: var(--rudolf-red);
    border-radius: 100px;
    padding-left: 15px;
    padding-right: 15px;
}

#nf-field-4:hover {
    background-color: var(--rudolf-light-red);
    color: white;
}

#nf-form-2-cont .nf-form-fields-required {
    display: none;
}

#nf-field-6 {
    background-color: var(--rudolf-red);
    border-radius: 100px;
    padding-left: 15px;
    padding-right: 15px;
}

#nf-field-6:hover {
    background-color: var(--rudolf-light-red);
    color: white;
}

.wp-block-media-text {
    margin-bottom: 40px;
}

@media (max-width: 600px){

    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
        margin-top: 15px;
        padding-left: 0px;
        padding-right: 0px;
    }

}

.box {
    --mask:
    radial-gradient(14.15px at 50% calc(100% + 3.85px),#0000 calc(99% - 5px),#000 calc(101% - 5px) 99%,#0000 101%) calc(50% - 22px) calc(50% - 8px + .5px)/44px 16px repeat-x,
    radial-gradient(14.15px at 50% -3.85px,#0000 calc(99% - 5px),#000 calc(101% - 5px) 99%,#0000 101%) 50% calc(50% + 8px)/44px 16px repeat-x;
  -webkit-mask: var(--mask);
          mask: var(--mask);
    
            background: linear-gradient(90deg,var(--rudolf-red),var(--rudolf-red));
            height: 30px;
}

.wp-block-separator {
    border: none;
    border-top: none;
}

hr {
    background-color: initial;
    border: 0;

    --mask:
    radial-gradient(14.15px at 50% calc(100% + 3.85px),#0000 calc(99% - 5px),#000 calc(101% - 5px) 99%,#0000 101%) calc(50% - 22px) calc(50% - 8px + .5px)/44px 16px repeat-x,
    radial-gradient(14.15px at 50% -3.85px,#0000 calc(99% - 5px),#000 calc(101% - 5px) 99%,#0000 101%) 50% calc(50% + 8px)/44px 16px repeat-x;
  -webkit-mask: var(--mask);
          mask: var(--mask);
    
            background: linear-gradient(90deg,var(--rudolf-red),var(--rudolf-red));
            height: 30px;

    margin-bottom: 40px;
    margin-top: 40px;
}

.pgc-rev-lb-b-view.pgc-next-show .pgc-rev-lb-b-next-prev-button.next {
    border-radius: 15px;
}

.pgc-rev-lb-b-view.pgc-prev-show .pgc-rev-lb-b-next-prev-button.prev {
    border-radius: 15px;
}

@media (max-width: 758px){
    .pgc-rev-lb-b-view .pgc-rev-lb-b-next-prev-button {
        width: 30px;
        height: 30px;
    }
}


/* ******************** RUDIFEST25 STYLES ******************** */

.rudifest25-help {
    flex-basis: 50%;
    border: solid 3px var(--rudolf-red);
    border-radius: 30px;
    padding: 15px;
    background-color: #fbe9ee;
}

.rudifest25-help-icon {
    text-align: center;
    font-size: 64px;
    margin-bottom: 10px;
    color: var(--rudolf-red);
}

.program-25-table tr td:nth-child(2){
    width: 66%;
}

/* ******************** FOOTER STYLES ******************** */

.footer-widget-3 i {
    margin-right: 7px;
}

.footer-widget-2 .wp-block-button__link:not(.has-background){
    background-color: var(--rudolf-light-red);
}

.footer-widget-2 .wp-block-button__link:not(.has-background):hover{
    background-color: var(--rudolf-ultralight-red);
}

.site-footer {
    --mask:
      radial-gradient(17.49px at 50% 24.00px,#000 99%,#0000 101%) calc(50% - 30px) 0/60px 100%,
      radial-gradient(17.49px at 50% -9px,#0000 99%,#000 101%) 50% 15px/60px 100% repeat-x;
    -webkit-mask: var(--mask);
            mask: var(--mask);
}

.footer-widgets-container {
    padding-top: 60px;
}

/* ******************** ANIMATIONS ******************** */

.heartbeat {
	-webkit-animation: heartbeat 1.5s ease-in-out infinite both;
	        animation: heartbeat 1.5s ease-in-out infinite both;
}

/* ----------------------------------------------
 * Generated by Animista on 2025-5-13 20:46:4
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation heartbeat
 * ----------------------------------------
 */
 @-webkit-keyframes heartbeat {
    from {
      -webkit-transform: scale(1);
              transform: scale(1);
      -webkit-transform-origin: center center;
              transform-origin: center center;
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
    10% {
      -webkit-transform: scale(0.91);
              transform: scale(0.91);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    17% {
      -webkit-transform: scale(0.98);
              transform: scale(0.98);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
    33% {
      -webkit-transform: scale(0.87);
              transform: scale(0.87);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    45% {
      -webkit-transform: scale(1);
              transform: scale(1);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
  }
  @keyframes heartbeat {
    from {
      -webkit-transform: scale(1);
              transform: scale(1);
      -webkit-transform-origin: center center;
              transform-origin: center center;
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
    10% {
      -webkit-transform: scale(0.91);
              transform: scale(0.91);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    17% {
      -webkit-transform: scale(0.98);
              transform: scale(0.98);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
    33% {
      -webkit-transform: scale(0.87);
              transform: scale(0.87);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    45% {
      -webkit-transform: scale(1);
              transform: scale(1);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
  }
  