* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', Tahoma, sans-serif;
    line-height: 1.6;
    background-color: #2f4f4f;
    color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #1a1a1a;
    color: #ffd700;
    padding: 30px 20px;
    text-align: center;
    border-bottom: 3px solid #ffd700;
}

.logo-header {
    width: 100px;
    margin-bottom: 10px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 20px;
    gap: 20px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: #ffd700;
}

main {
    display: flex;
    flex: 1;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    gap: 25px;
}

#content {
    flex: 3;
}

aside {
    flex: 1;
}

.card {
    background-color: #3e5f5f;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h2 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.menu-item {
    background: rgba(255, 255, 255, 0.05);
    margin-top: 20px;
    border-radius: 12px;
    border-left: 5px solid #ffd700;
    overflow: hidden;
    transition: 0.3s;
}

.menu-flex {
    display: flex;
    align-items: stretch;
}

.menu-text {
    flex: 2;
    padding: 25px;
    flex-direction: column;
    justify-content: center;
}

.menu-image {
    flex: 1;
    min-width: 180px;
    max-height: 250px;
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.btn {
    background-color: #ffd700;
    color: #1a1a1a;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
}

.btn:hover {
    background-color: #ffffff;
    transform: scale(1.05);
}

.contact-link {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.contact-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

footer {
    background-color: #1a1a1a;
    color: #888;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

.profile-img {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 50%;
    display: block;
    margin: 0 auto 15px auto;
    border: 3px solid #ffd700;
}

@media screen and (max-width: 850px) {
    main {
        flex-direction: column;
    }

    #content, aside {
        width: 100%;

    .menu-flex {
        flex-direction: column;
    }

    .menu-image {
        width: 100%;
        height: 200px;
    }
}