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

body {
    background: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    overflow-y: scroll;
}

header {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 12px 12px;
}

.branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 200;
    font-size: 12px;
}
nav {
    display: flex;
    justify-content: center;
    gap: 8px;
}

nav a {
    color: #495057;
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: #212529;
}

nav a[aria-current="page"] {
    color: #212529;
    border-bottom: 2px solid #212529;
}

nav.nav-mobile {
    display: flex;
}

nav.nav-desktop {
    display: none;
}

main {
    max-width: 1200px;
    margin: 0 auto;
}

button {
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 4px;
    border-color: #007bff;
    cursor: pointer;
    background-color: #007bff;
    color: #fff;
}

fieldset {
    border: 0;
    display: inline;
    margin: 0 0.5rem 1rem 0;
}
label {
    display: block;
}

input,
select,
option {
    font-size: 16px;
    padding: 8px;
}
.extra-input {
    display: none;
}
.mode-availability #request {
    width: 580px;
}
.mode-availability #language {
    width: 180px;
}
.mode-availability #result {
    height: 200px;
    width: 600px;
    overflow: scroll;
    border: 1px solid #ccc;
    font-size: 12px;
    margin: 1rem 0;
}
.mode-availability #request-body {
    width: 600px;
    height: 200px;
    overflow: scroll;
    border: 1px solid #ccc;
    font-size: 12px;
    margin: 1rem 0;
}

@media screen and (min-width: 768px) {
    main {
        padding: 2em;
    }

    header {
        padding: 1rem 2rem;
    }

    .branding {
        font-size: 1.2em;
    }
    nav {
        justify-content: start;
        gap: 2rem;
    }

    nav a {
        font-size: 1em;
    }

    nav.nav-mobile {
        display: none;
    }

    nav.nav-desktop {
        display: flex;
    }
}