/* FONT IMPORT */

@font-face {
    font-family: "GT Planar";
    src: url("../fonts/GT-Planar-VF.woff2") format("woff2-variations"),
        url("../fonts/GT-Planar-VF.woff2") format("woff2 supports variations");
    font-weight: 200 300 400;
    font-style: normal;
    font-variation-settings: "slnt" 0;
}

@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/IBMPlexMono-Regular.ttf");
    font-weight: 300;
}


/* GENERAL STYLING */

body {
    background-color: #FAFAFA;
    color: black;
    font-family: "GT Planar";
    font-size: 16px;
    font-weight: 300;
    font-variation-settings: "slnt" 0;
    line-height: 1.45;
    transition: all 0.15s ease-in-out;
    width: auto;
    padding: 40px;
    margin: 0px;
}

header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: left;
    padding-bottom: 40px;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: 400;
    margin: 0px;
    font-variation-settings: "slnt" 0;
    text-transform: uppercase;
    line-height: 110%;
}

h2 {
    font-size: 24px;
    font-weight: 200;
    margin: 0px;
    font-variation-settings: "slnt" -15;
    text-transform: uppercase;
    text-align: right;
    line-height: 110%;
}

h3 {
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 2px;
    min-width: 40px;
}

p {
    margin: 0px;
}

b {
    font-weight: 400;
}

a {
    display: inline-block;
    position: relative;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all 0.15s ease-in-out;
}

a:hover {
    color: #848484;
    transition: all 0.15s ease-in-out;
}

.description {
    color: #b4b4b4;
}

.content {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    gap: 80px;
    flex-wrap: wrap;
}

.button {
    padding: 8px 16px;
    align-items: center;
    border-radius: 30px;
    background: black;
    color: white;
    font: inherit;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
}

.button:hover {
    opacity: 70%;
}


/* LEFT COLUMN */

.bigfive-column {
    display: flex;
    min-width: 320px;
    flex-direction: column;
    align-items: flex-start;
    gap: 60px;
    flex: 1 0 0;
}

.bigfive-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}

.bigfive-sliders {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    align-self: stretch;
}

form {
    width: 100%;
}

.slider {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    width: 100%;
}

/* TRACK STYLES */
/* Chrome, Safari, Opera, and Edge Chromium */
input[type="range"]::-webkit-slider-runnable-track {
    background: black;
    height: 1px;
}

/* Firefox */
input[type="range"]::-moz-range-track {
    background: black;
    height: 1px;
}


/* THUMB STYLES */
/* Special styling for WebKit/Blink */
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    -webkit-box-shadow: none;
    outline: 5px solid #FAFAFA;
    height: 18px;
    width: 18px;
    border-radius: 18px;
    background: black;
    cursor: pointer;
    margin-top: -9px;
    /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
    transition: all 0.15s ease-in-out;
}

input[type=range]::-webkit-slider-thumb:hover {
    background: #848484;
    transition: all 0.15s ease-in-out;
    outline: 10px solid #FAFAFA;
}

/* All the same stuff for Firefox */
input[type=range]::-moz-range-thumb {
    outline: 5px solid #FAFAFA;
    height: 24px;
    width: 24px;
    border-radius: 24px;
    background: black;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

input[type=range]::-moz-range-thumb:hover {
    background: #848484;
    transition: all 0.15s ease-in-out;
    outline: 10px solid #FAFAFA;
}

/* All the same stuff for IE */
input[type=range]::-ms-thumb {
    outline: 5px solid #FAFAFA;
    height: 24px;
    width: 24px;
    border-radius: 24px;
    background: black;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

input[type=range]::-ms-thumb:hover {
    background: #848484;
    transition: all 0.15s ease-in-out;
    outline: 10px solid #FAFAFA;
}

.bigfive-cta {
    display: flex;
    width: auto;
    justify-content: right;
    align-items: center;
    padding-bottom: 40px;
    gap: 40px;
    align-self: stretch;
    align-content: right;
}

.error-message {
    color: #FF5858;
}


/* RIGHT COLUMN */

/* Prompt Output */

.output-column {
    display: flex;
    min-width: 320px;
    flex-direction: column;
    align-items: flex-start;
    gap: 80px;
    flex: 1 0 0;
}

.output {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.output-box {
    display: flex;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid #E8E8E8;
    background: white;
    color: black;
    font-family: "IBM Plex Mono";
    font-size: 14px;
}

/* Example Dialogue */

.example {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}

.example-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.message-box {
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid #E8E8E8;
    background: white;
}

.message {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}


/* FOOTER STYLING */

footer {
    border-top: #E8E8E8 1px solid;
    margin-top: 40px;
    display: flex;
    padding-top: 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    align-self: stretch;
}

.footer-faq {
    display: flex;
    padding-top: 40px;
    align-items: flex-start;
    align-content: flex-start;
    column-gap: 80px;
    row-gap: 40px;
    align-self: stretch;
    flex-wrap: wrap;

}

.faq-section {
    display: flex;
    min-width: 320px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
    flex: 1 0 0;
    color: black;
}

.footer-cta {
    display: flex;
    padding: 40px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 8px;
    background: #FCFE8A;
    color: black;
    text-align: center;
}

.footer-title {
    font-variation-settings: 'slnt' -15;
    font-weight: 400;
    font-size: 24px;
    transition: all 0.1s ease-in-out;
    text-transform: uppercase;
    line-height: 110%;
}

.footer-cta-button {
    margin-top: 20px;
    font-family: inherit;
    text-transform: uppercase;
    font-weight: 400;
    border: 1px solid black;
    border-radius: 50%;
    padding: 10px 20px;
    color: black;
    background-color: inherit;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}

.footer-cta-button:hover {
    background-color: black;
    color: white;
    transition: all 0.4s ease-in-out;
}



/* MOBILE STYLING */

@media only screen and (max-width: 880px) {

    body {
        padding: 20px;
    }

    h2 {
        font-size: 18px;
    }

    .output-box {
        font-size: 12px;
    }

}