/* ===== BASE ===== */
* {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

ul {
    list-style: none;
    padding-inline-start: 0;
    margin: 0;
}

h1,
h2,
h3,
p {
    margin: 0;
}


/* ===== BURGER MENU (phones, up to 480px) ===== */
@media screen and (max-width: 480px) {

    /* Show the burger button */
    .burger-menu {
        display: block;
    }

    /* Menu panel: hidden off-screen to the right */
    nav ul {
        position: fixed;
        top: 57px;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        transform: translateX(120%);
        transition: transform 0.5s ease-in;
    }

    /* Menu panel: visible when the burger is tapped */
    nav ul.show {
        transform: translateX(0);
    }

    nav ul li {
        margin: 8px;
    }

    /* Menu links: dark text on the white panel */
    nav ul .nav-link,
    nav ul .nav-link:visited {
        color: #383838 !important;
        font-size: 1.3rem;
    }

    nav ul .nav-link:hover {
        color: orange !important;
    }
}