/*===== Home (LANDING PAGE) ======*/
.home {
    position: relative;
}

.home__container{
    padding-top: 4rem;
    height: 100vh;
}

.home__content{
    position: relative;
    z-index: 2;
}

.home__data {
    display: grid;
    row-gap: .5rem;
    margin-top: 1rem; /* Reduce the space above the badges */
}

.home__subtitle {
    font-size: var(--small-font-size);
    color: var(--first-color);
    letter-spacing: 2px; /*OPTIONAL (absprechen)*/
}

.home__title {
    font-size: var(--biggest-font-size);
    font-family: var(--second-font);
}

.home__description {
    margin-bottom: 2.5rem;
}


/*===== EVERYTHING BIGGER THEN A PHONE/IPAD ======*/
@media screen and (min-width: 1023px) {
    .nav{
        height: calc(var(--header-height) + 2rem);
        column-gap: 4rem;
    }
    .nav__toggle,
    .nav__close{
        display: none;
    }
    .nav__menu{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .nav__list{
        padding-left: 5rem;
        flex-direction: row;
        column-gap: 3rem;
    }
    .nav__logo {
        width: 90px;
    }
    .home {
	margin-bottom: 5vh;
    }
    .home__content {
        min-width: 1023px;
    }
    .home__data{
        row-gap: 1rem;
    }
    .home__subtitle {
        font-size: var(--normal-font-size);
    }
    .home__description {
        margin-bottom: 3rem;
    }

    
    /*===== CUSTOM STUFF (PC) ======*/
    section {
        margin-top: 5rem;
    }

    #about {
        width: 95vw;
        display: flex;
        flex-direction: row;
        row-gap: 1rem;
        align-items: center;
    }
    #about .second img {
        margin-left: 5vw;
        width: 480px;
        height: 480px;
    }
    #about p {
        width: 60vw;
    }

    #aktuelles {
        display: flex;
        flex-direction: row;
        row-gap: 1rem;
    }

    #aktuelles .second img {
        margin-left: 5vw;
        width: 480px;
        height: 658px;
    }



    .over-div {
        width: 90vw;
        display: flex;
        justify-content: space-between;
    }

    .over-div div {
        height: auto;
        width: auto;
        border: 1px solid black;
        padding: 10px 10px;
        border-radius: 10px;
        box-shadow: 5px 10px var(--first-color);
    }


    #contact-me {
        width: 30vw;
	margin-bottom: 20vh;
    }

    #contact-me form {
        border: 2px solid var(--first-color) ;
        border-radius: 15px;
    }

    #contact-me form * {
        margin-left: 7px;
    }

    #contact-me input {
        border: 2px solid var(--first-color);
        border-radius: 5px;
        height: 3vh;
        width: 70%;
    }

    #contact-me textarea {
        border: 2px solid var(--first-color);
        border-radius: 5px;
        width: 25vw;
    }
    #contact-me label {
        margin-left: 5px;
    }

    #contact-me button {
        width: 20vw;
        height: 5vh;
        border: 2px solid black;
        border-radius: 5px;
        background-image: var(--body-color);
        align-self: center;
        margin-left: 5vw;
        margin-top: .5rem;
        margin-bottom: .5rem;
    }

    #contact-me .datenschutz {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        font-size: var(--small-font-size);
        margin-bottom: 1rem;
        margin-left: 1rem;
        margin-right: 2rem;
    }

    .trainingContainer {
        margin-top: 2vh;
        display: flex;
        justify-content: space-evenly;
        gap: 3rem;
    }

    .trainingContainer > div:hover {
        transform: scale(1.05);
        box-shadow: 5px 5px rgba(var(--body-color));
    }

    .welpen {
        border: 2px solid var(--first-color);
        width: 25vw;
        padding: 10px 10px 10px 10px;
        border-radius: 3%;
        box-shadow: 5px 5px rgba(var(--shadow-color));
    }
    .welpen h3 {
        text-align: center;
    }

    .welpen li {
        font-size: var(--small-font-size);
    }

    .welpen p {
        text-decoration: underline;
    }

    #aktuelles .first .info h4{
        font-size: 2vh;
        color: blue;
    }
    

}

/* Existing styles.css content */
/* ... */

/* Trainingsangebote Section Styles */
.trainingContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.trainingContainer > div {
    border: 2px solid var(--first-color);
    border-radius: 3%;
    padding: 1rem;
    width: 80%;
    box-shadow: 0 4px 8px var(--shadow-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.trainingContainer > div:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px var(--shadow-color);
}

.trainingContainer h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.trainingContainer ul {
    padding-left: 1.5rem;
    list-style: disc;
}

.trainingContainer li {
    margin-bottom: 0.5rem;
}

.trainingContainer a {
    display: block;
    margin-top: 1rem;
    text-align: center;
    color: var(--first-color);
    text-decoration: underline;
}

@media screen and (min-width: 768px) {
    .trainingContainer {
        flex-direction: row;
        justify-content: space-evenly;
        flex-wrap: wrap;
        gap: 3rem;
    }

    .trainingContainer > div {
        width: 25%;
    }
}


/* Footer Styles */
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--first-color);
    color: var(--white-color);
    text-align: center;
    padding: 1rem 0;
    box-shadow: 0 -2px 10px var(--shadow-color);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer p {
    margin: 0.5rem;
}

.footer a {
    color: var(--white-color);
    text-decoration: underline;
    margin-left: 10px;
}

@media (min-width: 600px) {
    .footer {
        flex-direction: row;
        justify-content: center;
    }

    .footer a {
        margin-left: 10px;
    }
}


/* Contact Form Styles */
#contact-me {
    background-color: var(--body-color);
    padding: 2rem;
    margin: 2rem auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px var(--shadow-color);
    max-width: 600px;
}

#contact-me form {
    display: flex;
    flex-direction: column;
}

#contact-me legend {
    font-size: 1.5rem;
    font-weight: var(--font-semi-bold);
    margin-bottom: 1rem;
}

#contact-me label {
    font-weight: var(--font-medium);
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

#contact-me input,
#contact-me textarea {
    border: 1px solid var(--first-color);
    border-radius: 5px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    width: 90%;
    box-sizing: border-box;
}

#contact-me textarea {
    resize: vertical;
}

#contact-me .datenschutz {
    display: flex;
    align-items: flex-start;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

#contact-me .datenschutz input {
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}

#contact-me button {
    background-color: var(--first-color);
    color: var(--white-color);
    border: none;
    border-radius: 5px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

#contact-me button:hover {
    background-color: darken(var(--first-color), 10%);
}

@media screen and (min-width: 768px) {
    #contact-me {
        padding: 3rem;
    }

    #contact-me button {
        width: auto;
        align-self: flex-start;
    }
}




/*===== CUSTOM STUFF (MOBILE) ======*/
section {
    margin-top: 3rem;
}

.second img {
    border-radius: 5%;
    margin-top: 2rem;
    width: 300px;
    height: 300px;
    transform: (.5);
}


.badges {
    display: flex;
    gap: 1rem; /* Space between badges */
    margin-top: -2.5rem; /* Space over the badges */
    margin-bottom: 2rem; /* Space below the badges */
    justify-content: start; /* Center the badges horizontally */
}

.badge {
    width: auto; /* Maintain aspect ratio */
    height: 60px; /* Smaller height for smaller screens */
}

@media screen and (min-width: 768px) {
    .badge {
        height: 80px; /* Adjusted height for tablets and larger screens */
    }
}

@media screen and (min-width: 1023px) {
    .badge {
        height: 90px; /* Adjusted height for desktop screens */
    }
}






body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1; /* Ensure the main content takes up all available space */
}

.footer {
    display: none;
    width: 100%;
    background-color: #f8f9fa;
    text-align: center;
    padding: 1rem 0;
    position: absolute;
    bottom: 0;
    left: 0;
    border-top: 1px solid #e7e7e7;
}

.show-footer {
    display: block; /* Show the footer when the class is added */
}

#cookie-popup { 
    text-align: center; 
    background: #fff;
    position: fixed;
    bottom: 0px; 
    left: 0;
    right: 0;
    z-index: 9999;
    font-size: 14px; 
    line-height: 20px;
    padding: 20px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
  }
  
  #cookie-popup.hidden {
    display: none;
  }
  
  #cookie-popup button {
    border-radius: 5px;
    width: 50vw;
    height: 3vh;
    min-width: 200px;
    max-width: 250px;
  }
  
