/* reset */
* {
   box-sizing: border-box;
}

html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
img,
fieldset,
form,
label {
   margin: 0;
   padding: 0;
   border: 0;
   font-size: 100%;
   font: inherit;
   vertical-align: baseline;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
   -webkit-appearance: none;
}

/* /reset */

@font-face {
   font-family: "TT Prosto Sans Regular";
   src: url("/font/TT_Prosto_Sans_Regular.otf") format("opentype");
}

@font-face {
   font-family: "TT Prosto Sans Bold";
   src: url("/font/TT_Prosto_Sans_Bold.otf") format("opentype");
}

body {
   font-family: 'TT Prosto Sans Regular';
   overflow-x: hidden;
}

.page {
   padding-top: 40px;
   padding-bottom: 40px;
}

.container {
   max-width: 1200px;
   margin: 0 auto;
   height: 100%;
   padding: 0 15px;
}

.form__preview {
   margin-bottom: 50px;
}

.form__preview img {
   max-width: 380px;
   max-height: 380px;
   margin: 0 auto;
   display: block;
}

.main__title {
   font-family: 'TT Prosto Sans Bold';
   font-weight: 700;
   font-size: 40px;
   text-align: center;
   line-height: 1.2;
   margin-bottom: 40px;
}

.form {
   text-align: center;
   width: 55%;
   margin: 0 auto;
}

.form__label {
   font-size: 20px;
   color: #878787;
   display: block;
   margin-bottom: 15px;
}

.form__input {
   display: block;
   border-radius: 24px;
   width: 100%;
   height: 80px;
   border: 2px solid #87878759;
   margin-bottom: 30px;
   font-size: 20px;
   color: #878787;
   padding: 0 25px;
   font-family: 'TT Prosto Sans Regular';
}

.form__input:focus {
   outline: 1px solid rgba(0, 0, 0, 0.1);
}

.btn {
   width: 630px;
   display: block;
   border-radius: 100px;
   height: 80px;
   background: #43BFE2;
   cursor: pointer;
   color: #fff;
   outline: none;
   border: none;
   margin: 0 auto;
   font-family: 'TT Prosto Sans Regular';
}

.form__button {
   display: block;
   width: 100%;
   color: #fff;
   height: 100%;
   text-align: center;
   text-decoration: none;
   font-size: 20px;
   line-height: 80px;
   font-family: 'TT Prosto Sans Regular';
}

.form__button a {
   display: block;
   width: 100%;
   color: #fff;
   height: 100%;
   text-align: center;
   text-decoration: none;
   font-size: 20px;
   line-height: 80px;
   font-family: 'TT Prosto Sans Regular';
}

.check {
   display: block;
   width: 30px;
   height: 30px;
   margin: 40px auto 50px;
}

.fieldset {
   display: grid;
   grid-template-columns: 2fr 1fr;
   grid-column-gap: 20px;
}

.payment {
   margin-bottom: 60px;
   text-align: center;
}

.payment img {
   height: 40px;
}

.button__wrap {
   display: flex;
   justify-content: space-between;
}

.button__wrap .btn {
   max-width: 300px;
}

@media (max-width:1200px) {
   .form .btn {
      width: 100%;
   }
}

@media (max-width:768px) {
   .button__wrap {
      flex-direction: column;
   }
   
   .button__wrap .btn {
      max-width: 100%;
      margin-bottom: 30px;
   }
   .page {
      padding: 20px 0;
   }

   .form {
      width: 100%;
   }

   .btn {
      width: 100%;
   }

   .main__title {
      font-size: 33px;
   }

   .form__preview img {
      width: 100%;
      max-height: 200px;
   }
}
