* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #1a1f3c;
    color: #ffffff;
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 50px 20px;
}

.name {
    font-size: 3em;
    margin-bottom: 10px;
    color: #ffffff;
}

.position {
    font-size: 1.5em;
    color: #f4b400;
}

.section {
    padding: 40px 20px;
    margin: 20px auto;
    max-width: 800px;
    background-color: #2a2f4d;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

h3 {
    margin-bottom: 20px;
    font-size: 1.8em;
    text-align: center;
    color: #f4b400;
}

a {
    color: #f4b400;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ffffff;
}

#about {
    background-color: #2a2f4d;
    padding: 40px;
    max-width: 800px;
    margin: 20px auto;
    border-radius: 10px;
    position: relative;
}

#about .about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.profile-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#about p {
    font-size: 1.1em;
    line-height: 1.6;
    width: 60%;
}

#experience {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    max-width: 800px;
    background-color: #2a2f4d;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
}

.work-box, .about-box {
    background-color: #3a3f5c;
    color: white;
    padding: 20px;
    border-radius: 8px;
    font-size: 1em;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    border: 2px solid #4a5080;
}

.work-box strong {
    color: #f4b400;
    font-size: 1.2em;
}

.technologies-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    max-width: 800px;
    background-color: #2a2f4d;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 17px;
    width: 100%;
    max-width: 720px;
}

.tech-box {
    background-color: #3a3f5c;
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1em;
    text-align: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    border: 2px solid #4a5080;
}

#events {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    max-width: 800px;
    margin: auto;
    background-color: #2a2f4d;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.events-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.event-box {
    background-color: #3a3f5c;
    border: 2px solid #4a5080;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 350px;
}

.event-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
}

.event-box.vertical img {
    width: auto;
    max-height: 250px;
}

#contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    max-width: 800px;
    margin: 20px auto;
    background-color: #2a2f4d;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.contact-box {
    background-color: #3a3f5c;
    color: white;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    border: 2px solid #4a5080;
    width: 720px;
}

.contact-box a {
    color: #f4b400;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-box a:hover {
    color: #ffffff;
}

.footer-container {
    width: 100%;
}

.footer-svg {
    width: 100%;
    height: auto;
}

.footer-bg {
    background-color: #343a40;
    color: white;
    padding: 20px 0;
}

.footer-content {
    text-align: center;
}

.footer-content span {
    display: block;
    margin-bottom: 10px;
}

.social-icons {
    font-size: 1.5em;
    gap: 20px;
}

.social-icons a {
    margin: 0 15px;
    color: white;
    text-decoration: none;
}

.social-icons a:hover {
    color: #f4b400;
}

@media screen and (max-width: 768px) {
    .section {
        padding: 20px;
    }

    #about .about-content {
        flex-direction: column;
        text-align: center;
    }

    .profile-photo {
        width: 150px;
        height: 150px;
    }

    #about p {
        width: 100%;
    }

    .about-box {
        width: 100%;
    }

    #experience {
        padding: 20px;
        max-width: 100%;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .work-box {
        width: 100%;
    }

    .technologies-section {
        flex-direction: column;
        text-align: center;
    }

    .tech-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .tech-box {
        width: 100%;
    }

    #events {
        padding: 20px;
        max-width: 100%;
    }

    .events-container {
        flex-direction: column;
        gap: 10px;
    }

    .event-box {
        width: 100%;
    }

    #contact {
        padding: 20px;
        max-width: 100%;
    }

    .contact-box {
        width: 100%;
    }

    .footer-content {
        padding: 10px;
    }

    .social-icons {
        font-size: 1.2em;
        flex-direction: column;
        gap: 10px;
    }

    .social-icons a {
        margin: 10px 0;
    }
}
