/* --------------  LOAD FONTS FROM SERVER ------------------------------ */

@font-face {
 font-family: "GrotzecCond-Demibold";
  src: url(https://mediainnovation.camd.northeastern.edu/2021/loveinthetimeofcovid/fonts/GrotzecCond-Demibold3.woff2);
}  

@font-face {
 font-family: "GrotzecCond-DemiboldItalic";
  src: url(https://mediainnovation.camd.northeastern.edu/2021/loveinthetimeofcovid/fonts/GrotzecCond-DemiboldItalic.woff2);
}  

@font-face {
 font-family: "LeJeunePoster-Regular";
  src: url(https://mediainnovation.camd.northeastern.edu/2021/loveinthetimeofcovid/fonts/LeJeunePoster-Regular.otf);
} 

@font-face {
 font-family: "LeJeunePoster-RegularItalic";
  src: url(https://mediainnovation.camd.northeastern.edu/2021/loveinthetimeofcovid/fonts/LeJeunePoster-RegularItalic.otf);
}

/* Hero Section with Parallax Background */
        .hero-section {
            position: relative;
            height: 100vh;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .hero-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            object-fit: cover;
            z-index: -1;
        }
        
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
            z-index: 1;
        }
        
        .header {
            position: relative;
            z-index: 2;
            text-align: center;
            color: white;
            padding: 40px;
            max-width: 900px;
            animation: fadeInUp 1s ease-out;
        }
        
        .header h1 {
            font-size: 3.5rem;
            font-weight: bold;
            margin-bottom: 20px;
            text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
            line-height: 1.2;
            font-family: "GrotzecCond-Demibold", sans-serif;
        }

        .header h2 {
            font-size: 1.8rem;
            font-weight: normal;
            margin-bottom: 25px;
            text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
            font-family: "LeJeunePoster-RegularItalic", serif;
            /*font-style: italic;*/
            color: rgba(255, 255, 255, 0.95);
        }
        
        .header h3 {
            font-size: 1.5rem;
            font-weight: 300;
            text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
            font-family: "LeJeunePoster-Regular", serif;
        }
        
        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 2;
            animation: bounce 2s infinite;
        }
        
        .scroll-indicator::after {
            content: '↓';
            color: white;
            font-size: 2rem;
            text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
        }
        
        /* Content Section with Semi-transparent Background */
        .content-wrapper {
            position: relative;
            background: white;
            z-index: 10;
            margin-top: -50px;
            border-radius: 20px 20px 0 0;
        }
        
        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 60px 40px;
            background: white;
        }
        
        /* Footer styles */
        footer {
            background: white;
            padding: 30px 0;
        }
        
        /* Drop Cap - First Letter Effect */
        .container p:first-of-type::first-letter {
            float: left;
            font-size: 5.7rem;
            line-height: 0.9;
            margin: 10px 10px 0 0;
            font-weight: bold;
            color: #000;
            font-family: "LeJeunePoster-Regular", serif;
        }
        
        .container p {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 1.5rem;
            color: #333;
            font-family: "Georgia", serif;
        }
        
        .container h2 {
            font-size: 2rem;
            margin-top: 50px;
            margin-bottom: 30px;
            color: #1a1a1a;
            padding-left: 0;
            font-family: "LeJeunePoster-Regular", serif;
        }
        
        /* Chart Animation */
        .chart-container {
            margin: 40px 0;
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        
        .chart-container.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Photo Grid */
        .photogrid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin: 40px 0;
        }
        
        .mifigure {
            margin: 0;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .mifigure:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        }
        
        .mifigure img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.3s ease;
        }
        
        .mifigure:hover img {
            transform: scale(1.05);
        }
        
        figcaption {
            padding: 15px;
            font-size: 0.5rem;
            color: #666;
            font-style: italic;
            background: #f8f8f8;
            font-family: "LeJeunePoster-RegularItalic", serif;
        }
        
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateX(-50%) translateY(0);
            }
            40% {
                transform: translateX(-50%) translateY(-10px);
            }
            60% {
                transform: translateX(-50%) translateY(-5px);
            }
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2rem;
            }
            .header h3 {
                font-size: 1rem;
            }
            .container {
                padding: 40px 20px;
            }
            .container p:first-of-type::first-letter {
                font-size: 3.5rem;
            }
        }