@import url("https://fonts.googleapis.com/css?family=Fira+Sans");

html,
body {
  position: relative;
  min-height: 100vh;
  background-color: #e1e8ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fira Sans", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.form-structor {
  background-color: #222;
  border-radius: 15px;
  height: 650px;
  /* 설문조사 폼에 적합한 높이 */
  width: 500px;
  position: relative;
  overflow: hidden;

  &::after {
    content: "";
    opacity: 0.8;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    background-image: url("../images/ai-recommend-background.jpg");
  }

  .survey {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    width: 75%;
    z-index: 5;
    -webkit-transition: all 0.3s ease;

    .form-title {
      color: #fff;
      font-size: 1.8em;
      text-align: center;
      margin-bottom: 20px;
    }

    .question-text {
      color: rgba(256, 256, 256, 0.8);
      font-size: 1.2em;
      font-weight: 700;
      text-align: center;
      margin-bottom: 30px;
    }

    .form-holder {
      border-radius: 15px;
      background-color: #fff;
      overflow: hidden;
      margin-top: 20px;
      opacity: 1;
      visibility: visible;
      -webkit-transition: all 0.3s ease;

      .input {
        border: 0;
        outline: none;
        box-shadow: none;
        display: block;
        height: 35px;
        line-height: 35px;
        padding: 10px 15px;
        border-bottom: 1px solid #eee;
        width: 100%;
        font-size: 14px;

        &:last-child {
          border-bottom: 0;
        }

        &::-webkit-input-placeholder {
          color: rgba(0, 0, 0, 0.4);
        }
      }
    }

    .submit-btn {
      background-color: rgba(0, 0, 0, 0.4);
      color: rgba(256, 256, 256, 0.7);
      border: 0;
      border-radius: 15px;
      display: block;
      margin: 15px auto;
      padding: 15px 45px;
      width: 100%;
      font-size: 14px;
      font-weight: bold;
      cursor: pointer;
      opacity: 1;
      visibility: visible;
      -webkit-transition: all 0.3s ease;

      &:hover {
        transition: all 0.3s ease;
        background-color: rgba(0, 0, 0, 0.8);
      }
    }

    &.hidden {
      opacity: 0;
      visibility: hidden;
    }
  }
}