import device from "Constants/constants" ; import styled , { css } from "styled-components" ; interface submitBtn { Length : number ; } export const Positioner = styled . div `
  height: fit-content;
  position: sticky;
  top: 180px;

  @media ${ device . mobile } {
    position: initial;
    margin-bottom: 30px;
    margin-right: 0;
  }
` ; export const Form = styled . div `
  width: 440px;
  height: 240px;
  margin-top: 65px;
  background-color: #ffffff;
  box-shadow: 0px 3px 60px rgba(106, 118, 233, 0.2);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  textarea {
    margin: 40px 42px;
    margin-bottom: 27px;
    height: 179px;
    font-family: "Noto Sans CJK KR";
    font-size: 18px;
    font-weight: 700;
    resize: none;
    border: none;
    outline: none;
  }
  textarea::placeholder {
    color: #a8a8a8;
    font-size: 18px;
  }
  @media ${ device . laptop } {
    width: 400px;
  }
  @media screen and (max-width: 700px) {
    width: 325px;
  }
  @media ${ device . mobile } {
    width: 100%;
  }
` ; export const FormBtn = styled . button < submitBtn > `
  align-self: flex-end;
  justify-self: flex-end;
  color: #fff;
  ${ ( props ) => props . Length >= 8 ? css `
          background: rgba(106, 118, 233, 0.4);
        ` : css `
          background: rgba(106, 118, 233, 0.2);
          cursor: not-allowed;
        ` };
  padding: 10px 30px;
  font-size: 16px;
  font-weight: 600;
  margin-right: 27px;
  margin-bottom: 24px;
` ; export const Btn = styled . button `
  display: flex;
  width: 440px;
  justify-content: space-between;
  margin-top: 50px;
  padding: 19px 23px;
  color: white;
  font-weight: 700;
  font-size: 16px;
  background-color: #6a76e9;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  @media ${ device . laptop } {
    width: 400px;
  }
  @media screen and (max-width: 700px) {
    width: 325px;
  }
  @media ${ device . mobile } {
    width: 100%;
  }
  svg {
    padding-left: 5px;
  }
  & > button {
    background-color: #6a76e9;
    color: white;
    font-weight: 700;
    font-size: 16px;
    width: 324px;
    text-align: left;
    padding: 0;
  }
` ; export const LinkTextWrapper = styled . div `
  color: white;
  text-decoration: #fff 1px underline;
  padding-top: 3%;
  font-size: 12px;
  font-weight: 600;
` ;