/* ------------------------------------
 * Starfarer Studio 
 * ------------------------------------
 * Default Theme: Primary Stylesheet 
 */

/* Animations */
@keyframes grandFadein {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulsar {
    from {
        color: rgba(255, 255, 255, 0.0);
        text-shadow: 0 0 1px #FFFFFF77;
    }
    to {
        color: #FFF;
        text-shadow: 0 0 5px #FFF;
    }
}

@keyframes slideinLeft {
    from {
        opacity: 0;
        left: -10vw;
    }
    to {
        opacity: 1;
        left: auto;
    }
}

@keyframes eyelight {
    0% {
        --fa-primary-color: var(--pink);
    }
    25% {
        --fa-primary-color: var(--orange);
    }
    50% {
        --fa-primary-color: var(--yellow);
    }
    75% {
        --fa-primary-color: var(--green);
    }
    100% {
        --fa-primary-color: var(--blue);
    }
}

@keyframes wiggle {
    0% {
        top: initial;
    }
    10% {
        top: -5px;
    }
    20% {
        top: -5px;
        transform: rotate(35deg);
    }
    40% {
        top: -5px;
        transform: rotate(-35deg);
    }
    60% {
        top: -5px;
        transform: rotate(35deg);
    }
    80%, 100% {
        top: -5px;
        transform: none;
    }
}

@keyframes slideinModal {
    from {
        top: 100vh;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

@keyframes fadeinBg {
    from {
        background: transparent;
        opacity: 0;
    }
    to {
        background: var(--black50);
        opacity: 1;
    }
}

/* Global */
*, *:before, *:after {
    box-sizing: border-box;
}

[data-active="false"]:not(#qw_wrapper), #splash_title > i {
    display: none;
}

html {
    background: var(--spacebg);
    scroll-behavior: smooth;
}

body {
    opacity: 0;
    margin: 0;
    animation: 1s ease 0.5s 1 normal forwards grandFadein;
}

a {
    transition: opacity 0.25s ease, color 0.25s ease;
}

a:hover, button:hover {
    cursor: pointer;
}

#site_frame {
    width: clamp(800px, 80vw, 1600px);
    margin: -12px auto 0;
    border-left: 1px solid;
    border-right: 1px solid;
    border-color: transparent;
}

#site_frame.disengaged {
    border-color: transparent;
}

#site_frame.engaged {
    border-color: var(--black50);
    background: var(--deepspace);
}

/* Header Styling */
#studio_hud {
    margin: 0 auto 0;
    width: clamp(800px, 80vw, 1600px);
    display: flex;
    justify-content: space-evenly;
    flex-flow: column;
    z-index: 9;
}

#studio_hud.sticky {
    position: sticky;
    top: 0;
    background: var(--deepspace);
    height: auto;
}

#studio_hud.jumbo {
    background: transparent;
    height: 100vh;
}

/* Nav Styling */
nav {
    width: 100%;
    background: var(--deepspace);
}

#studio_hud.jumbo nav #nav_list {
    opacity: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
}

#studio_hud.sticky nav #nav_list {
    opacity: 1;
    height: auto;
    overflow: visible;
    margin: auto;
}

#nav_list {
    list-style-type: none;
    padding: 5px 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    transition: all 0.5s 0.5s ease-in;
}

li.nav-li {
    padding: 5px;
}

a.nav-link {
    font-size: clamp(16px, 10vh, 20px);
    font-size: 24px;
}

a[data-title="home"] i {
    --fa-primary-color: var(--green);
    --fa-secondary-color: var(--blue);
}

a[data-title="services"] i {
    --fa-primary-color: var(--pink);
    --fa-secondary-color: #FFFFFF77;
}

a[data-title="portfolio"] i {
    --fa-primary-color: var(--blue);
    --fa-secondary-color: silver;
}

a[data-title="contact"] i {
    --fa-primary-color: silver;
    --fa-secondary-color: var(--blue);
}

a[data-title="aboutme"] i {
    --fa-primary-color: var(--blue);
    --fa-secondary-color: var(--purple);
}

/* Splash Title */
#splash_title {
    font-family: "PressStart2P";
    text-align: center;
    transition: font-size 0.25s ease-out, opacity 0.5s 0.5s ease-out;
    opacity: 0;
    color: transparent;
}

@keyframes smallFadein {
    from {
        opacity: 0;
        color: transparent;
    }
    to {
        opacity: 1;
        color: #EEE;
    }
}

#studio_hud.sticky #splash_title {
    font-size: 32px;
    padding: 20px 0;
    opacity: 0;
    animation: 1s ease-in normal 1 forwards smallFadein;
}

#studio_hud.jumbo #splash_title {
    opacity: initial;
    font-size: clamp(30px, 10vh, 52px);
    margin: auto;
    animation: 3s ease alternate infinite pulsar;
}

#studio_hud.jumbo #splash_title:after {
    content: "(scroll down)";
    font-size: 12px;
    display: flex;
    justify-content: center;
    opacity: 0.75;
    position: relative;
    top: 30vh;
    letter-spacing: 5px;
}

/* Progress Bar */
#progress_bar {
    height: 10px;
}

#progress_indicator {
    background: var(--rgbgradright) fixed;
    height: 100%;
}

#studio_hud.jumbo #progress_bar {
    opacity: 0;
}

#studio_hud.sticky #progress_bar {
    opacity: 1;
}

/* Heading Styles */
.section-header {
    font-family: "PressStart2P";
    padding: 50px 0 50px 100px;
    font-size: 24px;
    border-bottom: 1px dotted #FFFFFFCC;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.75);
    margin: 0;
    position: relative;
    transition: all 0.25s ease;
}

.section-header::before {
    content: ":/";
    display: flex;
    float: left;
    margin: 0 10px;
}

.section-header:first-of-type {
    margin-top: 150px;
}

.content-section[data-visible="false"] .section-header {
    left: -100%;
    opacity: 0;
}

.content-section[data-visible="true"] .section-header {
    left: 0;
    opacity: 1;
}

/* Wrapper && Main Content */
#content {
    padding: 50px 0 0;
    background: var(--deepspace);
    margin: 0;
    position: relative;
    transition: opacity 0.5s ease-in, top 0.5s ease-in;
}

#site_frame.disengaged #content {
    top: 100vh;
    opacity: 0;
}

#site_frame.engaged #content {
    top: 0;
    opacity: 1;
}



/* Sections && Section Content */
@keyframes sectionSlide {
    from {
        left: -100%;
        opacity: 0;
        width: 0;
    } to {
        left: 0;
        opacity: 1;
        width: auto;
    }
}

.content-section {
    overflow: hidden;
}

.section-wrapper {
    background: var(--space);
    padding: 25px 50px 0;
    margin: 0;
    display: flex;
    flex-flow: column wrap;
    position: relative;
    transition: all 0.5s ease;
    left: -100%;
}

.content-section[data-visible="false"] .section-wrapper {
    left: -100%;
    opacity: 0;
}

.content-section[data-visible="true"] .section-wrapper {
    left: 0;
    opacity: 1;
}

.sec-p {
    font: 18px monospace;
    line-height: 1.5;
    text-indent: 36px;
    padding: 25px;
    margin: 0;
}

.sec-p:not(:first-child) {
    margin-top: 25px;
}

.sec-p:last-child {
    margin-bottom: 25px;
}

/* Services Section */
#services_sec .section-wrapper {
    flex-direction: row;
    padding: 25px;
}

.sec-inner.inner-left {
    display: flex;
    width: 75%;
}

.sec-inner .inner-text {
    background: var(--deepspace);
    padding: 25px;
    font: 18px monospace;
    text-align: right;
}

.sec-inner.inner-right {
    width: 25%;
    display: flex;
    flex-flow: column wrap;
    padding: 25px;
    justify-content: space-evenly
}

/* Tooltips */
.tooltip {
    position: fixed;
    background: var(--space);
    border: 10px solid var(--deepspace);
    box-shadow: 2px 2px 1px 1px rgba(255, 255, 255, 0.2);
    font: 12px monospace;
    z-index: -1;
}

.tooltip:before {
    content: "Details:";
    padding: 10px;
    margin: -10px -10px 5px;
    display: block;
    background: var(--black25)
}

.tooltip[data-active="true"] {
    z-index: 29;
}

/* Lists */
.list-embed {
    list-style-type: none;
    margin: 50px auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    width: 100%;
    padding: 0;
}

.list-embed li {
    font: bold 16px monospace;
    transition: all 0.25s ease;
    padding: 25px 10px;
    background: var(--spacebg);
    text-transform: capitalize;
    box-shadow: inset 0 0 10px 2px var(--black25);
}

.list-embed li:hover {
    text-shadow: 0 0 2px #FFF;
}

.list-embed li:before {
    content: "+";
    margin: auto 5px;
}

.list-embed li:nth-of-type(1n):before {
    color: var(--pink);
}

.list-embed li:nth-of-type(2n):before {
    color: var(--orange);
}

.list-embed li:nth-of-type(3n):before {
    color: var(--yellow);
}

.list-embed li:nth-of-type(4n):before {
    color: var(--green);
}

#skill_list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    margin: 25px 0;
}

.skill-itm {
    padding: 0;
    margin: 10px;
    background: var(--spacebg);
    box-shadow: inset 0px 0px 10px 2px var(--black25);
}

.skill-name {
    margin: 0;
    padding: 10px;
    text-align: center;
    font: bold 18px monospace;
    border-bottom: 1px solid #FFFFFFAA;
    color: #FFF;
    text-shadow: 0 0 3px #000;
    background: var(--deepspace);
}

.skill-bar {
    padding: 10px 20px;
    font: 16px Monospace;
    text-align: center;
    text-shadow: 0 0 1px;
    margin: 0;
    line-height: 1.5;
}

.serv-list {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    flex-flow: row wrap;
    padding: 0;
    line-height: 2;
}

.serv-list li {
    width: 45%;
    text-align: center;
    padding: 10px;
    background: var(--black25);
    margin: 5px auto;
    box-shadow: 2px 2px 1px 1px var(--black50);
}

.serv-list li:hover {
    cursor: help;
}

.serv-list li .text {
    font: 12px "PressStart2P";
}

.serv-list li i {
    margin: auto 5px;
    font-size: 22px;
}

#design_list li:nth-of-type(1) i {
    --fa-secondary-color: var(--orange);
}

#design_list li:nth-of-type(2) {
    --fa-secondary-color: var(--blue);
}

#design_list li:nth-of-type(3) {
    --fa-secondary-color: var(--pink);
}

#design_list li:nth-of-type(4) {
    --fa-secondary-color: var(--green);
}

#design_list li:nth-of-type(5) {
    --fa-secondary-color: var(--blue);
}

#design_list li:nth-of-type(6) {
    --fa-secondary-color: var(--yellow);
}

div.button-frame {
    display: flex;
    justify-content: space-evenly;
    padding: 0;
    margin: 50px auto;
    padding: 10px 0;
    width: 100%;
}

/* Quote Wizard */
#qw_wrapper {
    margin: 0;
}

#quote_wizard {
    transition: all 0.25s ease;
}

#qw_wrapper[data-active="false"] #quote_wizard {
    height: 0;
    overflow: hidden;
    opacity: 0;
}

#qw_wrapper[data-active="true"] #quote_wizard {
    height: auto;
    overflow: auto;
    opacity: 1;
}

@keyframes strafeLeft {
    from {
        left: 0;
    }
    to {
        left: -18px;
    }
}

@keyframes strafeRight {
    from {
        left: 0;
    }
    to {
        left: 18px;
    }
}

#qw_wrapper[data-active="false"] .title-collapsed:before {
    content: ">";
    position: relative;
    animation: 1s ease alternate infinite strafeLeft;
}

#qw_wrapper[data-active="false"] .title-collapsed:after {
    content: "<";
    position: relative;
    animation: 1s ease alternate infinite strafeRight;
}

#qw_wrapper[data-active="false"] .title-collapsed:hover:before,
#qw_wrapper[data-active="false"] .title-collapsed:hover:after {
    animation-play-state: paused;
    left: 0 !important;
}

#qw_wrapper[data-active="false"] .form-title:hover {
    cursor: pointer;
}

#qw_wrapper[data-active="false"] .form-title .title-expanded,
#qw_wrapper[data-active="true"] .form-title .title-collapsed {
    display: none;
}

#qw_wrapper .form-title {
    text-align: center;
    margin: auto 0 0;
    background: var(--spacebg);
    padding: 25px 0;
}

#qw_wrapper .form-title .title-collapsed,
#qw_wrapper .form-title .title-expanded {
    width: 100%;
    font: 18px "PressStart2P";
    transition: all 0.5s linear;
}

#qw_wrapper .form-title i {
    font-size: 24px;
    margin: auto 25px;
}

#qw_wrapper .form-title i:nth-of-type(1) {
    --fa-primary-color: var(--yellow);
}

#qw_wrapper .form-title i:nth-of-type(2) {
    --fa-primary-color: var(--blue);
    --fa-secondary-color: var(--yellow);
}

.qw-heading {
    width: 100%;
    font: 14px "PressStart2P";
    margin: 25px 0;
}

.qw-heading .text {
    margin: auto 0;
    text-align: center;
    float: left;
    width: 100%;
}

/* Commissions Section */
.commission-status {
    font-family: "PressStart2P";
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    font-size: 14px;
    margin: 0;
    padding: 25px;
}

.commission-status .cmsn-status {
    font-size: 18px;
    margin: 25px auto 0;
}

.cmsn-status.status-closed {
    color: var(--orange)
}

.cmsn-status.status-open {
    color: var(--blue);
}

#work_status {
    text-align: center;
    font: 14px "PressStart2P";
    margin: 0 0 25px;
    padding: 25px;
    border-bottom: 1px solid;
}

#work_status.closed {
    border-bottom-color: var(--orange);
    background: var(--deepspace);
}

#work_status.open {
    border-bottom-color: var(--blue);
    background: #FFFFFFAA;
}

/* Footer & Copyright */
footer {
    background: var(--deepspace);
    display: flex;
    flex-flow: column wrap;
}

#copyright {
    display: flex;
    flex-flow: column-reverse wrap;
    align-content: center;
    font: 8px "PressStart2P";
}

.footer-contact {
    text-align: center;
    display: flex;
    justify-content: space-around;
}

.footer-contact a {
    font-style: normal;
    color: #FFFFFFAA;
}

.footer-contact a:hover {
    color: #FFF;
}

.footer-contact a:first-of-type {
    text-decoration-color: var(--pink);
}

.footer-contact a:last-of-type {
    text-decoration-color: var(--blue);
}

.copyright-info {
    color: #FFFFFF55;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    z-index: -9;
}

.modal[data-active="false"] {
    opacity: 0;
    z-index: -9;
}

.modal[data-active="true"] {
    opacity: 1;
    z-index: 19;
    background: var(--black50);
    animation: 0.5s ease 1 normal forwards fadeinBg;
}

.modal-wrapper {
    width: 60vw;
    height: 60vh;
    margin: auto;
    position: relative;
    display: flex;
    flex-flow: column wrap;
}

.modal[data-active="true"] .modal-wrapper {
    animation: 0.5s ease 1 normal forwards slideinModal;
    top: 0;
}

.modal[data-active="false"] .modal-wrapper {
    top: 100vh;
}

.modal-heading {
    background: var(--deepspace);
    font: 26px "PressStart2P";
    padding: 25px;
    margin: 0;
    display: flex;
    flex-flow: row nowrap;
    border-bottom: 1px solid #FFFFFF99;
    align-content: center;
    justify-content: space-between;
}

.modal-content {
    background: var(--spacebg);
    overflow-y: scroll;
    padding: 25px;
    display: flex;
    flex-flow: column wrap;
    margin: 0;
    flex-grow: 1;
}

.req-itm {
    color: var(--orange);
    margin: 0;
}

#inquiry_submit {
    margin: 25px auto 0;
    border-radius: 0;
    font: 12px "PressStart2P";
    padding: 5px;
}

.subsection-text {
    text-indent: 18px;
    background: var(--space);
    box-shadow: inset 0 0 5px 2px var(--black50);
    font: 15px Lato;
    padding: 10px;
    line-height: 1.5;
    transition: all 0.5s ease;
}

.subsection-text:hover {
    text-shadow: 0 0 2px;
}

.subsection-text em {
    margin: auto 5px auto auto;
    text-shadow: 0 0 2px;
}

/* Buttons */
.button-wrapper {
    text-decoration: none;
}

button {
    transition: all 0.25s linear;
}

.btn-serv {
    padding: 20px;
    font: 12px "PressStart2P";
    border-radius: 0;
    border: unset;
    border: 0;
    background: var(--spacebg);
    box-shadow: 5px 5px 5px 2px var(--black25);
}

.btn-serv:hover {
    background: #FFFFFFEE;
    color: var(--space);
}

.contact-button {
    transition: all 0.25s ease;
    display: flex;
    flex-flow: column wrap;
    padding: 10px;
    border: none;
}

.contact-button i {
    font-size: 24px;
    margin: auto auto 10px;
    position: relative;
}

#btn_email {
    background: linear-gradient(to right, var(--pink), var(--orange), var(--yellow));
    color: transparent;
    background-clip: text;
}

#btn_email i {
    --fa-primary-color: silver;
    --fa-secondary-color: var(--orange);
}

#btn_cform {
    background: linear-gradient(to right, var(--green), var(--blue), var(--purple));
    color: transparent;
    background-clip: text;
}

#btn_cform i {
    --fa-primary-color: silver;
    --fa-secondary-color: var(--green);
}

#btn_email:hover, #btn_cform:hover {
    color: #FFF;
}

#btn_cform:hover i,
#btn_email:hover i {
    --fa-primary-color: #FFF;
    animation: 1s linear forwards 1 wiggle;
    top: -5px;
}

.contact-button .text {
    font: 10px "PressStart2P";
}

.btn-close {
    border: none;
    padding: 0;
    font-size: 24px;
    background: transparent;
    transition: all 0.25s ease;
}

.btn-close i {
    --fa-primary-color: #FFF;
    --fa-secondary-color: var(--pink);
}

.btn-close:hover i {
    --fa-secondary-color: var(--orange);
}

.qw-button.btn-start {
    display: flex;
    flex-flow: column wrap;
    padding: 25px;
    border-radius: 0;
    color: #FFF;
    border: none;
    font: 12px "PressStart2P";
    position: relative;
    top: -5px;
    left: -5px;
    z-index: 1;
    text-shadow: 0 0 2px #000;
    background: var(--deepspace);
}

.qw-button.btn-start:before {
    position: absolute;
    content: close-quote;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 20px;
    left: 20px;
    clip-path: polygon(calc(100% - 19px) 0, 100% 0, 100% 100%, 0 100%, 0 calc(100% - 19px), calc(100% - 19px) calc(100% - 19px));
    transition: all 0.25s ease;
    background: var(--spacebg);
}

.qw-button:hover {
    top: 0;
    left: 0;
}

.qw-button.btn-start:hover:before {
    top: 10px;
    left: 10px;
    clip-path: polygon(calc(100% - 9px) 0, 100% 0, 100% 100%, 0 100%, 0 calc(100% - 9px), calc(100% - 9px) calc(100% - 9px));
}

.qw-button i {
    font-size: 34px;
    margin: 20px auto;
}

.btn-top-corner {
    margin: auto 0 auto auto;
    float: right;
}

/* Misc */
.space-block {
    background: var(--spacebg);
    /* height: 15vh; */
    box-shadow: inset 0 0 10px 2px var(--black25);
}

.fa-duotone {
    text-indent: initial;
}

/* Construction */
.construction-prompt {
    padding: 20px;
    text-align: center;
    margin: 10px auto;
    border: 1px dotted var(--orange)
}

.construction-prompt h3 {
    color: var(--orange);
    font: 14px "PressStart2P";
    padding: 5px 0;
    margin: 0 0 20px;
}

.prompt-p {
    font: 10px "PressStart2P";
    color: var(--yellow);
}