



* {
    box-sizing: border-box;
}

body {
    background-color: #EBEBD3;
    color: #280303;
    font-family: verdana, sans-serif;
    margin: 0;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: "DM Serif Display", serif;
}


a:link {
    color: #c75b75; 
}
    
a:visited {
    color: #8c6b00;
}

a:hover {
    color: #280303;
    text-decoration: underline;
}

a:active {
    color: #ff4d4d;
}


a:focus-visible, button:focus-visible {
    outline: 3px solid #280303;
    outline-offset: 2px;
}


header {
    background-color: #1a1a1a;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #F2A7BC;
}

header h1 {
    color: white;
    margin: 0;
    font-size: 1.6em;
}

header nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

header nav a {
    color: #F2A7BC;
    text-decoration: none;
    font-size: 1em;
    font-weight: 600;
    padding: 8px 12px;
}

header nav a:hover {
    color: #ffffff;
    text-decoration: none;
}

.btn-challenge {
    background-color: #F2A7BC;
    color: #280303 !important;
    padding: 10px 16px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
}

.btn-challenge:hover {
    background-color: #ffffff;
    color: #280303 !important;
}


section#hero {
    background-image: url('../images/fitnessgirl.jpg');
    background-size: cover;
    background-position: center;
    aspect-ratio: 1 / 0.5;
    position: relative;
}

section#hero p {
    color: white;
    font-size: 3em;
    font-family: "DM Serif Display", serif;
    position: absolute;
    left: 30px;
    bottom: 30px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    margin: 0;
}

main {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

main > p, main > section {
    background-color: #f7f7ed;
    border: 1px solid #d4d4bc;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

h2 {
    color: #280303;
    border-bottom: 2px solid #d4d4bc;
    padding-bottom: 8px;
    margin-top: 0;
}


.tips-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 20px;
}

.tip-card {
    background-color: #ffffff;
    border: 1px solid #d4d4bc;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.tip-card h3 {
    margin-top: 0;
    color: #280303; 
    font-size: 1.15em;
}

.tip-card p {
    margin-bottom: 0;
    color: #4a4a4a;
    font-size: 0.95em;
}


.table-section {
    margin-top: 30px;
}

.table-container {
    overflow-x: auto;
}

.hobby-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #d4d4bc;
}

.hobby-table caption {
    font-size: 0.9em;
    color: #666666;
    padding-bottom: 10px;
    text-align: left;
    font-style: italic;
}

.hobby-table th, 
.hobby-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0d1;
    font-size: 0.95em;
}

.hobby-table th {
    background-color: #280303;
    color: #ffffff;
    font-family: "DM Serif Display", serif;
}

.hobby-table tbody tr:nth-child(even) {
    background-color: #fcfcf7;
}

.hobby-table tbody tr:hover {
    background-color: #f0f0e6;
}


.site-nav {
    background-color: #280303;
    padding: 20px;
    text-align: center;
    border-top: 2px solid #F2A7BC;
}

.site-nav a {
    margin: 0 10px;
    color: #F2A7BC;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9em;
}

.site-nav a:hover {
    color: #ffffff;
}

footer {
    background-color: #1a1a1a;
    color: #cccccc;
    text-align: center;
    padding: 25px 20px;
}

footer .ai-disclosure {
    font-size: 0.8em;
    color: #999999;
    margin-top: 8px;
}


header {
    flex-direction: column;
    text-align: center;
    padding: 20px;
}

header nav {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 15px;
}

header nav a {
    display: block;
    width: 100%;
    padding: 12px;
}

@media (min-width: 768px) {
    header {
        flex-direction: row;
        text-align: left;
        padding: 15px 30px;
    }

    header nav {
        flex-direction: row;
        width: auto;
        gap: 15px;
        margin-top: 0;
    }

    header nav a {
        display: inline-block;
        width: auto;
        padding: 8px 12px;
    }

    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}