* {
  padding: 0;
}
body {
  position: relative; 
  font-family: Arial, sans-serif;
  background-color: #999;
  text-align: center;
  min-height: 100vh;
  margin: 0;
}
body::after {
  position: relative;
  content: '';
  height: 150px;
  display: block;
}
.form {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, #0077be, #3b8df2);
  overflow: hidden;
}
.input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  border-radius: 4px;
}
.input::placeholder {
  color: #fff;
}
.input:hover, .input:focus {
  border-color: #3b8df2;
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
  outline: none;
}
.form-update {
  background: #525d7d;
}
.defaultButton {
  color: white;
  background-color: #222;
  cursor: pointer;
  text-align: center;
  border: none;
}
.defaultButton:hover {
  background-color: #333;
}
.LoginButton {
  background-color: #f3f7fe;
  color: #3b82f6;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  width: 65px;
  height: 30px;
  transition: 0.3s;
}
.LoginButton:hover {
    background-color: #2b82b4;
    box-shadow: 0 0 0 3px #fff;
    color: #fff;
}
.LogButton {
  width: 100%;
  padding: 10px;
  background-color: #0077be;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.LogButton:hover {
  background-color: #026dad;
}
.top {
  position: relative;
  height: 120px;
  width: 100%;
  z-index: 10;
  overflow: hidden;
}
.header {
  display: flex;
  width: 100%;
  background-color: #2b82b4;
  justify-content: space-between;
  overflow: hidden;
  color: white;
}
.head {
  display: flex;
  justify-content: Left;
  margin-left: 12px;
  margin-top: 5px;
  background-color: #2b82b4;
}
.head2 {
  display: flex;
  justify-content: right;
}
.value {
  background-color: transparent;
  border: none;
  color: aliceblue;
  display: flex;
  position: relative;
  cursor: pointer;
}
.header img {
  width: 30px;
  height: 30px;
  margin-top: 12px;
  background-color: #2b82b4;
}
.header img:hover {
    transform: scale(1.1);
}
.header img.normal {
  width: 30px;
  margin-top: 1px;
}
.icon_menu {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 11;
  top: 0;
  left: 0;
  background-color: #a3a3a3;
  overflow-x: hidden;
  transition: 0.5s;
}
.icon_menu a {
  text-decoration: none;
  color: #180d0d;
  display: block;
}
.icon_menu a:hover {
  color: #ccc;
}
.icon_menu .closebtn {
  position: absolute;
}
.blur{
  filter: blur(5px);
}
.headline {
  font-size: 50px;
  color: #5e44db;
}
.headlineLeft {
  margin-left: 35px;
}
.HeadlineBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #FFFF;
  height: 160px;
  max-width: 1200px;
  border-radius: 8px;
  padding: 0px;
  margin: 50px auto;
}
.HeadlineLeft {
  line-height: 1;
  align-items: flex-start; !important
}
.border {
  border-bottom: 3px solid #ccc;
  width: 100%;
}
.underline {
  margin-top: 0px;
  font-size: 1.25rem;
  color: #999;
}
.subjects, .forlob {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}
.subject-card, .forlob-card, .forlob-content-cards {
  height: 150px;
  max-width: 800px;
  background: white;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}
.forlob {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  max-width: 960px;
}
.subject-card:hover, forlob-card:hover {
  transform: scale(1.05);
}
.forlob-content {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  min-width: 960px; 
}
.forlob-content-cards {
  min-width: 960px;
  align-items: flex-start;
}
.forlob-content-cards h2, .forlob-content-cards p {
  margin-left: 35px;
}
.top1 {
  font-weight: bold;
  margin: 3px; 
  margin-top: 8px;
}
.underneath {
  color: #878787;
  margin: 0px;
}
.book-icon {
  font-size: 0.5rem;
  color: #337ab7;
}
.foot {
  margin-top: 150px;
}
.footer {
  position: absolute;
  bottom: 0px;
  background-color: #337ab7;
  width: 100%;
  height: 80px;
  padding: 0;
}
.add_element {
  z-index: 2;
  cursor: pointer;
  position: absolute;
  bottom: 120px;
  right: 80px;
}
.fade-in {
  opacity: 1;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 1s;
}
@keyframes fadeInOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.popup-menu {
  max-width: 200px;
  background-color: white;
  display: none;
  position: absolute;
  z-index: 10;
  border-radius: 5px;
}
.popup-menu.visible, .forlob-menu.visible {
  display: block;
}
.popup-menu span {
  font-size: 1rem;
  margin: 0;
  padding: 5px 12px;
  cursor: pointer;
}
.popup-menu p:hover {
  border-radius: 5px;
  background-color: #f0f0f0;
}
.popup-menu p {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0px;
  justify-content: left;
}
.popup-menu-items {
  display: flex;
  padding: 2px 2px;
  margin: 2px 2px;
  align-items: center;
  justify-content: left;
}
.forlob-menu {
  z-index: 10;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  background-color: white;
  width: 80%;
  height: 90%;
  box-shadow: -0.5rem 0.5rem 2rem gray;
  border-radius: 8px;
}
.forlob-menu-hr {
  border: 10px solid gray;
}
.forlob-menu-form {
  display: flex;
  flex-direction: column;
  font-size: 2rem;
}
.forlob-menu-container {
  display: flex;
  text-align: left;
  flex-direction: column;
  width: 80%;
  margin: 0px auto;
}
.forlob-menu-top {
  background-color: #2c7bb6;
  padding: 30px;
}
.forlob-menu-top-margin {
 margin: 0px;
 padding: 0px;
}
.forlob-menu-form input {
  width: 100%;
  margin: 5px auto;
  padding: 5px;
  border: none;
  border: solid 1px #000;
  border-radius: 5px;
}
.input-full {
  border-radius: 5px;
  width: 100%;
  height: 150px;
  padding: 5px;
  margin-bottom: 20px;
  resize: none;
}
.input-title {
  width: 70%;
  height: 30px;
  }
.optional-span {
  font-size: 1rem;
  color: grey;
}
.circle {
  z-index: 1;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 2rem;
  background-color: white;
  display: inline-block;
}
.courseWork1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 960px;
  margin: 50px auto;
  height: 120px;
  border-radius: 8px;
  background-color: white;
}
.addCourseWork1 {
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.25rem;
  color: black;
  width: 100%;
  height: 100%;
  background-color: lightgray; 
}
.addForlob {
  display: flex;
  height: 100%;
  width: 100%;
  background-color: lightgray;
  cursor: pointer;
  font-size: 3.25rem;
  color: black;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.elongated {
  height: 150px; !important
  max-width: 960px; !important
  
}
.myInput {
  background-image: url('/css/searchicon.png');
  background-position: 10px 12px;
  background-repeat: no-repeat;
  width: 100%;
  font-size: 16px;
  padding: 12px 20px 12px 40px;
  border: 1px solid #ddd; 
  margin-bottom: 12px; 
}
.tempBody {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #cbd5e0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
}
.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 768px;
  padding: 1rem;
}
.card-header,
.card-content,
.card-footer {
  margin-bottom: 1rem;
}
.card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
}
.card-description {
  font-size: 1rem;
  color: #555;
}
.button {
  background: #2980b9;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 1rem;
}
.button:hover {
  background: #2575a7;
}
.form-group {
  margin-bottom: 1rem;
}
label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
.input, .textarea {
  width: 100%;
  padding: 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid #d1d5db;
  box-sizing: border-box;
  font-size: 1rem;
}
.textarea {
  height: 150px;
  resize: vertical;
}
.button-group {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.LoginPageStyle {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
  width: 300px;
  text-align: center;
}

.LoginPageStyle label {
  display: block;
  text-align: left;
  margin: 10px 0 5px;
  font-weight: bold;
}
.main-wrapper {
  height: 75%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card-af {
      background-color: white;
      max-width: 700px;
      width: 100%;
      padding: 1.5rem;
      border-radius: 1rem;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .card-header-af {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .card-title-af {
      font-size: 1.25rem;
      font-weight: bold;
      margin: 0;
    }

    .card-description-af {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-top: 0.5rem;
      color: #555;
    }

    .card-content-af {
      margin-top: 1rem;
    }

    .card-footer-af {
      display: flex;
      justify-content: flex-end;
      margin-top: 1.5rem;
    }

    .button-af {
      padding: 0.5rem 1rem;
      border-radius: 0.5rem;
      border: none;
      cursor: pointer;
    }

    .button-primary-af {
      background-color: #2980b9;
      color: white;
    }

    .button-primary-af:hover {
      background-color: #2573a3;
    }

    .button-outline-af {
      background-color: transparent;
      border: 1px solid #ccc;
      color: #333;
    }