body {
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    margin: 0px;
    box-sizing: border-box;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 5rem;
    margin-bottom: 20px;
    display: flex;
    font-family: "Crucial";
    color: white;
    background-color: black;
    align-items: center;
    z-index: 100;
    padding: 0px 1rem;
    justify-content: space-between;
}

.site-name {
    font-size: 1.5rem;
    font-family: "Crucial";
}

.card-img {
    width: 4rem;
    height: 4rem;
    margin-right: 1.5rem;
    border-radius: 3px;
}

.wrapper {
    box-sizing: border-box;
    padding: 6rem 1rem;
    width: 100%;
    max-width: 800px;
    margin: auto;
}

.phrasebook .collapsible {
    background-color: white;
    font-family: "Raleway", sans-serif;
    color: black;
    border-bottom: 2px solid black;
    border-radius: 0px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
}

.phrasebook .collapsible h2 {
    font-family: "Crucial";
    font-size: 1.4rem;
}

.phrasebook article {
    border-radius: 0px;
    box-shadow: none;
}

.phrasebook .content {
    border: none;
    padding-top: 1rem;
}

.phrase-bk {
    font-weight: 600;
    width: 50%;
    padding: 0.375rem 0 0.5rem 0;
}

.phrase-en {
    font-style: italic;
    width: 50%;
    padding: 0.375rem 0 0.5rem 0;
}

.table {
    width: 100%;
}

.audio-button.phrasebook-audio-button {
    width: 20px;
    height: 20px;
    background-color: #e1e3e4;
    padding-left: 2px;
    margin-top: 5px;
    border: none;
}

.collapsible-header {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.table-row {
    border-bottom: 1px solid black;
    display: flex;
    flex-direction: row;
}

.phrasebook audio {
    width: 250px;
    height: 36px;
    display: block;
    margin-bottom: 5px;
}

.site-logo-area {
    display: flex;
    align-items: center;
    font-family: "Raleway", sans-serif;
}

.site-logo {
    height: 3rem;
    width: auto;
    margin-right: 1rem;
    font-family: "Raleway", sans-serif;
}

/* MOBILE */

@media (max-width: 800px) {
    .table-row {
        flex-direction: column;
    }

    .site-logo {
        height: 2rem;
        width: auto;
    }

    .site-name {
        font-size: 1.3rem;
    }
    .phrase-en,
    .phrase-bk {
        width: 100%;
        padding: 0.375rem 0 0.5rem 0;
    }
}

.site-nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 400;
    color: white;
    padding: 0px 1rem;
    list-style: none;
    text-decoration: none;
}

.site-nav-link {
    color: white;
    text-decoration: none;
}

.site-nav-item {
    display: flex;
    align-items: center;
    margin-right: 1rem;
    margin-bottom: 0px;
}

.about-card p {
    margin: 0.5rem;
}

.about-card .content img {
    max-width: 100%;
    width: 200px;
    display: block;
    margin: auto;
}

/* TODO: Make this nicer */
#phrasebook-link-mobile {
    display: none;
}

#phrasebook-link-desktop {
    display: block;
}

@media screen and (max-width: 800px) {
    .site-name {
        font-size: 1.1rem;
    }

    .site-nav-item {
        font-size: 1rem;
        margin-right: 0.5rem;
    }

    .phrasebook .collapsible h2 {
        font-size: 1.1rem;
    }

    #phrasebook-link-mobile {
        display: inline;
    }

    #phrasebook-link-desktop {
        display: none;
    }
}
