* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    padding-top: 50px;
}

.container {
    width: 80%;
    margin: 0 auto;
}

header {
    background-color: #333;
    color: white;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

header h1 {
    font-size: 2rem;
    text-align: center;
    margin: 0;
}

nav ul {
    list-style-type: none;
    text-align: center;
    margin-top: 10px;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    text-transform: uppercase;
}

main {
    padding-top: 100px;
}

.section {
    padding: 50px 0;
    background-color: white;
    margin-bottom: 30px;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.section p {
    font-size: 1.1rem;
    line-height: 1.8;
}

#about-me {
    padding: 40px 0;
    background-color: #ffffff;
}

#about-me .about-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

#about-me img {
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#about-me p {
    font-size: 16px;
    line-height: 1.5;
}

.hobbies {
    padding: 40px 0;
    background-color: #e8f0fe;
}

.hobbies h3 {
    font-size: 30px;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.hobbies p {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 20px;
}

.hobbies ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    justify-items: center;
}

.hobbies ul li {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.hobbies ul li:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hobbies ul li img {
    width: 100%;
    max-width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.hobbies ul li strong {
    display: block;
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.hobbies ul li p {
    font-size: 14px;
    color: #666;
}

#activities {
    padding: 40px 0;
    background-color: #ffffff;
}

#activities h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

#activities p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 20px;
}

.activities-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
}

.activity-item {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.activity-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.activity-item img {
    width: 100%;
    max-width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.activity-item p {
    font-size: 14px;
    color: #666;
}

#contact {
    padding: 40px 0;
    background-color: #ffffff;
}

#contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

#contact p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 20px;
}

.contact-details p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

.contact-details a {
    color: #ff9f00;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 1rem;
}

footer a {
    color: #ff9f00;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }

    nav ul li {
        margin: 0 10px;
    }

    .section {
        padding: 30px 0;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-content img {
        margin-bottom: 10px;
    }

    .hobbies ul {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .hobbies ul li img {
        height: 120px;
    }

    .activities-images {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .contact-details p {
        font-size: 1rem;
    }

    #contact h2 {
        font-size: 1.5rem;
    }

    #activities h2 {
        font-size: 1.5rem;
    }

    #activities p {
        font-size: 1rem;
    }
}
