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

body {
    background-color: #0a0a0a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 40px;
    background: transparent;
    background-color: #111;
    flex-wrap: wrap;
}

.logo img {
    width: 70px;
}

.navbar-items{
    display: flex;
    gap: 40px;
    margin-right: 10px;
    flex-wrap: wrap;
}

.navbar-items a {
    text-decoration: none;
    color: white;
    font-family: monospace;
    font-size: 16px;
    transition: 0.3s;
}

.navbar-items a:hover {
    color: #3c3b3b;
}

.contactme-box {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: monospace;
    font-size: clamp(14px, 2.5vw, 20px);
    flex-grow: 1;
    padding: 2rem 1rem;
}

.details {
    border: 2px solid white;
    border-radius: 15px;
    padding: 2rem 2.5rem;
    max-width: 90vw;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.head h2{
    text-align: center;
    text-decoration: underline;
    margin-bottom: 10px;
}

.head h3 {
    margin-bottom: 6px;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #111;
    padding: 20px;
    color: white;
}
.footer h3 {
    font-family: monospace;
    font-size: 15px;
    text-align: center;
}

/* ===== Tablet (max-width: 768px) ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 5px 20px;
    }
    .navbar-items {
        gap: 20px;
    }
    .details {
        padding: 1.5rem 1.5rem;
    }
}

/* ===== Mobile (max-width: 480px) ===== */
@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
        padding: 10px 15px;
        gap: 10px;
    }
    .navbar-items {
        gap: 15px;
        margin-right: 0;
        justify-content: center;
    }
    .navbar-items a {
        font-size: 14px;
    }
    .details {
        padding: 1.2rem 1rem;
    }
    .footer h3 {
        font-size: 13px;
    }
}