diff --git a/src/css/base.css b/src/css/base.css index a7c7869..f756197 100644 --- a/src/css/base.css +++ b/src/css/base.css @@ -35,12 +35,22 @@ button { margin-right: auto; } -@media screen and (min-width: 320px) and (max-width: 375px) { +@media screen and (min-width: 320px) and (max-width: 767px) { .container { max-width: 375px; padding-left: 20px; padding-right: 20px; } + + .section { + padding-bottom: 80px; + } +} + +@media screen and (min-width: 768px) { + .section { + padding-bottom: 150px; + } } @media screen and (min-width: 768px) and (max-width: 1279px) { @@ -51,18 +61,21 @@ button { } } -@media screen and (min-width: 1280px) and (max-width: 1439px) { +@media screen and (min-width: 1280px) { .container { - max-width: 1280px; padding-left: 50px; padding-right: 50px; } } +@media screen and (min-width: 1280px) and (max-width: 1439px) { + .container { + max-width: 1280px; + } +} + @media screen and (min-width: 1440px) { .container { max-width: 1440px; - padding-left: 50px; - padding-right: 50px; } } \ No newline at end of file diff --git a/src/css/hero.css b/src/css/hero.css index e69de29..d0f26db 100644 --- a/src/css/hero.css +++ b/src/css/hero.css @@ -0,0 +1,175 @@ +.background-picture { + background-image: linear-gradient(359deg, rgba(17, 19, 31, 0.80) 42.62%, rgba(17, 19, 31, 0.31) 84.12%, rgba(17, 19, 31, 0.00) 99.94%), + url(../img/hero/background-hero-mobil.jpg); + background-repeat: no-repeat; + background-position: 50% 0; + background-size: 375px 812px; +} + +@media screen and (min-resolution: 192dpi), +screen and (min-resolution: 2dppx), +screen and (min-device-pixel-ratio: 2) { + .background-picture { + background-image: linear-gradient(359deg, rgba(17, 19, 31, 0.80) 42.62%, rgba(17, 19, 31, 0.31) 84.12%, rgba(17, 19, 31, 0.00) 99.94%), + url('../img/hero/background-hero-mobil@2.jpg'); + } +} + +.hero { + margin-left: auto; + margin-right: auto; + padding-top: 260px; + padding-bottom: 243px; + background-color: transparent; +} + +/* .content-container { + display: flex; + flex-direction: column; + gap: 24px; + justify-content: center; + align-items: center; +} */ + +/* .hero-container { + display: flex; + flex-direction: column; + gap: 38px; +} */ + +.hero-title { + color: #FBFBFB; + text-align: center; + font-size: 32px; + font-weight: 500; + line-height: 1; + letter-spacing: -0.02em; + margin-left: auto; + margin-right: auto; + margin-bottom: 24px; +} + +.capitalize { + text-transform: capitalize; +} + +.hero-paragraph { + color: rgba(251, 251, 251, 0.70); + text-align: center; + font-size: 12px; + font-weight: 300; + line-height: 1.17; + margin-left: auto; + margin-right: auto; + margin-bottom: 38px; +} + +.hero-btn { + width: 141px; + border-radius: 15px; + background-color: #1B414B; + border: none; + padding: 14px 32px; + color: #FBFBFB; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 1.29; + letter-spacing: -0.02em; + margin: 0 auto; + display: block; + + +} + +/*-----TABLET-----*/ +@media screen and (min-width: 768px) { + .background-picture { + background-image: linear-gradient(359deg, rgba(17, 19, 31, 0.80) 42.62%, rgba(17, 19, 31, 0.31) 84.12%, rgba(17, 19, 31, 0.00) 99.94%), + url(../img/hero/background-hero-tablet.jpg); + background-repeat: no-repeat; + background-position: 50% 0; + background-size: 768px 962px; + } + + @media screen and (min-resolution: 192dpi), + screen and (min-resolution: 2dppx), + screen and (min-device-pixel-ratio: 2) { + .background-picture { + background-image: linear-gradient(359deg, rgba(17, 19, 31, 0.80) 42.62%, rgba(17, 19, 31, 0.31) 84.12%, rgba(17, 19, 31, 0.00) 99.94%), + url(../img/hero/background-hero-tablet@2.jpg); + } + } + + .hero { + padding-top: 280px; + padding-bottom: 215px; + } + + /* .hero-container { + gap: 48px; + } */ + + .hero-title { + font-size: 70px; + } + + .hero-paragraph { + font-size: 16px; + line-height: 1.4; + max-width: 597px; + } + + .hero-btn { + padding: 16px 40px; + /* color: #FBFBFB; */ + font-size: 18px; + line-height: 1.1; + width: 179px; + } +} + +/*-----DESKTOP1280-----*/ +@media screen and (min-width: 1280px) { + .background-picture { + background-image: linear-gradient(359deg, rgba(17, 19, 31, 0.80) 42.62%, rgba(17, 19, 31, 0.31) 84.12%, rgba(17, 19, 31, 0.00) 99.94%), + url(../img/hero/background-hero-desktop.jpg); + background-repeat: no-repeat; + background-position: 50% 0; + background-size: 1280px 800px; + } + + @media screen and (min-resolution: 192dpi), + screen and (min-resolution: 2dppx), + screen and (min-device-pixel-ratio: 2) { + .background-picture { + background-image: linear-gradient(359deg, rgba(17, 19, 31, 0.80) 42.62%, rgba(17, 19, 31, 0.31) 84.12%, rgba(17, 19, 31, 0.00) 99.94%), + url('../img/hero/background-hero-desktop@2.jpg'); + } + } + + .hero { + padding-top: 235px; + padding-bottom: 180px; + } + + .hero-title { + font-size: 80px; + } + + .hero-container { + padding-left: 140px; + padding-right: 140px; + } + +} + +/*-----DESKTOP1440-----*/ +@media screen and (min-width: 1440px) { + + .hero-container { + padding-left: 220px; + padding-right: 220px; + } + +} \ No newline at end of file diff --git a/src/css/modal-help.css b/src/css/modal-help.css new file mode 100644 index 0000000..2cd3c68 --- /dev/null +++ b/src/css/modal-help.css @@ -0,0 +1,179 @@ +.chat-button { + position: fixed; + right: 30px; + bottom: 30px; + display: inline-block; + width: 64px; + height: 64px; + margin: 0; + padding: 0; + border-radius: 50%; + border: 2px solid #FBFBFB; + background-color: #1B414B; + color: #FBFBFB; + text-align: center; + font-size: 18px; + font-weight: 500; + line-height: 1, 1; + letter-spacing: -0.02em; + cursor: pointer; +} + +.modal-help-page-backdrop { + position: fixed; + top: 0; + left: 0; + z-index: 999; + width: 100%; + height: 100%; + background-color: rgba(94, 99, 99, 0.7); + opacity: 1; + visibility: visible; + pointer-events: auto; + transition: opacity 250ms linear, visibility 250ms linear; +} + +.modal-help-page-backdrop.is-hidden { + opacity: 0; + visibility: hidden; + pointer-events: none; +} + +.modal-help-page-content { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + background-color: #0E1823; + padding: 20px 20px; + width: 335px; + min-height: 800px; + transition: transform 250ms linear; + box-sizing: border-box; +} + +.modal-help-close-btn { + position: absolute; + top: 20px; + right: 20px; + display: flex; + justify-content: center; + align-items: center; + border: none; + width: 28px; + height: 328px; + border-radius: none; + padding: 0; + line-height: 0; + background-color: #FBFBFB; + cursor: pointer; + transition: background-color 250ms linear; +} + +.modal-help-close-icon { + fill: none; + transition: fill 250ms linear; +} + +.modal-help-close-btn:hover, +.modal-help-close-btn:focus { + background-color: #1B414B; +} + +.modal-help-close-btn>.modal-close-icon:hover, +.modal-help-close-btn>.modal-close-icon:focus { + fill: #FBFBFB; + ; +} + +.modal-help-page-title { + color: #FBFBFB; + text-align: center; + font-size: 28px; + font-weight: 500; + line-height: 1; + letter-spacing: -0.02em; +} + +.modal-help-form-item-container { + margin-bottom: 20px; + display: block; +} + +.last { + margin-bottom: 32px; +} + +.modal-help-form-input-label { + color: #FBFBFB; + font-size: 18px; + font-weight: 400; + line-height: 1; + letter-spacing: -0.02em; + margin-left: 12px; + margin-bottom: 2px; +} + +.modal-help-form-input { + width: 100%; + height: 48px; + flex-shrink: 0; + border-bottom: 1px solid rgba(4, 3, 6, 0.40); + background-color: transparent; + color: #FBFBFB; + font-size: 16px; + font-weight: 400; + line-height: 1.4; + letter-spacing: -0.02em; + padding: 12px 14px; + outline: 0px solid transparent; + transition: border-color 250ms linear; + box-sizing: border-box; +} + +.modal-help-form-input::placeholder { + color: rgba(4, 3, 6, 0.40); + font-size: 16px; + font-weight: 400; + line-height: 1.4; + letter-spacing: -0.02em; +} + +.modal-help-form-input:focus-within { + border-color: #FBFBFB; +} + +.modal-help-form-button { + border-radius: 15px; + background-color: #1B414B; + padding: 14px 44px; + color: #FBFBFB; + font-size: 14px; + font-weight: 500; + line-height: 1.28; + letter-spacing: -0.02em; + transition: background-color 250ms linear; + margin: 0 auto; + display: block; + cursor: pointer; + border: none; +} + +.modal-help-form-button:hover, +.modal-help-form-button:focus { + background-color: #FBFBFB; + +} + +@media screen and (min-width: 768px) { + + .modal-help-page-content { + padding: 32px; + width: 458px; + } + + .modal-close-btn { + top: 32px; + right: 32px; + } +} \ No newline at end of file diff --git a/src/css/reviews.css b/src/css/reviews.css index e69de29..dca63a9 100644 --- a/src/css/reviews.css +++ b/src/css/reviews.css @@ -0,0 +1,164 @@ +.reviews-title { + text-align: center; + margin-bottom: 25px; +} + +.reviews-text { + color: #FBFBFB; + text-align: center; + font-size: 12px; + font-weight: 400; + line-height: 1.16; + letter-spacing: -0.02em; + opacity: 0.4; + margin-bottom: 40px; + margin-left: auto; + margin-right: auto; +} + +.reviews-list-item-first { + padding: 32px 8px; + border-radius: 24px; + background: #FBFBFB; +} + +.reviews-list-item-second { + display: none; +} + +.reviews-list-item-third { + display: none; +} + +.reviews-list-avatar { + margin: 0 auto; + margin-bottom: 24px; +} + +.reviews-list-fullname { + /* display: flex; + justify-content: center; */ + text-align: center; + color: #040306; + margin-bottom: 8px; +} + +.reviews-list-text-first { + color: rgba(4, 3, 6, 0.40); + text-align: center; + font-size: 16px; + font-weight: 400; + line-height: 1.4; + letter-spacing: -0.02em; + max-width: 303px; + margin-left: auto; + margin-right: auto; +} + +@media screen and (min-width: 768px) { + .reviews-title { + font-size: 48px; + } + + .reviews-text { + max-width: 571px; + font-size: 14px; + line-height: 1.28; + margin-bottom: 75px; + } + + .reviews-list { + display: flex; + gap: 32px; + justify-content: center; + } + + .reviews-list-item-second { + display: list-item; + padding: 32px 8px; + border-radius: 24px; + background: #FBFBFB; + } + + .reviews-list-text-second { + color: rgba(4, 3, 6, 0.40); + text-align: center; + font-size: 16px; + font-weight: 400; + line-height: 1.4; + letter-spacing: -0.02em; + max-width: 296px; + margin-left: auto; + margin-right: auto; + } +} + +@media screen and (min-width: 1280px) { + .reviews-title { + max-width: 854px; + margin-right: auto; + margin-left: auto; + } + + .reviews-list { + gap: 26px; + } + + .reviews-list-item-first { + padding: 32px 28px; + } + + .reviews-list-text-first { + max-width: 320px; + } + + .reviews-list-item-second { + padding: 32px 28px; + } + + .reviews-list-text-second { + max-width: 320px; + } + + .reviews-list-item-third { + display: list-item; + padding: 32px 28px; + border-radius: 24px; + background: #FBFBFB; + width: 376px; + } + + .reviews-list-text-third { + color: rgba(4, 3, 6, 0.40); + text-align: center; + font-size: 16px; + font-weight: 400; + line-height: 1.4; + letter-spacing: -0.02em; + max-width: 293px; + margin-left: auto; + margin-right: auto; + } + +} + +@media screen and (min-width: 1440px) { + .reviews-list { + gap: 32px; + } + + .reviews-list-item-first { + padding: 32px 36px; + width: 392px; + } + + .reviews-list-item-second { + padding: 32px 36px; + width: 392px; + } + + .reviews-list-item-third { + padding: 32px 36px; + width: 392px; + } +} \ No newline at end of file diff --git a/src/css/styles.css b/src/css/styles.css index 1ac2e02..eb53a91 100644 --- a/src/css/styles.css +++ b/src/css/styles.css @@ -10,4 +10,5 @@ @import url('./reviews.css'); @import url('./footer.css'); @import url('./mobil-menu.css'); -@import url('./js.css') \ No newline at end of file +@import url('./js.css'); +@import url('./modal-help.css'); \ No newline at end of file diff --git a/src/img/about_us/about-us-desktop1440.jpg b/src/img/about_us/about-us-desktop1440.jpg new file mode 100644 index 0000000..0a63b78 Binary files /dev/null and b/src/img/about_us/about-us-desktop1440.jpg differ diff --git a/src/img/about_us/about-us-desktop1440@2.jpg b/src/img/about_us/about-us-desktop1440@2.jpg new file mode 100644 index 0000000..b04f60e Binary files /dev/null and b/src/img/about_us/about-us-desktop1440@2.jpg differ diff --git a/src/img/advantages/advantages-desktop1440.jpg b/src/img/advantages/advantages-desktop1440.jpg new file mode 100644 index 0000000..d22702c Binary files /dev/null and b/src/img/advantages/advantages-desktop1440.jpg differ diff --git a/src/img/advantages/advantages-desktop1440@2.jpg b/src/img/advantages/advantages-desktop1440@2.jpg new file mode 100644 index 0000000..165e1a2 Binary files /dev/null and b/src/img/advantages/advantages-desktop1440@2.jpg differ diff --git a/src/img/hero/background-hero-desktop1440.jpg b/src/img/hero/background-hero-desktop1440.jpg new file mode 100644 index 0000000..eeb732f Binary files /dev/null and b/src/img/hero/background-hero-desktop1440.jpg differ diff --git a/src/img/hero/background-hero-desktop1440@2.jpg b/src/img/hero/background-hero-desktop1440@2.jpg new file mode 100644 index 0000000..ef48c00 Binary files /dev/null and b/src/img/hero/background-hero-desktop1440@2.jpg differ diff --git a/src/img/icons.svg b/src/img/icons.svg index af876e2..63b3e87 100644 --- a/src/img/icons.svg +++ b/src/img/icons.svg @@ -21,6 +21,9 @@ - + + + diff --git a/src/img/our_yachts/our-yacht-2-desktop1440.jpg b/src/img/our_yachts/our-yacht-2-desktop1440.jpg new file mode 100644 index 0000000..2e4f143 Binary files /dev/null and b/src/img/our_yachts/our-yacht-2-desktop1440.jpg differ diff --git a/src/img/our_yachts/our-yacht-2-desktop1440@2.jpg b/src/img/our_yachts/our-yacht-2-desktop1440@2.jpg new file mode 100644 index 0000000..6f44d25 Binary files /dev/null and b/src/img/our_yachts/our-yacht-2-desktop1440@2.jpg differ diff --git a/src/img/our_yachts/our-yacht-3-desktop1440.jpg b/src/img/our_yachts/our-yacht-3-desktop1440.jpg new file mode 100644 index 0000000..e271216 Binary files /dev/null and b/src/img/our_yachts/our-yacht-3-desktop1440.jpg differ diff --git a/src/img/our_yachts/our-yacht-3-desktop1440@2.jpg b/src/img/our_yachts/our-yacht-3-desktop1440@2.jpg new file mode 100644 index 0000000..cc4d293 Binary files /dev/null and b/src/img/our_yachts/our-yacht-3-desktop1440@2.jpg differ diff --git a/src/img/our_yachts/our-yacht-desktop1440.jpg b/src/img/our_yachts/our-yacht-desktop1440.jpg new file mode 100644 index 0000000..37c04b2 Binary files /dev/null and b/src/img/our_yachts/our-yacht-desktop1440.jpg differ diff --git a/src/img/our_yachts/our-yacht-desktop1440@2.jpg b/src/img/our_yachts/our-yacht-desktop1440@2.jpg new file mode 100644 index 0000000..9b4a41b Binary files /dev/null and b/src/img/our_yachts/our-yacht-desktop1440@2.jpg differ diff --git a/src/img/rent_a_yacht/rent-desktop1440.jpg b/src/img/rent_a_yacht/rent-desktop1440.jpg new file mode 100644 index 0000000..3abc26f Binary files /dev/null and b/src/img/rent_a_yacht/rent-desktop1440.jpg differ diff --git a/src/img/rent_a_yacht/rent-desktop1440@2.jpg b/src/img/rent_a_yacht/rent-desktop1440@2.jpg new file mode 100644 index 0000000..43fb329 Binary files /dev/null and b/src/img/rent_a_yacht/rent-desktop1440@2.jpg differ diff --git a/src/index.html b/src/index.html index 3428e32..fba2a53 100644 --- a/src/index.html +++ b/src/index.html @@ -31,6 +31,7 @@ +