body {
    font-family: sans-serif;
    background: url("images/bg-browser.png") no-repeat center/contain;
    background-color: white;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.page {
    max-width: 800px;
    align-content: center;
    margin: auto;
    padding: 20px 20px 20px 60px;
    transform: scale(0.92);
    transform-origin: top left;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header img {
    width: 100%;
    padding-top: 15%;
    max-width: 650px; 
    height: auto;
    display: block;
    margin: 0 auto;
}

.top {
    display: flex;
    gap: 30px;
    margin-bottom: 0%;
    flex-wrap: wrap;
}

.about,
.work {
    padding: 50px;
    background-color: transparent;
    position: relative;
}

.about {
    flex: 1;
    min-width: 280px;
}

.about ul {
    font-family: widescreen, sans-serif;
    color: #e6e7e8;
    margin: 15px 0;
    padding-left: 20px;
    list-style-type: "★";
}

p {
    font-family: widescreen, sans-serif;
    color: #b9a3c7;
}

.selfie {
    flex: 1;
    min-width: 280px;
    padding-right: 50px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.selfie img {
    width: 100%;
    max-width: 400px;
}

.section-title { 
    font-family: widescreen-uex, sans-serif;
    font-size: 25px;
    display: flex;
    width: 250px;
    height: 40px;
    color: white;
    border-radius: 40px 0 40px 0;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background-image: linear-gradient(to bottom, #b9a3c7, #6c5779, #261333);
    position: relative; 
}

.section-title::before {
    content: "";
    position: absolute;
    inset: 6px; 
    border: 2pt solid #e6e7e8;
    border-radius: inherit;
    pointer-events: none;
}

.line {
    border-bottom: 2pt solid #b9a3c7;
    width: 80%;
}

.work {
    margin-bottom: 40px;
}

.gallery {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.gallery img {
    flex: 1;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    flex: 1;
    max-width: 200px;
    padding: 10px;
    text-align: center;
    text-decoration: none;

    border-radius: 20px;
    border: 2px solid #e6e7e8;

    color: #e6e7e8;
    background-image: linear-gradient(to bottom, #b9a3c7, #6c5779, #261333);

    cursor: pointer;
    transition: opacity 0.2s ease;
}

.btn:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .top {
        flex-direction: column;
    }

    .gallery {
        flex-direction: column;
    }

    .buttons {
        flex-direction: column;
    }
}