
@font-face {
    font-family: 'Slabo';
    font-style: normal;
    font-weight: 400;
    src: url('../Fonts/slabo-13px-v13-latin-regular.eot'),
    url('../Fonts/slabo-13px-v13-latin-regular.eot?#iefix') format('embedded-opentype'),
    url('../Fonts/slabo-13px-v13-latin-regular.woff2') format('woff2'),
    url('../Fonts/slabo-13px-v13-latin-regular.woff') format('woff'),
    url('../Fonts/slabo-13px-v13-latin-regular.ttf') format('truetype'),
    url('../Fonts/slabo-13px-v13-latin-regular.svg#Slabo13px') format('svg');
}

:root {
    --primary-color: #6CC351;
    --secondary-color: #4E4A4A;
    --headline-font: 'Slabo';
}

html {
    color: var(--secondary-color);

}

.uk-active:after {
    content: '';
    width: 20px;
    height: 2px;
    background-color: var(--primary-color);
    position: absolute;
    top: 26px;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Slabo';
    color: var(--secondary-color);
    position: relative;
    font-variant-ligatures: no-common-ligatures;
}
h2 {
    font-size: 2.5rem;
}
h2.uk-text-center {
    width: fit-content;
    margin: 0 auto;
}
h2:after {
    content: '';
    width: 30px;
    height: 3px;
    position: absolute;
    background: var(--primary-color);
    left: 0px;
    bottom: -5px;
}
.subtitle {
    font-family: var(--headline-font);
    font-size: 1.5rem;
    color: var(--primary-color);
}
a {
    color: var(--secondary-color);
}
a:hover{
    text-decoration: none;
}
.margin-left-large {
    margin-left: 150px;
}

.btn{
    border: 2px solid var(--primary-color);
    display: inline-block;
    border-radius: 12px;
    padding: 6px 18px;
    transition: ease 0.3s;
}
.btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.uk-container {
    padding: 0 60px;
}

/* Navigation */

.uk-navbar {
    padding: 20px 0;
}
.uk-navbar ul {
    list-style-type: none;
}
.uk-navbar-nav>li>a {
    font-family: 'Slabo';
    font-size: 1.1rem;
    min-height: auto;
    text-transform: none;
    color: var(--secondary-color);
    position: relative;
}

.uk-navbar-nav>li>a:not(.uk-active):after{
    content: '';
    width: 0px;
    height: 2px;
    background-color: var(--primary-color);
    position: absolute;
    top: 26px;
    transition: ease 0.3s;
}

.uk-navbar-nav>li>a:not(.uk-active):hover:after {
    width: 20px;
}
.uk-navbar-nav {
    gap: 65px;
}
.uk-navbar-right {
    padding-right: 50px;
}
.uk-navbar-right>ul>li>a {
    font-family: 'Slabo';
    font-size: 0.9rem;
    text-decoration: none;
}
.uk-navbar-right>ul>li>a:hover {
    color: var(--primary-color);
}

.uk-logo {
    width: 220px;
    left: 60px;
    top: 0px;
    z-index: 10;
}
.banner {
    color: white;
    font-family: 'Slabo';
    font-size: 1.6875rem;
}
.banner img {
    border-radius: 0 0 0 30px;
    aspect-ratio: 30 / 12;
    object-fit: cover;
}
.banner.start img {
    aspect-ratio: 2 / 1;
}
.banner h1 {
    color: white;
    font-size: 3.4375rem;
    line-height: 1.1;
}
.start .overlay {
    bottom: 100px;
    left: 0;
}
.overlay {
    bottom: -10px;
    left: 0;
}
.grid {
    display: grid;
    aspect-ratio: 10000 / 11667;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(7, 1fr);
    grid-gap: 15px;
}
.grid img {
    height: 100%;
    object-fit: cover;
    border-radius: 20px;

}
.grid div:first-child {
    grid-column: 1/2;
    grid-row: 1/4;
}
.grid div:nth-child(2) {
    grid-column: 2/3;
    grid-row: 2/5;
}
.grid div:nth-child(3) {
    grid-column: 1/2;
    grid-row: 4/7;
}
.grid div:nth-child(4) {
    grid-column: 2/3;
    grid-row: 5/8;
}
.green-bg {
    background: var(--primary-color);
    border-radius: 20px;
    background: linear-gradient(150deg, rgba(108,195,81,0.8), rgba(108,195,81,0.4) 80%)
}

.uk-slider-items img {
    width: 100%;
    aspect-ratio: 30 / 10;
    object-fit: cover;
    border-radius: 40px 0 0 40px;

}
.overlay-slider {
    background-color: rgba(108,195,81,0.8);
    width: 100%;
    min-height: 100%;
    top: 0;
    border-radius: 40px 0 0 40px;
    clip-path: polygon(0 0, 40% 0, 70% 100%, 0% 100%);
    color: white;
}
.recipe{
    color: white;
}
.recipe p:first-of-type{
    font-size: 1.5rem;
}
.recipe p:nth-child(2) {
    font-size: 2.3rem;
    font-family: var(--headline-font);
    line-height: 1.2;
}
.recipe a {
    font-size: 1.2rem;
    transition: ease 0.3s;
    color: white;
}

.recipe span {
    border: 1px solid white;
    border-radius: 50%;
    transition: ease 0.4s;
}
.recipe:hover span {
    transform: rotate(360deg);
}
.hofladen {
    border-radius: 9%;
}
.hofladen-info {
    background-image: url("../img/natur_papier.jpg");
    background-size: cover;
    transform: translateY(45px);
}
.hofladen-info span {
   color: var(--primary-color);
    transform: translate(-5px, 5px);
}
.pumpkin {
    right: 30px;
    bottom: 30px;
    width: 20%;
}
footer {
    background-color: var(--secondary-color);
    color: white;
    background-image: url("../img/Logo_Finow_white.svg");
    background-repeat: no-repeat;
    background-size: auto 150%;
    background-position-x: 110%;
    background-position-y: 25%;
}

footer ul {
    list-style-type: none;
}
footer ul li {
    margin-bottom: 5px;
}
.uk-thumbnav img {
    border-radius: 10px;
}
.uk-slideshow .uk-active::after {
    display: none;
}
.fullwidth {
    background-image: url("../img/natur_papier.jpg");
    background-size: cover;
    background-attachment: fixed;
}
.fullwidth h2 {
    color: var(--primary-color);

}
.fullwidth h2:after {
    display: none;
}

.kreislauf {
    display: grid;
    grid-template-columns: 180fr 350fr 284fr;
    grid-template-rows: 191fr 181fr 165fr;
    aspect-ratio: 15 / 10;
}
.kreislauf img {
    width: 100%;
}
.kreislauf div:first-of-type {
    grid-column: 1/2;
    grid-row: 1/4;
}
.kreislauf div:first-of-type .title {
    top: 45%;
    left: 100px;
}
.kreislauf div:first-of-type .rollover {
    top: 10%;
    left: -60%;
    width: 90%;
}
.kreislauf div:nth-child(2) {
    grid-column: 2/3;
    grid-row: 1/2;
}
.kreislauf div:nth-child(2) .rollover {
    top: -60%;
    left:0;
}
.kreislauf div:nth-child(3) {
    grid-column: 3/4;
    grid-row: 1/2;
}
.kreislauf div:nth-child(3) .rollover {
    left: 15%;
    top: -100%;
    width: 120%;
    padding-bottom: 5px;
}
.kreislauf div:nth-child(3) .title {
    top: -10px;
    right: -60px;
}
.kreislauf div:nth-child(4) {
    grid-column: 2/3;
    grid-row: 3/4;
}
.kreislauf div:nth-child(4) .rollover {
    top: -90%;
    padding-bottom: 5px;
}
.kreislauf div:nth-child(4) .title {
    bottom: -50px;
    left: 80px;
}
.kreislauf div:nth-child(5) {
    grid-column: 3/4;
    grid-row: 2/4;
}
.rollover {
    background: var(--primary-color);
    border-radius: 20px;
    padding: 25px;
    color: white;
}
.title {
    font-size: 1.8rem;
}
.pump {
    animation: turn 4s linear infinite;
    transform-box: fill-box;
    transform-origin: center center;
}

@keyframes turn {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}