@import url("https://fonts.googleapis.com/css2?family=Cutive+Mono&family=Noto+Serif+Display:wght@200;400;700&display=swap");

html {
    font-family: "Noto Serif Display";
}

body > div {
    margin: 0;
    display: flex;
    min-height: 100vh;
    color: white;
    background-color: #2b5554;
}

.left-menu {
    background-color: #163838;
    font-family: "Cutive Mono";
    position: relative;
    min-height: 100vh;
    margin-right: 3rem;

    &__content {
        padding-top: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 20rem;
        overflow: hidden;
        transition: opacity 0.1s, width 1s;
    }

    &_hidden &__content {
        opacity: 0;
        width: 0;
    }

    &__visibility-toggle {
        font-family: "Noto Serif Display";
        position: absolute;
        top: 1rem;
        left: 100%;
        width: 2rem;
        height: 3rem;
        font-size: 1.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 0 0.25em 0.25em 0;
        background-color: #163838;
        transition: 1s;
        cursor: pointer;
    }

    &__header {
        img {
            width: 7rem;
        }
    }

    &__links {
        margin-top: 1rem;
        align-self: stretch;
        display: flex;
        flex-direction: column;

        a {
            font-size: 1.5em;
            color: inherit;
            text-decoration: none;
            padding: 0.5em;

            &:hover {
                background-color: #2b5554;
            }
        }
    }
}

.main {
    background: #2b5554 url("/public/images/mi6-seal-bg.png") center
        center/contain no-repeat scroll;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;

    h1 {
        font-weight: 200;
        font-size: 4rem;
        margin-top: 0;
    }
}

.people-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    &__person {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;

        & > div {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        img {
            width: 100px;
        }
    }
}

.person-details {
    display: flex;
    flex-direction: column;
    padding: 3rem;
    border-radius: 5px;

    img {
        width: 100%;
        max-width: 300px;
    }
}

.mission-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    gap: 1rem;
}
