/* FONT STYLING */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300, 400;
    font-display: block;
    src: url("fonts/Inter-Regular.woff2?v=3.19") format("woff2"),
        url("fonts/Inter-Regular.woff?v=3.19") format("woff");
}

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

h1 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0px;
}

h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0px;
}

h3 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0px;
}

p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0px;
}

.monospace {
    font-family: "IBM Plex Mono";
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0px;
    color: black;
}


/* GENERAL STYLING */
body {
    background-color: rgb(10, 10, 10);
    color: white;
    font-family: "Inter";
    font-size: 24px !important;
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 40px;
    transition: all 1s ease-out;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    flex-wrap: wrap;
}

.content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    align-content: flex-start;
    gap: 4px;
    flex-wrap: wrap;
}

.tutorial {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    align-content: flex-start;
    gap: 4px;
    flex-wrap: wrap;
}

.card-row {
    display: flex;
    flex-flow: row wrap;
    gap: 4px;
    width: 100%;
    align-items: flex-start;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 40px;
    border-radius: 16px;
    color: black;
    flex: 1 0 0;
    top: 4px;
    min-width: 500px;
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.card-text {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-infolayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 101%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 1;
    overflow: scroll;
}

.card-infolayer.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.text-input {
    border: none;
    outline: none;
    padding: 16px 24px;
    margin: 0;
    background: white;
    box-shadow: none;
    border-radius: 32px;
    width: 80%;
}

.text-input:invalid {
    opacity: 0.7;
}

.text-input:disabled {
    background: white !important;
    opacity: 0.7;
}

.example-dialog {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.dialog {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.example-message-bot {
    padding: 16px 24px;
    background: white;
    border-radius: 32px;
    width: 80%;
    margin-left: auto;
    display: none;
}

img {
    max-width: 600px;
    border-radius: 16px;
    width: 100%;
}

.title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    flex-wrap: wrap;
}

.description {
    opacity: 50%;
    line-height: 1.4;
}

.button {
    padding: 8px 16px !important;
    align-items: center;
    border-radius: 30px;
    background: #fff !important;
    color: rgb(10, 10, 10) !important;
    font: inherit;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
}

.button:hover {
    opacity: 80%;
}

.secondary-button {
    background: #fff;
    border-radius: 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.secondary-button:hover {
    opacity: 80%;
    cursor: pointer;
}

/* BIG FIVE */

.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: 2px;
}

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


/* THUMB STYLES */
/* Special styling for WebKit/Blink */
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    -webkit-box-shadow: none;
    outline: 5px solid #D0E7E9;
    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 #D0E7E9;
}

/* All the same stuff for Firefox */
input[type=range]::-moz-range-thumb {
    outline: 5px solid #D0E7E9;
    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 rgb(10, 10, 10);
}

/* All the same stuff for IE */
input[type=range]::-ms-thumb {
    outline: 5px solid #FAFAFA;
    height: 24px;
    width: 24px;
    border-radius: 24px;
    background: rgb(10, 10, 10);
    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;
}

.button-wrapper {
    display: flex;
    width: auto;
    justify-content: right;
    align-items: center;
    gap: 40px;
    align-self: stretch;
    align-content: right;
}

.error-message {
    color: #FF5858;
}


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

/* Example Dialogue */
.message-box {
    font-family: "IBM Plex Mono";
    font-size: 14px;
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    border-radius: 8px;
    background: white;
}

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


/* HYPERLINK HOVER EFFECT */
a {
    display: inline-block;
    position: relative;
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: 50%;
}


/* If the screen size is 600px or less, set the font-size of <div> to 30px */
@media only screen and (max-width: 700px) {
    body {
        font-size: 18px;
        padding: 5px;
        gap: 10px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 18px;
    }

    p {
        font-size: 16px;
    }

    .card {
        min-width: 300px;
        gap: 10px;
        padding: 20px;
    }

    .card-content {
        gap: 20px;
    }

    .button {
        font-size: 18px;
    }

    .secondary-button {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .header {
        gap: 10px;
    }

    .slider-labels {
        font-size: 18px;
    }

    .monospace {
        font-size: 16px;
    }

    .example-dialog {
        gap: 20px;
    }
}


@media only screen and (max-width: 500px) {
    h1 {
        font-size: 18px;
    }
}
