@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8); 
}

.logo {
    font-size: 2em;
    color: #555;
    cursor: default;
}

.logo span {
    color: #7d2ae8;
}

.navigation {
    display: flex;
    align-items: center;
}

.navigation a {
    font-size: 1.1em;
    color: #555;
    text-decoration: none;
    margin-right: 40px;
    font-weight: 500;
    transition: .3s;
}

.navigation a:hover {
    color: #7d2ae8;
}

.btn-talk {
    color: #fff;
    text-decoration: none;
    padding: 8px 35px;
    background: #7d2ae8;
    border-radius: 10px;
    border: 2px solid #7d2ae8;
    font-weight: 500;
    transition: .3s;
}

.btn-talk:hover {
    color: #7d2ae8;
    background: transparent;
}

.home {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 30px 100px;
    overflow: hidden;
}

.back-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.content {
    max-width: auto;
    color: #555;
    z-index: 1;
}

.content h2 {
    font-size: 3em;
}

.content h2 span {
    color: #7d2ae8;
}

.content h4 {
    font-size: 2em;
}

.content p {
    padding: 10px 0 40px 0;
}

.btn-group a {
    color: #fff;
    text-decoration: none;
    padding: 10px 40px;
    background: #7d2ae8;
    border-radius: 10px;
    border: 2px solid #7d2ae8;
    font-weight: 500;
    transition: .3s;
}

.btn-group a:hover:nth-child(1) {
    color: #7d2ae8;
    background: transparent;
}

.btn-group a:nth-child(2) {
    color: #7d2ae8;
    background: transparent;
    margin-left: 30px;
    padding: 10px 30px;
}

.btn-group a:hover:nth-child(2) {
    color: #fff;
    background: #7d2ae8;
}

.social-icons {
    position: absolute;
    bottom: 50px;
}

.social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: #7d2ae8;
    border-radius: 50%;
    margin-right: 22px;
    text-align: center;
    line-height: 35px;
    border: 1px solid #fff;
    outline: 2px solid #7d2ae8;
    transition: .3s;
}

.social-icons a:hover {
    transform: translateY(-5px);
}

.social-icons a i {
    color: #fff;
}

#about.content,
#education.content,
#experience.content,
#family.content,
#gallery.content {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    max-width: auto;
    margin: 0 auto;
    padding: 2rem;
    background: transparent;
    border-radius: 8px;
    box-shadow: none;
    text-align: center;
}

#about.content h2,
#education.content h2,
#experience.content h2,
#family.content h2,
#gallery.content h2 {
    font-size: 2.5em;
    margin-bottom: 1rem;
    color: #2e1351;
}

#about.content p,
#education.content p,
#experience.content p,
#family.content p,
#gallery.content p {
    font-size: 1.1em;
    color: #c2229f;
    margin-bottom: 1rem;
    line-height: 1.6;
}

#about.content h2,
#education.content h2,
#experience.content h2,
#family.content h2,
#gallery.content h2 {
    font-size: 2.5em;
    margin-bottom: 1rem;
    color: #2e1351;
}

#family.content ul {
    list-style-type: square;
    margin-left: 20px;
    text-align: center;
    display: auto;
    padding-left: 1rem;
}

#family.content li {
    font-size: 1em;
    color: #555;
    margin-bottom: 0.5rem;
}

.image-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.image-container img {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.image-container img:hover {
    transform: scale(1.05);
}

#gallery {
    background-color: transparent;
    border: transparent;
    border-radius: 5px;
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
}

#gallery h2 {
    color: transparent;
    margin-bottom: 10px;
}

#gallery p {
    color: transparent;
    margin-bottom: auto;
}

.image-container {
    display: auto;
    flex-wrap: auto;
    justify-content: first baseline;
}

.image-container img {
    width: auto(33.33% - 10px); /* Set width for each image with some spacing */
    margin-bottom: auto;
    border-radius: 5px;
}

@media (max-width: 600px) {
    .image-container img {
        width: auto(50% - 10px); /* Adjust width for smaller screens */
    }
}