@font-face {
    font-family: 'Condiment';
    src: url('fonts/condiment-regular-webfont.woff2') format('woff2'),
         url('fonts/condiment-regular-webfont.woff') format('woff'),
         url("fonts/condiment-regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;

}

.condiment-regular {   
  font-family: "Condiment", cursive;   
  font-weight: 400;   
  font-style: normal; 
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

main {
    flex: 1;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Typography */

h1,
h2,
h3 {
    color: #555;
}

.content-text p:last-of-type {
    margin-bottom: 0;
}

.styled-a a {
    color: #ff6600;
    text-decoration: none;
}

.styled-a a:hover {
    color: #e65c00;
}

/* Header */

header {
    background: #fff;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.klaro {
    --green: #ff6600 !important;
    --brand-primary: #ff6600 !important;
    --brand-success: #ff6600 !important;
}

.klaro .cm-powered-by {
    visibility: hidden;
}

.klaro .slider.round::before {
    background-color: #5c5c5c !important;
}

.klaro .cm-switch input:checked + .slider {
    background-color: #ff6600 !important;
}

.klaro a {
    color: #ff6600 !important;
}

.logo-container {
    user-select: none;
    color: #000;
    text-decoration: none;
    display: inline-block;
    font-size: 5em;
}

/* section setup */

section {
    padding: 20px 0;
}

section:first-of-type {
    padding-top: 0;
}

/* Hero Slider */

.hero-slider {
    background-color: #f9f9f9;
    width: 100%;
    padding: 0;
}

.hero-slider-inner {
    max-width: 1296px;
    margin: 0 auto;
    height: 700px;
}

.hero-slider-inner .carousel-inner {
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Carousel fills inner container */
#imageCarousel,
#imageCarousel .carousel-inner,
#imageCarousel .carousel-item {
    height: 100%;
}

.hero-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    top: 0;
    bottom: 0;
    width: 8%;
    align-items: center;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 70% 70%;
}

/* Content Sections */

.text-section,
.donate-section {
    background: #fff;
}

.text-section .container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.profile-image {
    flex: 0 0 200px;
    margin: 0 20px 20px 0;
    
}

.profile-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.content-text {
    flex: 1;
    min-width: 300px;
}

.content-text h2 {
    margin-top: 0;
}

.your-support-is-appreciated .content-text {
    margin-left: 220px;
}

/* Donate */

.donate-section {
    padding: 20px 0;
    text-align: center;
}

.donate-button-container {
    display: inline-block;
}

.donate-button {
    display: inline-block;
    padding: 15px 20px;
    background: #ff6600;
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donate-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    background: #e65c00;
}

/* Sponsors */

.sponsors {
    /*padding: 50px 0;*/
    background: #f9f9f9;
    text-align: center;
}

.sponsors h2 {
    margin-bottom: 30px;
}

.sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.sponsor-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 200px;
    min-width: 180px;
    padding: 15px;
    text-decoration: none;
    color: #ff6600;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    color: #e65c00;
}

.sponsor-item img {
    max-width: 100%;
    max-height: 80px;
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

.sponsor-item p {
    margin: 0;
    font-size: 0.9em;
    font-weight: bold;
}

/* Misc */
.dev-signature {
    font-size: 2em;
}

/* Footer */

footer {
    flex-shrink: 0;
    padding: 20px 0;
    background: #333;
    color: #fff;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

.footer-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
}

.social-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: #444;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon-container:hover {
    background: #e65c00;
    transform: translateY(-2px);
}

.social-icon-container img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

/* Animations */

.fade-in-item {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-item.init-animation {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */

@media (max-width: 1296px) {

    .hero-slider-inner .carousel-inner {
        border-radius: 0px;
        box-shadow: 0;
    }
}

@media (max-width: 768px) {
    .hero-slider-inner {
        height: 500px;
    }
    
    .text-section .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-image {
        flex-basis: 150px;
        margin-right: 0;
    }

    .content-text {
        width: 100%;
        min-width: unset;
    }

    .your-support-is-appreciated .content-text {
        margin-left: 0;
    }

    .logo-container {
        font-size: 3em;
    }

    .donate-button {
        padding: 12px 20px;
        font-size: 1em;
    }

    .sponsor-grid {
        gap: 20px;
    }

    .sponsor-item {
        max-width: 150px;
    }

    .sponsor-item img {
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .sponsor-grid {
        gap: 15px;
    }

    .sponsor-item {
        max-width: 120px;
    }

    .sponsor-item img {
        max-height: 50px;
    }

    .sponsors h2 {
        font-size: 1.8em;
    }
}