@font-face {
    font-family: 'Montserrat';
    src: url('/font/montserrat/Montserrat-VariableFont_wght-fb74ad9f1b527a0e55d373485a44d305.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --text-section-bg: #fde3ab;
}

body {
    background: var(--text-section-bg);
    font-family: Montserrat, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 1.5;
    align-items: center;
    margin: 0;
}

@media screen and (max-width: 600px) {
    .hero-body {
        padding-left: 7%;
        padding-right: 7%;
    }
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
    .hero-body {
        padding-left: 10%;
        padding-right: 10%;
    }
}

@media screen and (min-width: 1025px) {
    .hero-body {
        padding-left: 6vw;
        padding-right: 6vw;
    }
}

.hero.is-dark .hero-body {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

input.input:focus,
textarea.textarea:focus,
.select select:focus {
    border-color: #363636;
    box-shadow: 0 0 0 0.15rem rgba(54, 54, 54, 0.25);
    outline: none;
}

.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    border-radius: 15px;
    overflow: hidden;
}

.header {
    margin: 0;
}

a {
    text-decoration: none;
    color: #3c56cc;
}

details > summary {
    cursor: pointer;
}

#result {
    padding-right: 1vw;
}

ul.is-list-style-none, ol.is-list-style-none {
    list-style-type: none;
    margin: 0;
}

.mb-li li {
    margin-bottom: 10px;
}

.is-cursor-pointer {
    cursor: pointer !important;
}

.transform {
    transform: translate(0) scale(1) rotate(0) skew(0);
}

.is-duration-300 {
    transition: all 0.3s ease-in-out;
}

.shadow-md {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.05) !important;
}

.shadow-form {
    box-shadow: 0 0.5em 1.5em -0.125em rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(10, 10, 10, 0.02);
}

.hover-translate-y:hover {
    z-index: 10;
    transform: translateY(-0.3rem) !important;
}

.hover-shadow-xl:hover {
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.2), 0 10px 20px -5px rgba(0, 0, 0, 0.1) !important;
}

.buttons-task {
    margin-top: 1rem;
}

.break-long-word {
    word-break: break-word;
}

.image:hover .image-transform-scale {
    transform: scale(1.4);
    transition: transform 0.3s ease;
}

.level-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.level-up-icon {
    width: 70px;
    height: 70px;
}

#level-up-left-icon {
    margin-right: 10px;
}

#level-up-right-icon {
    margin-left: 10px;
}

.tag:not(body) {
    font-size: 18px;
}

.tag-with-indent {
    margin-left: 30px;
}

.is-bordered-span {
    border: 1px solid #343333;
    padding: 10px;
    border-radius: 4px;
}

.tag:not(body).is-light-green, .is-light-green {
    background-color: #85de85;
    color: #000000b3;
}

.is-faded-red {
    background-color: #fa97aa;
    color: #000000b3;
}

.is-faded-green {
    background-color: #99e399;
    color: #000000b3;
}

.is-white {
    background-color: #ffffff;
    color: #000000b3;
}

.button.is-bright-green {
    background-color: #3db147;
    border-color: transparent;
    color: #fff;
}

button.is-bright-green.is-hovered, .button.is-bright-green:hover {
    background-color: #3aa843;
    border-color: transparent;
    color: #fff;
}

.tag:not(body).is-dark-green, .is-dark-green {
    background-color: #008700;
    color: rgb(255, 255, 255);
}

.tag:not(body).is-light-red, .is-light-red {
    background-color: #fa869d;
    color: #000000b3;
}

.tag:not(body).is-bright-blue, .is-bright-blue {
    background-color: #83e1f8;
    color: #000000b3;
}

.tag:not(body).is-violet, .is-violet {
    background-color: #b889ff;
    color: #000000b3;
}

.tag:not(body).is-bright-carrot, .is-bright-carrot {
    background-color: #fe5f3f;
    color: #000000b3;
}

.tag:not(body).is-semi-bright-carrot, .is-semi-bright-carrot {
    background-color: rgba(254, 95, 63, 0.82);
    color: #000000b3;
}

.tag:not(body).is-dark-red, .is-dark-red {
    background-color: #c70404;
    color: rgb(255, 255, 255);
}

a.tag:not(body).is-light-red {
    background-color: #fa869d;
    color: #0019ad;
}

.tag:not(body).is-light-blue, .is-light-blue {
    background-color: #97d0ff;
    color: #000000b3;
}

.tag:not(body).is-dark-blue {
    background-color: #80a2ef;
    color: #000000b3;
}

.tag:not(body).is-purple, .is-purple {
    background-color: #b497ff;
    color: #000000b3;
}

.tag:not(body).is-light-yellow, .is-light-yellow {
    background-color: #ffe78e;
    color: #000000b3;
}

.tag:not(body).is-light-orange, .is-light-orange {
    background-color: #ffca80;
    color: #000000b3;
}

.is-glossy-bone {
    background-color: #e0dedb;
    background-image: linear-gradient(45deg, #e0dedb, #f3f2ee);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #333;
}

.tag:not(body).is-carrot, .is-carrot {
    background-color: #f0802f;
    color: #000000b3;
}

.no-indent {
    text-indent: 0;
}

.content .no-indent-figure {
    margin-left: 0;
    margin-right: 0;
}

.has-text-purple {
    color: #5e01aa;
    font-weight: bold;
}

.has-text-green {
    color: #117900;
    font-weight: bold;
}

.task-star {
    color: #f9a826;
}

.custom-frame {
    border: 2px solid #485fc7;
    padding: 20px;
    border-radius: 5px;
    margin: 20px;
    font-weight: bold;
    text-align: center;
}

.custom-frame p {
    text-indent: 0;
}

.code-font {
    font-family: Monospaced, sans-serif;
}

pre {
    border-radius: 8px;
}

.a-contact:hover svg path {
    fill: black;
}

@keyframes flip {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

.flippable {
    animation: flip 2s infinite;
}

.custom-inputs .field {
    margin-bottom: 10px;
}

.custom-inputs input[type="checkbox"],
.custom-inputs input[type="radio"] {
    opacity: 0;
    position: absolute;
    z-index: -1;
}

.custom-inputs input[type="checkbox"] + span,
.custom-inputs input[type="radio"] + span {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    user-select: none;
    font-size: 1.2rem;
}

.custom-inputs input[type="checkbox"] + span:before,
.custom-inputs input[type="radio"] + span:before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    border-radius: 3px;
    background-color: transparent;
    transition: background-color 0.3s, border-color 0.3s;
}

.custom-inputs input[type="radio"] + span:before {
    border-radius: 50%;
}

.custom-inputs input[type="checkbox"]:checked + span:before {
    background-color: #efad57;
    border-color: #efad57;
}

.custom-inputs input[type="radio"]:checked + span:before {
    background-color: #efad57;
    border-color: #efad57;
}

.custom-inputs input[type="checkbox"]:checked + span:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 3px;
    width: 8px;
    height: 14px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-inputs input[type="radio"]:checked + span:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

.radio.custom-radio input[type="radio"] {
    margin-right: 5px;
    accent-color: #363636;
}

.navigation-link {
    text-decoration: none;
    border-bottom: 1px dashed;
}

.navigation-link:hover {
    border-bottom: 1px solid;
}

.rounded-section {
    border-radius: 30px;
}

.is-code-gray-background {
    background-color: #f5f5f5;
}

@media (max-width: 699px) {
    #sidenavToggleArrow {
        display: none;
    }
}

#task-section, #task-section-sub {
    margin-left: 5vw;
    margin-right: 5vw;
    margin-top: 2vw;
    margin-bottom: 3vw;
    padding-left: 1rem;
    padding-right: 1rem;
}

.transparent-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.table-container {
    border-radius: .25rem;
}

.table {
    border-radius: inherit;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead tr:first-child th:first-child {
    border-top-left-radius: 0.25rem;
}

.table thead tr:first-child th:last-child {
    border-top-right-radius: 0.25rem;
}

.table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 0.25rem;
}

.table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 0.25rem;
}

.button {
    border-radius: 8px;
}

.toast {
    position: fixed;
    bottom: 2rem;
    right: 5rem;
    background-color: #363636;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    box-shadow:
            0 4px 12px rgba(0, 0, 0, 0.3),
            0 0 8px 2px rgba(255, 255, 255, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(20px);
    z-index: 1000;
    max-width: 300px;
    font-size: 1rem;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.button-login:hover, .button-premium:hover, .button-next:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.button-next {
    padding: 0.5em 1em;
    transition: background-color 0.2s;
}

.button-next:hover {
    background-color: rgba(255, 255, 255);
}

.button-premium {
    padding: 0.5em 1em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s;
}

.button-login {
    padding: 0.5em 1em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s;
}

.hero.is-dark .field .radio span,
.hero.is-dark .field .checkbox span {
    color: #ffffff;
    transition: color 0.3s ease;
}

.hero.is-dark .field .radio:hover span,
.hero.is-dark .field .checkbox:hover span {
    color: #f0e68c;
}

#achievement-notification-container {
    position: fixed;
    bottom: 55px;
    right: 10px;
    width: 320px;
    z-index: 9999;
}

.achievement-notification {
    display: flex;
    align-items: center;
    background-color: #ffebc8;
    border-left: 5px solid #ffa62b;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: translateX(100%);
}

.achievement-notification.fade-in {
    opacity: 1;
    transform: translateX(0);
}

.achievement-notification.fade-out {
    opacity: 0;
    transform: translateX(100%);
}

.achievement-notification img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.achievement-notification .delete {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    background-color: transparent !important;
    transition: color 0.3s ease;
}

.achievement-notification .delete::after,
.achievement-notification .delete::before {
    background-color: #363636 !important;
}

.achievement-notification span {
    font-weight: 600;
    color: #363636;
    font-size: 1rem;
}

.achievement-notification .achievement-link {
    display: flex;
    align-items: center;
}

#topic-figure {
    margin-left: 0;
}

.bordered-img {
    border: 1px solid #4a4a4a;
    border-radius: 15px;
}

.key {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    margin: 0 0.2rem;
    font-size: 0.85rem;
    font-family: monospace, "Courier New";
    color: #363636;
    background-color: #f5f5f5;
    border: 1px solid #bdbdbd;
    border-radius: 5px;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}

#task-success-icon {
    color: #efad57;
}

#task-error-icon {
    color: #ff4b6d;
}

/* BRU STYLE START */
#bru-button {
    color: white;
    border: 2px solid #363636;
    font-weight: bold;
    box-shadow: 4px 4px 0 #f9a826;
    transition: all 0.15s ease;
}

#bru-button:hover {
    background-color: #f9a826;
    color: #27282d;
    box-shadow: 4px 4px 0 #363636;
    transition: background-color 0.5s ease-out, color 0.3s ease;
}

.bru-message {
    width: 100%;
    border: 2px solid black;
    color: black;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
}

.bru-message .bru-message-body {
    font-size: 0.875rem;
    font-weight: bold;
}

.bru-message.is-warning {
    background-color: #fcd34d;
}

.bru-message.is-success {
    background-color: #bbf7d0;
}

.bru-box {
    border: 3px solid black;
    background-color: #fffef5;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 6px 6px 0 black;
}

.bru-box textarea.textarea,
.bru-box input.input,
.bru-box .select select {
    background-color: #fff8dc;
    border: 2px solid black;
    color: black;
    font-size: 1rem;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    border-radius: 8px;
}
/* BRU STYLE END */