* {
    font-family: "Times New Roman", Times, serif;
}

body {
    overflow-x: hidden; /* Hides only the horizontal scrollbar */
}

p {
    font-family: Arial, Helvetica, sans-serif;
}

table {
    font-family: "Lucida Console", "Courier New", monospace;
}


/* to remove text decoration */
.no-decoration {
    text-decoration: none;
}

.card-text {
    color: #231111;
}

/*form related content */
.form-row {
    margin: 0.5rem;
}

.control-label {
    font-weight: bold;

}

.form-check-label {
    font-weight: bold;
    font-size: 1.2rem;
}

/*user devices alert*/
#alertBox {
    display: none;
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/*qr code*/
.qr-code-generator {
    width: 500px;
    margin: 0 auto;
}

.qr-code-generator * {
    box-sizing: border-box;
}

#qrcode {
    width: 128px;
    height: 128px;
    margin: 0 auto;
    text-align: center;
}

#qrcode a {
    font-size: 0.8em;
}

.qr-url, .qr-size {
    padding: 0.5em;
    border: 1px solid #ddd;
    border-radius: 2px;
    box-sizing: border-box;
}

.qr-url {
    width: 79%;
}

.qr-size {
    width: 20%;
}

.generate-qr-code {
    display: block;
    width: 100%;
    margin: 0.5em 0 0;
    padding: 0.25em;
    font-size: 1.2em;
    border: none;
    cursor: pointer;
    background-color: #e5554e;
    color: #fff;
}

/*nav bar related*/
#navbarCustom {
    background-color: #e3f2fd;
}

#imgGithub {
    padding-top: 0.250rem;
    width: 15%;
}

#imgGoogle {
    padding-top: 0.250rem;
    width: 20%;
}

/*sweet alert */
.swal-overlay {
    background-color: rgba(95, 100, 96, 0.45);
}

.swal-text {
    text-align: center;
}

/*select2 custom styles*/
.select2-container {
    width: 100% !important;
}

.my-button-class {
    background-color: #ea0859;
    color: white;
}

/*tooltip style*/
.tooltip_custom {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip_custom .tooltiptext {
    visibility: hidden;
    background-color: #f1ebeb;
    color: #041a2f;
    text-align: left;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: -290%;
    /*margin-left: -60%;*/
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip_custom .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip_custom:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/*table  caption */
caption {
    background: #79b1d3;
    color: #231111;
    caption-side: top;
    text-align: center;
    font-size: 24px;
}

.moving-text {
    overflow: hidden; /* to prevent the text from overflowing the div */
    animation: move-left-to-right 15s linear infinite; /* adjust the time and animation as needed */
}

@keyframes move-left-to-right {
    0% {
        transform: translateX(10%);
    }
    100% {
        transform: translateX(70%);
    }
}

/*add mcq html page css*/
#question, #answer1Section, #answer2Section, #answer3Section, #answer4Section, #answer5Section {
    margin: 0.4rem;
    padding: 0.8rem;
    border-radius: 10px;
}

#question:hover, #answer1Section:hover, #answer2Section:hover, #answer3Section:hover, #answer4Section:hover, #answer5Section:hover {
    box-shadow: 0 0 11px rgba(33, 33, 33, .2);
}

.offcanvas.fade {
    transition: visibility 0s linear 0.5s, opacity 0.5s ease-in-out;
}

.offcanvas.show {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.offcanvas:not(.show) {
    visibility: hidden;
    opacity: 0;
}

/*this is forums releated css */
.singlePost:hover {
    background-color: #9dec83;
}

.pro_image {
    width: 80%;
}

/*mainwindow and post card component manage*/
.u-component {
    width: 13rem;
    height: 12rem;
    text-align: center;
    text-wrap: inherit;
    border-radius: 10% 10% 50% 50%;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.5);
    transition: transform ease 0.5s, box- ease 0.5s;
}

.u-component:hover {
    transform: scale(1.2);
    box-shadow: 0 10px 20px 2px rgba(0, 0, 0, 0.25);
}

/*chat button*/
/* Position the button fixed to the bottom right */
.chat-btn {
    position: fixed;
    bottom: 35px;
    right: 20px;
    z-index: 1000;
    border-radius: 50px;
    padding: 15px;
    border: 5px solid;
    background-color: rgba(121, 127, 131, 0.55);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: borderColorChange 3s infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.chat-btn:hover {
    transform: scale(1.2); /* Scale up the button */
}

.chat-btn i {
    transition: transform 0.3s ease;
}

.chat-btn:hover i {
    transform: scale(1.5);
}

/* Keyframe animation to cycle through border colors */
@keyframes borderColorChange {
    0% { border-color: #ff5733; }
    25% { border-color: #33ff57; }
    50% { border-color: #55efe9; }
    75% { border-color: #ff33b5; }
    100% { border-color: #ff5733; }
}

/*X-Small devices (portrait phones, less than 576px)*/
/*No media query for `xs` since this is the default in Bootstrap*/

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
}

/*X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
}

/*XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {
}

/*Small devices (landscape phones, 576px and down)*/
@media (max-width: 576px) {
    .pro_image {
        width: 20%;
    }

    .singlePost {
        align-items: center;
        text-align: center;
    }
}

.custom-nav {
    background-color: #f8f9fa; /* Light gray background */
    padding: 15px;
    border-radius: 8px; /* Rounded corners */
}
.custom-nav .nav-link {
    color: #333; /* Dark text */
    font-weight: 500;
    transition: 0.3s;
}
.custom-nav .nav-link:hover {
    background-color: #e9ecef; /* Slightly darker hover effect */
    border-radius: 5px;
}