*, *::before, *::after {
    box-sizing: border-box;
}

.sidebar {
    width: 150px;
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
        background-color: #012a4a;
}

.side-nav-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 1;
}

.side-nav-icon i {
    font-size: 35px;
    margin-bottom: 10px;
}

.main-content {
    flex: 1;
    padding: 0px 10px;
    overflow-y: auto;
    height: calc(100vh - 100px);
}
/* For Chrome, Safari, and newer versions of Opera */
.main-content::-webkit-scrollbar {
    width: 0;
    background: transparent; /* make scrollbar transparent */
}

/* For Firefox */
.main-content {
    scrollbar-width: none; /* Firefox 64+ */
    -ms-overflow-style: none; /* IE and Edge */
}

.progress-bar-text {
    background-color: #007bff;
    color: #fff;
    padding: 10px;
    width: 50%;
    border-radius: 8px;
    text-align: center;
}

.status-text {
    margin-top: 20px;
}

.dashboard {
    display: flex;
    width: 100%;
    margin-top: 80px;
}
.class-dashboard-heading {
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.placement-section {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 10px 2px rgba(0, 0, 0, .1);
    width: 90%;
    margin: 0 auto;
}

.generate-code-btn {
    padding: 10px 15px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.code-text {
    font-size: 16px;
    margin: 0 20px;
}

.linked-accounts-text {
    font-size: 16px;
}

.cards-container {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
}

.card {
    transition: transform 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
    padding: 5px;
        display: flex;
    flex-direction: column-reverse;
}
.cards-container .card:first-child {
    margin-left: 0;
}

.cards-container .card:last-child {
    margin-right: 0;
}

.code-container {
    display: flex;
        gap: 10px;
}
.linked-container {
    display: flex;
    font-weight: bold;
}
.create-assignment-container {
    width: 100%;
    height: 200px;
    border: 1px solid #32cd32;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5; /* light gray background color, adjust to your preference */
    cursor: pointer;
    transition: background-color 0.3s;
}

.create-assignment-container:hover {
    background-color: #e0e0e0; /* slightly darker gray on hover, adjust to your preference */
}

.create-icon-box i {
    font-size: 50px; /* adjust to your preference */
    color: #32CD32; /* adjust to your preference */
}

.create-text-box p {
    margin-top: 20px;
    font-size: 20px; /* adjust to your preference */
    color: #32cd32; /* adjust to your preference */
    font-weight: bold;
}

.create-text-box {
    text-align: center;
}







#quiz-selection-section,
#quiz-description-section,
#quiz-name-section,
#due-date-section,
#students-section {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

label {
    font-weight: bold;
    margin-bottom: 0px;
}

#quiz-selector {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#quiz-description {
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: #f5f5f5;
    margin-top: 5px;
}

#quiz-name-input,
#due-date-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 5px;
}

#select-all-button,
#assign-quiz-button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    margin-right: 10px;
}

#assign-quiz-button {
    background-color: #28a745;
}

#student-list {
    list-style-type: none;
    padding: 0;
}

#student-list li {
    margin: 10px 0;
}

#student-list li input[type="checkbox"] {
    margin-right: 10px;
}
.custom-dropdown-container {
    font-family: Arial, sans-serif;
    position: relative;
    width: 150px;
}

.custom-dropdown {
    display: block;
    width: 100%;
    padding: 10px 20px;
    background-color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-align: left;
}

.custom-dropdown-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.custom-dropdown-option {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-bottom: 1px solid #e0e0e0;
}

.custom-dropdown-option:last-child {
    border-bottom: none;
}

.custom-dropdown-option:hover {
    background-color: #f1f1f1;
}
#scoreChart {
    width: 200px !important;
    height: 100% !important;
    margin: auto;
  }
  
  .section {
  display: flex;
  flex-wrap: wrap;
}

.item {
  width: calc(100% / 3);
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  position: relative;
}

.add-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  position: relative;
}

.plus {
  font-size: 24px;
  cursor: pointer;
}

.remove-item {
  position: absolute;
  top: 0;
  right: 0;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
}

.dropdown-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-menu ul li {
  padding: 5px 10px;
}

.dropdown-menu ul li a {
  display: block;
  text-decoration: none;
  color: #333;
}

.dropdown-menu ul li a:hover {
  background-color: #eee;
}


.custom-icon, .custom-icon-2, .custom-icon-3, .custom-icon-4, .custom-icon-5 {
  width: 40px; /* or the size you want */
  height: 40px; /* should match the width for square icons */
  vertical-align: middle;
}

.custom-icon, .custom-icon-2, .custom-icon-3, .custom-icon-4, .custom-icon-5 {
  width: 40px;
  height: 40px;
  transition: opacity 0.3s ease; /* Smooth transition for hover effect */
}

.side-nav-icon:hover .custom-icon,
.side-nav-icon.active .custom-icon {
  content: url('/images/homeIconHover.png');
}

.side-nav-icon:hover .custom-icon-2,
.side-nav-icon.active .custom-icon-2 {
  content: url('/images/createDeckHover.png');
}

.side-nav-icon:hover .custom-icon-5,
.side-nav-icon.active .custom-icon-5 {
  content: url('/images/settingsHover.png');
}


.side-nav-icon {
  display: flex;
  align-items: center; /* Aligns the icon and text vertically */
  cursor: pointer;
}

  
@media screen and (max-width: 1024px) {
    
    .main-content {
padding-bottom: 150px;
}

    .code-container {
        flex-direction: column-reverse;
    }
    
    .side-nav-icon i {
        margin-bottom: 0px;
    }

.sidebar {
    position: fixed;
    bottom: 0%;
    width: 100%;
    height: auto;
    z-index: 10000;
    flex-direction: row;
    border-top: 1px solid #4196e0;
    box-shadow: 0px -2px 7px 1px #4196e0;
    padding-top: 5px;
    padding-bottom: 5px;
}


.cards-container {
    flex-direction: column;
}

.card {
    margin: 20px 0px;
    width: 100%;
}

.placement-section {
    flex-direction: column-reverse;
}

.cards-container{
    width: 100%;
}
.placement-section {
    width: 100%;
    margin-bottom: 20px;
}
}



.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    color: #000;
    border-radius: 20px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#deckNameDisplay {
    cursor: pointer;
}

