@import url("https://fonts.googleapis.com/css?family=Manrope:500&display=swap");
@font-face{
   font-family: "Alosia Sans";
   src: url("../fonts/alosia-sans.woff2") format('woff2'),
   url("../fonts/alosia-sans.woff") format('woff');
   font-display: swap;
   font-weight: 400;
   font-style: normal;
}

body{
   font-family: "Alosia Sans", sans-serif;
}
.wrapper {
   position: relative;
   overflow: hidden;
   min-height: 100%;
}

.page {
   position: relative;
   height: 100vh;
   background-color: #F0ECE4;
   display: flex;
   align-items: center;
   justify-content: center;
}
.page::before{
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 4.3%;
   background-color: #DEE21C;
}
.page::after{
   content: "";
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 10%;
   background-color: #6F88E4;
}
.page__container {
   padding: 2.1875rem 0.9375rem 5.4375rem 0.9375rem;
   max-width: 75rem;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 5.25rem;
}
.page__logo {
   flex: 0 1 5.3125rem;
   aspect-ratio: 244 / 85;
   position: relative;
}
.page__logo img{
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
}
.page__block {
   display: flex;
   gap: 2.625rem;
}
.page__town {
   flex: 0 1 60%;
   position: relative;
   display: flex;
   align-items: center;
   justify-content: center;
   aspect-ratio: 633 / 373;
}
.page__img{
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
}
.page__img img{
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: contain;
}
.page__title {
   position: relative;
   z-index: 2;
   color: #FFF;
   font-size: 5.6875rem;
   padding: 5% 11%;
}
.page__form {
   flex: 0 1 40%;
   display: flex;
   flex-direction: column;
   gap: 0.9375rem;
}
.page__label {
   color: #6F88E4;
   font-size: 1.25rem;
   padding-top: 0.375rem;
   padding-bottom: 0.5rem;
}
.page__form-line {
   display: flex;
   gap: 1.375rem;
}
.page__name{
   flex: 0 1 50%;
   padding: 0.6875rem 1.1875rem;
   border-radius: 1.25rem;
   background-color: #FFF;
}
.page__textarea {
   padding: 1.3125rem 1.1875rem;
   border-radius: 1.25rem;
   background-color: #FFF;
   min-height: 8.9375rem;
   margin-top: 0.5625rem;
}
.page__checkbox{
  display: flex;
  gap: 1rem;
}
.page__checkbox input{
   align-self: flex-start;
   width: 1.0625rem;
   height: 1.0625rem;
}
.page__checkbox:not(:last-child){
   margin-bottom: 0.75rem;
}
.page__checkbox, 
.page__textarea::placeholder,
.page__name::placeholder{  
   color: #2F3333;
   font-family: "Manrope", sans-serif;
   font-size: 1rem;
   font-weight: 500;
}
.page__button{
   color: #FFF;
   padding: 0.5625rem 1.5rem;
   border-radius: 1.0625rem;
   background-color: #6F88E4;
   align-self: flex-start;
}
.page__button:hover{
   background-color: rgba(111, 136, 228, 0.775);
   transition: background-color 0.3s ease;
}
@media(max-width: 1171px){
   .page__block{
      gap: 1.25rem;
   }
   .page__title{
      font-size: 4rem;
   }
}
@media(max-width: 930px){
   .page__title{
      font-size: 3rem;
   }
   .page__textarea{
      min-height: 7.5rem;
   }
   .page__form-line{
      flex-direction: column;
   }
   .page::before{
      height: 2%;
   }
   .page::after{
      height: 4%;
   }
   .page__town{
      flex: 0 1 50%;
   }
   .page__form{
      flex: 0 1 50%;
   }
}
@media(max-width: 767.98px){
   .page__block{
      flex-direction: column;
   }
   .page__container{
      gap: 1.25rem;
   }
   .page__logo{
      flex: 0 1 2.5rem;
   }
   .page__town{
      aspect-ratio: 2 / 1;
   }
   .page__label{
      text-align: center;
      font-size: 1.125rem;
   }
   .page__button{
      align-self: center;
   }
   .page__title{
      font-size: 2.2rem;
      padding: 4%;
   }
   .page__textarea{
      min-height: 5rem;
   }

}