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

body {
    font-family: 'Inter', sans-serif;
    background-color: #F5F5F5;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    overflow: hidden;

}

#physics-world {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
    cursor: grab;
}

#physics-world:active {
    cursor: grabbing;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
    padding: 40px 0;
    z-index: 10;
    gap: 30px;
}

.logo-home-button {
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-home-button:hover {
    transform: scale(1.05);
}

.logo-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-button {
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-button.active {
    background-color: #B31B1B;
    color: white;
}

.nav-button:hover:not(.active) {
    background-color: #E5E5E5;
}

/* Add hover state for active button with inverted colors */
.nav-button.active:hover {
    background-color: #E5E5E5;
    color: #B31B1B;
}



/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: left;
    position: relative;
    z-index: 5;
    padding: 0 40px;
}

.title-container {
    max-width: 800px;
}

.main-title {
    /* Base styles; specific sizes handled by child spans */
    font-weight: 600;
    color: #333;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Small subtitle (Cornell University) */
.title-small {
    font-size: 32px;
    font-weight: 600;
    color: #333;
}

/* Large main title (Big Red Math Competition) */
.title-large {
    font-size: 60px;
    font-weight: 700;
    
}

.big-red {
    color: #B31B1B;
    font-weight: 700;
}

/* Math Symbols */
.math-symbols {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.symbol {
    position: absolute;
    font-size: 24px;
    font-weight: 500;
    color: #333;
    user-select: none;
    pointer-events: none;
    z-index: 3;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

/* Specific symbol styles */
.symbol-cube {
    font-size: 160px;
}

.symbol-i {
    font-size: 180px;
    font-style: italic;
}

.symbol-e {
    font-size: 168px;
    font-style: italic;
}

.symbol-circle {
    font-size: 252px;
}

.symbol-plus {
    font-size: 140px;
    font-weight: 600;
}

.symbol-triangle {
    font-size: 160px;
}

.symbol-pi {
    font-size: 268px;
}

.symbol-dot {
    font-size: 120px;
    font-weight: 900;
}

.symbol-f {
    font-size: 180px;
    font-style: italic;
}

.symbol-multiply {
    font-size: 340px;
    font-weight: 600;
}

.symbol-theta {
    font-size: 168px;
    font-style: italic;
}

.symbol-integral {
    font-size: 200px;
}

.symbol-infinity {
    font-size: 260px;
}

.symbol-angle {
    font-size: 152px;
}

.symbol-sigma {
    font-size: 240px;
}

.symbol-spade {
    font-size: 220px;
}

.symbol-clubs {
    font-size: 220px;
}

.symbol-cIntegral {
    font-size: 220px;
}

.symbol-star{
    font-size: 190px;
}

.symbol-equality{
    font-size: 220px;
}

.symbol-sigma{
    font-size: 200px;
}

.symbol-div{
    font-size: 220px;
}

.symbol-delta{
    font-size: 240px;
}

/* Dots Pattern */
.dots-pattern {
    position: fixed;
    right: 30px;
    top: 0;
    height: 100vh;
    width: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(20, 1fr);
    gap: 10px;
    padding: 20px;
    z-index: 4;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #B31B1B;
    border-radius: 50%;
}

/* Responsive Design */

/* Medium screens - smaller desktops, large tablets, Chromebooks */
@media (max-width: 1200px) {
    .main-content {
        padding: 0 40px;
    }
}

@media (max-width: 1024px) {
    .header {
        padding: 30px 0;
        gap: 20px;
    }
    
    .navigation {
        gap: 20px;
    }
    
    .nav-button {
        font-size: 13px;
        padding: 7px 14px;
    }
    
    .logo-image {
        width: 50px;
        height: 50px;
    }
    
    .main-content {
        padding: 0 30px;
    }
    
    .main-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 0;
        gap: 15px;
    }
    
    .navigation {
        gap: 12px;
    }
    
    .logo-image {
        width: 40px;
        height: 40px;
    }
    
    .nav-button {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .main-title {
        font-size: 24px;
    }
    
    .main-content {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .header {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 12px 0;
    }
    
    .navigation {
        gap: 8px;
    }
    
    .nav-button {
        font-size: 10px;
        padding: 5px 10px;
    }
    
    .logo-image {
        width: 45px;
        height: 45px;
    }
    
    .main-title {
        font-size: 20px;
    }
    
    .main-content {
        padding: 0 15px;
    }
} 