* {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 60px 20px;
    background-color: antiquewhite;
    font-size: 1.2em;
    line-height: 1.4;
    min-height: 100vh;
}

#content {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 60px;
    min-height: 70vh;
}

#profile-picture {
    flex-shrink: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#profile-picture img {
    width: 100%;
    max-width: 430px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#profile-picture img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.sections-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
}

.social-media {
    flex: 1;
    min-width: 300px;
    max-width: 430px;
}

.social-media h2 {
    padding: 25px 25px 15px 25px;
    color: #333;
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: 2px solid rgba(51, 51, 51, 0.1);
}

.social-media ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-link {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 5px 0;
}

.social-link:hover {
    background-color: rgba(51, 51, 51, 0.1);
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-link a {
    text-decoration: none;
    color: #000;
    display: flex;
    align-items: center;
    width: 100%;
    font-weight: 500;
}

.social-link img {
    width: 40px;
    height: 40px;
    margin-right: 20px;
    border-radius: 6px;
    object-fit: contain;
}

.social-link:hover img {
    transform: scale(1.1);
}

.social-media:first-of-type {
    margin-bottom: 20px;
}

.social-link a:focus {
    outline: 2px solid #333;
    outline-offset: 2px;
}

.social-link button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    color: #000;
    display: flex;
    align-items: center;
    width: 100%;
    font-weight: 500;
    font-size: inherit;
    font-family: inherit;
    text-align: left;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 100;
    align-items: center;
    justify-content: center;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: antiquewhite;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    padding: 20px 25px 15px;
    max-width: 420px;
    width: 90%;
}

.modal-options {
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
}

.modal-options li {
    margin: 5px 0;
}

.modal-options a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-options a:hover {
    background-color: rgba(51, 51, 51, 0.1);
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-options img {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    border-radius: 4px;
    object-fit: contain;
}

.modal-option-text {
    display: flex;
    flex-direction: column;
}

.modal-option-hint {
    font-size: 0.8em;
    color: #666;
    font-weight: normal;
    margin-top: 2px;
}

.modal-cancel {
    display: block;
    width: 100%;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9em;
    color: #666;
    text-align: center;
    border-radius: 8px;
    transition: background 0.2s ease;
    font-family: inherit;
}

.modal-cancel:hover {
    background: rgba(51, 51, 51, 0.08);
}

@media screen and (max-width: 1400px) and (min-width: 900px) {
    #content {
        gap: 30px;
    }

    body {
        padding: 40px 20px;
    }

    .sections-container {
        flex-direction: column;
        gap: 20px;
        max-width: 500px;
    }

    .social-media {
        width: 100%;
        max-width: 500px;
    }
}

@media screen and (max-width: 900px) {
    #content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        min-height: auto;
    }

    body {
        padding: 20px 15px;
        font-size: 1.2em;
    }

    #profile-picture img {
        max-width: 500px;
    }

    .sections-container {
        width: 100%;
        max-width: 500px;
        flex-direction: column;
        gap: 15px;
    }

    .social-media {
        width: 100%;
        max-width: 500px;
    }

    .social-media h2 {
        font-size: 1.2em;
        padding: 20px 20px 10px 20px;
    }

    .social-link {
        padding: 15px 20px;
    }

    .social-link img {
        width: 35px;
        height: 35px;
        margin-right: 15px;
    }
}
