﻿
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,700;0,900;1,700;1,900&family=Roboto:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
.logo-img {
    width: 64px;

}
/*body {
    background: url(../Images/quiz.png) no-repeat center center fixed;
    background-size: cover;
    height: 100%;
    margin: 0;  Remove default margin 
    position: relative;  Allow the pseudo-element to position correctly 
}*/

body {
    background: linear-gradient(to right, rgba(0, 123, 255, 0.3), rgba(255, 0, 150, 0.3)), url(../Images/quiz.png) no-repeat center center fixed;
    background-size: cover;
    height: 100%;
    margin: 0; /* Remove default margin */
    position: relative; /* Allow the pseudo-element to position correctly */
}




    body::before {
        content: "";
        position: fixed; /* Keep it fixed to cover the viewport */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(95, 158, 160, 0.6); /* Cadetblue with some transparency */
        z-index: -1; /* Ensure it stays behind other content */
    }

    body::after {
        content: "";
        position: fixed; /* Keep it fixed to cover the viewport */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.4); /* White with some transparency */
        z-index: -1; /* Ensure it stays behind other content */
    }

/* Class for custom background image */
.custom-background {
    background-size: cover;
    background-position: center;
    position: relative; /* Allow children to be positioned correctly */
}

    /* Hide the default body background when custom background is set */
    .custom-background body {
        background: none; /* Remove the default body background */
    }

html, body {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: dimgray;
    text-align: center;
    text-shadow: 0.5px 0.5px 2px rgba(0, 0, 0, 0.15); /* Adjust the shadow values as needed */
}

.custom-paragraph {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: dimgray;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15); /* Adjust the shadow values as needed */
}

a .navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
}
/*.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;*/ /* Vertically center the text there */
/*}*/

/*.progress, .alert-success {
    position: fixed;
    height: 100px;
    top: 50%;
    left: 0;
    width: 90%;
    margin-left: 5%;
}*/


.card {
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 10px;
}

.card-quiz-header {
    color: black;
    font-size: 1.5rem;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 10px;
    padding: 10px;
    padding-left: 20px;
    background-color: white;
}


.card-header {
    background-color: transparent;
    display: flex;
    padding: 5px;
    padding-left: 20px;
    padding-right: 20px;

}

.card-body {
    display: flex;
    flex-direction: column;
    padding: 5px;
    padding-left: 20px;
    padding-right: 20px;
}
.card-footer {
    display: flex;
    padding: 5px;
    padding-left: 20px;
}

.card-title {
    flex-grow: 1;
    padding-top: 5px;
    font-size: 1.1rem;
}
.btn-main-quiz {
    color: #FFFFFF;
    /*background-color: #EEA693;*/
    background-color: #738999;
    padding-left: 2rem;
    padding-right: 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    border-radius: 5px;
    border-width: 3px;
}
    .btn-main-quiz:hover {
        color: #738999;
        border-color: #738999;
        background-color: #FFFFFF;
        border-width: 3px;
    }
.btn-main-question {
    color: #FFFFFF;
    /*background-color: #ACCDB2;*/
    background-color: #736B92;
    padding-left: 2rem;
    padding-right: 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    border-radius: 5px;
    border-width: 3px;
}

    .btn-main-question:hover {
        color: #736B92;
        border-color: #736B92;
        background-color: #FFFFFF;
        border-width: 3px;
    }
.btn-approve,
.btn-reject,
.btn-submit,
.btn-orange {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    border-radius: 5px;
    border-width: 3px;
}

.btn-approve {
    color: white;
    background-color: #738999;
    border-color: #738999;
}

    .btn-approve:hover {
        color: #A7C2CC;
        border-color: #738999;
        background-color: white;
    }

.btn-submit {
    color: white;
    background-color: #736B92;
    border-color: #736B92;
}

    .btn-submit:hover {
        color: #736B92;
        border-color: #736B92;
        background-color: white;
    }

.btn-reject {
    color: white;
    background-color: #7D5C65;
    border-color: #7D5C65;
}

    .btn-reject:hover {
        color: #7D5C65;
        border-color: #7D5C65;
        background-color: white;
    }

.btn-orange {
    color: white;
    background-color: orange;
    border-color: white;
}

    .btn-orange:hover {
        color: orange;
        border-color: orange;
        background-color: white;
    }
.custom-table {
    margin: 30px 0;
    padding: 20px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 10px;
    border-radius: 10px;
}


.table.table-hover td {
    padding: 1px; /* Adjust the padding as needed to reduce row height */
}


.input-section {
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 10px;
    border-radius: 20px;
}


.responsive-iframe-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (height/width) */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    
}

    .responsive-iframe-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }


/* Home page for not logged users */


.quiz-entry {
    display: grid;
    grid-template-columns: 142px 10fr 0px;
    border-radius: 20px;
    margin: 20px 0;
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 10px;
}
.quiz-entry-text {
    display: flex;
    flex-direction: column;
    padding: 10px;
    padding-left: 20px;
    background-color: #FFFFFF;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}
.quiz-entry-text-title {
    flex-grow: 1;
    padding-top: 10px;
}
.quiz-entry-subscribed {
    text-align: center;
    border-right: 3px #EEA693 solid;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    background-color: #EEA693;
    color: #FFFFFF;
    display: flex;
    flex-flow: column;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
/*    font-weight: 200;*/
    font-size: 3.8rem;
    min-height: 142px;
    cursor: pointer;
}


.navbar-toggler {
    background-color: white;

}

.input-description {
    margin-bottom: 0.5rem;
    color: darkgray;
}

    /* (Info) hepl for creating questions */
    .input-description .header {
        cursor: pointer;
    }


    .input-description .content {
        display: none;
    }


    .input-description[open] .content {
        display: block;
    }


/* Styles for the container of question details */
.question-details {
    margin: 1px 0;
    padding: 20px;
    line-height: 1.1;
}

.description {
    font-size: 60px;
}

@media (max-width: 768px) {
    .description {
        font-size: 35px;
    }
}

.custom-body {
    background-color: #2a292e;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.custom-page {
    max-width: none;
    margin-left: 0px;
    margin-right: 0px;
    padding: 5px 7px 0 7px; /* Top: 5px, Right: 10px, Bottom: 0px, Left: 10px */
    background-color: #2a292e;
}

/* Ensure the main content container stretches to fill the screen */
.question-details, .custom-page {
    height: 100%; /* Ensure these containers fill the entire page */
    background-color: #2a292e; /* Background for content */
}

.custom-page-manage-answers {
    max-width: none;
    margin-left: 0px;
    margin-right: 0px;
    /*padding: 5px 7px 0 7px;*/ /* Top: 5px, Right: 10px, Bottom: 0px, Left: 10px */
    /*height: 200vh;*/
    /*background-color: #2a292e;*/
}

    /* Adjust styles for child elements as needed */


/* For details page */
.image-container {
    position: relative;
}

#fullscreenButton {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #333;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

/* Default styles for images and videos */
.image-preview img,
.audio-preview img,
.video-preview video {
    max-width: 100%;
    height: auto;
}

/* Media query for larger screens */
@media (min-width: 768px) {
    .image-preview img,
    .audio-preview img,
    .video-preview video {
        max-width: 60%;
        max-height: 60vh;
    }
}

/* Media query for even larger screens */
@media (min-width: 1200px) {
    .image-preview img,
    .audio-preview img,
    .video-preview video {
        max-width: 50%;
        max-height: 50vh;
    }
}

/* Buttons in quiz header */
@media (max-width: 768px) { /* Adjust the breakpoint as needed */
    .card-quiz-header {
        flex-direction: column;
        align-items: flex-start;
    }

        .card-quiz-header > div:last-child {
            margin-top: 2px;
        }

    .small-screen-btn {
        font-size: 12px; /* Adjust the font size for small screens */
    }
}

.glass-effect {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
}

.glass-effect-menu {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
}

.white-glass-effect {
    border: 1px solid rgba(255, 255, 255, 0.7); /* Slightly more transparent white border */
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.4); /* White background with higher transparency */
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
}

.playquiz-glass-effect {
    border: 1px solid rgba(255, 255, 255, 0.3); /* Semi-transparent white border */
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9); /* White background with some transparency */
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
}

.announce-glass-effect {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9); /* White background with some transparency */
    padding: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
}

.orange-glass-effect {
    border: 1px solid rgba(255, 255, 255, 0.4); /* Slightly brighter border */
    border-radius: 10px;
    background: rgba(238, 166, 147, 0.7); /* Semi-transparent background using #EEA693 */
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Softer shadow */
    backdrop-filter: blur(12px); /* Smooth blur for the glass effect */
    -webkit-backdrop-filter: blur(12px); /* For Safari support */
    color: #e8e8e8; /* Softer light text for contrast */
}



.frosted-list {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
}

    .frosted-list .list-group-item {
        background-color: rgba(255, 255, 255, 0.2); /* Transparent background for list items */
        border: none; /* Remove default Bootstrap borders */
        border-radius: 5px; /* Rounded corners for list items */
        margin-bottom: 10px; /* Space between list items */
        color: dimgray; /* Text color */
        padding: 15px; /* Adjust padding for larger click area */
        transition: background-color 0.3s ease;
    }

        .frosted-list .list-group-item:hover {
            background-color: rgba(255, 255, 255, 0.3); /* Slightly more opaque on hover */
        }

        .frosted-list .list-group-item strong {
            color: black; /* Strong text remains bold */
        }

        .frosted-list .list-group-item span {
            color: darkgray; /* Style for additional points info */
        }



.loading-indicator {
    position: fixed; /* Use fixed positioning to center on the screen */
    top: 50%; /* Move down to the middle of the screen */
    left: 50%; /* Move right to the middle of the screen */
    transform: translate(-50%, -50%); /* Offset the element by half its width and height to center it */
    z-index: 9999; /* Ensure it appears on top of other content */
    text-align: center; /* Center the text inside the loading indicator */
    background-color: rgba(0, 0, 0, 0.8); /* Black background with some transparency */
    border-radius: 8px; /* Round the corners */
    padding: 40px; /* Increased padding for a larger area */
    width: 300px; /* Set a fixed width to make it larger */
    color: white; /* Change text color to white for better contrast */
    display: flex; /* Use flexbox to center items */
    flex-direction: column; /* Arrange items in a column */
    align-items: center; /* Center items horizontally */
    justify-content: center; /* Center items vertically */
}

.spinner {
    /* Spinner styles */
    width: 50px; /* Increased width */
    height: 50px; /* Increased height */
    border: 6px solid #f3f3f3; /* Light grey */
    border-top: 6px solid #3498db; /* Blue */
    border-radius: 50%;
    animation: spin 1s linear infinite; /* Spin animation */
    margin-bottom: 10px; /* Space between the spinner and the text */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


