*, *:after, *:before { box-sizing: border-box; } body{ font: 14px/1.57 ; font-family: 'Open Sans', sans-serif; color: rgb(96, 96, 96); } .wrapper{ display: flex; flex-direction: column; max-height: 100vh; } .header{ display: flex; background:#fff; justify-content: center; padding: 15px; } .header-nav{ display: flex; align-items: center; } .header-burger{ display: none; } .header-menu{ display: inline-flex; } .header-logo{ display: inline-flex; align-items: center; margin: 0 125px ; } .header-logo img{ margin-left: -50%; } .header-menu a{ text-decoration: none; color: rgb(96, 96, 96); margin:0 20px; left: 100%; } .header-menu a:hover{ color: rgb(83, 99, 219); border-bottom: 2px solid rgb(83, 99, 219); width: 30px; } #menu__toggle { opacity: 0; } .menu__btn { display: flex; align-items: center; position: fixed; top: 20px; left: 20px; width: 26px; height: 26px; cursor: pointer; opacity: 0; z-index: 99; } .menu__btn > span, .menu__btn > span::before, .menu__btn > span::after { display: block; position: absolute; width: 100%; height: 2px; background-color: #616161; } .menu__btn > span::before { content: ''; top: -8px; } .menu__btn > span::after { content: ''; top: 8px; } .intro{ display: flex; position: relative; background:url('../img/img-visual.jpg'); background-size: cover ; background-position: 50% 50%; justify-content: center; align-items: center; height: calc(100vh - 98px); padding:15px; } .intro:after{ content:''; top: 0; left: 0; bottom: 0; right: 0; position: absolute; background-color: rgba(83, 99, 219, 0.7); } .intro-form{ display: flex; background: #fff; flex-direction: column; z-index:100; border-radius: 20px; margin-left: 10vw; } .intro-form p{ color: rgba(83, 99, 219); margin: 40px 30px 10px; font-size: 1.8em; font-weight: 500; } .btn{ background: rgba(83, 99, 219); color: #fff; border-radius: 10px; border:none; margin: 25px 25px 35px 98px; width: 175px; height: 50px; /* text-decoration: none;*/ font-size: 1.2em; } input[type="text"], select { display: inline-flex; height: 50px; border-radius: 3px; box-shadow: none; border: 1px solid #ccc; padding: 3px; width:230px; margin: 20px 40px 0 30px; background: #d5d5d5; } .intro-text{ color:#fff ; z-index: 100; margin-left: 100px; } .intro-text H1{ font-size: 48px; font-weight: 800; line-height: 70px; margin-bottom: 45px; } .intro-text p{ font-family: 'Satisfy', cursive; font-size: 1.8em; } .info{ height: auto; align-content: center; } .info-container{ margin-bottom: 100px; } .info-box{ display: flex; flex-wrap: nowrap; background: #fff; margin: 15px; border-radius: 10px; overflow-x: hidden; box-shadow: 0px 0px 18px -4px rgba(0,0,0,0.75); } .info-box img{ object-fit:cover; width: 270px; height: 300px; overflow-x: hidden; } .info-txt{ width: 300px; text-align: left; align-items: center; padding: 50px 30px; } .info-txt h3{ font-weight: 600; margin-bottom: 30px; } .info-txt p{ margin-bottom: 30px; } .info-txt span{ font-size: 0.9em; color: #CDCCCC; } .info-content{ display: flex; justify-content: center; align-content: center; } .info-text{ margin:100px 0; align-items: center; text-align: center; } .info-text h2{ color:rgb(83,96,219); font-size: 2em; font-weight: 600; margin: 15px; } .info-text p{ font-family: 'Satisfy', cursive; font-size: 1.5em; margin: 15px; } .ch-box{ display: flex; position: relative; background:url('../img/lotus.png'); background-size: cover ; background-position: 50% 50%; justify-content: center; align-items: center; /* height: calc(100vh - 98px);*/ padding:15px; } .card-holder { display: flex; justify-content: center; } .card { display: flex; flex-direction: column; align-items: center; max-width: 475px; margin: 12px; border: solid 1px silver; border-radius: 10px; overflow-x: hidden; background: #fff; box-shadow: 0px 0px 35px -14px rgba(0,0,0,0.68); } .price { display:inline-flex; justify-content:center; background: rgb(91,108,235); width: 100%; padding:60px; } .price h3{ font-size: 3em; color:#fff; margin:-10px 0 0 0; } .price p { text-align: center; color: #fff; font-weight: bold; font-size: 1.5em; } .price p:last-child{ margin-top: 20px; font-size: 1.2em; } .btn-cont { display: flex; background: rgb(91,108,235); text-decoration: none; color: #fff; margin-bottom: 50px; padding: 10px; border-radius: 15px; width:150px; vertical-align:middle; justify-content: center; } .card-content { display: flex; flex-direction: column; align-items: center; padding:25px 75px; max-width: 375px; } .card-content p{ display: block; padding: 10px 0; margin:15px; } .footer{ display: block; left: 0; right: 0; bottom: 0; height: 10vh; background: #5063d9; } .footer-duwn{ background: #586ceb; margin: 0; display: flex; justify-content: center; padding: 100px ; color: #fff; } .footer-page{ display: flex; justify-content: center; color: #818fe8; align-items: center; height: 100%; } .about-duwn{ width: 450px ; display: block; margin-right: 200px; } .social-networks{ margin: 15px 0 0 55px; text-align: left; } .social-networks a{ text-decoration: none; } .about-icon{ margin: 15px; } .about-icon li{ display: inline; margin: 5px; } .contact-duwm{ display: flex; flex-direction: column; } .c-duwn{ display: inline-flex; max-width: 500px; } .dl{ margin-right: 15px; display: inline-flex; } .phone{ display: inline-flex; } .ph0ne{ display: flex; flex-direction: column; } .u-duwn{ margin-left: 20px; } .u-duwn h2{ font-weight: 600; } .dl a{ text-decoration: none; margin: 15px 0 0 15px ; color: #fff; } .about-txt-h{ margin-bottom: 15px; } .about-txt-h h2{ font-weight: 600; } .photo{ width: 100%; display: flex; flex-wrap: wrap; justify-content: center; } .g-photo{ object-fit: cover; width: 25%; margin:-2px 0; } .g-photo img{ width: 100%; } .photo a{ display: block; position: relative; } .photo a:after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin:0 auto; background: rgba(83, 99, 219, 0.7);; opacity: 0; } .photo a:before { content: ''; position: absolute; width: 60px; height: 60px; top:calc( 50% - 30px); left:calc( 50% - 30px);; background: url(../img/icon-search.png); opacity: 0; background-repeat:no-repeat; z-index: 256; } .photo>a:hover:before, .photo>a:hover:after { opacity: 1; } @font-face { font-family: 'icomoon'; src: url('../fonts/icomoon.eot?aaw3ee'); src: url('../fonts/icomoon.eot?aaw3ee#iefix') format('embedded-opentype'), url('../fonts/icomoon.ttf?aaw3ee') format('truetype'), url('../fonts/icomoon.woff?aaw3ee') format('woff'), url('../fonts/icomoon.svg?aaw3ee#icomoon') format('svg'); font-weight: normal; font-style: normal; font-display: block; } [class^="icon-"], [class*=" icon-"] { font-family: 'icomoon' !important; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; letter-spacing: 0; font-feature-settings: "liga"; -webkit-font-variant-ligatures: discretionary-ligatures; font-variant-ligatures: discretionary-ligatures; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .icon-position:before { content: "\e904"; color: #fff; font-size: 20px; } .icon-pinterest-p:before { content: "\e903"; color: #fff; font-size: 20px; } .icon-google:before { content: "\e900";text-decoration: none; color: #fff; font-size: 20px; } .icon-facebook:before { content: "\e901"; color: #fff; font-size: 20px; } .icon-twitter:before { content: "\e902"; color: #fff; font-size: 20px; } .icon-phone:before { content: "\e942"; color: #fff; font-size: 20px; } .icon-envelop:before { content: "\e945"; color: #fff; font-size: 20px; } .icon-earth:before { content: "\e9ca"; color: #fff; font-size: 20px; } .icon-instagram:before { content: "\ea92"; color: #fff; font-size: 20px; } .phone{ text-decoration: none; color: #fff; } @media (max-width: 960px){ .header-logo img{ margin-left: -26px; } .header-nav{ z-index: 8000; } .header-menu{ display: none; } .header-burger{ display: block; position: fixed; visibility: hidden; top: -100%; left: 0; width: 100%; height: auto; margin: 0; padding: 10px 0; list-style: none; text-align: center; background-color:#7A89F6; box-shadow: 1px 0px 6px rgba(0, 0, 0, .2); z-index: -1; } .header-burger li{ margin: 15px; } .menu__item { display: block; padding: 12px 24px; color: #fff; font-weight: 600; text-decoration: none; } #menu__toggle:checked ~ .menu__btn > span { transform: rotate(45deg); } #menu__toggle:checked ~ .menu__btn > span::before { top: 0; transform: rotate(0); } #menu__toggle:checked ~ .menu__btn > span::after { top: 0; transform: rotate(90deg); } #menu__toggle:checked ~ .header-burger { visibility: visible; left: 0; top: 0; z-index: 6; } .menu__btn > span, .menu__btn > span::before, .menu__btn > span::after { transition-duration: .25s; } .menu__btn{ opacity: 1; } .header-burger { transition-duration: 0.25s; } .menu__item { transition-duration: 0.25s; } .intro{ flex-direction: column-reverse; height: 100vh; padding: 15px; } .intro-form{ margin :15px 15px; } .intro-text{ text-align: center; margin-left: -0vw; } .info{ display: flex; flex-direction: column; } .info-content{ display: flex; flex-direction: column; } .info-txt{ width: auto; align-content: center; } .info-box img{ min-width: 270px; height: auto; } .info-container{ margin-bottom: 15px; } .footer-duwn{ flex-direction: column; padding: 100px 10px 100px 10px; } .about-duwn{ width: 100%; margin: 0; margin-right: 10px; } .card{ width: 90vw; } .contact-duwn{ margin-top: 50px; } .c-duwn{ display: flex; flex-direction: column; justify-content: center; } .card-holder { flex-direction: column; height: 100%; background-position: 25% 25%; } .about-txt-h{ text-align: center; } .about-txt-p{ text-align: center; } .u-duwn{ text-align: center; } .info-txt{ text-align: center; } .photo{ width: 100%; } .g-photo{ width: 50%; } } @media (max-width: 560px){ .intro{ flex-direction: column-reverse; height: 140vh; } .info-box img{ width: 100%; } .info-box{ flex-direction: column; } .text-galery{ margin-bottom: 50px; } .g-photo{ width: 100%; } }