File: /var/www/zaklada/html/lib/scss/pages/homepage.scss
.latest-news {
background: $color-blue-dark;
&__title {
color: $color-white;
padding: 16px 10px 20px;
margin-bottom: 0;
@media screen and (min-width: 992px) {
padding: 13px 10px;
}
}
&__list {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 0 20px;
@media screen and (min-width: 992px) {
padding: 0;
}
}
.news-box-home {
// flex-basis: 100%;
// flex-basis: 280px;
// height: 175px;
min-height: 200px;
position: relative;
margin-bottom: 10px;
@media screen and (min-width: 480px) {
margin-left: 10px;
margin-right: 10px;
margin-bottom: 20px;
min-height: 230px;
}
@media screen and (min-width: 768px) {
// height: 300px;
// flex-basis: 33%;
flex-basis: 45%;
}
@media screen and (min-width: 1200px) {
flex-basis: 25%;
margin-left: 0;
margin-right: 0;
margin-bottom: 0;
min-height: 200px;
}
&:hover {
.news-box-home__text-wrap {
&:before {
height: 100%;
}
}
}
&__img {
width: 100%;
height: 100%;
object-fit: cover;
}
&__date {
font-weight: 400;
color: $color-white;
font-size: rem(12);
line-height: 1.5;
position: absolute;
top: 15px;
right: 15px;
@media screen and (min-width: 992px) {
font-size: rem(20);
}
}
&__text-wrap {
transition: all 200ms ease-in-out;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding: 10px 15px;
z-index: 2;
@media screen and (max-width: 600px) {
height: auto !important;
}
@media screen and (min-width: 600px) {
padding: 15px 25px 20px 25px;
}
// @media screen and (min-width: 992px) {
// padding: 15px 25px 20px 25px;
// }
&:before {
content: "";
transition: all 200ms ease-in-out;
z-index: 2;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 5px;
background: $color-gold-dark;
}
&:after {
content: "";
z-index: 1;
position: absolute;
bottom: 0;
left: 0;
height: 100%;
width: 100%;
background: rgba(0, 23, 43, 0.8);
}
}
&__title {
position: relative;
text-align: left;
z-index: 3;
font-weight: 700;
color: $color-white;
font-size: rem(16);
line-height: 1.5;
margin-bottom: 0;
text-transform: none;
@media screen and (min-width: 1200px) {
font-size: rem(20);
}
}
}
}
.newsletter{
background: $color-bg-gray;
padding: 30px 0;
&__outter-wrap{
justify-content: center;
}
&__inner-wrap{
display: flex;
flex-direction: column;
align-items: center;
}
&__icon{
width: 60px;
height: 60px;
margin-bottom: 20px;
}
&__content-wrap{
display: flex;
flex-direction: column;
align-items: center;
a:hover{
background: $color-gold-dark;
border: 2px solid $color-gold-dark;
}
}
&__title{
margin-bottom: 10px;
}
&__content{
font-weight: 400;
margin-bottom: 20px;
}
}
.about {
background: $color-blue-dark;
display: flex;
flex-direction: column;
@media screen and (min-width: 992px) {
flex-direction: row;
}
&__left {
flex-basis: 50%;
display: flex;
justify-content: center;
padding: 55px 15px 70px 15px;
}
&__content {
max-width: 525px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
&__title {
color: $color-white;
margin-bottom: 40px;
}
&__text {
color: $color-white;
margin-bottom: 55px;
text-align: center;
font-size: rem(16);
line-height: 1.5;
@media screen and (min-width: 992px) {
font-size: rem(19);
}
}
&__right {
flex-basis: 50%;
position: relative;
&:after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 100%;
background: linear-gradient(180deg, #00172b 0%, rgba(0, 23, 43, 0) 50%);
}
// &:before {
// content: "";
// position: absolute;
// left: 0;
// top: 0;
// width: 100%;
// height: 50%;
// background: linear-gradient(180deg, #00172b 0%, rgba(0, 23, 43, 0) 96.51%);
// }
}
&__img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
}
.three-tabs {
background: url("../img/goalkeeper-saving.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
display: flex;
align-items: flex-end;
flex-wrap: wrap;
padding: 34px 27px 14px 27px;
@media screen and (min-width: 992px) {
min-height: 726px;
// padding: 185px 0 65px 0;
padding: 80px 0 65px;
}
&__img {
max-width: 100%;
display: block;
margin: 0 auto;
margin-bottom: 22px;
@media screen and (max-width: 768px) {
width: 130px;
}
@media screen and (min-width: 992px) {
margin-bottom: 100px;
width: 370px;
}
}
.expandable {
margin-bottom: 16px;
@media screen and (min-width: 992px) {
margin-bottom: 0;
}
&__btn {
padding: 10px 30px;
// @media screen and (min-width: 992px) {
// padding: 10px 30px;
// }
}
}
}
.social-links {
background: $color-gold-dark;
&__wrap {
padding: 15px 0;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
@media screen and (min-width: 768px) {
flex-direction: row;
padding: 23px;
}
}
&__links {
display: flex;
flex-direction: row;
align-items: center;
}
&__text {
font-weight: 400;
font-size: rem(14);
color: $color-white;
line-height: 1;
margin: 0;
margin-bottom: 15px;
@media screen and (min-width: 768px) {
font-size: rem(16);
margin-bottom: 0;
margin-right: 86px;
}
}
&__item {
display: flex;
align-items: center;
margin-right: 30px;
text-decoration: none;
font-weight: 400;
&:hover {
.social-links__title {
text-decoration: underline;
// font-weight: bold;
}
}
@media screen and (min-width: 768px) {
margin-right: 69px;
}
&:last-of-type {
margin-right: 0;
}
}
&__img {
margin-right: 15px;
width: 29px;
@media screen and (min-width: 768px) {
width: auto;
}
}
&__title {
color: $color-white;
font-size: rem(14);
@media screen and (min-width: 768px) {
font-size: rem(16);
}
}
}
.main-sponsor {
background: $color-blue-dark;
&__wrap {
padding: 21px 15px 8px 15px;
@media screen and (min-width: 768px) {
padding: 64px 0 35px 0;
}
}
h1 {
color: $color-white;
margin-bottom: 0px;
@media screen and (min-width: 768px) {
margin-bottom: 20px;
}
}
&__logo {
display: block;
margin: 0 auto;
margin-bottom: 5px;
@media screen and (min-width: 768px) {
margin-bottom: 21px;
}
}
&__img {
display: block;
max-width: 100%;
object-fit: cover;
margin-bottom: 30px;
@media screen and (min-width: 992px) {
height: 100%;
}
}
}
.programs {
padding: 55px 0 20px 0;
background: $color-bg-gray;
@media screen and (min-width: 768px) {
padding: 55px 0 120px 0;
}
&__main-title {
margin: 0;
// font-weight: 700;
margin-bottom: 12px;
color: $color-blue-dark;
}
&__text {
margin: 0;
font-size: rem(16);
line-height: 1.5;
margin-bottom: 55px;
text-align: center;
@media screen and (min-width: 992px) {
font-size: rem(20);
}
}
&__box {
margin-bottom: 40px;
@media screen and (min-width: 992px) {
margin-bottom: 0px;
}
&:hover {
.programs__text-wrap {
&:before {
height: 100%;
}
}
}
}
&__img-wrap {
display: block;
position: relative;
height: 100%;
&:after,
&:before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
&:after {
background: rgba(0, 0, 0, 0.5);
background-blend-mode: multiply;
mix-blend-mode: normal;
}
&:before {
background: #2a5f9e;
background-blend-mode: multiply;
mix-blend-mode: color;
}
}
&__img {
width: 100%;
object-fit: cover;
height: 100%;
}
&__text-wrap {
transition: all 200ms ease-in-out;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding: 20px 10px;
z-index: 2;
@media screen and (min-width: 992px) {
padding: 20px 40px;
}
&:before {
transition: all 200ms ease-in-out;
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 6px;
background: $color-gold-dark;
@media screen and (min-width: 992px) {
height: 13px;
}
}
}
&__title {
font-size: rem(16);
line-height: 1.5;
font-weight: 700;
color: $color-white;
text-align: center;
text-transform: none;
position: relative;
z-index: 3;
margin: 0;
// @media screen and (min-width: 768px) {
// font-size: rem(16);
// }
@media screen and (min-width: 992px) {
font-size: rem(20);
}
}
}
.instagram-feed {
&__title-box {
padding: 28px 10px;
background: $color-gold-dark;
}
&__title {
margin: 0;
color: $color-white;
}
&__slider {
.owl-nav {
margin-top: 0;
.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: 22px;
}
&: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: 22px;
}
&: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;
}
}
}
}
&__box {
position: relative;
z-index: 1;
display: block;
&:before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 2;
opacity: 0;
transition: opacity 200ms ease-in-out;
background: rgba(0, 0, 0, 0.5);
background-blend-mode: multiply;
mix-blend-mode: normal;
}
&:after {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translateY(-50%) translateX(-50%);
width: 40px;
height: 40px;
z-index: 3;
opacity: 0;
transition: opacity 200ms ease-in-out;
background: url("../img/icons/ig-icon.svg");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
&:hover {
&:before,
&:after {
opacity: 1;
}
}
&:hover {
&:before,
&:after {
opacity: 1;
}
}
img {
width: 100%;
height: 100%;
object-fit: cover;
}
}
}
.gallery {
padding: 60px 0 40px 0;
background: $color-blue-dark;
overflow: hidden;
@media screen and (min-width: 768px) {
padding: 66px 10px 47px;
}
&__title {
color: $color-white;
margin: 0;
margin-bottom: 5px;
}
&__description {
font-weight: 400;
// font-size: 20px;
color: $color-white;
max-width: 930px;
text-align: center;
margin: 0 auto 20px auto;
@media screen and (min-width: 768px) {
margin: 0 auto 50px auto;
}
}
}
.sponsors {
background: $color-bg-gray;
padding: 60px 0;
&__title {
margin: 0;
margin-bottom: 20px;
}
&__wrap {
padding: 20px 0 30px 0;
border-bottom: 1px solid $color-black;
display: flex;
flex-direction: column;
align-items: center;
@media screen and (min-width: 768px) {
padding: 56px 0 36px 0;
flex-direction: row;
}
&:last-of-type {
border-bottom: none;
}
}
&__type {
padding-left: 20px;
padding-right: 20px;
@media screen and (min-width: 768px) {
width: 153px;
flex-basis: 153px;
}
@media screen and (min-width: 992px) {
width: 203px;
flex-basis: 203px;
}
}
// &__type-img {
// width: 123px;
// height: 123px;
// }
&__list {
display: flex;
align-items: center;
flex-wrap: wrap;
justify-content: center;
@media screen and (min-width: 768px) {
flex-wrap: nowrap;
justify-content: flex-start;
flex: 1;
}
}
&__item {
padding: 0;
margin: 20px 10px;
&:before {
display: none;
}
}
}
.become-a-patron {
padding: 55px 0;
background-color: #fff;
&__title {
color: $color-blue-dark;
margin: 0;
margin-bottom: 5px;
}
&__text {
// font-size: rem(20);
line-height: 1.5;
text-align: center;
color: $color-blue-dark;
margin: 0;
margin-bottom: 33px;
}
}