header {
    display: flex;
    position: relative;
    align-items: center;
    /* background: #E8CBC0; */
    background: linear-gradient(to right, rgba(157, 159, 165, 0.5), rgba(232, 203, 192, 0.5));
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1 !important;
}

header img {
    position: absolute;
    height: 80%;
    width: auto;
    /* Adjust as needed */
    left: 8px;
    /* top: 40%; */
    /* margin-top: 5px; */
    /* Add margin to the top */

    /* Add margin to the bottom */
    /* Adjust as needed */

    transform: translateY(-50%);
}

header h2 {
    text-align: center;
    color: white;
    width: 100%;

}

body {
    padding-top: 100px;
    /* Adjust as needed */
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    font-size: normal;
    /* font-style: italic; */
}

p {
    line-height: 3;
    /* Adjust as needed */
}

.italic-text {
    font-style: italic;
}

.narrow-dropdown {
    width: auto;
    /* Or a specific width if preferred */
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px;


}

.quiz-question p {
    display: inline;
    /* This makes the text flow inline */
}

.btn,
.btn-group .btn {
    border-radius: 0 !important;

    /* Overrides Bootstrap's default rounded corners */
}



#actionButton {
    background: grey;
    border: none;
    /* Removes the default button border */
    color: white;
    /* Sets the button text color */
    transition: background 0.3s, color 0.3s;
    /* Adds a transition effect when the background and color change */
}

#actionButton:hover {
    background: lightgray;
    /* Darker gradient */
    color: black;
    /* White text */
}


/* Targeting all Bootstrap custom select dropdowns */
.custom-select {
    border-radius: 0 !important;
    /* Overrides Bootstrap's default rounded corners */
}

.explanation {
    display: none;
}
/* 
.explanation0 {
    display: none;
} */


.icon:hover {
    transform: scale(1.2);
    /* Increase the size of the icon */
    transition: transform 0.3s ease-in-out;
    /* Animate the transformation */
}

.bg-success {
    background-color: rgba(0, 255, 0, 0.1) !important;
    /* Transparent green */
}

.bg-danger {
    background-color: rgba(255, 0, 0, 0.1) !important;
    /* Transparent red */
}

div.answer-explanation {
    transition: all 0.3s ease-in-out;
}

div.answer-explanation:hover {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.square-popup {
    border-radius: 0 !important;
}

.square-button {
    border-radius: 0 !important;
}

.swal2-confirm.btn.btn-primary {
    background: grey;
    /* Darker gradient */
    color: white;
    ;
}

.swal2-confirm.btn.btn-primary:hover {
    background: darkgrey;
    /* Change as needed */
    color: white;
}

.swal2-confirm.btn.btn-primary:active {
    background: black;
    /* Change as needed */
    color: white;
}


#fleks {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.table-hover tbody tr:hover {
    background-color: rgb(84, 84, 84);
    color: white;
    /* Light grey, for example */
}


.effectLinks {
    overflow: hidden;
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: white;
    background: rgba(21, 23, 26, 0.5);
    padding: 10px;
    width: 100%;
}

.effectLinks::after {
    content: attr(data-replace);
    position: absolute;
    left: 0;
    padding-left: 10px;
    transform-origin: 100% 50%;
    transform: translate3d(200%, 0, 0);
    transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.3s ease;
    /* added opacity transition */
    color: white;
    background: rgba(21, 23, 26, 1);
    opacity: 0;
    /* added this line */
}

.effectLinks:hover::after {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    color: rgb(43, 150, 226);
    /* added this line */
}

.effectLinks:hover {
    background: rgba(21, 23, 26, 1);
    color: rgb(43, 150, 226);
}

.effectLinks span {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

.effectLinks:hover span {
    transform: translate3d(-200%, 0, 0);
}

.number-circle {
    display: inline-block;
    margin-right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #8c8c8c;
    color: #fff;
    text-align: center;
    line-height: 30px;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
    z-index: 1000;
    position: relative;
    font-style: italic;
    /* Ensure numbers are italic */
    font-family: 'Roboto', sans-serif;
    /* Specify font family if needed */
    padding-left: 2px;
    /* Adjust left padding to visually center italic text */
    padding-right: 4px;
    /* Adjust right padding if necessary */
}

.number-circle:hover {
    transform: scale(1.2);
    background-color: #cacaca;
    color: black;
}

.frame {
    border: 1px solid rgb(162, 162, 162);
    /* Adjust as needed */
    padding: 1px;
    /* Adjust padding as needed */
    font-style: italic;
    /* Apply italic style to text */
    /* transform: skewX(-10deg); */
    /* Skew frame to match italic style */
    /* Additional styles for better appearance */
    display: inline-block;
    /* Adjust layout */
    margin: 1px;
    /* Add some margin around the frame */
    background-color: rgba(0, 255, 0, 0.1);

    /* Background color for visibility */
}