* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

:root {
    --bg-color: #16232A;
    --text-color: #E4EEF0;
}

@font-face {
    font-family: 'ApfelGrotezk';
    src: url('fonts/ApfelGrotezk-Mittel.woff2') format('woff2'),
         url('fonts/ApfelGrotezk-Mittel.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'ApfelGrotezk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    background-color: var(--bg-color);
     -webkit-font-smoothing: antialiased;
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.section {
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(5, 1fr);
    padding: 0;
}

#section1 {
    background-color: var(--bg-color);
    color: white;
}

#section2 {
    background-color: var(--bg-color);
    color: white;
}

#section3 {
    background-color: var(--bg-color);
    color: white;
}

#section4 {
    background-color: var(--bg-color);
    color: #333;
}

#section5 {
    background-color: var(--bg-color);
    color: #333;
}

.container {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.chart-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 1;
    position: relative;
}

/* First image: columns 1-5, rows 1-5 */
.image-1 {
    grid-column: 1 / 7;
    grid-row: 1 / 6;
}

/* Second image: columns 5-10, rows 1-2 */
.image-2 {
    grid-column: 6 / 8;
    grid-row: 1 / 2;
}

.image-2-2 {
    grid-column: 8 / 11;
    grid-row: 1 / 2;
}

/* Third image: columns 5-10, rows 3-5 */
.image-3 {
    grid-column: 6 / 11;
    grid-row: 2 / 6;
}

/* Second image: columns 5-10, rows 1-2 */
.image-B-1 {
    grid-column: 6 / 8;
    grid-row: 4 / 6;
}

.image-B-2 {
    grid-column: 8 / 11;
    grid-row: 4 / 6;
}

/* Third image: columns 5-10, rows 3-5 */
.image-B-3 {
    grid-column: 6 / 11;
    grid-row: 1 / 4;
}


.case-1-image-2 {

    grid-column: 1 / 9;
    grid-row: 2 / 6;

}
.case-1-image-1 {

}

.case-1-image-3 {
    grid-column: 9 / 11;
    grid-row: 4 / 6;
}
.case-1-image-4 {
    grid-column: 7 / 9;
    grid-row: 1 / 2;
}
.case-1-image-5 {
    grid-column: 9 / 11;
    grid-row: 1 / 4;
}
.case-1-image-6 {
    grid-column: 1 / 4;
    grid-row: 1 / 2;
}
.case-1-image-7 {
    grid-column: 4 / 9;
    grid-row: 1 / 2;

}

.case-2-image-1 {


}

.case-image-full {
    grid-column: 1 / 11;
    grid-row: 1 / 6;
}



.section h1 {
    font-size: clamp(3rem, 10vw, 12rem);
    margin-bottom: 0px;
    font-weight: 400;
    line-height: clamp(3.2rem, 8vw, 9rem);
    text-transform: uppercase;
}

.section h1.sub-2 {
    font-size: clamp(2.5rem, 6vw, 7rem);
    line-height: clamp(2.7rem, 5vw, 6rem);
    color: var(--text-color);
}
.section h1.h1-4-spacer {
    margin-bottom: 20px;
}
    
.section h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 20px;
    font-weight: 400;
}

.section h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 10px;
    font-weight: 600;
    font-weight: 400;
}


.section p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 6px;
    line-height: clamp(1.4, 2.2vw, 1.8);
    font-weight: 400;
}

.section ul {
    list-style: none;
    text-align: left;
    display: inline-block;
    margin-top: 20px;
}

.section ul li {
    font-size: clamp(1rem, 2vw, 1.2rem);
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.section ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: inherit;
}

.chart-1-content-header {
    grid-column: 1 / 7;
    grid-row: 1 / 3;
    padding: 4em;
    padding-top: 6em;
}

.chart-1-content {
    grid-column: 1 / 7;
    grid-row: 3 / 6;
    background-color: var(--bg-color);
    padding: 4em;
    color: var(--text-color);
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical center */
    align-items: flex-start;
}


.chart-1-content-caps {
    
    border: 1px solid #fff;
    padding: 10px 32px;
    border-radius: 40px;
    margin-right: 10px;
    margin-bottom: 14px;
    display: inline-block;
    font-size: 0.8em;

}


.chart-4-content {
    grid-column: 2 / 9;
    grid-row: 2 / 6;
    color: var(--text-color);
}

p.spacer-30 {
    margin-bottom: 50px;
}

/* Bouncing animation for end of presentation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-20px);
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-10px);
    }
}

.section.bounce {
    animation: bounce 0.6s ease;
}

/* iPad specific styles 
@media (min-width: 768px) and (max-width: 1024px) {
    .chart-1-content-caps {
        font-size: 0.8em;
        padding: 9.6px 32px; /* 80% of 12px 40px */
        border-radius: 32px; /* 80% of 40px */
        margin-right: 8px; /* 80% of 10px */
        margin-bottom: 11.2px; /* 80% of 14px */
    }
}
*/

/* Responsive design */
@media (max-width: 768px) {
    .section h1 {
        font-size: 2rem;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .section p {
        font-size: 1rem;
    }
    
    .container {
        padding: 15px;
    }
} 