@import '../../css/global.css';

#calendar{
    min-height: 55vh;
  }
  
  #calendar {
    position: relative;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--bg-color);
    bottom: 50px;
    border-radius: 40px 40px 0px 0px;
  }

  #calendar > h2 {
    color: var(--blue-color);
  }
  
  select#course-filter{
    margin-left:1rem ;
    border-radius: 5px;
    padding: 0.25rem;
  }
  
  
  #calendar p{
    color: #f4f4f4;
  }
  
  #calendar label{
    color: #f4f4f4;
  }
  
  .date-card {
    margin: 50px 0;
  }
  
  .calendar {
    display: flex;
    flex-direction: row;
    width: 50vw;
    height: 50px;
    border-radius: 15px;
    max-width: 250vw;
    height: 25vh;
    background-color: #A7B6CE;
  }
  
  .left-column,
  .right-column {
    flex: 0;
  }
  
  .date-square {
    width: 50%;
    height: 50%;
    background-color: rgba(173, 216, 230, 0.3);
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    margin-top: 55px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .date {
    margin-top: 150px;
    font-weight: bold;
  }
  
  .course-details {
    padding: 10px;
  }
  
  .name {
    font-weight: bold;
  }
  
  .teacher,
  .duration {
    margin-top: 5px;
  }

  
/*---------------------------------------
  Column 
-----------------------------------------*/

.table {
  margin-block: 2rem;
  display: table;
  width: 100%;
  border-collapse: collapse;
}

.table-row {
  display: table-row;
}

.table-cell {
  display: table-cell;
  border: 2px solid #f2f2f2;
  padding: 10px;
  position: relative; /* Create a positioning context for absolute positioning */
  color: #f4f4f4;
  padding: 1vw 2.5vw 1vw 2.5vw !important;
}

.header-row {
  font-weight: bold; /* Make header text bold */
  background-color: #f4f4f498;
}

.header-cell {
  font-family: Maven2;
  text-align: left; /* Center-align header text */
  color: var(--text-color);
  opacity: 0.8;
}

.icon {
  width: 20px;
  height: 20px;
  background-color: #ccc;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%; /* Create a circular icon */
}

/* Additional styling for your course content */
.course-date,
.course-teacher,
.course-duration {
  margin: 0;
}

.img-calender {
  position: absolute;
  width: 7.5vw;
  top: 50%;
  right: 15%;
  transform: translate(50%, -50%) rotate(45deg);
  width: 15vw;
}
