body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #121212;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 100px;
}

.header .name a {
    font-size: 28px;
    font-weight: bold;
    color: #cccccc; 
    text-decoration: none; 
}

.header .name a:hover {
    color: #ffffff; 
    border-bottom: 2px solid #ffffff;
    transition: border-bottom-color 0.3s;
}
.navbar a {
    color: #cccccc;
    text-decoration: none;
    margin-left: 20px;
    font-size: 18px;
    font-weight: bold;
}

.navbar a:hover {
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
    transition: border-bottom-color 0.3s;
}

.main {
    display: flex;
    align-items: center;
    gap: 60px;
}

.photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #ffffff;
}

.greeting {
    max-width: 600px;
}

.greeting p {
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: bold;
    color: #cccccc;
}

.links {
    display: flex;
    gap: 30px;
}

.links a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #cccccc;
    font-size: 20px;
    font-weight: normal;
    transition: color 0.3s;
}

.links a:hover {
    color: #ffffff;
}

.links a img {
    width: 24px;
    height: 24px;
}

.mail {
    margin-top: 30px; 
}

.mail a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #cccccc;
    font-size: 20px;
    font-weight: normal;
    transition: color 0.3s;
}

.mail a:hover {
    color: #ffffff;
}

.mail a img {
    width: 24px;
    height: 24px;
}

.footer {
    margin-top: 50px;
    text-align: center;
    color: #bbbbbb;
}

.footer p {
    font-size: 14px;
}

.footer .links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer .links img {
    width: 24px; 
    height: 24px; 
}


@media (max-width: 700px) {
    .container {
        padding: 20px;
    }

    .header {
        margin-bottom: 50px;
        flex-direction: column;
        align-items: flex-start;
    }

    .header .name {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .header .name a {
        font-size: 24px;
        align-items: center;
    }

    .navbar {
        margin-top: 20px;
        display: flex;
        justify-content: center;
        width: 100%;
        margin-left: 10px;
    }

    .navbar a {
        margin-left: 0;
        margin-right: 10px;
    }

    .main {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .photo {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .photo img {
        width: 120px;
        height: 120px;
    }

    .greeting p {
        font-size: 20px;
        text-align: center;
    }

    .links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .links a {
        font-size: 18px;
    }

    .mail {
        margin-top: 20px;
        display: flex;
        justify-content: center;
    }

    .mail a {
        font-size: 18px;
    }

    .footer .links {
        flex-direction: row;
        gap: 10px;
    }
}
