/* Root variables */
:root {
    --primary: #B28D34;
    --secondary: #1A1A1A;
    --tertiary: #ffffff;
}

/* Fonts */
@font-face {
    font-family: 'Eagle Lake';
    src: url(fonts/EagleLake-Regular.ttf);
    font-display: swap;
}
@font-face {
    font-family: 'Cardo Bold';
    src: url(fonts/Cardo-Bold.ttf);
    font-display: swap;
}
@font-face {
    font-family: 'Roboto Regular';
    src: url(fonts/Roboto-Regular.ttf);
    font-display: swap;
}
@font-face {
    font-family: 'Roboto Bold';
    src: url(fonts/Roboto-Bold.ttf);
    font-display: swap;
}
@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    src: url(fonts/MaterialSymbolsOutlined.ttf);
    font-display: swap;
}
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga';
}

/* Base styles */
body {
    margin: 0;
    background: var(--secondary);
}
button, .btn {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 8px;
    background: var(--primary);
    font-family: 'Roboto Bold', sans-serif;
    font-size: 16px;
    color: var(--tertiary);
    text-decoration: none;
    border: 1px solid var(--tertiary);
    border-radius: 10px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.2s;
}
button:hover, .btn:hover {
    background: var(--tertiary);
    color: var(--primary);
}
input, textarea {
    min-width: 100%;
    max-width: 100%;
    border: none;
    border-radius: 5px;
    padding: 8px 14px;
    margin-bottom: 5px;
    background-color: #CFCFC5;
    font-family: 'Roboto Regular', sans-serif;
    font-size: 16px;
    color: #696969;
    box-sizing: border-box;
}
input:focus, textarea:focus {
    outline: 2px solid #696969;
    outline-offset: 0px;
}

/* Background */
.splash-wrapper {
    display: flex;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.splash-wrapper img {
    object-fit: cover;
    width: 100%;
}

/* Pixidust Logo */
.pixidust-logo {
    width: 250px;
    height: auto;
    position: absolute;
    top: 30px;
    left: 50px;
}

/* Coming Soon */
.coming-soon-container {
    display: flex;
    align-items: center;
    position: absolute;
    top: 30px;
    right: 30px;
    padding: 14px 20px;
    background: var(--secondary);
    border-radius: 10px;
}
.coming-soon-container span {
    font-family: 'Cardo Bold', sans-serif;
    font-size: 24px;
    color: var(--tertiary);
}
.notify-btn {
    padding: 10px;
    margin-right: 15px;
    border: 2px solid var(--primary);
    border-radius: 10px;
}

/* Side controls */
.sidebar {
    display: flex;
    flex-flow: column;
    gap: 20px;
    padding: 20px 12px;
    background: rgba(85, 85, 85, 0.5);
    border: 1px solid var(--primary);
    border-radius: 5px;
    position: absolute;
    left: 50px;
    top: 34%;
}
#close-option {
    position: fixed;
    width: 100vw;
    height: 100vw;
    top: 0;
    left: 0;
}
.option {
    position: relative;
    height: 30px;
    color: var(--primary);
}
.sidebar .active {
    color: var(--tertiary);
    display: block;
}
.sidebar .active .tab {
    display: block;
}
.option span {
    position: relative;
    font-size: 30px;
    cursor: pointer;
    z-index: 2;
}
.option span:hover {
    color: var(--tertiary);
}
.option .tab {
    display: none;
    position: absolute;
    top: -5px;
    left: -5px;
    width: 52px;
    height: calc(100% + 10px);
    background: var(--primary);
    border-radius: 15px 0px 0px 15px;
    z-index: 1;
}
.option .tab::before {
    content: "";
    position: absolute;
    background-color: transparent;
    height: 20px;
    width: 10px;
    top: -20px;
    right: 0;
    border-bottom-right-radius: 10px;
    box-shadow: 0 10px 0 0 var(--primary);
}
.option .tab::after {
    content: "";
    position: absolute;
    background-color: transparent;
    height: 20px;
    width: 10px;
    bottom: -20px;
    right: 0;
    border-top-right-radius: 10px;
    box-shadow: 0 -10px 0 0 var(--primary);
}
.container {
    display: none;
    width: 340px;
    padding: 15px 20px;
    padding-bottom: 25px;
    font-family: 'Roboto Regular';
    color: var(--tertiary);
    background: var(--primary);
    border-radius: 15px;
    box-sizing: border-box;
}
.sidebar .displayed {
    display: block;
    position: absolute;
    top: -30px;
    left: calc(100% + 5px);
}
.container h3 {
    margin: 0;
    font-size: 22px;
}
.container h4 {
    margin: 10px 0px;
    margin-top: 20px;
    font-size: 14px;
}
.container p {
    margin: 0;
    margin-top: 10px;
    font-size: 16px;
}
/* Pay It Forward Modal */
.container .list-item {
    display: flex;
    align-items: center;
    margin-top: 8px;
}
.container .list-item span {
    font-size: 20px;
}
.container .list-item p {
    margin: 0;
    margin-left: 10px;
}
#pay-forward-btn {
    margin-top: 20px;
}
/* Contact Modal */
.container form {
    margin-top: 15px;
}
.container form textarea {
    height: 120px;
}
.container form button {
    margin-top: 15px;
}
.container form button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--tertiary);
    color: var(--primary);
}
#response {
    margin: 0 5px;
    font-style: italic;
}

#audio-btn {
    padding: 12px;
    background: rgba(85, 85, 85, 0.5);
    border: 1px solid var(--primary);
    border-radius: 5px;
    position: absolute;
    bottom: 50px;
    left: 50px;
    cursor: pointer;
}
#audio-btn span {
    font-size: 30px;
    color: var(--primary);
}

/* Main Text */
.main-text {
    position: absolute;
    bottom: 80px;
    right: 60px;
    font-family: 'Eagle Lake', sans-serif;
    color: var(--tertiary);
}
.main-text .title {
    margin: 0;
    font-size: 60px;
    max-width: 460px;
}
.main-text .subtext {
    margin: 0;
    margin-top: 10px;
    margin-left: 20px;
    font-size: 24px;
}

/* Extra classes */
.unselectable {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}