@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

header {
    background-color: #f0f0f0;
    width: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 200px;
    flex-wrap: wrap;
}

.logo {
    text-decoration: none;
    color: blue;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8em;
}

.navigation a {
    color: blue;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    padding-left: 30px;
}

.navigation a:hover {
    color: blueviolet;
}

section {
    padding: 100px 200px;
}

.main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('images/background.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    padding: 100px 200px;
}

.main h2 {
    color: #fff;
    font-size: 1.4em;
    font-weight: 500;
}

.main h2 span {
    display: inline-block;
    margin-top: 10px;
    color: #4e9eff;
    font-size: 3em;
    font-weight: 600;
}

.main h3 {
    color: #fff;
    font-size: 1.4em;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.social-icons a {
    color: black;
    font-size: 1.7em;
    padding-right: 50px;
}

.title {
    display: flex;
    justify-content: center;
    color: #4e9eff;
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 30px;
}

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

.about-me {
    padding: 100px 200px;
    background-color: #f9f9f9;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.about-me div {
    max-width: 800px;
}

.about-me h2 {
    font-size: 2.5em;
    color: #4e9eff;
    margin-bottom: 20px;
    text-align: center;
}

.about-me p {
    font-size: 1.2em;
    color: #333;
    line-height: 1.8;
    text-align: center;
}

.card {
    background-color: #fff;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 5px 25px rgba(1, 1, 1, 0.15);
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    transition: 0.7s ease;
}

.card:hover {
    transform: scale(1.05);
}

.icon {
    color: #4e9eff;
    font-size: 3em;
    text-align: center;
}

.info {
    color: black;
    text-align: center;
}

.info h3 {
    color: black;
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;
}

.info a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info a:hover {
    color: #4e9eff;
}

footer {
    background-color: #f2f2f2;
    text-align: center;
    padding: 15px;
    color: #444;
    font-size: 0.9em;
}

/* ========== Media Queries ========== */

@media (max-width: 1024px) {
    header {
        padding: 10px 100px;
    }

    section,
    .main,
    .about-me {
        padding: 100px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px 40px;
        text-align: center;
    }

    .navigation {
        margin-top: 10px;
    }

    section,
    .main,
    .about-me {
        padding: 70px 40px;
    }

    .main h2 span {
        font-size: 2em;
    }

    .main h3 {
        font-size: 1.1em;
    }

    .social-icons a {
        font-size: 1.5em;
        padding-right: 30px;
    }

    .about-me h2 {
        font-size: 2em;
    }

    .about-me p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .main h2 {
        font-size: 1.2em;
    }

    .main h2 span {
        font-size: 1.6em;
    }

    .main h3 {
        font-size: 1em;
    }

    .logo {
        font-size: 1.5em;
    }

    .navigation a {
        font-size: 1em;
        padding-left: 15px;
    }

    .social-icons a {
        font-size: 1.2em;
        padding-right: 15px;
    }

    .title {
        font-size: 1.5em;
    }

    .card {
        padding: 20px;
        margin: 10px;
    }

    .icon {
        font-size: 2.5em;
    }

    .info h3 {
        font-size: 1em;
    }

    .about-me h2 {
        font-size: 1.5em;
    }

    .about-me p {
        font-size: 0.95em;
    }

    footer {
        font-size: 0.8em;
    }
}
