253 lines
4.0 KiB
SCSS
253 lines
4.0 KiB
SCSS
@import '../constansts';
|
|
|
|
.order {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
height: 790px;
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
background: #f2f2f2 url('../../img/order-form-bg.png') center no-repeat;
|
|
|
|
.container {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
max-width: 1061px;
|
|
padding: 30px 100px;
|
|
border-radius: 40px;
|
|
background-color: #ffffff;
|
|
color: #000000;
|
|
box-shadow: 0 0 15px 0 rgba(41, 48, 55, 0.5);
|
|
font-family: 'PT Sans', sans-serif;
|
|
}
|
|
|
|
&__text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
width: 400px;
|
|
min-width: 430px;
|
|
height: 100%;
|
|
padding-right: 30px;
|
|
|
|
h3 {
|
|
margin: 30px 0 25px;
|
|
font-weight: 600;
|
|
font-size: 32px;
|
|
line-height: 1.22;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
p {
|
|
font-size: 24px;
|
|
line-height: 1.42;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
}
|
|
|
|
&__form {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
|
|
.form-group {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
input, textarea {
|
|
width: 100%;
|
|
max-width: 400px;
|
|
margin-bottom: 10px;
|
|
padding: 21px 20px;
|
|
border: 1px solid $main-color;
|
|
border-radius: 7px;
|
|
color: $main-color;
|
|
font-size: 16px;
|
|
letter-spacing: 0.1px;
|
|
|
|
&:focus {
|
|
box-shadow: none;
|
|
}
|
|
|
|
&::placeholder {
|
|
color: $main-color;
|
|
}
|
|
}
|
|
|
|
small {
|
|
display: block;
|
|
margin: 10px 0;
|
|
font-size: 12px;
|
|
line-height: 1.42;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
button {
|
|
width: 289px;
|
|
margin-top: 15px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.order-modal {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 999999;
|
|
display: none;
|
|
background: rgba(0, 0, 0, 0.65) !important;
|
|
|
|
&__overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.container {
|
|
position: relative;
|
|
top: 50%;
|
|
padding: 40px 100px;
|
|
border-radius: 20px;
|
|
background-color: #ffffff;
|
|
box-shadow: 0 0 15px 0 rgba(41, 48, 55, 0.5);
|
|
text-align: center;
|
|
transform: translateY(-50%);
|
|
|
|
h2 {
|
|
font-weight: 600;
|
|
font-size: 32px;
|
|
font-family: 'Museo Regular', sans-serif;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 1200px) {
|
|
.order-call {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
.order {
|
|
height: auto;
|
|
padding: 30px 0;
|
|
background: url('../../img/order-bg.jpg') center no-repeat;
|
|
background-size: cover;
|
|
|
|
.container {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
max-width: 500px;
|
|
padding: 30px;
|
|
text-align: center;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
p {
|
|
font-size: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
&__text {
|
|
padding-right: 0 !important;
|
|
}
|
|
|
|
&__form {
|
|
align-items: center;
|
|
|
|
.form-group {
|
|
width: 100%;
|
|
}
|
|
|
|
input, textarea {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.order-modal {
|
|
.container {
|
|
padding: 20px;
|
|
}
|
|
}
|
|
|
|
.order-holiday {
|
|
height: 34px !important;
|
|
padding: 0 10px !important;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
.order {
|
|
h3 {
|
|
margin: 0 0 5px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
p {
|
|
margin-bottom: 5px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.container {
|
|
max-width: 90%;
|
|
padding: 20px;
|
|
}
|
|
|
|
&__text {
|
|
min-width: auto !important;
|
|
max-width: 100%;
|
|
}
|
|
|
|
&__form {
|
|
input, textarea {
|
|
width: 100%;
|
|
min-width: 90%;
|
|
}
|
|
|
|
small {
|
|
width: 90%;
|
|
}
|
|
|
|
button {
|
|
width: 200px;
|
|
margin: 0;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
&-holiday {
|
|
width: 118px;
|
|
height: 30px !important;
|
|
margin: 0;
|
|
padding: 5px !important;
|
|
border-radius: 10px;
|
|
font-size: 12px !important;
|
|
}
|
|
}
|
|
|
|
.order-modal {
|
|
padding: 0 30px;
|
|
|
|
.container {
|
|
img {
|
|
height: 220px !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.order-call {
|
|
display: block;
|
|
}
|
|
}
|