@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;300;400;500&family=Roboto:ital,wght@0,100;0,300;0,400;0,700;1,500&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    background-color: #f2f2f2 !important;
    margin: 0;
    color: grey;

    --color-blue: #3778c8;
    --color-dark-blue: #26548c;
    --color-medium-blue: #87aede;
    --color-light-blue: #E8F0FE;
}

a {
    color: var(--color-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

h1 {
    font-size: 28px;
    text-align: center;
    color: var(--color-dark-blue);
    font-weight: 500;
    line-height: 36px;
}

h2 {
    font-size: 18px;
    font-weight: 300;
    text-align: center;
    color: var(--color-dark-blue);
    margin-bottom: 26px;
    margin-top: 14px !important;
    line-height: 150%;
}

h3.pane-intro {
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    color: var(--color-dark-blue);
    line-height: 150%;
    margin-bottom: 20px;
}

.h1-substitute {
    font-size: 28px;
    text-align: center;
    color: var(--color-dark-blue);
    font-weight: 500;
    line-height: 36px;
}

/*.h1-substitute + h2 {*/
/*    margin-top: 14px !important;*/
/*}*/

/********************
 header
********************/

header .content {
    background-color: #fafafa;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

/********************
 menu items
********************/

.menu-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-menu {
    padding: 16px 20px;
    background-color: rgba(0,0,0,0.03);
    border-radius: 10px;
    cursor: pointer;
    border: none;
    color: var(--color-blue) !important;
    line-height: normal;
}

.btn-menu:hover {
    color: var(--color-blue);
    background-color: rgba(0,0,0,0.08);
    text-decoration: none;
}

.btn-menu:not(:first-child) {
    margin-left: 12px;
}

/********************
 splash
********************/

.splash {
    margin-top: 20px;
    background: rgb(99,161,233);
    background: radial-gradient(circle, rgba(99,161,233,1) 0%, rgba(36,122,223,1) 72%);    height: 340px;
    /*min-height: 300px;*/
    border-radius: 10px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    padding: 40px 40px;
}

.splash .content {
    text-align: center;
    max-width: 800px;
    text-shadow: 2px 2px 4px rgba(128, 0, 0, 0.42);
}

.splash .content i {
    font-size: 46px;
    margin-bottom: 8px;
}

.splash .content .greeting {
    text-align: center;
    font-size: 40px;
    font-weight: 500;
}

.splash .content h1 {
    color: white;
    font-size: 18px;
}

/*.splash .content p {*/
/*    text-align: center;*/
/*    margin-bottom: 0;*/
/*}*/

/********************
 SECTION
********************/

section {
    /*padding: 40px 0 40px 0;*/
}

section.dark {
    background-color: #f1f1f1;
}

section.darker {
    background-color: #ddd;
}

section.intro {
    text-align: center;
    padding-bottom: 0;
    margin-bottom: 32px;
}

section.intro .intro-icon {
    color: var(--color-blue);
    font-size: 46px;
    margin-bottom: 30px;
}

section.intro h1:focus-visible {
    outline: none !important;
}

section.intro h2 {
    margin-top: 20px;
}

section.intro p {
    margin-top: 20px;
    margin-bottom: 0;
}

/********************
 categories
********************/

.category-sm {
    background-color: var(--color-light-blue);
    color: var(--color-dark-blue);
    font-size: 16px;
    font-weight: 500;
    padding: 16px;
    border-radius: 10px;
    transition-duration: 0.3s;
}

.category-sm:hover {
    background-color: #cedffd;
    cursor: pointer;
}

.category-sm.active {
    background: linear-gradient(90deg, #316cb4 0%, #4b86ce 100%) !important;
    color: white;
}

/********************
 text input
********************/

::placeholder {
    color: #b3cce6;
    opacity: 1; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12 -18 */
    color: #b3cce6;
}

@media only screen and (max-width: 600px) {
    ::placeholder {
        font-size: 15px;
    }

    ::-ms-input-placeholder { /* Edge 12 -18 */
        font-size: 15px;
    }
}

input[type="text"] {
    font-size: 18px;
    padding: 20px;
    border: 1px solid #E7EDFD;
    border-radius: 10px;
    width: 100%;
}

input[type=text]:focus {
    outline: none !important;
    border-color: #E7EDFD;
}

/********************
 select input
********************/

select {
    font-size: 18px;
    padding: 20px;
    border: 1px solid #E7EDFD;
    border-radius: 10px;
    width: 100%;
}

select:has(option[value=""]:checked) {
    color: #b3cce6;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

/********************
message
********************/

.message {
    background-color: #f6f6f6;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    font-size: 15px !important;
}

.message h1, .message h2, .message h3, .message h4, .message h5 {
    font-size: 15px !important;
}

.message:not(:first-child) {
    margin-top: 12px;
}

.message.gpt {
    background-color: #E7EDFD;
}

.message i {
    color: #ccc;
}

.message.gpt i {
    color: var(--color-blue);
}

.message ol {
    margin-bottom: 16px;
}

.message ul {
    margin-bottom: 16px;
}

/*.message ul li:first-child {*/
/*    padding-top: 4px;*/
/*    margin-bottom: 0 !important;*/
/*}*/

/*.message ol li:first-child {*/
/*    padding-top: 4px;*/
/*    margin-bottom: 0 !important;*/
/*}*/

/*.message p + ul {*/
/*    margin-bottom: 0;*/
/*}*/

/*.message p + ol {*/
/*    margin-bottom: 0;*/
/*}*/

.message p:last-child {
    margin-bottom: 0;
}

/********************
 footer
********************/

footer .content {
    background-color: #fafafa; 
    border-radius: 10px; 
    padding: 20px; 
    margin: 20px 0;
}

/********************
 TAG DUO
********************/

.tag-duos {
    font-size: 14px;
}

.tag-duo {
    display: inline-block;
    margin-bottom: 12px;
    color: white;
}

.tag-duo-title {
    background-color: var(--color-blue);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    padding: 6px 12px 7px 12px;
}

.tag-duo-description {
    background-color: var(--color-medium-blue);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 6px 12px 7px 12px;
}

.tag-duo:not(:first-of-type) {
    margin-left: 6px;
}

.tag-duo.gray .tag-duo-title {
    background-color: #aaa;
}

.tag-duo.gray .tag-duo-description {
    background-color: #bbb;
}

.tag-duo.orange .tag-duo-title {
    background-color: #ff751a;
}

.tag-duo.orange .tag-duo-description {
    background-color: #ff944d;
}

.tag-duo.red .tag-duo-title {
    background-color: #ff4d4d;
}

.tag-duo.red .tag-duo-description {
    background-color: #ff8080;
}

.tag-duo.green .tag-duo-title {
    background-color: #009900;
}

.tag-duo.green .tag-duo-description {
    background-color: #00b300;
}

.tag-duo.action:hover .tag-duo-title {
    background-color: var(--color-dark-blue);
}

.tag-duo.action:hover .tag-duo-description {
    background-color: var(--color-blue);
}



.fade-in {
    opacity: 1;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 2s;
}

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/********************
 FORM
********************/

.form-fields {
    margin-bottom: -10px !important;
}

.form-field {
    margin-bottom: 10px;
}

label {
    color: #999999;
    font-size: 15px;
    margin-bottom: 6px;
}

.form-buttons {
    margin-top: 16px;
}

.form-buttons .btn:not(:first-child) {
    margin-left: 6px;
}

.form-fields + .form-buttons-bottom-between {
    margin-top: 15px;
}

.form-buttons-bottom-between {
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
}