File: /var/www/zaklada/html/lib/scss/pages/donation.scss
.donation-main {
min-height: 940px;
padding-top: 0;
background-color: $color-blue-dark;
display: flex;
flex-direction: column;
@media screen and (min-width: 1500px) {
min-height: auto;
padding: 0;
flex-direction: row;
overflow: hidden;
height: calc(100vh - 100px);
}
h1 {
text-transform: none;
color: $color-white;
font-size: rem(24);
line-height: 1.5;
margin: 0;
padding-top: 30px;
padding-bottom: 15px;
@media screen and (min-width: 992px) {
font-size: rem(42);
margin: 0;
padding-top: 62px;
}
}
h2 {
color: $color-black;
margin-bottom: 7px;
font-size: rem(22);
line-height: 1.5;
font-weight: 600;
text-align: left;
@media screen and (min-width: 992px) {
font-size: rem(28);
margin-bottom: 7px;
}
}
h4 {
color: $color-blue-dark;
margin-bottom: 15px;
font-size: rem(16);
font-weight: 400;
text-align: left;
// @media screen and (min-width: 992px) {
// margin-bottom: 17px;
// }
&.form-error {
color: $color-error;
& + .amount .error-msg {
display: block;
}
}
}
&__left {
width: 100%;
background-image: url("../img/ruke-hero.jpg");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
order: 2;
@media screen and (min-width: 992px) {
order: 1;
}
@media screen and (min-width: 1500px) {
width: 50%;
}
}
&__right {
background: #f1f1f1;
width: 100%;
display: flex;
align-items: center;
// padding: 20px 20px 60px 20px;
flex-direction: column;
justify-content: flex-end;
order: 1;
@media screen and (min-width: 992px) {
order: 2;
}
@media screen and (min-width: 1500px) {
width: 50%;
overflow-y: auto;
height: 100%;
}
}
&__row {
display: flex;
flex-direction: column;
@media screen and (min-width: 992px) {
flex-direction: row;
}
@media screen and (min-width: 1500px) {
height: 100%;
}
}
&__wrapper {
width: 100%;
padding: 60px 45px;
text-align: center;
@media screen and (max-width: 768px) {
padding: 30px 0;
}
h2 {
text-align: center;
margin-bottom: 65px;
@media screen and (max-width: 768px) {
margin-bottom: 40px;
}
}
}
&__box {
background: $color-white;
padding: 30px;
}
&__box-inner-wrapper {
max-width: 640px;
margin: 0 auto;
}
&__payment-info {
max-width: 405px;
margin: 0 auto;
h2 {
color: $color-gold-dark;
}
}
}