@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

/* SELECT BOX */
:root {
    --background-gradient: linear-gradient(178deg, #ffff33 10%, #3333ff);
    --gray: #34495e;
    --darkgray: #ffffff;
  }
  
  select {
    /* Reset Select */
    appearance: none;
    outline: 10px red;
    border: 1px solid #9b2d49;
    box-shadow: none;
    font-weight: 500;
    /* Personalize */
    flex: 1;
    padding: 0 1em;
    color: #000000;
    background-color: var(--darkgray);
    background-image: none;
    cursor: pointer;
    width: 100%;
  }
  /* Remove IE arrow */
  select::-ms-expand {
    display: none;
  }
  /* Custom Select wrapper */
  .select {
    position: relative;
    display: flex;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    height: 3em;
    border-radius: .25em;
    overflow: hidden;
    color: #34495e;
  }
  /* Arrow */
  .select::after {
    content: '\25BC';
    position: absolute;
    top: 0;
    right: 0;
    padding: 1em;
    background-color: #34495e;
    transition: .25s all ease;
    pointer-events: none;
  }

  
  a {
    font-weight: bold;
    color: var(--gray);
    text-decoration: drop-shadow;
    padding: .25em;
    border-radius: .50em;
    /* background: pink; */
    width: 100%;
  }
  
  /* 가운데정렬 - position,transform*/
  .container-form {
    position : absolute;
    top: 50%;
    left : 50%;
    width: 100%;
    transform :
    translate(-50%,-50%); 
  }
  
  /* 가운데정렬 - flexbox*/
  /* 근데 이건 1행 정렬이된다. */
  /* .container {
    display: flex;
    justify-content: center;
    align-items: absolute;
  } */
  
  .down_note {
      display: flex;
      justify-content: center;
  
}


body {
	font-family: "DM Sans", sans-serif;
	line-height: 1.5;
}

/* iOS Reset  */
input {
	appearance: none;
	border-radius: 0;
}

.card {
	display: flex;
	flex-direction: column;
	width: 100%;
	/* max-width: 425px; */
	background-color: none;
	border-radius: 10px;
	padding: .75rem;
  border-color: #fff1f4;
}



.card-form {
	padding: 2rem 1rem 0;
}

.input {
	display: flex;
	flex-direction: column-reverse;
	position: relative;
	padding-top: 1.5rem;
	&+.input {
		margin-top: 1.5rem;
	}
}

.input-label {
	color: #abb1b6;
	position: absolute;
	top: 1.5rem;
	transition: .25s ease;
}

.input-field {
	border: 0;
	z-index: 1;
	background-color: transparent;
	border-bottom: 2px solid #eee; 
	font: inherit;
	font-size: 1.125rem;
	padding: .25rem 0;
	&:focus, &:valid {
		outline: 0;
		border-bottom-color: #9b2d49;
		&+.input-label {
			color: #f89696;
			transform: translateY(-1.5rem);
		}
	}
}

.textarea-form {
    border: 1px solid #9b2d49;
    border-radius: 5px;
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
}

textarea {
    height: 150px;
}

textarea:focus {
    border: 1px solid #5f2534;
    box-shadow: 0px 0px 5px #9b2d49;
    outline: none;
}

.action {
	margin-top: 2rem;
}

.action-button {
	font: inherit;
	font-size: 1.25rem;
	padding: 1em;
	width: 100%;
	font-weight: 500;
	background: linear-gradient(90deg, #750202, #5f2534);
	border-radius: 6px;
	color: #ffe7cf;
	border: 0;
  cursor: pointer;
	&:focus {
    outline: 0;
	}
}

.cta-btn {
  background: #5f2534;
  color: #fffbf7;
  border-radius: 6px;
  font-size: 1.25rem;
	padding: 1em;
	width: 100%;
	font-weight: 500;
}

.card-info {
	padding: 1rem 1rem;
	text-align: center;
	font-size: .875rem;
	color: #8597a3;
	a {
		display: block;
		color: #6658d3;
		text-decoration: none;
	}
}

