/*
 Theme Name:   Junge Gründer Child
 Theme URI:    https://generatepress.com
 Description:  Custom child theme for Junge Gründer
 Author:       Maik Bernstein - 7einhalb.de
 Author URI:   https://www.7einhalb.de
 Template:     generatepress
 Version:      0.1
*/


/* Webfonts lokal */




/* eigene Klassen*/

/* Hide Content */
.hideme {
    display: none !important;
}
@media screen and (max-width: 768px) {
    .hideme-mobile {
        display: none !important;
    }
}
@media screen and (min-width: 769px) {
    .hideme-desktop {
        display: none !important;
    }
}

/* Autorenbox */
.jg-author {
	min-width: 50px;
}

/* keine Abstände */
.nomargin {
	margin: 0 !important;
}

.nopadding {
	padding: 0 !important;
}

/* Bildblöcke runder Radius */
.jg-round > *,
.jg-round {
	border-radius: 100%;
}

/* Buttons mit Link-Style */
a.jg-underline {
	text-decoration: underline!important;
}
a.jg-underline:hover {
	text-decoration: none!important;
}

/* Links nicht unterstreichen + keine Link-Farbe */
.no-underline a {
	text-decoration: none!important;
	color: var(--contrast);
}

/* Headlines umbrechen */
/*
h1, h2, h3, h4, h5, h6 {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
	hyphenate-limit-chars: 10 3 4;
	word-wrap: break-word;
	overflow-wrap: break-word;
}
*/


/* H1 nur mobil zentrieren (2025-01-29) */
@media screen and (min-width: 769px) {
    h1 {
  		text-align: left !important;
	}
}
@media screen and (max-width: 768px) {
    h1 {
  		text-align: center !important;
	}
}

/* Animate Element */
.up-n-down {
    transform: translateY(0px);
    animation: ani-upanddown 3s ease-in-out infinite;
}
@keyframes ani-upanddown {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0px);
    }
}
