File: /var/www/zaklada/html/lib/scss/core/_elements.scss
.text-img-block {
position: relative;
background: $color-blue-dark;
padding: 20px 0 24px 0;
@media screen and (min-width: 768px) {
padding: 80px 0 70px 0;
font-size: rem(19);
}
// &:before,
// &:after {
// content: "";
// position: absolute;
// width: 100%;
// height: 100%;
// left: 0;
// top: 0;
// }
// &:before {
// background: linear-gradient(270deg, rgba(0, 23, 43, 0.95) 46.64%, rgba(0, 0, 0, 0.6) 65.14%);
// background-blend-mode: multiply;
// mix-blend-mode: color;
// }
// &:after {
// background: #2a5f9e;
// background-blend-mode: multiply;
// mix-blend-mode: color;
// }
&__img {
position: absolute;
object-fit: cover;
width: 100%;
height: 100%;
left: 0;
top: 0;
}
h1 {
text-align: left;
color: $color-white;
}
ul {
margin-bottom: 25px;
color: $color-white;
li {
font-weight: 400;
font-size: rem(16);
@media screen and (min-width: 768px) {
font-size: rem(19);
}
}
}
p {
font-size: rem(16);
color: $color-white;
font-weight: 400;
strong {
font-weight: normal;
color: $color-gold-dark;
}
em {
// font-weight: normal;
font-weight: 700;
color: $color-white;
}
@media screen and (min-width: 768px) {
font-size: rem(19);
}
}
.container {
position: relative;
z-index: 5;
& > div {
max-width: 900px;
}
}
}
.donation-types {
position: relative;
background: url("../img/ruke-overlayed.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
padding: 40px 0 40px 0;
@media screen and (min-width: 992px) {
padding: 80px 0 100px 0;
}
// &:before {
// content: "";
// width: 100%;
// height: 100%;
// background: rgba(0, 23, 43, 0.8);
// background-blend-mode: multiply;
// mix-blend-mode: color;
// position: absolute;
// left: 0;
// top: 0;
// }
h1 {
color: $color-white;
margin-bottom: 36px;
@media screen and (min-width: 768px) {
margin-bottom: 80px;
}
}
h2 {
color: $color-white;
margin-bottom: 9px;
text-transform: none;
@media screen and (max-width: 767px) {
font-size: rem(18);
margin-bottom: 0px;
}
}
p {
color: $color-white;
margin-bottom: 17px;
text-align: center;
word-break: normal;
@media screen and (min-width: 768px) {
line-height: 1.4;
}
}
ul li {
color: $color-white;
margin-bottom: 20px;
}
hr {
border: none;
border-bottom: 2px solid $color-gold-dark;
margin-bottom: 15px;
margin-top: 0;
height: 5px;
// width: 224px;
width: 294px;
@media screen and (min-width: 768px) {
border-bottom: 5px solid $color-gold-dark;
margin-top: 8px;
width: 100%;
margin-bottom: 35px;
}
}
&__wrap {
display: flex;
flex-direction: column;
@media screen and (min-width: 992px) {
flex-direction: row;
}
}
&__col {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
margin: 0;
margin-bottom: 35px;
&:last-of-type {
margin-bottom: 0;
}
@media screen and (min-width: 992px) {
width: 50%;
flex: 1;
margin: 0 25px;
margin-bottom: 80px;
}
}
&__content {
max-width: 475px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.btn-wrap {
display: flex;
justify-content: center;
align-items: center;
}
.btn {
margin-top: 17px;
@media screen and (min-width: 768px) {
margin-top: 35px;
}
}
}
.donation + footer {
display: none;
}
// increment/decrement font-size
.font-controls {
display: flex;
align-items: center;
justify-content: flex-end;
&__increment,
&__decrement {
width: 42px;
height: 25px;
font-size: rem(14);
line-height: 1;
@media screen and (min-width: 992px) {
width: 56px;
height: 46px;
font-size: rem(28);
}
}
&__increment {
font-weight: 600;
color: #fff;
padding: 2px 26px 2px 10px;
background: #2b4a92;
border-radius: 6px 0 0 6px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 3px;
cursor: pointer;
border: none;
position: relative;
&:before,
&:after {
content: "";
position: absolute;
}
&:before {
width: 7px;
height: 2px;
background: #fff;
right: 10px;
top: 50%;
transform: translateY(-50%) rotate(90deg);
@media screen and (min-width: 992px) {
width: 11px;
height: 4px;
}
}
&:after {
width: 7px;
height: 2px;
background: #fff;
right: 10px;
top: 50%;
transform: translateY(-50%);
@media screen and (min-width: 992px) {
width: 11px;
height: 4px;
}
}
}
&__decrement {
font-weight: 600;
line-height: 1;
color: #fff;
padding: 2px 26px 2px 10px;
background: #2b4a92;
border-radius: 0 6px 6px 0;
display: flex;
align-items: center;
justify-content: center;
margin-right: 0;
cursor: pointer;
border: none;
position: relative;
&:after {
content: "";
position: absolute;
width: 7px;
height: 2px;
background: #fff;
right: 10px;
top: 50%;
transform: translateY(-50%);
@media screen and (min-width: 992px) {
width: 11px;
height: 4px;
}
}
}
}
.home {
.hero {
max-height: 667px;
// height: 700px;
overflow: hidden;
@media screen and (min-width: 992px) {
height: auto;
max-height: 822px;
}
}
.messages {
// display: block;
display: flex;
// flex-direction: column;
// justify-content: center;
// align-items: center;
@media screen and (min-width: 992px) {
display: block;
padding-top: 200px;
}
&__block {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
margin-bottom: 80px;
@media screen and (min-width: 992px) {
flex-direction: column;
}
}
&__img-wrap {
position: relative;
display: flex;
justify-content: center;
align-items: center;
// margin-top: -20%;
@media screen and (min-width: 992px) {
margin-top: 0;
}
&:first-of-type {
margin-top: 0%;
@media screen and (min-width: 992px) {
margin-top: 0;
}
}
&:nth-of-type(even) {
// margin-top: -40%;
@media screen and (min-width: 992px) {
margin-top: 0;
}
}
&:nth-of-type(3n + 3) {
// margin-top: -40%;
@media screen and (min-width: 992px) {
margin-top: 0;
}
}
}
&__img {
display: block;
transform: scale(0.9);
@media screen and (min-width: 992px) {
transform: scale(1);
}
}
.heart-1 {
width: 230px;
@media screen and (min-width: 992px) {
width: 298px;
}
}
.heart-2 {
width: 198px;
@media screen and (min-width: 992px) {
width: 253px;
}
}
.heart-3 {
width: 153px;
@media screen and (min-width: 992px) {
width: 206px;
}
}
span {
font-weight: 400;
position: absolute;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
font-size: rem(15);
line-height: 1.2;
margin: 0;
display: block;
width: 75%;
text-align: center;
@media screen and (min-width: 992px) {
font-size: rem(16);
}
}
.x1 {
animation: moveVerticallyMobile 9s ease-in-out infinite alternate, sideMovementMobile 52s linear infinite;
@media screen and (min-width: 992px) {
transform: translateX(0);
animation: moveVertically 46s linear infinite, sideMovement 4s ease-in-out infinite alternate;
}
}
.x2 {
margin-left: 80px;
animation: moveVerticallyMobile 12s ease-in-out infinite alternate, sideMovementMobile 64s linear infinite;
@media screen and (min-width: 992px) {
margin-left: 0;
left: 200px;
animation: moveVertically 55s linear infinite, sideMovement 5s ease-in-out infinite alternate;
}
}
.x3 {
margin-left: 50px;
animation: moveVerticallyMobile 12s ease-in-out infinite alternate, sideMovementMobile 64s linear infinite;
@media screen and (min-width: 992px) {
margin-left: 0;
left: -350px;
animation: moveVertically 59s linear infinite, sideMovement 4s ease-in-out infinite alternate;
}
}
// .x4 {
// margin-left: 300px;
// animation: moveVerticallyMobile 6s ease-in-out infinite alternate, sideMovementMobile 31s linear infinite;
// @media screen and (min-width: 992px) {
// margin-left: 0;
// left: -200px;
// animation: moveVertically 42s linear infinite, sideMovement 2s ease-in-out infinite alternate;
// }
// }
// .x5 {
// margin-left: 200px;
// animation: moveVerticallyMobile 2s ease-in-out infinite alternate, sideMovementMobile 21s linear infinite;
// @media screen and (min-width: 992px) {
// margin-left: 0;
// left: 200px;
// animation: moveVertically 38s linear infinite, sideMovement 1s ease-in-out infinite alternate;
// }
// }
// .x6 {
// margin-left: 50px;
// animation: moveVerticallyMobile 2s ease-in-out infinite alternate, sideMovementMobile 27s linear infinite;
// @media screen and (min-width: 992px) {
// margin-left: 0;
// left: -350px;
// animation: moveVertically 44s linear infinite, sideMovement 1s ease-in-out infinite alternate;
// }
// }
}
}
.donation-main {
// max-height: 1039px;
&__left {
overflow: hidden;
min-height: 560px;
@media screen and (min-width: 992px) {
min-height: 660px;
}
}
@media screen and (min-width: 1500px) {
// max-height: 1039px;
}
.messages {
// display: block;
display: flex;
// flex-direction: column;
// justify-content: center;
// align-items: center;
&__block {
display: flex;
flex-direction: row;
justify-content: center;
align-items: flex-start;
margin-bottom: 80px;
}
&__img-wrap {
position: relative;
display: flex;
justify-content: center;
align-items: center;
// margin-top: -20%;
// @media screen and (min-width: 992px) {
// margin-top: -20%;
// }
// &:first-of-type {
// margin-top: 0%;
// @media screen and (min-width: 992px) {
// margin-top: 0;
// }
// }
// &:nth-of-type(even) {
// margin-top: -40%;
// @media screen and (min-width: 992px) {
// margin-top: -20%;
// }
// }
// &:nth-of-type(3n + 3) {
// margin-top: -40%;
// @media screen and (min-width: 992px) {
// margin-top: -10%;
// }
// }
// &:nth-of-type(4n) {
// left: 20% !important;
// }
}
&__img {
display: block;
transform: scale(0.9);
@media screen and (min-width: 992px) {
transform: scale(1);
}
}
.heart-1 {
width: 300px;
@media screen and (min-width: 992px) {
width: 540px;
}
}
.heart-2 {
width: 198px;
@media screen and (min-width: 992px) {
width: 253px;
}
}
.heart-3 {
width: 153px;
@media screen and (min-width: 992px) {
width: 206px;
}
}
span {
font-weight: 400;
position: absolute;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
font-size: rem(15);
line-height: 1.2;
margin: 0;
display: block;
width: 75%;
text-align: center;
@media screen and (min-width: 992px) {
font-size: rem(16);
}
}
.x1 {
animation: moveVerticallyMobile 9s ease-in-out infinite alternate, sideMovementMobile 52s linear infinite;
}
.x2 {
margin-top: 70px;
margin-left: 80px;
animation: moveVerticallyMobile 12s ease-in-out infinite alternate, sideMovementMobile 64s linear infinite;
}
.x3 {
margin-top: 130px;
margin-left: 50px;
animation: moveVerticallyMobile 7s ease-in-out infinite alternate, sideMovementMobile 64s linear infinite;
}
// .x4 {
// transform: translateX(300px) translateY(40px);
// animation: moveVerticallyMobile 6s ease-in-out infinite alternate, sideMovementMobile 62s linear infinite;
// }
// .x5 {
// transform: translateX(200px);
// animation: moveVerticallyMobile 2s ease-in-out infinite alternate, sideMovementMobile 42s linear infinite;
// }
// .x6 {
// transform: translateX(50px);
// animation: moveVerticallyMobile 2s ease-in-out infinite alternate, sideMovementMobile 27s linear infinite;
// }
}
}
@keyframes moveVertically {
0% {
// top: 500px;
top: 0;
opacity: 0;
transform: scale(0);
}
5% {
top: 0;
opacity: 1;
transform: scale(1);
}
100% {
// top: -1500px;
top: -2500px;
}
}
@keyframes moveVerticallyMobile {
0% {
top: 80px;
}
100% {
top: 0px;
}
}
@keyframes sideMovement {
0% {
margin-left: 0px;
}
100% {
margin-left: 80px;
}
}
@keyframes sideMovementMobile {
0% {
// left: 800px;
left: 0;
opacity: 0;
transform: scale(0);
}
5% {
left: 0;
opacity: 1;
transform: scale(1);
}
100% {
// left: -1000px;
left: -1800px;
}
}
// an attempt was made
// @for $i from 1 through 6 {
// .x#{$i} {
// // background-color: lighten(#555555, $i * 5%);
// animation: moveVertically#{$i} #{(($i + 1) * 4)}s linear infinite, sideMovement #{(($i + 1) * 3)}s ease-in-out infinite alternate;
// }
// @keyframes moveVertically#{$i} {
// 0% {
// top: #{($i * 500)}px;
// }
// 100% {
// top: #{(($i - 10) * 100)}px;
// }
// }
// }
.iframe-wrap {
position: relative;
padding-bottom: 56.25%; /* proportion value to aspect ratio 16:9 (9 / 16 = 0.5625 or 56.25%) */
height: 0;
overflow: hidden;
// z-index: 9;
iframe {
// z-index: 9;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
.container.video-container {
max-width: 1760px;
}
.video-carousel {
position: relative;
width: 100vw;
left: -25px;
@media screen and (min-width: 768px) {
width: 100%;
left: initial;
}
.owl-stage {
padding: 100px 0;
// @media screen and (min-width: 768px) {
// padding: 80px 0;
// }
// @media screen and (min-width: 992px) {
// padding: 100px 0;
// }
.owl-item {
position: relative;
z-index: 4;
transition: transform 200ms ease-in-out;
@media screen and (min-width: 992px) {
transform: scale(1);
}
&:before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 5;
background: #2a5f9e;
background-blend-mode: multiply;
mix-blend-mode: color;
transition: 200ms opacity ease-in-out;
opacity: 1;
}
&:after {
content: "";
position: absolute;
background: rgba(0, 0, 0, 0.5);
background-blend-mode: multiply;
mix-blend-mode: normal;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 6;
transition: 200ms opacity ease-in-out;
opacity: 1;
}
&.middle {
z-index: 8;
transform: scale(2.5);
// @media screen and (min-width: 992px) {
// }
@media screen and (min-width: 768px) {
transform: scale(1.5);
}
&:after,
&:before {
opacity: 0;
z-index: 2;
height: 0;
}
}
}
}
.owl-nav {
.owl-prev,
.owl-next {
width: 13px;
height: 19px;
position: absolute;
top: 50%;
transform: translateY(-50%);
margin: 0;
background: transparent;
@media screen and (min-width: 992px) {
width: 33px;
height: 39px;
}
span {
display: none;
}
&:after {
opacity: 0;
transition: 200ms opacity ease-in-out;
}
&:before {
opacity: 1;
transition: 200ms opacity ease-in-out;
}
&:hover {
&:after {
opacity: 1;
}
&:before {
opacity: 0;
}
}
}
.owl-prev {
left: 15px;
@media screen and (min-width: 768px) {
left: 20%;
}
&:before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url("../img/icons/chevron-left.svg");
background-repeat: no-repeat;
background-size: contain;
background-position: center;
}
&:after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url("../img/icons/chevron-left-gold.svg");
background-repeat: no-repeat;
background-size: contain;
background-position: center;
}
}
.owl-next {
right: 15px;
@media screen and (min-width: 768px) {
right: 20%;
}
&:before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url("../img/icons/chevron-right.svg");
background-repeat: no-repeat;
background-size: contain;
background-position: center;
}
&:after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url("../img/icons/chevron-right-gold.svg");
background-repeat: no-repeat;
background-size: contain;
background-position: center;
}
}
}
}
.page-default {
padding: 76px 0 70px 0;
background: $color-white;
p {
strong {
font-weight: 700;
}
}
ol li,
ul li {
list-style: none;
color: $color-black;
font-size: rem(16);
strong {
font-weight: 700;
}
@media screen and (min-width: 768px) {
font-size: rem(19);
}
}
ul {
margin-bottom: 20px;
}
ol {
// padding: 0 0 0 20px;
padding: 0;
margin: 0 0 20px 0;
// counter-reset: customCounter;
li {
color: $color-text-dark;
// list-style: none;
padding-left: 0;
margin-bottom: 20px;
font-weight: 400;
// counter-increment: customCounter;
&:last-of-type {
margin-bottom: 0;
}
// &:before {
// content: counter(customCounter) ". ";
// font-weight: 700;
// }
}
}
}
.page-dark{
padding: 76px 0 70px 0;
p, h1, h2, ul, li {
color: #fff;
}
}
article {
.table-responsive {
width: 100%;
overflow-x: auto;
margin-bottom: 20px;
}
table {
width: 100%;
min-width: 600px;
th,
td {
border: 1px solid $color-blue-dark;
padding: 15px;
color: $color-black;
font-size: rem(16);
strong {
font-weight: 700;
}
@media screen and (min-width: 768px) {
font-size: rem(19);
}
p {
margin-bottom: 10px;
&:last-of-type {
margin-bottom: 0;
}
}
}
}
}
.patrons {
padding-top: 40px;
p a,
a {
font-weight: 400;
}
.icons-list {
li {
margin-bottom: 0;
}
margin-bottom: 0px;
@media screen and (min-width: 992px) {
margin-bottom: 40px;
}
}
}
.custom-loader {
display: none;
align-items: center;
position: absolute;
top: 50%;
left: 50%;
width: 100%;
height: 100%;
transform: translate(-50%, -50%);
background: #000;
filter: contrast(20);
}
.custom-loader .dot {
position: absolute;
width: 12px;
height: 12px;
top: 10px;
left: 30px;
filter: blur(4px);
background: #fff;
border-radius: 50%;
transform: translateX(0);
animation: dot 2.8s infinite;
top: 50%;
transform: translateX(0) translateY(-50%);
}
.custom-loader .dots {
transform: translateX(0);
transform: translateX(0) translateY(-50%);
margin-top: 12px;
margin-left: 46px;
animation: dots 2.8s infinite;
}
.custom-loader .dots span {
display: block;
float: left;
width: 12px;
height: 12px;
margin-left: 16px;
filter: blur(4px);
background: #fff;
border-radius: 50%;
}
@keyframes dot {
50% {
transform: translateX(58px) translateY(-50%);
}
}
@keyframes dots {
50% {
transform: translateX(-31px) translateY(-50%);
}
}