* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Arial', sans-serif; 
    height: 100vh; 
    overflow: hidden; 
    color: #333;
    background: #f5f5f5;
}

.table-of-contents, .table-of-contents ul {
    margin-left: 1rem;
}

.table-of-contents .no-mark {
    list-style: none;
}

a {
    text-decoration: none;
    border-bottom-style: dashed;
    border-bottom-width: 1px;
    color: #34495e;
}

ol.notes {
    font-style: italic;
    font-size: 80%;
    margin-left: 2rem;
    line-height: 1;
}

ol.notes::before {
    content: "---";
}

.slide-image {
    text-align: center;
}

.slide-image a {
    border-bottom: none;
}

.slides-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.slide {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    background-size: cover !important;
    background-position: center center;
}

#slide0 {
    background: linear-gradient(135deg, #436b6a 0%, #677e75 100%);
    background-image: url('../img/bg_slide0.jpg');
}
#slide1 {
    background-image: url('../img/bg_slide1.jpg');
}
#slide2 {
    background-image: url('../img/bg_slide2.jpg');
}
#slide3 {
    background-image: url('../img/bg_slide3.jpg');
}
#slide4 {
    background-image: url('../img/bg_slide4.jpg');
}
#slide5 {
    background-image: url('../img/bg_slide4.jpg');
}
#slide6 {
    background-image: url('../img/bg_slide4.jpg');
}
#slide7 {
    background-image: url('../img/bg_slide4.jpg');
}
#slide8 {
    background-image: url('../img/bg_slide8.jpg');
}
#slide9 {
    background-image: url('../img/bg_slide9.jpg');
}
#slide10 {
    background-image: url('../img/bg_slide9.jpg');
}
#slide11 {
    background-image: url('../img/bg_slide9.jpg');
}
#slide12 {
    background-image: url('../img/bg_slide9.jpg');
}
#slide13 {
    background-image: url('../img/bg_slide13.jpg');
}
#slide14 {
    background-image: url('../img/bg_slide14.jpg');
}
#slide15 {
    background-image: url('../img/bg_slide14.jpg');
}
#slide16 {
    background-image: url('../img/bg_slide14.jpg');
}
#slide17 {
    background-image: url('../img/bg_slide17.jpg');
}
#slide18 {
    background-image: url('../img/bg_slide18.jpg');
}
#slide19 {
    background-image: url('../img/bg_slide18.jpg');
}
#slide20 {
    background-image: url('../img/bg_slide18.jpg');
}
#slide21 {
    background-image: url('../img/bg_slide18.jpg');
}
#slide22 {
    background-image: url('../img/bg_slide22.jpg');
}
#slide23 {
    background-image: url('../img/bg_slide23.jpg');
}
#slide24 {
    background-image: url('../img/bg_slide23.jpg');
}
#slide25 {
    background-image: url('../img/bg_slide23.jpg');
}
#slide26 {
    background-image: url('../img/bg_slide23.jpg');
}
#slide27 {
    background-image: url('../img/bg_slide27.jpg');
}
#slide28 {
    background-image: url('../img/bg_slide28.jpg');
}
.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-content.wide {
    padding: 100px;
}
.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.hero-text {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}
.info-text {
    font-size: 0.8rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}
.info-text.author {
  margin-top: 1.5rem;
}
.start-btn {
    padding: 15px 50px;
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    backdrop-filter: blur(5px);
    font-weight: bold;
}
.start-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.content-slide {
    background: transparent;
    background-position: center center;
}
.slide-content {
    max-width: 1200px;
    width: 90%;
    text-align: center;
    padding: 50px;
    background: rgba(255,255,255,0.6);
    border-radius: 16px;
    height: 70vh;
    overflow-y: auto;
    
    box-shadow: 
        0 1px 2px rgba(0,0,0,0.05),
        0 2px 4px rgba(0,0,0,0.05),
        0 4px 8px rgba(0,0,0,0.05),
        0 8px 16px rgba(0,0,0,0.05),
        0 16px 32px rgba(0,0,0,0.05),
        0 32px 64px rgba(0,0,0,0.05),
        
        0 2px 3px rgba(0,0,0,0.1),
        0 4px 6px rgba(0,0,0,0.1),
        inset 0 -1px 0 rgba(0,0,0,0.05),
        inset 0 -2px 0 rgba(0,0,0,0.02);
        
    border: 1px solid #f0f0f0;
    position: relative;
}
.slide-content::before,
.slide-content::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    height: 10px;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    z-index: -1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.slide-content::before {
    bottom: -8px;
    width: calc(100% - 20px);
}
.slide-content::after {
    bottom: -16px;
    width: calc(100% - 40px);
}

.slide-title {
    font-size: 2.5rem;
    line-height: 1;
    color: #2c3e50;
    text-align: center;
}
.slide-breadcrumbs {
    text-align: center;
    font-size: 0.8rem;
}
.slide-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #34495e;
    margin-bottom: 2rem;
    text-align: left;
}
.slide-image {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0 0 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.slide-image-description {
    font-style: italic;
    text-align: center;
    margin: 0;
}

.nav-panel {
    position: fixed;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 100;
    flex-wrap: wrap;
    max-width: 90%;
    margin: 0 auto;
}
.nav-btn {
    width: 30px;
    height: 30px;
    margin: 0 4px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: white;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    font-size: 0.8rem;
}
.nav-btn:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: scale(1.15);
}
.nav-btn.active {
    background: #436b6a;
    border-color: #677e75;
    transform: scale(1.2);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.5);
}

.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(0,0,0,0.05);
    z-index: 1000;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(to right, #436b6a, #898d8c);
    width: 0%;
    transition: width 0.2s ease;
}

.slides-container::-webkit-scrollbar {
    display: none;
}
.slides-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .slide-content {
        padding: 30px;
        width: 95%;
    }
    .nav-btn {
        width: 25px;
        height: 25px;
        margin: 0 3px;
    }
}