:root {
    --basic-background-color:#1e1520;
    --basic-title-color:#f8eff2;
    --basic-header-color:#d0bcc9;
    --basic-link-color:#d0bcc9;
    --basic-text-color:#a992a7;
    --basic-bleach-color: rgba(255,255,255,.15);
}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/Raleway-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* * {
  outline: 1px solid red;
} */

html, body { width: 100%; }

body {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    background-color: var(--basic-background-color);
    margin: 0;
    padding: 0;
}

h2 { color: var(--basic-title-color); }
h3 { color: var(--basic-header-color); }
a { color: var(--basic-link-color); }

navi-list {
    display: flex;
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 28rem;
    flex-direction: row; /* default: vertical */
    gap: 1rem;
    list-style: none;
    background-color: var(--basic-background-color);
    transition: left 1s ease;
}

navi-item {
    position: relative;
    display: list-item;
    color: var(--basic-title-color);
    font-size: 1rem;
    padding: 1rem;
    cursor: pointer;
}

navi-item::after {
    content: "";
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width:100%;
    height: .05rem;
    background-color: var(--basic-title-color);
    opacity: .15;
    transition: opacity 1s ease;
}

navi-item:hover::after { opacity: 1; }

menu-button {
    position: absolute;
    display: none;
    width: 2rem;
    height: 1.5rem;
    top: 2.5rem;
    right: 3rem;
    cursor: pointer;
}

.menu-icon-stripe {
    display: block;
    position: absolute;
    width: 100%;
    height: .05rem;
    background-color: var(--basic-title-color);
    transition: transform .5s ease;
}

.menu-icon-stripe:nth-child(1) { top: 0%; }
.menu-icon-stripe:nth-child(2) { top: 50%; }
.menu-icon-stripe:nth-child(3) { top: 50%; }
.menu-icon-stripe:nth-child(4) { top: 100%; }

menu-button.crossed .menu-icon-stripe:nth-child(1) { display: none; }
menu-button.crossed .menu-icon-stripe:nth-child(2) { transform: rotate(45deg); }
menu-button.crossed .menu-icon-stripe:nth-child(3) { transform: rotate(-45deg); }
menu-button.crossed .menu-icon-stripe:nth-child(4) { display: none; }

top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 480px;
    height: 7rem;
    background-color: var(--basic-background-color);
    z-index: 1;
}

bottom-bar {
    display: flex;
    flex-direction: row; /* default: vertical */
    gap: 2rem;
    list-style: none;
    bottom: 0;
    left: 0;
    padding: 2rem;
    width: calc(100% - 4rem);
    min-width: 480px;
    background-color: rgba(255, 255, 255, .03);
}

.bottom-list-item {
    display: list-item;
}

bottom-bar navi-item {
    padding: .3rem;
    color: var(--basic-text-color);
}

.app-page {
    display: block;
    margin: 10rem 0 0;
    min-width: 480px;
    opacity: 0;
    transition: opacity 2s ease-out;
}

.app-page-title-fixed {
    position: fixed;
    top: 2rem;
    left:calc(50% - 2rem);
    color: var(--basic-title-color);
}

.app-page-title {
    display: block;
    color: var(--basic-title-color);
    margin: 3rem 0;
    font-size: 3rem;
}

.app-page-content {
    color: var(--basic-text-color);
    margin: 0 3rem 3rem;
}

.name-title {
    position: absolute;
    top: 3rem;
    left: 2rem;
    font-size: 1.5rem;
    color: var(--basic-title-color);
}

.flex-page {
    display: flex;
    flex-direction: row; /* default: vertical */
    list-style: none;
}

.flex-page-item {
    display: list-item;  
}

.flex-page-item { width: 50%; }

#titlePortrait {
    max-width: 100%;
    height: auto;
}

a.social {
    display: inline-block;
    width:2rem;
    height:2rem;
}

a.submit-link {
    display: block;
    padding: .5rem 1rem;
    font-size: 1rem;
    width: fit-content;
    border-radius: 1rem;
    color: var(--basic-background-color);
    background-color: var(--basic-text-color);
    opacity: .7;
}

.app-press-link {
    font-size: 1.2rem;
    color: var(--basic-link-color);
}

a.submit-link.more { margin: 1rem 0; }
a.submit-link.more.press { display:inline; margin: 0 0 0 3rem; }

a svg {
    width: 100%;
    height:100%;
}

about-page p { max-width: 730px; }

@media (max-width: 1080px) {
    
    navi-list {
        flex-direction: column;
        top: 7rem;
        left: 100%;
        width: 20rem;    
    }

    bottom-bar { flex-direction: column; }
    .flex-page { flex-direction: column; }
    
    /* bottom-bar navi-item, .bottom-list-item { width: calc(100% - 10rem); } */

    navi-list.crossed { left: calc(100% - 20rem); }

    menu-button { display: block; }

    
    .flex-page-item { width: 100%; }
}