@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
*{
    scroll-behavior: smooth;
}


nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.nav-container a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 14px;
    transition: color 0.2s ease, border-bottom 0.2s ease;
    padding-bottom: 4px;
}

.nav-container a:hover {
    color: #555;
    border-bottom: 2px solid #000;
}


body {
    line-height: 1.6;
    margin: 0;
}
main {
    transition: padding 0.3s ease;
    margin-top: 70px; /* space for fixed nav */
    padding: 20px;
}
.prose {
    font-size: 1.125rem;
    line-height: 1.75;
}

.prose p {
    margin-bottom: 1.5em;
}


/* Smooth responsive padding transition */


/* Chart container responsive adjustments */
canvas {
    max-width: 100%;
    height: auto;
}

#score-chart {
    --tw-bg-opacity: 1;
    background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px;
}

#score-chart h1 {
    color: #222;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

#score-chart canvas {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#score-chart .controls {
    margin-top: 20px;
}

#score-chart button {
    margin: 5px;
    padding: 10px 16px;
    border: 1px solid #222;
    border-radius: 6px;
    background-color: #fff;
    color: #111;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

#score-chart button:hover {
    background-color: #222;
    color: #fff;
}

#media-invite{
    display: flex; align-items: start;  justify-content: center; flex-wrap: wrap; margin-inline: auto; 
}
@media (max-width: 768px) {
    .prose {
        font-size: 1rem;
    }
    
    .float-right {
        float: none !important;
        margin-left: 0 !important;
        margin-bottom: 2rem !important;
        width: 100% !important;
    }
    .float-right img{
        width: 80% !important;
        margin: auto;
    }
    #media-invite div:first-of-type{
        width: 80% !important;
    }
    #media-invite div:nth-of-type(2){
        width: 100% !important;
        margin-top: 20px;
        padding-left: 0 !important;
    }
}

@media (max-width: 600px) {
    nav{
        display: none;
    }
    main {
        margin-top: 0; /* space for fixed nav */
    }
    #home img{
        width: 100%;
        height: auto;
    }
    #temp{
        display: block !important;
    }
}