* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  width: 100%;
  height: 100vh;
  background: #ffffff !important;
}

header {
  background: #fff;
}

.form-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.form {
  width: 50%;
}

.form h2 {
  padding: 3rem;
  text-align: center;
}

.form label {
  color: #595c5c;
}

.form label span {
  color: red;
}

.form .mood-select{
  padding: 0.5rem;
    margin-top: 5px;
    border: 2px solid #e8e4e4;
    outline: none;
    border-radius: 5px;
    cursor: pointer;
}

.form input {
  width: 100%;
  border: 2px solid #e8e4e4;
  border-radius: 3px;
  line-height: 2rem;
  padding: 0 10px;
  outline: none;
  transition: 0.3s;

  &:hover {
    border-color: #2f5cf1;
    transition: 0.3s;
  }
}

.form textarea {
  width: 100%;
  border: 2px solid #e8e4e4;
  border-radius: 3px;
  padding: 5px;
  outline: none;
  &:hover {
    border-color: #2f5cf1;
    transition: 0.3s;
  }
}

.form button {
  border: none;
  padding: 0.5rem 4rem;
  margin: 2rem 0;
  background: #2f5cf1;
  color: #fff;
  border-radius: 3px;
  align-self: center;
  cursor: pointer;

  &:hover {
    background: #0937cf;
  }
}

.card-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.card {
  width: 280px;
  padding-bottom: 1rem;
  border: 2px solid #dcdcdc;
  border-radius: 8px;
  margin: 1rem;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 0 14px #d3d3d3, 0 0 5px #eeeded !important;
  cursor: pointer;
  transition: 0.3s ease;
  &:hover {
    transform: translateY(-15px);
    transition: 0.3s ease;
  }
}

.img-section img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 1px 0px 0px 0px;
}

.card-contant {
  padding: 0.5rem;
}

.card-contant .card-heading {
  font-weight: 700;
  font-size: 0.9rem;
  color: #414242;
}
.card-contant .card-text {
  font-size: 12px;
  margin-top: 0.5rem;
  color: #595c5c;
}

@media screen and (max-width: 576px) {
  .card-section {
    margin-bottom: 3rem;
    margin-top: 2rem;
  }

  .form {
    width: 80%;
  }
}

@media screen and (max-width: 1024px) {
  .form {
    width: 80%;
  }

  .card-section {
    margin-bottom: 3rem;
    margin-top: 1rem;
  }
}

.mood-select:hover {
  border-color: #2f5cf1;
}
