@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&family=Tiny5&display=swap');

:root {
    /* Accent Color */
    --aw-accent-color: #ac8fa5;
    --aw-elements-shadow: 0 0 15px rgba(0, 0, 0, 0.35);

    /* Text - Fonts */
    --aw-font-family-primary: "Shantell Sans", serif;
    --aw-font-family-secondary: "Tiny5", sans-serif;
    --aw-color-text-primary: #f0f8ff;
    --aw-text-size: 14px;

    /* Container */
    --aw-container-bg: #232323;
    --aw-container-border: 2px solid rgba(0, 0, 0, 0.4);
    --aw-output-container-bg: #1f1f1f;
    --aw-output-section-bg: #181818;
    --aw-output-section-border: 2px solid rgba(0, 0, 0, 0.35);
    --aw-output-section-gap: 16px;
}


/* Text FONTs */

.widget-html,
.header-main-title,
.section-title {
    font-family: var(--aw-font-family-primary);
    font-optical-sizing: auto;
}


/* Element Text Style */

.widget-html {
    font-size: var(--aw-text-size);
    color: var(--aw-color-text-primary) !important;
    user-select: none;
}


/* General Styles */

.header-main-title,
.section-title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}
.header-main-title {
    color: var(--aw-accent-color);
    text-align: center;
    margin-bottom: 15px;
}
.section-title {
    color: #0083c0;
}

hr {
    background-color: grey;
    border-color: grey;
    opacity: 0.25;
}


/* Container Style */

.mainResult-container {
    position: relative;
    /* flex-direction: column; */
    margin: 40px 10px 10px 10px;
    padding: 15px 30px;
    background-color: var(--aw-container-bg);
    border: var(--aw-container-border);
    border-radius: 16px;
    box-shadow: var(--aw-elements-shadow), inset 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    overflow: hidden !important;
}
.mainResult-container::after {
    content: "ANXETY";
    position: absolute;
    top: 10px;
    right: 15px;
    color: rgba(0, 0, 0, 0.3);
    font-family: var(--aw-font-family-secondary);
    font-optical-sizing: auto;
    font-weight: 750;
    font-size: 24px;
}

.sectionsContainer {
    flex-wrap: wrap;
    padding: 25px;
    background-color: var(--aw-output-container-bg);
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
    gap: var(--aw-output-section-gap);
    align-content: flex-start;
    align-items: stretch !important;
    text-align: start;
    overflow: visible;
}
.output-section {
    flex: 1 1 auto !important;
    padding: 15px;
    /* min-width: min-content; */
    background-color: var(--aw-output-section-bg);
    border: var(--aw-output-section-border);
    border-radius: 16px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(0, 0, 0, 0.3);
    align-items: stretch !important;
    transition: all 0.15s;
}
.section-title {
    width: 100%;
    margin-bottom: 5px;
}
/* good use of space */
.output-section ._horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}


/* Animation of Elements */

.mainResult-container,
.output-section {
    animation: showedResult 1s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
.output-item {
    animation: showedText 1s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

@keyframes showedResult {
    0% {
        transform: translate3d(0, 15%, 0);
        opacity: 0;
    }
    100% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes showedText {
    0% {
        transform: translate3d(-30%, 0, 0);
        opacity: 0;
    }
    100% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}