/* ---------- GLOBAL ---------- */

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #111;
    color: white;
}

/* ---------- HEADER ---------- */

.header {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px 40px;
    background: #0a0a0a;
    border-bottom: 1px solid #222;
}

.logo {
    height: 50px;     
    width: auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-name {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ---------- NAVIGATION ---------- */

.nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #ddd;
    font-weight: 500;
    transition: color .5s ease;
}

.nav a:hover {
    color: #fff;
}

/* ---------- HERO SECTION ---------- */

.hero {
    text-align: center;
    margin-top: 120px;
    margin-bottom: 120px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    color: #ccc;
}

/* ---------- MOBILE RESPONSIVE ---------- */

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .nav {
        margin-top: 15px;
    }

    .nav a {
        margin-left: 0;
        margin-right: 15px;
    }
}

/* ---------- FOOTER ---------- */

.footer {
    padding: 20px 40px;
    border-top: 1px solid #222;
}

.footer p {
    text-align: center;
}

/* ---------- CONTAINER ---------- */
.floating-social {
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

/* ---------- SHARED BUTTON STYLE ---------- */
.social-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.4rem;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    overflow: hidden;
    border: 2px solid #fff2;
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.08);
    background: #333;
}

/* ---------- ICONS INSIDE ---------- */
.social-btn i {
    pointer-events: none;
}

/* ---------- SVG ITCH.IO ---------- */
.social-btn.itch img {
    width: 28px;
    filter: invert(1);
}

/* ---------- RESIZE ON PHONES ---------- */
@media (max-width: 768px) {
    .floating-social {
        display: none;
    }
}

/* ---------- RESIZE ON TABLETS ---------- */
@media (max-width: 1024px) and (min-width: 769px) {
    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .social-btn.itch img {
        width: 22px;
    }
}

.github:hover { background: #333; }
.itch:hover { background: #fa5c5c; }
.linkedin:hover { background: #0a66c2; }
.mail:hover { background: #444; }