body {
    background-color: #efcafc;
    margin: 10px;
    margin-top: 20px;
    padding: 0;
    font-family: KG Perfect Penmanship;
    text-align: center;
    color: #2e003e;
}

@font-face {
    font-family: KG Perfect Penmanship;
    src: url(/fonts/KGPerfectPenmanship.ttf);
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 3em;
    margin-bottom: 1em;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #b073b0;
    margin-bottom: 20px;
}

.about {
    margin: auto;
    width: 50%;
    padding: 0;
}

.about-title {
    line-height: 0.4em;
    margin-top: 10px;
    margin-bottom: 0;
    border: 1px solid #000;
    border-bottom: 0px;
    padding: 3vh;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    background-color: #f8e5fb;
}

.about-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.about-text {
    border: 1px solid;
    border-color: #000000;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
    padding-inline: 10px;
    width: 60%;
    margin: 0;
    flex: 1 1 60%;
    height: fit-content;
    line-height: 1em;
    background-color: #fef3ff;
}

.personality {
    flex: 1 1 35%;
    border: 1px solid #000;
    padding: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    text-align: center;
    border-left: 0px;
    background-color: #f3daf8;
}

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

.personality li {
    border-bottom: 1px solid #000;
    margin: 0px 0;
    padding: 8px;
}

.section {
    width: 50%;
    margin: 40px auto;
    padding: 0px;
    border: 1px solid #000;
    border-radius: 20px;
    background-color: #f8e5fb;
    text-align: center;
}

.section h2 {
    margin-bottom: 10px;
}

.list, .socials {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fef3ff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.list li, .socials li {
    padding: 8px;
    border-bottom: 1px solid #a06fa0;
}

.list li:last-child, .socials li:last-child {
    border-bottom: none;
}

.list li:first-child, .socials li:first-child {
    border-top: 1px solid #a06fa0;
}

.socials a {
    text-decoration: none;
    color: #5c2d91;
    font-weight: bold;
}

.section h2 {
    margin: 0;
    padding: 12px;
    border-bottom: 2px solid #a06fa0;
    background: #f8e5fb; /* same as .section background */
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}


.gallery {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    background: #fef3ff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 15px;
}

.gallery a {
    text-decoration: none;
    color: #000;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8e5fb;
    border: 1px solid #a06fa0;
    border-radius: 12px;
    padding: 10px;
    transition: transform 0.2s;
}

.gallery-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #b073b0;
    margin-bottom: 10px;
}

.gallery-item .title {
    font-size: 1.1em;
    font-weight: bold;
    color: #2e003e;
    margin: 0;
}

.gallery-item .subtitle {
    font-size: 0.9em;
    color: #2e003e;
    margin: 2px 0 0 0;
}


.gallery-item:hover {
    transform: scale(1.05);
}


.short-list {
    list-style: none;
    padding: 10px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    background: #fef3ff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.short-list li {
    background: #f8e5fb;
    border: 1px solid #a06fa0;
    border-radius: 12px;
    padding: 8px 14px;
    min-width: 80px;
    text-align: center;
    transition: background-color 0.2s;
}

.short-list li:hover {
    background-color: #e9c8f2;
}

#quote-text {
    padding-inline: 11px;
}

.contact button {
    padding: 10px 50px;
    background-color: #e1b4e1;
    color: #000;
    border: 1px solid #000;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 20px;
    font-family: KG Perfect Penmanship;
    font-size: 1em;
    transition: background-color 0.2s;
}

.contact button:hover {
    background-color: #997899;
}

.contact button.sending {
    background-color: #997899;
}

.contact textarea {
    width: 80%;
    height: 20vh;
    margin: 10px;
    padding: 10px 10px;
    margin-top: 20px;
    border-radius: 10px;
    border: 1px solid #000;
    font-family: KG Perfect Penmanship;
    font-size: 1em;
    resize: none;
}



@media (max-width: 600px) {
    body {
        margin: 5px;
    }

    .about {
        width: 90%;
    }

    .about-title {
        width: 100%;
        padding-inline: 10px;
        box-sizing: border-box;
    }

    /* Personality stays stacked */
    .about-wrapper {
        flex-direction: column;
    }

    .about-text {
        border-radius: 0;
        width: 100%;
        box-sizing: border-box;
        border-bottom: 0px;
    }

    .personality {
        display: block;
        width: 100%;
        padding-inline: 0px;
        border: 1px solid #000;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        box-sizing: border-box;
    }

    .personality li {
        flex: 1 1 100%;
        text-align: center;
        border-bottom: 1px solid #000;
    }

    .personality li:last-child {
        border: none;
    }

    /* Sections just shrink instead of stacking */
    .section {
        width: 95%;
    }

    /* Keep gallery in grid layout */
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    /* Short-list pills shrink */
    .short-list li {
        min-width: 70px;
        padding: 6px 10px;
        font-size: 0.9em;
    }

    /* Header tweaks */
    .header {
        gap: 15px;
    }

    .header h1 {
        font-size: 2.2em;
        margin-bottom: 0.8em;
    }

    .profile-pic {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #b073b0;
        margin-bottom: 15px;
    }

    #quote-text {
    padding: 15px;
    }
}

video {
    border-radius: 20px;
}