/* GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: lightblue;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    position: relative;
    font-family: "Artifakt Element", sans-serif;
    font-size: 1rem;
}

.main {
    width: 80%;
    min-height: 100vh;
    border: solid grey; /* to be removed*/
    background-color: cadetblue;
}

h3 {
    /*font-family: cursive;*/
    color: darkmagenta;
    background-color: burlywood;
    padding: 3px 10px 8px;
    display: inline-block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-weight: 600;
    font-size: 1.2rem;
}

/* PROBLEM USER-PROMP SECTION */
.problem {
    border-bottom: 2px solid black;
}

.problem__question-prompt-level {
    /* ================ */
    display: flex;
    justify-content: space-between;
    /* ================ */

    /*border: 1px solid yellow;*/
    background-color: burlywood;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 1.5rem;
}

.problem__question-prompt {
    /*border: 1px solid yellow;*/
    margin-top: 1.5rem;
}

.problem__question p {
    margin-left: 2rem;
    line-height: 2rem;
    text-indent: 2rem;
}

.problem__holder {
    margin: 1.5rem 3rem 0 3rem;
    /*border: solid red;*/
}

.problem__question-prompt {
    padding-left: 1rem;
    padding-bottom: 1.5rem;
    min-width: 70%;
    /*border: solid green;*/
}

.problem__multiple-choices {
    margin: 1rem 3rem 0;
}

.problem__multiple-choices ol li {
    /*margin-top: 1rem;*/
    padding: 6px;
}

.problem__answer-form {
    text-align: center;
    margin-top: 1.5rem;
}

.problem__answer-form input, button {
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
    background-color: aliceblue;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
    transition: background-color 0.4s ease;
}

.problem__answer-form label {
    font-size: 1rem;
}

.problem__answer-form .fa-check {
    margin-left: 0.5rem;
}

.problem__answer-form input {
    max-width: 12rem;
}

.problem__answer-form input:hover, button:hover {
    background-color: lightgrey;
}

.problem__answer-form img {
    vertical-align: middle;
    margin-left: 0.5rem;
}

.problem__levels {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    margin-top: 35px;
    margin-right: 10px;
    margin-bottom: 1.5rem;
    /*border: 1px solid crimson;*/
}

.problem__levels div {
    margin: 4px 20px 12px;
}

.problem__levels label {
    background-color: green;
    padding: 5px 14px;
    /*border-radius: 18px;*/
}

input[type='radio']:checked + label {
    background: #0096FF;
    color: white;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.problem__levels input {
    appearance: none;
}

.problem__input-error {
    display: none;
    color: red;
    margin-top: 1rem;
}

/* SOLUTION TIPS SECTION */
.solution-tips {
    /*border: 1px solid red;*/
    margin-top: 1.5rem;
    /*padding-bottom: 0.5rem;*/
    border-bottom: 2px solid black;
}

.solution-tips_holder {
    margin-left: 3rem;
    /*border: 1px solid red;*/
}

.solution-tips__content-holder {
    margin-top: 0;
    margin-bottom: 1.5rem;
    margin-right: 3rem;
    background-color: burlywood;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-image: url('https://project2205.iomath.io/wp-content/themes/twenty-twenty-four-child/io-project/resource/images/notepad-transparent-background-3.png');
    background-repeat: no-repeat;
    background-size: 100% 96%;
    background-position: center;
    /*border: 1px solid blue*/
}

.solution-tips__content{
    background-color: transparent;
    /*padding: 1rem 2rem 3rem;*/
    padding: 1rem 2rem 3rem;
    border-radius: 10px;
    color: #333;
    display: block;
    font-size: 1rem;
    margin: 0 2rem 2rem 7rem;
    width: 80%;
    line-height: 2rem;
    /*border: 1px solid crimson;*/
}

.solution-tips__content div {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.solution-tips__content p {
    text-indent: 30px;
    margin-bottom: 0.5rem;
}

.solution-tips__content ol {
    line-height: 2rem;
    margin-left: 1rem;
    list-style-type: square;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* SOLUTION DETAILS */
.solution-details {
    border-bottom: 2px solid black;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}
.solution-details__holder {
    /*border: solid blue;*/
    margin-left: 3rem;
    margin-top: 1rem;
    visibility: visible;  /* SET THIS TO HIDDEN */
}

.solution-details__short-answer {
    display: flex;
    align-items: center;
    margin-right: 3rem;
    /*border: 1px solid red;*/
    background-color: burlywood;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.solution-details__short-answer p {
    margin: 0 3rem;
}

/*
.solution-details__short-answer p:nth-child(2) {
    margin-left: 0.2rem;
    margin-right: 0.8rem;
}

.solution-details__short-answer p:last-child {
    margin-left: 0;
}
*/

.solution-details__details-holder {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    /*border: 1px solid red;*/
}

.solution-details__steps-holder {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    background-color: burlywood;
    margin-right: 3rem;
    /*border: 1px solid red;*/
}

.solution-details__steps {
    margin: 0 2rem;
    padding: 1rem;
    /*border: 1px solid red;*/
}

.solution-details__steps p {
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
    line-height: 2rem;
}

/* BUTTONS/ICONS */
.fa-check {
    font-size: 1.5rem;
    color: green;
}

.collapse-btn {
    width: 1.4rem;
    height: 1.4rem;
    padding: 0.6rem;
    position: relative;
    transform: rotate(90deg);
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.fa-greater-than {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.greater-than-btn {
    display: flex;
    align-items: center;
}

.greater-than-btn h3 {
    margin-left: 10px;
}

.next-btn-holder {
    display: none;
    text-align: center;
    position: fixed;
    top: 50vh;
    right: 10%;
    transform: translateY(-50%);
    transition: transform 0.5s ease-in-out;
}

#next-btn {
    font-size: 1.5rem;
    padding: 6px 10px;
    border-top-left-radius: 15px;
    background-color: lightpink;
}

#next-btn:hover {
    background-color: #DB7093;
    transition: transform 0.4s ease;
}

/*
.next-button {
    display: none;
    text-align: center;
    position: fixed;
    top: 50vh;
    right: 10%;
    transform: translateY(-50%);
    transition: transform 0.5s ease-in-out;
}
*/

/* FLYOUT-BOX ANIMATIONS */
.flyout-box {
    width: 15rem;
    height: 20rem;
    position: absolute;
    margin: 0;
    top: 50vh;
    left: 50vw;
    animation: cartoon 3s 1;
    transform: translate3d(-100vw, -50%, 0) scale(1, 1) rotate(360deg);
}

.flyout-box img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

@keyframes cartoon{
    0% {
        transform: translate3d(-100vw, -50%, 0) scale(0.2, 0.2) rotate(360deg);
    }
    30% {
        transform: translate3d(-50%, -50%, 0) scale(0.5, 0.5) rotate(0deg);
    }
    50% {
        transform: translate3d(-50%, -50%, 0) scale(1.2, 1.2) rotate(0deg);
    }
    70% {
        transform: translate3d(-50%, -50%, 0) scale(0.5, 0.5) rotate(0deg);
    }
    100% {
        transform: translate3d(-100vw, -50%, 0) scale(0.2, 0.2) rotate(360deg);
    }
}

/* Illustrative User-input Instruction Examples (ON-OFF) */
.problem__input-instructions {
    display: none;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    margin-left: 3rem;
}

.problem__input-instructions ul, .sol-comments ul {
    list-style: square;
    margin-left: 0;
    padding-left: 40px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.problem__input-instructions ul li, .sol-comments ul li {
    padding-bottom: 10px;
}

.problem__examples-table {
    text-align: left;
    border-collapse: collapse;
    background-color: #f6f6f6;
    min-width: 400px;
    font-size: 0.8rem;
    margin: 1rem 2rem 1.5rem;
}

.problem__examples-holder {
    position: relative;
}

.problem__examples-holder img {
    position: absolute;
    top: 1px;
    left: -0.1rem;
    z-index: 1;
    background-color: darkgrey;
}

td, th {
    border: 1px solid #999;
    padding: 10px;
}
th {
    background: grey;
    color: white;
    border-radius: 0;
    /*position: sticky;*/
    top: 0;
    padding: 9px;
    text-align: center;
}

/* new */
.tips-heading {
    /*background-color: #0096FF;*/
    background-image: linear-gradient(to right, #0096ff, lightblue);
    padding: 5px 8px;
    border-radius: 4px
}

.steps-heading {
    background-image: linear-gradient(to right, darkgray, lightgray);
    padding: 6px;
}

/*
 may not be in use
.sol-check h3 {
    border: none;
    border-bottom-style: double;
    background-color: transparent;
    color: salmon;
    margin-left: 3rem;
}
.solution-details__details-holder h4 {
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 1px solid white;
}

.check-detail {
    display: flex;
    justify-content: space-evenly;
}

.check-detail p {
    border: 1px solid red;
    padding: 10px;
}

.sol1, .sol2 {
    text-align: center;
}

.fa-circle-check {
    color: green;
    font-weight: 500;
    display: none;
}

.fa-circle-xmark {
    color: red;
    font-weight: 500;
    display: none;
}
*/