
.courses-item img {
    position: relative;
    margin-top: 40px;
    transition: .5s;
  }
  
  .courses-list-item img {
    position: relative;
    transition: .5s;
  }
  
  .courses-item .courses-text,
  .courses-list-item .courses-text {
    position: absolute;
    font-family: "Red Hat Display", sans-serif;
    width: 100%;
    height: calc(100% + 86px);
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    /* background: linear-gradient(to bottom, rgba(18, 15, 45, 0), #64673c) !important; */
    transition: .5s;
    z-index: 1;
  }
  
  .courses-list-item .courses-text {
    height: 100%;
  }
  
  .courses-item:hover img {
    margin-top: 0px;
  }
  .courses-list-item:hover img {
    transform: scale(1.2);
  }
  
  .courses-item:hover .courses-text {
    height: calc(100% + 40px);
  }

  /* sign-In Modal  */
  

  .form {
    display: block;
    background-color: #dfe4ff;
    border-radius: 20px;
    box-sizing: border-box;
    height: 53vh;
    padding: 20px;
    width: 50vw;
    margin-top: 5rem;
  }
  
  @media (max-width: 1200px) {
    .form {
      height: 73vh;
      width: 60vw;
    }
  }
  @media (max-width: 933px) {
    .form {
      height: 73vh;
      width: 70vw;
    }
  }
  @media (max-width: 768px) {
    .form {
      height: 72vh;
      width: 65vw;
    }
  }
  @media (max-width: 671px) {
    .form {
      height: 75vh;
      width: 94vw;
    }
  }
  @media (max-width: 427px) {
    .form {
      height: 65vh;
      width: 85vw;
    }
  }
  @media (max-width: 366px) {
    .form {
      height: 80vh;
      width: 90vw;
    }
  }

.title {
  font-family: "Red Hat Display", sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin-top: 30px;
}

.input-container {
  height: 50px;
  position: relative;
  width: 100%;
}

.ic1 {
  margin-top: 40px;
}

.ic2 {
  margin-top: 30px;
}

.input {
  background-color: #ffffff;
  border-radius: 12px;
  border: 0;
  box-sizing: border-box;
  color: #000000;
  font-size: 18px;
  height: 100%;
  outline: 0;
  padding: 4px 20px 0;
  width: 100%;
}

.cut {
  background-color: #dfe4ff;
  border-radius: 10px;
  height: 20px;
  left: 20px;
  position: absolute;
  top: -20px;
  transform: translateY(0);
  transition: transform 200ms;
  width: 76px;
}

.cut-short {
  width: 50px;
}

.input:focus ~ .cut,
.input:not(:placeholder-shown) ~ .cut {
  transform: translateY(8px);
}

.placeholder {
  color: #65657b;
  left: 20px;
  line-height: 14px;
  pointer-events: none;
  position: absolute;
  transform-origin: 0 50%;
  transition: transform 200ms, color 200ms;
  top: 20px;
}


.input:focus ~ .placeholder,
.input:not(:placeholder-shown) ~ .placeholder {
  transform: translateY(-30px) translateX(10px) scale(0.75);
}

.input:not(:placeholder-shown) ~ .placeholder {
  color: #808097;
}

.input:focus ~ .placeholder {
  color: #fd3f3f;
  font-size: 17px;
}

.submit {
  border-radius: 25px;
  border: 0;
  box-sizing: border-box;
  color: #eee;
  cursor: pointer;
  font-size: 18px;
  height: 50px;
  margin-top: 38px;
  text-align: center;
  width: 50%;
}
