
@keyframes twinkle {
    0% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
    100% { opacity: 0.5; transform: scale(1); }
}
#stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}
.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 5s infinite;
}

body {
    margin: 0;
    font-family: Georgia, serif;
    transition: background 0.3s ease;
    font-size: 18px;
    color: #464545;
}
section {
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}

h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #3d3d3d;
}
h2 {
    color: #a18dd3;
    font-size: 28px;
    margin-top: 10px;
}
.h2-story {
    color: #e79cbd;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    margin-bottom: 20px;
}
.socials {
    display: flex;
    gap: 15px;
}
.socials a {
    font-size: 48px;  
    color: #464545;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.socials a:hover {
    color: lavender;
    transform: scale(1.15); 
}
.section1,
.section2,
.section3,
.section4 {
    background: transparent;
}

.inner-1,
.inner-2,
.inner-3,
.inner-4 {
    width: 85%;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #B29CB4;
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(76, 76, 76, 0.4);
    padding: 40px;
}
.inner-1 { background-color: #7B83A0; }
.inner-3 { background-color: #c3a7c0; }
.inner-4 { background-color: #d9baab; }
.link {
    text-decoration: none;
    align-items: center;
    color: #a18dd3;
}
.project-section project-1 {
    align-items: center;
}
.inner-box {
    background-color: #FAF9F6;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(76, 76, 76, 0.3);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.photo {
    flex: 1;
    max-width: 300px;
}
.photo2 img {
    flex: 1;
    max-width: 300px;
    max-height: 500px;
}
.photo img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.inner-1-text,
.inner-1-text-1,
.inner-1-text-2,
.inner-1-text-3 {
    flex: 2;
    padding: 10px 20px;
    font-size: 20px;
    line-height: 1.6;
}

.section-buttons {
    margin: 20px 0;
    text-align: center;
}
.section-button {
    padding: 10px 20px;
    font-size: 16px;
    margin: 0 5px;
    cursor: pointer;
    border: none;
    background-color: #ccc;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}
.section-button:hover {
    background-color: #bbb;
}
.section-button.active {
    background-color: #999;
}
.project-section {
    display: none;
    padding: 10px 20px;
    font-size: 18px;
    line-height: 1.6;
}
.project-section.active {
    display: block;
}

.inner-1-text-1,
.inner-1-text-2,
.inner-1-text-3 {
    display: none;
}
.inner-1-text-1.active,
.inner-1-text-2.active,
.inner-1-text-3.active {
    display: block;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    box-sizing: border-box;
}
input[type="submit"] {
    background-color: #464545;
    color: white;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}
input[type="submit"]:hover {
    background-color: lavender;
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 32px;
        text-align: center;
    }
    h2 {
        font-size: 24px;
    }
    .inner-box {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    .photo,
    .inner-1-text,
    .inner-1-text-1,
    .inner-1-text-2,
    .inner-1-text-3 {
        width: 100%;
        padding: 10px;
        text-align: center;
    }
    .socials {
        justify-content: center;
        margin-top: 20px;
    }
    .socials a {
        font-size: 28px;
    }
}
.about-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.about-flex-container .photo2 {
    flex: 1;
    max-width: 300px;
}

.about-flex-container .photo2 img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.about-flex-container .inner-1-text-1,
.about-flex-container .inner-1-text-2,
.about-flex-container .inner-1-text-3 {
    flex: 2;
}
