|
@@ -1,5 +1,5 @@
|
|
|
:root {
|
|
|
- --accent-color: #509853;
|
|
|
+ --accent-color: #0A314F;
|
|
|
--bg-color: #fff;
|
|
|
--dark-color: #393939;
|
|
|
--white-color: #fff;
|
|
@@ -12,6 +12,9 @@
|
|
|
padding: 0;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
+html {
|
|
|
+ scroll-behavior: smooth;
|
|
|
+}
|
|
|
|
|
|
body {
|
|
|
font-family: sans-serif;
|
|
@@ -34,6 +37,10 @@ a {
|
|
|
.header__nav {
|
|
|
background-color: var(--accent-color);
|
|
|
height: 50px;
|
|
|
+ position: fixed;
|
|
|
+ width: 100%;
|
|
|
+ top: 0;
|
|
|
+ z-index: 3;
|
|
|
}
|
|
|
|
|
|
.header__container {
|
|
@@ -57,6 +64,7 @@ a {
|
|
|
color: var(--white-color);
|
|
|
font-size: 24px;
|
|
|
cursor: pointer;
|
|
|
+ transition: all 0.4s;
|
|
|
}
|
|
|
|
|
|
.header__nav-buttons {
|
|
@@ -72,6 +80,7 @@ a {
|
|
|
}
|
|
|
|
|
|
.header__sub {
|
|
|
+ margin-top: 50px;
|
|
|
padding: 40px 0;
|
|
|
background-color: var(--white-color);
|
|
|
border-bottom: 5px solid var(--accent-color);
|
|
@@ -106,6 +115,10 @@ a {
|
|
|
font-size: 24px;
|
|
|
}
|
|
|
|
|
|
+.header__logo {
|
|
|
+ max-width: 130px;
|
|
|
+}
|
|
|
+
|
|
|
.header__sub-bottom {
|
|
|
display: flex;
|
|
|
gap: 32px;
|
|
@@ -117,8 +130,42 @@ a {
|
|
|
font-size: 18px;
|
|
|
}
|
|
|
|
|
|
+.header__burger i.icon-menu {
|
|
|
+ transform: rotate(0);
|
|
|
+}
|
|
|
+.header__burger i.icon-close {
|
|
|
+ transform: rotate(180deg);
|
|
|
+}
|
|
|
+
|
|
|
+.open-menu {
|
|
|
+ position: fixed;
|
|
|
+ top: 50px;
|
|
|
+ width: 100%;
|
|
|
+ height: 50px;
|
|
|
+ padding: 16px;
|
|
|
+ background-color: var(--accent-color);
|
|
|
+ transition: all 0.5s;
|
|
|
+ z-index: 2;
|
|
|
+}
|
|
|
+
|
|
|
+.open-menu.hidden {
|
|
|
+ transform: translateY(-100%);
|
|
|
+}
|
|
|
+
|
|
|
+.open-menu__container {
|
|
|
+ display: flex;
|
|
|
+ gap: 16px;
|
|
|
+ justify-content: space-between;
|
|
|
+}
|
|
|
+
|
|
|
+.open-menu__link {
|
|
|
+ color: var(--white-color);
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
.slider {
|
|
|
- padding: 64px 0;
|
|
|
+ padding: clamp(2rem, 1.273rem + 3.64vw, 4rem) 0;
|
|
|
}
|
|
|
|
|
|
.swiper-slide {
|
|
@@ -132,6 +179,12 @@ a {
|
|
|
width: 100%;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+.slide__title {
|
|
|
+ font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
|
|
|
+}
|
|
|
+
|
|
|
.slide__info {
|
|
|
position: absolute;
|
|
|
z-index: 2;
|
|
@@ -142,8 +195,7 @@ a {
|
|
|
flex-direction: column;
|
|
|
gap: 16px;
|
|
|
right: 0;
|
|
|
- min-width: 500px;
|
|
|
- max-width: 600px;
|
|
|
+ width: clamp(15.625rem, 7.67rem + 39.77vw, 37.5rem);
|
|
|
align-items: flex-start;
|
|
|
}
|
|
|
|
|
@@ -174,6 +226,7 @@ a {
|
|
|
.info-list__container {
|
|
|
display: flex;
|
|
|
gap: 16px;
|
|
|
+ flex-wrap: wrap;
|
|
|
}
|
|
|
|
|
|
.info-list__item {
|
|
@@ -185,11 +238,12 @@ a {
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
gap: 16px;
|
|
|
- font-size: 20px;
|
|
|
+ font-size: clamp(0.875rem, 0.739rem + 0.68vw, 1.25rem);
|
|
|
}
|
|
|
|
|
|
.important {
|
|
|
- padding: 64px 0;
|
|
|
+ padding: clamp(2rem, 1.273rem + 3.64vw, 4rem) 0;
|
|
|
+ max-width: 100vw;
|
|
|
}
|
|
|
|
|
|
.title-block {
|
|
@@ -206,7 +260,7 @@ a {
|
|
|
}
|
|
|
|
|
|
.title {
|
|
|
- font-size: 28px;
|
|
|
+ font-size: clamp(1.125rem, 0.898rem + 1.14vw, 1.75rem);
|
|
|
color: var(--dark-color);
|
|
|
}
|
|
|
|
|
@@ -218,6 +272,7 @@ a {
|
|
|
|
|
|
.i-news__image {
|
|
|
max-width: 350px;
|
|
|
+ object-fit: contain;
|
|
|
}
|
|
|
|
|
|
.i-news {
|
|
@@ -237,18 +292,18 @@ a {
|
|
|
}
|
|
|
|
|
|
.news {
|
|
|
- padding: 64px 0;
|
|
|
+ padding: clamp(2rem, 1.273rem + 3.64vw, 4rem) 0;
|
|
|
}
|
|
|
|
|
|
.news__list {
|
|
|
display: flex;
|
|
|
gap: 48px;
|
|
|
- justify-content: space-between;
|
|
|
+ justify-content: center;
|
|
|
flex-wrap: wrap;
|
|
|
}
|
|
|
|
|
|
.news__item {
|
|
|
- max-width: 350px;
|
|
|
+ max-width: clamp(15.625rem, 1.042rem + 83.33vw, 21.875rem);
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
background-color: var(--white-color);
|
|
@@ -259,13 +314,22 @@ a {
|
|
|
|
|
|
.news__item-img {
|
|
|
margin-bottom: 32px;
|
|
|
+ height: 215px;
|
|
|
+ object-fit: cover;
|
|
|
}
|
|
|
|
|
|
-.news__item-button {
|
|
|
+.button_blue {
|
|
|
border: 1px solid var(--accent-color);
|
|
|
color: var(--accent-color);
|
|
|
}
|
|
|
|
|
|
+.news__button {
|
|
|
+ display: block;
|
|
|
+ margin: 0 auto;
|
|
|
+ margin-top: 32px;
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
.news__item-info {
|
|
|
padding: 0 16px 16px;
|
|
|
flex: 1;
|
|
@@ -293,17 +357,17 @@ a {
|
|
|
color: var(--accent-color);
|
|
|
}
|
|
|
|
|
|
-.news__item-button:hover {
|
|
|
+.button_blue:hover {
|
|
|
background-color: var(--accent-color);
|
|
|
color: var(--white-color);
|
|
|
}
|
|
|
|
|
|
.gallery {
|
|
|
- padding: 64px 0;
|
|
|
+ padding: clamp(2rem, 1.273rem + 3.64vw, 4rem) 0;
|
|
|
}
|
|
|
|
|
|
.footer {
|
|
|
- padding: 64px 0;
|
|
|
+ padding: clamp(2rem, 1.273rem + 3.64vw, 4rem) 0;
|
|
|
background-color: var(--dark-color);
|
|
|
color: var(--white-color);
|
|
|
}
|
|
@@ -341,6 +405,11 @@ a {
|
|
|
gap: 8px;
|
|
|
}
|
|
|
|
|
|
+.footer__social-wrapper {
|
|
|
+ display: flex;
|
|
|
+ gap: 32px;
|
|
|
+}
|
|
|
+
|
|
|
.footer__social-item i {
|
|
|
font-size: 24px;
|
|
|
}
|
|
@@ -350,11 +419,156 @@ a {
|
|
|
}
|
|
|
|
|
|
.gallery .slide__image {
|
|
|
- height: 800px;
|
|
|
+ height: clamp(25rem, 15.909rem + 45.45vw, 50rem);
|
|
|
object-fit: cover;
|
|
|
}
|
|
|
|
|
|
.slider .slide__image {
|
|
|
- height: 500px;
|
|
|
+ height: clamp(15.625rem, 9.943rem + 28.41vw, 31.25rem);
|
|
|
object-fit: cover;
|
|
|
+}
|
|
|
+
|
|
|
+.modal {
|
|
|
+ position: fixed;
|
|
|
+ left: 0;
|
|
|
+ top: 0;
|
|
|
+ bottom: 0;
|
|
|
+ right: 0;
|
|
|
+ z-index: 4;
|
|
|
+ background-color: rgba(21, 21, 21, 0.82);
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+
|
|
|
+.popup {
|
|
|
+ color: var(--dark-color);
|
|
|
+ max-width: 90%;
|
|
|
+ background-color: var(--white-color);
|
|
|
+ border-radius: 2px;
|
|
|
+ display: flex;
|
|
|
+ height: max-content;
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+
|
|
|
+.popup__info {
|
|
|
+ padding: 16px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ height: 100%;
|
|
|
+ justify-content: space-between;
|
|
|
+}
|
|
|
+
|
|
|
+.popup__date {
|
|
|
+ color: var(--accent-color);
|
|
|
+ font-weight: 600;
|
|
|
+}
|
|
|
+
|
|
|
+.popup__title {
|
|
|
+ margin-bottom: 16px;
|
|
|
+}
|
|
|
+
|
|
|
+.popup__text {
|
|
|
+ margin-top: 16px;
|
|
|
+ margin-bottom: 64px;
|
|
|
+ max-width: 900px;
|
|
|
+}
|
|
|
+
|
|
|
+.popup__button {
|
|
|
+ align-self: flex-end;
|
|
|
+ position: absolute;
|
|
|
+ bottom: 16px;
|
|
|
+}
|
|
|
+
|
|
|
+@media screen and (max-width: 1280px){
|
|
|
+ .popup {
|
|
|
+ flex-direction: column;
|
|
|
+ overflow-x: scroll;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+@media screen and (max-width: 1048px){
|
|
|
+ .header__sub-bottom {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ .open-menu {
|
|
|
+ top: 0;
|
|
|
+ height: 100vh;
|
|
|
+ transform: translateY(0%);
|
|
|
+ }
|
|
|
+
|
|
|
+ .open-menu__container {
|
|
|
+ height: 100%;
|
|
|
+ flex-direction: column;
|
|
|
+ gap: 32px;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+@media screen and (max-width: 900px){
|
|
|
+ .i-news {
|
|
|
+ flex-direction: column;
|
|
|
+ }
|
|
|
+
|
|
|
+ .footer__nav {
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ gap: 8px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+@media screen and (max-width: 784px){
|
|
|
+ .header__info {
|
|
|
+ flex-direction: column;
|
|
|
+ gap: 4px;
|
|
|
+ }
|
|
|
+ .gallery .slide__image {
|
|
|
+ object-fit: contain;
|
|
|
+ height: auto;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+@media screen and (max-width: 500px){
|
|
|
+ .footer__social {
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
+ .footer__social-wrapper {
|
|
|
+ order: 2;
|
|
|
+ }
|
|
|
+ .popup__image {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+@media screen and (max-width: 400px){
|
|
|
+ .header__sub-top {
|
|
|
+ flex-direction: column;
|
|
|
+ gap: 16px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .open-menu__container {
|
|
|
+ align-items: flex-start;
|
|
|
+ }
|
|
|
+
|
|
|
+ .header__nav-links {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ .slider-button {
|
|
|
+ display: none!important;
|
|
|
+ }
|
|
|
+ .slide__info {
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+ .popup__text {
|
|
|
+ font-size: 14px;
|
|
|
+ max-height: 300px;
|
|
|
+ overflow-x: scroll;
|
|
|
+ }
|
|
|
+
|
|
|
}
|