
body {
    font-family: 'Tahoma', sans-serif;
    margin: 0;
    padding: 0;
}

h1, h2, p, li {
    margin: 0;
    padding: 0;
}

button {
    cursor: pointer;
    border-radius: 5px;
    padding: 10px 20px;
    transition: 0.3s ease;
}



body.homepage {
    background-color: #ffffff;
}

.section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px auto;
    padding: 30px;
    width: 80%;
    border-radius: 15px;
}

.section img {
    width: 200px;
    border-radius: 10px;
}

.section button {
    background-color: inherit;
    border: 2px solid currentColor;
    transition: 0.3s ease;
}

.section button:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.homepage .section-diet {
    background-color: #538d22;
    color: #aad576;
    border: 2px solid #aad576;
}

.homepage .section-sport {
    background-color: #0077b6;
    color: #48cae4;
    border: 2px solid #48cae4;
}

.homepage .section-wellbeing {
    background-color: #b9375e;
    color: #ff7aa2;
    border: 2px solid #ff7aa2;
}



.diet-box, .sport-box, .well-being-box {
    padding: 20px;
    border-radius: 15px;
    margin: 10px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.diet-box img, .sport-box img, .well-being-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.diet-box button, .sport-box button, .well-being-box button {
    background-color: inherit;
    color: inherit;
    border: 2px solid currentColor;
    margin-top: 10px;
}

.diet-box:hover, .sport-box:hover, .well-being-box:hover {
    transform: scale(1.02);
}

.diet-box button:hover, .sport-box button:hover, .well-being-box button:hover {
    opacity: 0.8;
    transform: scale(1.05);
}



body.diet, body.diet-subsection {
    background-color: #538d22;
    color: #aad576;
}

.diet-title {
    text-align: center;
    margin: 40px 0;
}

.diet-container, .diet-content {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto 50px auto;
    padding: 20px;
    border-radius: 15px;
    display: block; 
}

.diet-box {
    background-color: #aad576;
    color: #538d22;
    border: 2px solid #538d22;
}



body.sport, body.sport-subsection {
    background-color: #0077b6;
    color: #48cae4;
}

.sport-title {
    text-align: center;
    margin: 40px 0;
}

.sport-container, .sport-content {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto 50px auto;
    padding: 20px;
    border-radius: 15px;
    display: block; 
}

.sport-box {
    background-color: #48cae4;
    color: #0077b6;
    border: 2px solid #0077b6;
}



body.wellbeing, body.wellbeing-subsection {
    background-color: #b9375e;
    color: #ff7aa2;
}

.wellbeing-title {
    text-align: center;
    margin: 40px 0;
}

.wellbeing-container, .wellbeing-content {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto 50px auto;
    padding: 20px;
    border-radius: 15px;
    display: flex;       
    flex-wrap: wrap;
    justify-content: space-around;
}

.wellbeing-box {
    background-color: #ff7aa2;
    color: #b9375e;
    border: 2px solid #b9375e;
    border-radius: 15px;
    width: 300px;
    margin: 10px;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.wellbeing-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.wellbeing-box button {
    background-color: inherit;
    color: inherit;
    border: 2px solid currentColor;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
}

.wellbeing-box:hover {
    transform: scale(1.02);
}

.wellbeing-box button:hover {
    opacity: 0.8;
    transform: scale(1.05);
    transition: 0.3s ease;
}



.diet-subsection, .sport-subsection, .well-being-subsection {
    font-family: 'Tahoma', sans-serif;
    margin: 0;
    padding: 0;
}

.diet-subsection h1, .sport-subsection h1, .well-being-subsection h1 {
    text-align: center;
    margin: 40px 0 20px 0;
    font-size: 2.5em;
}

.diet-content, .sport-content, .well-being-content {
    padding: 30px;
    border-radius: 15px;
    display: block; 
}

.diet-subsection {
    background-color: #aad576;
    color: #538d22;
}

.diet-subsection .diet-content {
    background-color: #538d22;
    color: #aad576;
}

.sport-subsection {
    background-color: #48cae4;
    color: #0077b6;
}

.sport-subsection .sport-content {
    background-color: #0077b6;
    color: #48cae4;
}

.well-being-subsection {
    background-color: #b9375e;
    color: #ff7aa2; 
}

.well-being-subsection .well-being-content {
    background-color: #b9375e;
    color: #ff7aa2;
}

.diet-subsection button, .sport-subsection button, .well-being-subsection button {
    background-color: inherit;
    color: inherit;
    border: 2px solid currentColor;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

.diet-subsection button:hover, .sport-subsection button:hover, .well-being-subsection button:hover {
    opacity: 0.8;
    transform: scale(1.05);
    transition: 0.3s ease;
}

.diet-content h2, .sport-content h2, .well-being-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.diet-content p, .sport-content p, .well-being-content p,
.diet-content ul, .sport-content ul, .well-being-content ul {
    margin-bottom: 20px;
    line-height: 1.7;
}

.diet-content li, .sport-content li, .well-being-content li {
    margin-bottom: 10px;
}
