/* fonts */ @import url('https://fonts.googleapis.com/css?family=Montserrat:400,700'); @import url('https://fonts.googleapis.com/css?family=Roboto:400,700'); @import url('https://fonts.googleapis.com/css?family=Muli'); @font-face { font-family: "Helvetica Neue"; src: url('../fonts/helveticaneuecyr-light.otf'); } @font-face { font-family: "AvenirNextLTPro-Demi"; src: url('../fonts/AvenirNextLTPro-Demi.otf'); } /* fonts */ body{ font-family: "Helvetica Neue", Arial, sans-serif; margin: 0; overflow-x: hidden; background-color: #F1F1F5; } h1,h2,h3{ margin: 0; font-weight: bold; } h1 { font-size: 32px; letter-spacing: 1px; } h2 { font-size: 22px; } ul,li { margin: 0; padding: 0; list-style-type: none; } body * { box-sizing: border-box; } .preload-screen { position: absolute; width: 100%; line-height: 100vh; background: #1D1D1F; text-align: center; transition: all 0.6s cubic-bezier(.645,.045,.355,1); z-index: 15; } .preload-screen img{ vertical-align: middle; } .overlay { position: absolute; width: 100%; height: 100vh; background-color: rgba(29,29,31,.6); z-index: 3; opacity: 0; transition: opacity .6s cubic-bezier(.645,.045,.355,1); pointer-events: none; } .overlay2 { position: absolute; width: 100%; height: 100vh; background-color: rgba(29,29,31,.6); z-index: 3; opacity: 0; transition: opacity .6s cubic-bezier(.645,.045,.355,1); pointer-events: none; } .overlay-active { pointer-events: auto; opacity: 1; } main.ng-enter{ -webkit-transition: all 2.6s cubic-bezier(.645,.045,.355,1); transition: all 2.6s cubic-bezier(.645,.045,.355,1); opacity: 0.6s } main.ng-enter-active { opacity: 1; } /* main.ng-enter > div > div { transition: all 1s ease; transform: translateY(1000%); } main.ng-enter-active > div > div { transform: translateY(0); } */ main.ng-enter .meal-item { transform: translateY(600px); } main.ng-enter .meal-item:nth-child(3n + 1) { transition: all 1s cubic-bezier(.645,.045,.355,1); } main.ng-enter .meal-item:nth-child(3n + 2) { transition: all 1.3s cubic-bezier(.645,.045,.355,1); } main.ng-enter .meal-item:nth-child(3n + 3) { transition: all 1.6s cubic-bezier(.645,.045,.355,1); } main.ng-enter.ng-enter-active .meal-item { transform: translateY(0); } main.ng-enter .ready-menu-second { transition: all 1s ease; transform: translateY(100%); opacity: 0; } main.ng-enter.ng-enter-active .ready-menu-second { transform: translateY(0); opacity: 1; } .ready-menu-page-leave-animation { animation: readyMenuLeave 1s ease both; z-index: 100; } @keyframes readyMenuLeave { 0% { transform: translateY(0%); opacity: 1; } 100% { transform: translateY(-100%); opacity: 0; } } main.ng-enter .shopping-cart-page .item{ animation: shoppingCartItemsAnimation 1s ease; } @keyframes shoppingCartItemsAnimation { 0% { opacity: 0; } 100% { opacity: 1; } } /* header-line */ .header-line { z-index: 20; position: -webkit-sticky;position: sticky; top: 0; width: 100%; height: 8vh; background-color: #FFF; border-bottom: 1px solid rgb(222, 223, 224); } .header-line .fa-bars { display: inline-block; cursor: pointer; color: #222; width: 10%; padding-left: 25px; padding-top: 15px; text-align: left; font-size: 22px; } .header-line .logo { display: inline-block; font-family: "Helvetica Neue",Arial,sans-serif; font-weight: bolder; font-size: 25px; letter-spacing: 0.1em; width: 80%; text-align: center; } .header-line .undefined-btn { width: 80%; display: inline-block; } .shopping-cart-icon { position: absolute; right: 30px; top: 13px; font-size: 20px; font-family: "AvenirNextLTPro-Demi"; letter-spacing: 0.5px; cursor: pointer; } .shopping-cart-icon span{ font-size: 26px; color: #1D1D1F; } .shopping-cart-icon span.animate { animation: shoppingCartIconAnimation 0.5s ease; } @keyframes shoppingCartIconAnimation { 0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } } .login-btn, .sign-out-btn, .delete-item-mode-btn, .user-page-icon { position: absolute; right: 80px; top: 13px; font-size: 20px; font-family: "AvenirNextLTPro-Demi"; letter-spacing: 0.5px; color: #1D1D1F; cursor: pointer; } .delete-item-mode-btn { left: 100px; width: 140px; top: 15px; letter-spacing: 0; text-align: center; } .login-btn { right: 92px; } .user-page-icon { right: 215px; font-size: 26px; top: 10px; } .login-btn span, .sign-out-btn span{ font-size: 25px; position: relative; top: 2px; } .login-popup { display: none; position: absolute; width: 100%; height: 100vh; background: rgba(29, 29, 31,.7); justify-content: center; align-items: center; opacity: 0; transition: all 0.5s ease; z-index: 3; } .popup-cansel-wrapper { position: absolute; width: 100%; height: 100%; } .login-popup .cancel { position: absolute; top: 5vh; right: 5%; color: rgba(241, 241, 245,1); font-size: 35px; cursor: pointer; z-index: 4; } .login-popup-wrapper { z-index: 4; width: 540px; background-color: #fff; } .login-popup .btns { display: flex; } .login-popup .btns button { width: 50%; background: rgb(241, 241, 245); border: none; font-size: 23px; padding: 25px 0; text-transform: uppercase; cursor: pointer; outline: none; color: #777; font-family: "AvenirNextLTPro-Demi"; letter-spacing: 0.5px; font-weight: normal; } .login-popup .btns .btn-active { background-color: #fff; color: #1D1D1F; } .login-popup .content { padding: 50px; text-align: center; } .login-popup .content input{ width: 100%; height: 45px; margin: 13px 0; padding-left: 10px; background: rgb(241, 241, 245); border: none; font-size: 20px; box-shadow: inset 0 0 4px #cacaca; outline: none; } .register .input-invalid { border: 1px solid rgba(255, 155, 155,1)!important; } .login-popup .content span { color: red; opacity: 0.7; font-family: "Muli"; } .login-popup .content input[type="submit"]{ background: rgba(29, 29, 31,.9); color: #fff; margin-bottom: 0; font-family: "AvenirNextLTPro-Demi"; text-transform: capitalize; height: 50px; cursor: pointer; } .login-popup input.ng-touched.ng-invalid { border: 1px solid rgba(255, 155, 155,1); } .login-popup input.ng-touched.ng-pristine { border: 1px solid rgba(255, 155, 155,1); } .login-popup .register input.invalid { border: 1px solid rgba(255, 155, 155,1); } /* header-line */ /* navmenu */ .nav-menu { position: absolute; top: 0; left: 0; height: 100vh; width: 281px; background-color: #1D1D1F; padding: 50px; padding-top: 100px; transform: translateX(-281px); } .nav-menu span.nav-menu-title{ display: block; color: #fff; font-size: 15px; margin-top: 10px; margin-bottom: 40px; } .nav-menu li { list-style-type: none; transition: all .5s cubic-bezier(.39,.575,.565,1); cursor: pointer; } .nav-menu a { display: block; padding: 18px 0; } .nav-menu li:hover { transform: translateX(4px); } .nav-menu li:hover a{ color: #fff; } .nav-menu li a, .nav-menu span{ font-family: "AvenirNextLTPro-Demi", Arial, sans-serif; color: #9c9c9c; text-decoration: none; text-transform: uppercase; font-size: 12px; letter-spacing: .2em; } .nav-menu li.active-link a{ color: #fff; } .nav-menu-icons-wrapper { position: absolute; display: -webkit-flex; display: -ms-flex; display: flex; bottom: 0; left: 0; width: 100%; border-top: 1px solid #333; } .nav-menu-icon { display: inline-block; width: 33.3%; } .nav-menu-icon a { display: block; font-size: 19px; color: #BCBCBC; text-align: center; padding: 15px 0; transition: all .5s ease; } .nav-menu-icon a:hover { background-color: #000; color: #fff; } .nav-menu-icon:nth-child(1) a { border-right: 1px solid #333; } .nav-menu-icon:nth-child(2){ } .nav-menu-icon:nth-child(3) a { border-left: 1px solid #333; } .open-menu { transition: all 0.6s cubic-bezier(.645,.045,.355,1); transform: translateX(281px)!important; } .close-menu { transition: all 0.6s cubic-bezier(.645,.045,.355,1); transform: translateX(0px); } /* navmenu */ /* main-slider */ .main-slider { height: 100vh; overflow: hidden; position: relative; } .main-slider-overlay { z-index: 1; position: absolute; width: 100%; height: 100%; background: rgba(0,0,0,.35); } .main-slider-back-overlay { z-index: -1; position: absolute; width: 100%; height: 100vh; opacity: 1; transition: all 3s ease; } .main-slider-back-overlay2 { z-index: -2; position: absolute; width: 100%; height: 100vh; opacity: 1; } .main-slider img { max-width: 100%; } .main-slider img.ng-enter, .main-slider img.ng-leave { transition: all 3s ease; } .main-slider img.ng-enter { transform: translateX(100%); } .main-slider img.ng-enter-active { transform: translateX(0); } .main-slider img.ng-leave { transform: translateX(0) translateY(-100.5%); } .main-slider img.ng-leave-active { transform: translateX(-100%) translateY(-100.5%); } /* .main-slider img.ng-leave-stagger { transition-delay: 0.2s; transition-duration: 0; } */ .main-slider-content { position: absolute; z-index: 1; width: 100%; } .main-slider-text { text-align: center; color: #fff; z-index: 2; width: 1180px; margin: 0 auto; margin-top: 220px; margin-bottom: 60px; } .main-slider-text p { font-weight: bold; font-family: 'Montserrat', Arial, sans-serif; letter-spacing: 2px; font-size: 56px; } .main-slider-buttons { display: flex; justify-content: space-around; z-index: 2; border: red; width: 550px; margin: 0 auto; } .main-slider-buttons a { padding: 12px 32px; text-decoration: none; color: #fff; border: 1px solid rgba(255,255,255,.6); background: rgba(0,0,0,.5); font-size: 20px; font-weight: bold; font-family: 'Montserrat', Arial, sans-serif; transition: all ease .5s; } .main-slider-buttons a:hover { background: rgba(150,150,150,.5); } .main-slider-bars-wrapper { display: flex; margin: 0 auto; margin-top: 150px; width: 155px; justify-content: space-between; } .main-slider-bar { display: inline-block; width: 46px; height: 7px; background: #fff; cursor: pointer; opacity: 0.4; background: #fff; } .main-slider-bar-active { opacity: 0.7; } /* main-slider */ /* main-page */ .main-page { margin-top: -50px; } .main-page .about h1,h2 { font-weight: bolder; } .main-page .about { padding: 60px 0; /* background: linear-gradient(to bottom,rgb(244, 244, 246), rgb(260, 260, 260)); */ background: rgb(241, 241, 245); } .main-page .about-wrapper { margin: 0 auto; max-width: 1180px; } .main-page .about h1 { text-align: center; color: #2A2627; margin-bottom: 80px; } .main-page .about h1::after { content: ''; display: block; position: relative; top: 35px; left: 0; right: 0; margin: 0 auto; height: 2px; width: 100px; background-color: #000; } .main-page .about-description { text-align: center; margin-bottom: 35px; } .main-page .about-item-wrapper { display: flex; justify-content: space-between; } .main-page .about-item { width: 30%; height: 283px; position: relative; z-index: 1; perspective: 600px; } .main-page .about-item-description { font-family: 'Roboto', sans-serif; letter-spacing: 0.3px; } .main-page .about-item-first-side { text-align: center; background-color: #fff; padding: 40px 30px; box-shadow: 0 0 22px #cacaca; /* border: 1px solid rgba(29, 29, 31,.1); */ position: absolute; transform: rotateY(0deg); /* background: linear-gradient(to top,rgb(252, 252, 252), rgb(260, 260, 260)); */ /* background-color: #fff; */ background: rgb(252, 252, 254); } .main-page .about-item-second-side { display: block; position: absolute; background-color: #1D1D1F; padding: 40px 30px; box-shadow: 0 0 22px #cacaca; width: 100%; height: 272px; transform: rotateY(90deg); text-align: center; cursor: pointer } .main-page .about-item-second-side span { display: inline-block; color: #fff; font-size: 29px; margin-top: 85px; transform: scale(-1, 1); opacity: 0; transition: all 1.6s ease; } .main-page .about-item:hover .about-item-first-side { transition: all 0.3s ease-in; transform: rotateY(90deg); } .main-page .about-item:hover .about-item-second-side { transition: all 0.3s 0.3s ease-out; transform: rotateY(180deg); opacity: 1; } .main-page .about-item:hover .about-item-second-side span { opacity: 1; } .main-page .about-item-img { margin-bottom: 35px; } .main-page .about-item-img i { font-size: 50px; color: #1D1D1F; } .main-page .about-item h2 { color: #2A2627; margin-bottom: 25px; } .main-page .steps { padding: 60px 0; background: rgb(252, 252, 254); } .main-page .steps-wrapper { max-width: 860px; margin: 0 auto; } .main-page h1.steps-title { text-align: center; margin-bottom: 30px; } .main-page .steps-description { text-align: center; font-size: 18px; margin-bottom: 50px; } .main-page .steps-item-wrapper { display: flex; justify-content: space-around; flex-wrap: wrap; perspective: 600px; } .main-page .steps-item { opacity: 0; width: 42%; position: relative; margin-bottom: 60px; background: rgb(252, 252, 254); box-shadow: 0 0 10px #cacaca; transition: all 1s cubic-bezier(.645,.045,.355,1); } .main-page .steps-item:nth-child(1), .main-page .steps-item:nth-child(3) { transform: translateX(-200%); } .main-page .steps-item:nth-child(2), .main-page .steps-item:nth-child(4) { transform: translateX(200%); } /* .main-page .steps-item:hover { transform-origin: 50% 0%; transform: rotateX(8deg); box-shadow: 0 0 20px #cacaca; } */ .main-page .steps-item-content { text-align: center; border: 2px solid rgba(29, 29, 31,.7); padding: 70px 40px 40px; font-size: 17px; font-family: 'Roboto', sans-serif; height: 200px; } .main-page .steps-item-number { position: absolute; background: rgba(29, 29, 31,.9); color: #fff; font-size: 17px; font-weight: bold; padding: 10px 25px; top: 20px; left: -10px; font-style: italic; box-shadow: 0 0 10px #cacaca; } .main-page .steps-item-number::after { content: ''; display: block; position: absolute; top: -10px; left: 0; width: 0; height: 0; border-style: solid; border-width: 0 0 10px 10px; border-color: transparent transparent #000 transparent; } .main-page .steps-scroll-class .steps-item:nth-child(1), .steps-scroll-class .steps-item:nth-child(2) { transform: translateX(0); opacity: 1; } .main-page .steps-scroll-class-second .steps-item:nth-child(3), .steps-scroll-class-second .steps-item:nth-child(4){ transform: translateX(0); opacity: 1; } .main-page .steps-scroll-class-hover .steps-item:hover { transition: all 0.7s ease; transform: translateX(0) rotateX(7deg); transform-origin: 50% 0%; box-shadow: 0 0 20px #cacaca; } .main-page .loyalty-programs { background: rgb(241, 241, 245); padding: 60px 0; } .main-page .loyalty-programs-wrapper { max-width: 1024px; margin: 0 auto; } .main-page h1.loyalty-programs-title { text-align: center; text-transform: uppercase; margin-bottom: 60px; } .main-page .loyalty-programs-item-wrapper { display: flex; justify-content: space-between; perspective: 1000px; } .main-page .loyalty-programs-item { width: 18%; text-align: center; position: relative; } .main-page .loyalty-programs-item-circle { } .main-page .loyalty-programs-item-circle-front { display: inline-block; padding: 30px; border-radius: 50%; background: rgb(252, 252, 254); transition: all 0.3s 0.3s ease-out; transform: rotateY(90deg); box-shadow: 0 0 5px #cacaca; } .main-page .loyalty-programs-scroll-class-hover .loyalty-programs-item-circle:hover .loyalty-programs-item-circle-front { transition: all 0.4s 0s ease; box-shadow: 0 0 10px #cacaca; transform: scale(1.05); } .main-page .loyalty-programs-item-circle-back { top: 0; position: absolute; left: 0; right: 0; margin: 0 auto; width: 113.09px; padding: 30px; border-radius: 50%; background: #1D1D1F; transition: all 0.3s ease-in; transform: rotateY(180deg); box-shadow: 0 0 5px #cacaca; } .main-page .loyalty-programs-item:nth-child(1) .loyalty-programs-item-circle-front{ transition: all 0.3s 0.3s ease-out; } .main-page .loyalty-programs-item:nth-child(1) .loyalty-programs-item-circle-back{ transition: all 0.3s ease-in; } .main-page .loyalty-programs-item:nth-child(2) .loyalty-programs-item-circle-front{ transition: all 0.3s 0.4s ease-out; } .main-page .loyalty-programs-item:nth-child(2) .loyalty-programs-item-circle-back{ transition: all 0.3s 0.1s ease-in; } .main-page .loyalty-programs-item:nth-child(3) .loyalty-programs-item-circle-front{ transition: all 0.3s 0.5s ease-out; } .main-page .loyalty-programs-item:nth-child(3) .loyalty-programs-item-circle-back{ transition: all 0.3s 0.2s ease-in; } .main-page .loyalty-programs-item:nth-child(4) .loyalty-programs-item-circle-front{ transition: all 0.3s 0.6s ease-out; } .main-page .loyalty-programs-item:nth-child(4) .loyalty-programs-item-circle-back{ transition: all 0.3s 0.3s ease-in; } .main-page .loyalty-programs-item:nth-child(5) .loyalty-programs-item-circle-front{ transition: all 0.3s 0.7s ease-out; } .main-page .loyalty-programs-item:nth-child(5) .loyalty-programs-item-circle-back{ transition: all 0.3s 0.4s ease-in; } .main-page .loyalty-programs-scroll-class .loyalty-programs-item-circle-front { transform: rotateY(0deg); } .main-page .loyalty-programs-scroll-class .loyalty-programs-item-circle-back { transform: rotateY(90deg); opacity: 0; } .main-page .loyalty-programs-item-description { margin-top: 30px; font-size: 17px; font-family: 'Roboto', sans-serif; } .main-page .loyalty-programs-item img { width: 50px; height: 50px; } /* main-page */ /* footer */ .footer { background-color: #1D1D1F; padding: 60px 0; } .footer-icons { display: flex; justify-content: space-between; margin: 0 auto; width: 180px; margin-bottom: 40px; } .footer-icon { width: 33.3%; cursor: pointer; } .footer-icon a { display: block; text-align: center; position: relative; } .footer-icon i { transition: all 0.3s ease; } .footer-icon i:nth-of-type(1) { font-size: 19px; color: #9c9c9c; } .footer-icon i:nth-of-type(2) { position: absolute; top: -11px; left: 0; right: 0; margin: 0 auto; width: 40px; height: 40px; border: 1.5px solid rgb(156,156,156); border-radius: 50%; } .footer-icon:hover i:.fa, { color: #fff!important; } .footer-icon:hover i:nth-of-type(2) { border-color: #F1F1F5; } .footer-navbar { text-align: center; margin-bottom: 30px; } .footer-navbar ul { display: inline-block; } .footer-navbar ul li { display: inline-block; padding: 0 10px; border-right: 1px solid rgba(156,156,156,.5); } .footer-navbar ul li:last-child { border-right: none; } .footer-navbar ul a { text-decoration: none; color: rgb(156,156,156); font-size: 18px; transition: all 0.3s ease; } .footer-navbar ul li:hover a { color: #F1F1F5; } .footer-copyright { color: rgb(156,156,156); font-family: 'Roboto', sans-serif; text-align: center; font-size: 14px; } /* footer */ /* select-menu-page */ .select-menu-page { /* background: rgb(252, 252, 254); */ background: rgb(241, 241, 245); min-height: 100vh; } .select-menu-page .search { background: linear-gradient(to top,rgba(29, 29, 31,.9),rgba(29, 29, 31,.95)); } .select-menu-page .search-wrapper { margin: 0 auto; max-width: 1024px; } .select-menu-page .search-description { color: #fff; border-bottom: 1px solid #fff; padding: 20px 85px; font-size: 27px; } .select-menu-page .search-buttons-wrapper { display: flex; justify-content: space-between; } .select-menu-page .search-button { position: relative; width: 25%; text-align: center; padding: 20px 0; color: #fff; font-size: 18px; letter-spacing: 1px; cursor: pointer; user-select: none; /* font-family: 'Roboto'; */ } .select-menu-page .search-button-active::after { content: ''; position: absolute; width: 0; height: 0; right: 0; left: 0; bottom: 0; margin: 0 auto; border-style: solid; border-width: 0 10px 10px 10px; border-color: transparent transparent rgb(241, 241, 245) transparent; } .select-menu-page .meal-items { max-width: 1140px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; padding: 70px 0; } .select-menu-page .meal-item-delete-btn { transition: all 0.5s ease; opacity: 0; position: absolute; display: flex; justify-content: center; align-items: center; left: -11px; top: -11px; z-index: 3; background: rgba(29, 29, 31,.7); border-radius: 50%; width: 26px; height: 26px; cursor: pointer; } .select-menu-page .meal-item-delete-btn:hover { background: rgba(29, 29, 31,1); transform: scale(1.2); } .select-menu-page .meal-item-delete-btn span{ color: #fff; font-size: 20px; } /* .select-menu-page .meal-item.ng-leave { transition: all 1s ease; opacity: 1; } .select-menu-page .meal-item.ng-leave.ng-leave-active { opacity: 0; } */ .select-menu-page .meal-item { position: relative; perspective: 1000px; width: 31%; /* margin-right: 3.5%; */ margin-bottom: 40px; box-shadow: 0 0 22px #cacaca; transition: all 0.3s ease; } .select-menu-page .meal-item-title { position: absolute; z-index: 1; width: 100%; top: 0; left: 0; overflow: hidden; } .select-menu-page .meal-item-title h2 { transition: all 0.4s ease; transform: translateX(0px); text-align: center; padding: 5px 0; color: #fff; background: rgba(29, 29, 31, 0.7); letter-spacing: 0.7px; font-weight: normal; text-transform: capitalize; } /* .select-menu-page .meal-item:nth-child(3n + 3) { margin-right: 0; } */ .select-menu-page .meal-item-img { overflow: hidden; } .select-menu-page .meal-item img{ width: 100%; transition: all 0.4s ease; transform: translateX(0px); margin-bottom: -4px; } .select-menu-page .meal-item-ingredients { position: absolute; z-index: 2; top: 0; left: 0; height: 100%; width: 50%; background: rgba(29, 29, 31,0.95); transition: all 0.3s ease; transform: rotateY(280deg); transform-origin: 0 50%; color: #fff; padding: 12px; } .select-menu-page .meal-item-ingredients h3 { margin: 5px; font-weight: normal; } .select-menu-page .meal-item-ingredients li { font-size: 15px; font-family: 'Roboto'; margin: 10px 5px; } .select-menu-page .meal-item:hover { transform: scale(1.05); box-shadow: 0 0 30px #cacaca; } .select-menu-page .meal-item:hover .meal-item-ingredients { transform: rotateY(360deg); } .select-menu-page .meal-item:hover img{ transform: translateX(50px); } .select-menu-page .meal-item:hover .meal-item-title h2{ transform: translate3d(0, -100%, 0); opacity: 0; } .select-menu-page .meal-item:hover .meal-item-bottom-container { /* transform: translate3d(0, 100%, 0); */ background: rgba(29, 29, 31, 0); } .select-menu-page .meal-item:hover .meal-item-bottom-container button { transform: scale(1.2); } .select-menu-page .meal-item:hover .meal-item-bottom-container span { opacity: 0; } .select-menu-page .meal-item-bottom { position: absolute; z-index: 1; width: 100%; bottom: 0; left: 0; overflow: hidden; } .select-menu-page .meal-item-bottom-container { display: flex; transition: all 0.4s ease; transform: translateX(0px); text-align: center; text-transform: capitalize; padding: 5px 0; background: rgba(29, 29, 31, 0.7); } .select-menu-page .meal-item-price { width: 50%; text-align: left; } .select-menu-page .meal-item-price span{ color: #fff; font-size: 16px; position: relative; top: 4px; left: 15px; } .select-menu-page .meal-item-btn { width: 50%; text-align: right; } .select-menu-page .meal-item-btn button{ position: relative; background: #1D1D1F; border: none; color: #fff; padding: 5px 20px; margin-right: 15px; cursor: pointer; transition: all 0.3s ease; outline: none; } .meal-item-checked-icon { position: absolute; display: flex; z-index: 2; font-size: 45px; top: 0; left: 0; height: 100%; width: 100%; justify-content: center; align-items: center; opacity: 0.89; color: #1D1D1F; transition: all 0.3s ease; } .meal-item-checked-icon.ng-enter { opacity: 0; transform: scale(1); } .meal-item-checked-icon.ng-enter.ng-enter-active { opacity: 1; transform: scale(1.4); } .selected-meals-btn { position: absolute; right: 260px; top: 11px; z-index: 2; width: 31px; height: 31px; border-radius: 50%; background: rgba(29, 29, 31,.9); color: #fff; cursor: pointer; transition: all 0.3s ease; text-align: center; box-shadow: 0 0 5px #cacaca; } .selected-meals-btn:hover .selected-meals-tip { opacity: 1; } .selected-meals-btn span:nth-child(1){ position: relative; top: 7px; } .selected-meals-btn-animate { transform: scale(1.3); } .selected-meals-tip { position: absolute; color: #000; right: 40px; bottom: 7px; font-size: 14px; opacity: 0; transition: all 0.3s ease; letter-spacing: 1.5px; } .selected-meals { position: absolute; top: 0; right: 0; height: 100vh; width: 281px; background-color: rgb(29, 29, 31); padding: 25px; transition: all 0.6s cubic-bezier(.645,.045,.355,1); transform: translateX(281px); overflow-y: scroll; } .selected-meals .selected-meal { margin: 13px 0; position: relative; } .selected-meals::-webkit-scrollbar { width: 0!important; } .selected-meals .selected-meal-img { width: 100%; overflow: hidden; height: 40px; border-radius: 3px; } .selected-meals .selected-meal img{ width: 100%; position: relative; bottom: 150%; } .selected-meals .selected-meal-title { position: absolute; z-index: 1; top: 0; background: rgba(29, 29, 31, 0.4); width: 100%; height: 100%; } .selected-meals .selected-meal-title h2 { text-align: center; text-transform: capitalize; color: #fff; letter-spacing: 0.7px; font-weight: normal; margin-top: 7px; } .selected-meals .selected-meal-delete { position: absolute; right: 9px; top: 10px; height: 20px; width: 20px; background: rgba(29, 29, 31,1); border-radius: 50%; text-align: center; z-index: 1; cursor: pointer; opacity: 0.8; } .selected-meals .selected-meal-delete:hover{ opacity: 1; } .selected-meals .selected-meal-delete span { color: #F1F1F5; position: relative; top: 1px; } .selected-meal.ng-leave { transition: all 0.7s ease; } .selected-meal.ng-leave.ng-leave-active { transform: translateX(-100%); opacity: 0; } .selected-meals-type { position: relative; left: -30px; right: -30px; bottom: 0px; width: 124%; padding: 10px 0; margin: 40px 0; background-color: #F1F1F5; text-align: center; font-size: 15px; font-weight: bold; letter-spacing: 3px; text-transform: capitalize; } .selected-meals-type:first-of-type { bottom: 25px; margin: 0; } .selected-meals-submit { position: relative; left: -30px; right: -30px; bottom: -30px; width: 124%; background-color: #F1F1F5; text-align: center; font-size: 15px; font-weight: bold; letter-spacing: 3px; cursor: pointer; } .selected-meals-submit a { display: block; padding: 20px 0; color: #000; text-decoration: none; } /* select-menu-page */ /* add-item-page */ .add-item-page { background: #F1F1F5; } .add-item-page .form-wrapper { max-width: 768px; margin: 0 auto; padding: 70px 0; } .add-item-page .form-tabs { font-size: 16px; font-family: 'Roboto'; } .add-item-page .form-tab1 { display: inline-block; width: 200px; text-align: center; background: rgba(29, 29, 31,0.7); color: rgb(252, 252, 254); padding: 15px 0; box-shadow: 0px -5px 10px rgba(202, 202, 202, .4); cursor: pointer; } .add-item-page .form-tab2 { display: inline-block; width: 200px; text-align: center; background: rgba(29, 29, 31,0.7); color: rgb(252, 252, 254); padding: 15px 0; margin-left: 5px; box-shadow: 0px -5px 10px rgba(202, 202, 202, .4); cursor: pointer; } .add-item-page .form-tab-active { background: #FCFCFC; color: #000; } .add-item-page form { padding: 50px; background: #FCFCFE; box-shadow: 0 0 22px #cacaca; text-align: center; } .add-item-page form h2 { text-align: center; letter-spacing: 0.5px; color: #1D1D1F; } .add-item-page form input, .add-item-page form select, .add-item-page form textarea { width: 80%; margin: 15px 0; background-color: #F1F1F5; height: 35px; border: none; box-shadow: inset 0 0 8px #cacaca; padding: 0 10px; font-size: 18px; font-family: 'Roboto', sans-serif; outline: none; } .add-item-page form textarea { resize: vertical; height: 70px; } .add-item-page form .ingredient-wrapper input { width: 80%; margin-left: 5%; } .add-item-page form .ingredient-wrapper span { width: 5%; font-size: 22px; opacity: .4; transition: all .3s ease; cursor: pointer; } .add-item-page form .ingredient-wrapper span:hover { opacity: .8; } .add-item-page form button { display: inline-block; width: 150px; height: 35px; border: none; box-shadow: 0 0 5px #cacaca; font-family: 'Roboto', sans-serif; font-size: 15px; margin: 15px 0; cursor: pointer; background: rgba(29, 29, 31,.85); color: #fff; outline: none; } /* add-item-page */ /* ready-menu-page */ .ready-menu-page { background: rgba(29, 29, 31,1); border-bottom: 1px solid #1D1D1F; min-height: 92vh; } .ready-menu-page-wrapper { text-align: center; position: relative; } .ready-menu-page .read-menu-title { position: absolute; z-index: 1; text-align: center; width: 100%; } .ready-menu-page .read-menu-title h1 { color: #F1F1F5; display: inline-block; margin-top: 40px; font-size: 40px; font-weight: normal; } .ready-menu-page .read-menu-title h1::after { content: ''; position: absolute; top: 110px; left: 0; right: 0; margin: 0 auto; height: 1px; width: 120px; background: #F1F1F5; } .ready-menu-page .items-wrapper { display: flex; justify-content: center; } .ready-menu-page .item { width: 30%; color: #F1F1F5; position: relative; } .ready-menu-page .img-wrapper .img-overlay { position: absolute; width: 100%; height: 100%; top: 0; left: 0; background: rgba(29, 29, 31,.9); transition: all 1s ease; } .ready-menu-page .img-wrapper img { height: 92vh; } .ready-menu-page .item:hover .img-overlay { background: rgba(29, 29, 31,0.2); } .ready-menu-page .item:hover .item-details-btn { background: rgba(29, 29, 31,0); } .ready-menu-page .item:hover .item-icon { transform: scale(1.05); } .ready-menu-page .item-content { position: absolute; top: 0; width: 100%; height: 100%; text-align: center; } .ready-menu-page .item-icon { transition: all 1s ease; display: inline-block; margin-top: 50%; background: url('../images/ready-menu/item-sprites/ico-sprite_01.png') no-repeat center; width: 140px; height: 140px; z-index: 2; border-radius: 50%; background-color: #fff; opacity: .85; } .ready-menu-page .item:nth-child(2) .item-icon { background: url('../images/ready-menu/item-sprites/ico-sprite_02.png') no-repeat center; background-color: #fff; } .ready-menu-page .item:nth-child(3) .item-icon { background: url('../images/ready-menu/item-sprites/ico-sprite_03.png') no-repeat center; background-color: #fff; } .ready-menu-page .item-name { margin-top: 50px; font-size: 25px; text-transform: uppercase; } .ready-menu-page .item-details-btn { display: inline-block; font-size: 15px; border: 1px solid #F1F1F5; transition: all 1s ease; text-transform: uppercase; margin-top: 50px; cursor: pointer; background: rgba(29, 29, 31,1) } .ready-menu-page .item-details-btn a{ display: block; padding: 12px 22px; text-decoration: none; color: #F1F1F5; width: 100%; height: 100%; } .ready-menu-page .item-details-btn:hover { background: rgba(29, 29, 31,0.6)!important; } /* ready-menu-page */ /* ready-menu-second */ .ready-menu-second { background: rgb(241, 241, 245); padding: 100px 0; min-height: 92vh; } .ready-menu-second-wrapper { width: 1140px; margin: 0 auto; } .ready-menu-second .item { display: flex; /* background: #FCFCFE; box-shadow: 0 0 22px #cacaca; */ margin: 100px 0; perspective: 2000px; } .ready-menu-second .item:first-child { margin-top: 0; } .ready-menu-second .item:last-child { margin-bottom: 0; } .diet-item-delete-btn { transition: all 0.5s ease; opacity: 0; position: absolute; display: flex; justify-content: center; align-items: center; left: -11px; top: -11px; z-index: 3; background: rgba(29, 29, 31,.7); border-radius: 50%; width: 26px; height: 26px; cursor: pointer; } .diet-item-delete-btn span{ color: #fff; font-size: 20px; } .diet-item-delete-btn:hover { background: rgba(29, 29, 31,1); transform: scale(1.2); } .ready-menu-second .item-img { width: 50%; box-shadow: 0 0 22px #cacaca; transform-origin: 100% 50%; transform: rotateY(90deg); transition: all 1s ease; } /* .ready-menu-second .item:nth-child(1) .item-img{ transform: rotateY(0deg); } */ .ready-menu-second .item-img img{ width: 100%; margin-bottom: -4px; } .ready-menu-second .item-content { width: 50%; padding: 50px; background: #FCFCFE; box-shadow: 0 0 22px #cacaca; transform-origin: 0% 50%; transform: rotateY(-90deg); transition: all 1s ease; } /* .ready-menu-second .item:nth-child(1) .item-content { transform: rotateY(0deg); } */ .ready-menu-second .item-title h1{ font-weight: normal; } .ready-menu-second .item-center { margin: 29px 0; display: flex; justify-content: space-between; align-items: center; } .ready-menu-second .item-price { width: 75%; font-size: 27px; display: flex; justify-content: space-between; align-items: center; } .ready-menu-second .item-price select{ width: 101px; height: 43px; padding: 10px; font-size: 17px; outline: none; border: 1px solid #000; font-family: 'Muli',sans-serif; } .ready-menu-second .item-button { width: 25%; } .ready-menu-second .item-button button{ font-size: 20px; padding: 10px 25px; border: none; background: rgba(29, 29, 31,.85); color: #fff; cursor: pointer; outline: none; } .ready-menu-second .item-description{ font-size: 16.1px; font-family: 'Muli'; } .ready-menu-second .item-numbers { font-family: 'Muli'; font-size: 17px; display: flex; justify-content: space-between; align-items: center; margin-top: 29px; } .ready-menu-second .item-numbers-text { width: 40%; } .ready-menu-second .item-numbers-calories { position: relative; width: 53px; line-height: 51px; text-align: center; border: 1px solid #000; border-radius: 50%; } .ready-menu-second .item-numbers-calories::after { position: absolute; left: 0; right: 0; width: 50px; margin: 0 auto; display: block; content: 'calories'; line-height: 30px; font-size: 14px; color: #222; } .ready-menu-second .item-numbers-proteins { position: relative; width: 53px; line-height: 51px; text-align: center; border: 1px solid #000; border-radius: 50%; } .ready-menu-second .item-numbers-proteins::after { position: absolute; left: 0; right: 0; width: 50px; margin: 0 auto; display: block; content: 'proteins'; line-height: 30px; font-size: 14px; color: #222; } .ready-menu-second .item-numbers-fats { position: relative; width: 53px; line-height: 51px; text-align: center; border: 1px solid #000; border-radius: 50%; } .ready-menu-second .item-numbers-fats::after { position: absolute; left: 0; right: 0; width: 50px; margin: 0 auto; display: block; content: 'fats'; line-height: 30px; font-size: 14px; color: #222; } .ready-menu-second .item-numbers-carbs { position: relative; width: 53px; line-height: 51px; text-align: center; border: 1px solid #000; border-radius: 50%; } .ready-menu-second .item-numbers-carbs::after { position: absolute; left: 0; right: 0; width: 50px; margin: 0 auto; display: block; content: 'carbs'; line-height: 30px; font-size: 14px; color: #222; } .ready-menu-second-scroll-class .item-img, .ready-menu-second-scroll-class .item-content { transform: rotateY(0deg); } /* ready-menu-second */ /* shopping-cart-page */ .shopping-cart-page { padding-bottom: 50px; perspective: 600px; } .shopping-cart-page .title h1 { text-align: center; margin: 50px 0; font-family: "AvenirNextLTPro-Demi"; color: #1D1D1F; font-weight: 200; color: #555; } .shopping-cart-page .items-wrapper-header { width: 1170px; margin: 0 auto; background: #FCFCFE; display: flex; padding: 45px 50px 30px; border-bottom: 1px solid #ccc; font-family: "AvenirNextLTPro-Demi"; color: #1D1D1F; box-shadow: 0 0px 15px rgba(202, 202, 202,1); font-size: 18px; } .shopping-cart-page .items-wrapper-header .product{ width: 60%; text-align: left; } .shopping-cart-page .items-wrapper-header .duration{ width: 20%; text-align: center; } .shopping-cart-page .items-wrapper-header .price{ width: 20%; text-align: right; } .shopping-cart-page .items-wrapper { width: 1170px; margin: 0 auto; box-shadow: 0 4px 15px rgba(202, 202, 202,0.9); } .shopping-cart-page .item { background: #FCFCFE; display: flex; padding: 40px; border-bottom: 1px solid #ccc; font-family: "Muli"; } .shopping-cart-page .item.ng-leave { animation: shoppingCartItemLeave 1s ease; } @keyframes shoppingCartItemLeave { 0% { opacity: 1; } 100% { opacity: .1; } } .shopping-cart-page .item-img { width: 20%; } .shopping-cart-page .item-img img{ width: 100%; } .shopping-cart-page .item-title{ width: 40%; padding: 10px 30px; } .shopping-cart-page .item-title h3{ margin-bottom: 80px; font-weight: normal; } .shopping-cart-page .item-title button{ font-size: 18px; text-transform: uppercase; background: none; border: 1px solid #ccc; padding: 5px 10px; color: #1D1D1F; font-weight: normal; outline: none; cursor: pointer; } .shopping-cart-page .item-duration { width: 20%; padding: 10px 0; font-size: 20px; text-align: center; } .shopping-cart-page .item-price { width: 20%; padding: 10px 0; font-size: 20px; text-align: right; } .shopping-cart-page .no-selected { width: 1170px; margin: 0 auto; background: #FCFCFE; text-align: center; font-size: 19px; padding: 20px 0; border-bottom: 1px solid #ccc; text-transform: uppercase; letter-spacing: 0.3px; font-weight: lighter; color: #333; font-family: 'Muli', sans-serif; box-shadow: rgb(202, 202, 202) 0px 5px 15px; } .shopping-cart-page .items-footer { width: 1170px; margin: 0 auto; background: #FCFCFE; box-shadow: rgb(202, 202, 202) 0px 5px 15px; transition: all 1s ease; } .shopping-cart-page .items-footer .total-price { padding: 30px; text-align: right; font-size: 20px; font-weight: bold; font-family: "Muli"; } .shopping-cart-page .items-footer .btns { padding: 30px; padding-top: 20px; text-align: right; } .shopping-cart-page .items-footer .btns button { font-size: 18px; text-transform: uppercase; background: none; border: 1px solid #ccc; font-weight: normal; border-radius: 2px; margin-left: 5px; } .shopping-cart-page .items-footer .btns button a{ display: block; text-decoration: none; color: #1D1D1F; padding: 8px 13px; } .shopping-cart-page .items-footer .btns button:nth-child(2) { background: #1D1D1F; color: #FCFCFE; padding: 8px 13px; border: none; cursor: pointer; } .shopping-cart-page .order-success-wrapper { display: flex; align-items: center; justify-content: center; height: 88vh; overflow: hidden; } .shopping-cart-page .order-success-wrapper.ng-enter { transform-origin: 50% 0; animation: orderSuccess 2s ease; opacity: 0.3; } @keyframes orderSuccess { 0%{transform:rotateX(-90deg)} 30%{transform:rotateX(20deg)} 65%{ transform:rotateX(-15deg); opacity: 1; } 100%{ transform:rotateX(0deg); opacity: 1; } } /* @keyframes orderSuccess { 0% { transform: translateY(-300%); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } } */ .shopping-cart-page .order-success-wrapper .order-success { display: block; width: 768px; box-shadow: 0 4px 15px rgba(202, 202, 202,0.9); background: #FCFCFE; padding: 50px 40px; border-bottom: 1px solid #ccc; font-family: "Muli"; text-align: center; } .shopping-cart-page .order-success-wrapper .order-success h1 { margin-bottom: 50px; font-weight: lighter; font-family: "AvenirNextLTPro-Demi"; text-transform: uppercase; letter-spacing: 0.3px; } .shopping-cart-page .order-success-btns { text-align: center; } .shopping-cart-page .order-success-btns button { font-size: 18px; text-transform: uppercase; background: none; border: 1px solid #ccc; font-weight: normal; border-radius: 2px; margin: 0 15px; transition: all .5s ease; } .shopping-cart-page .order-success-btns button:hover { background: rgba(241, 241, 245,0.4); color: #FCFCFE; /* border: 1px solid rgba(241, 241, 245,0.1); */ } .shopping-cart-page .order-success-btns button:hover a { /* color: #FCFCFE; */ } .shopping-cart-page .order-success-btns button a{ display: block; text-decoration: none; color: #1D1D1F; padding: 8px 13px; } /* .shopping-cart-page .shopping-cart-footer-animate { animation: shoppingCartFooter 1s ease; } @keyframes shoppingCartFooter { 0%{ opacity: 1; } 100% { opacity: 0; } } */ /* shopping-cart-page */ /* user-page */ .user-page { background: #FCFCFE; padding: 50px 0; min-height: 92vh; } .user-page-wrapper { max-width: 1024px; margin: 0 auto; display: flex; box-shadow: 0 0 22px #cacaca; } .user-page .navigation { width: 25%; background: #1D1D1F; text-align: center; } .user-page .navigation-profile { color: #fff; font-family: 'Muli', sans-serif; } .user-page .navigation .profile-img { display: inline-block; background: #FCFCFE; border-radius: 50%; width: 40%; overflow: hidden; text-align: center; margin-top: 30px; position: relative; width: 100px; height: 100px; } .user-page .navigation .profile-img img { position: absolute; width: 115%; height: 115%; left: -8px; top: 5px; } .user-page .navigation .profile-name { margin-top: 20px; letter-spacing: 0.3px; font-size: 20px; } .user-page .navigation .profile-change-img-btn { display: inline-block; border: 1px solid #fff; border-radius: 20px; padding: 5px 10px; margin-top: 20px; font-size: 15px; cursor: pointer; } .user-page .navigation label { cursor: pointer; } .user-page .navigation #select-file { position: absolute; visibility: hidden; z-index: -1; } .user-page .navigation-btns { color: #F1F1F5; font-family: "AvenirNextLTPro-Demi"; letter-spacing: 0.3px; text-transform: uppercase; margin-top: 20px; } .user-page .navigation-btns .navigation-btn { padding: 35px 0; font-size: 13px; transition: all 0.5s ease; cursor: pointer; letter-spacing: 0.3px; } .user-page .navigation-btns span { display: block; font-size: 40px; margin-bottom: 10px; } .user-page .navigation-btn-active { background: #171719; border-left: 3px solid #F1F1F5; } .user-page .content { background: #F1F1F5; width: 75%; padding: 50px 0; position: relative; } .user-page .content .personl-info-wrapper { max-width: 640px; margin: 0 auto; background: #FCFCFE; padding: 40px; box-shadow: 0 0 11px rgba(202, 202, 202,.3); } .user-page .content .personl-info-wrapper h2{ margin: 0px 0 20px; font-family: "AvenirNextLTPro-Demi"; letter-spacing: 0.3px; } .user-page .content .personal-info-item { display: flex; font-family: 'Muli', sans-serif; padding: 15px 0; border-bottom: 1px solid rgba(29, 29, 31,0.1); font-size: 16px; } .user-page .content .personal-info-item-title { width: 40%; color: #666; display: flex; align-items: center; } .user-page .content .personal-info-item-value { width: 60%; color: #000; } .user-page .content .personal-info-adit-btn { text-align: center; cursor: pointer; } .user-page .content .personal-info-adit-btn span{ display: inline-block; margin-top: 40px; font-family: 'Muli', sans-serif; padding: 8px 13px; background: rgba(29, 29, 31,0.9); color: #fff; } .user-page .content .personal-info input, .user-page .content .personal-info select { font-family: 'Muli', sans-serif; font-size: 16px; border: 1px solid rgba(29, 29, 31,.1); box-shadow: inset 0 0 1px #cacaca; padding: 5px 5px; height: 30px; } .user-page .content .personal-info input::placeholder { color: #c1c1c1; } .user-page .content .edit-active .personal-info-item { padding: 10px 0; } .user-page .content .personal-info-item:nth-child(4) input { width: 25%; } .user-page .content .personal-info-item:nth-child(4) select { position: relative; top: 2px; } .user-page .content .personal-info-item:nth-child(6) select { width: 207px; } .user-page .content .personal-info-item:nth-child(7) select { width: 207px; } .user-page .content .your-diets { max-width: 680px; margin: 0 auto; background: #FCFCFE; box-shadow: 0 0 11px rgba(202, 202, 202,.3); } .user-page .your-diets .header { border-bottom: 1px solid #ccc; display: flex; font-family: "AvenirNextLTPro-Demi"; color: #1D1D1F; padding: 20px 20px 10px; } .user-page .your-diets .no-diets-user-page { text-align: center; font-family: 'Muli', sans-serif; padding: 17px 0; text-transform: uppercase; letter-spacing: 0.3px; } .user-page .your-diets .header .product { width: 40%; text-align: left; } .user-page .your-diets .header .duration { width: 20%; text-align: center; } .user-page .your-diets .header .days-left { width: 20%; text-align: center; } .user-page .your-diets .header .price { width: 20%; text-align: right; } .user-page .your-diets .items-wrapper { font-family: 'Muli', sans-serif; } .user-page .your-diets .item { display: flex; border-bottom: 1px solid #ccc; padding: 20px; } .user-page .your-diets .item-product { width: 40%; } .user-page .your-diets .item-product-name { margin-bottom: 0px; } .user-page .your-diets .item-product-img img{ width: 50%; } .user-page .your-diets .item-duration { width: 20%; text-align: center; } .user-page .your-diets .item-days-left { width: 20%; text-align: center; } .user-page .your-diets .item-price { width: 20%; text-align: right; } .user-page .write-us .write-message, .messages-page .write-message { position: absolute; bottom: 0; display: inline-block; background-color: #fff; width: 100%; display: flex; align-items: center; box-shadow: rgba(202, 202, 202, 0.3) 0px 0px 20px; } .user-page .write-us .write-input, .messages-page .write-input { width: 90%; text-align: center; padding: 46px 0; } .messages-page .write-input { padding: 30px 0; } .user-page .write-us .write-input input, .messages-page .write-input input{ width: 90%; font-family: 'Muli', sans-serif; border: none; outline: none; font-size: 16px; padding: 10px; border: 1px solid #ccc; border-radius: 10px; } .user-page .write-us .write-btn, .messages-page .write-btn { width: 13%; } .user-page .write-us .write-btn-wrapper, .messages-page .write-btn-wrapper { display: inline-block; background: rgba(29, 29, 31,1); border-radius: 50%; color: #fff; padding: 15px; cursor: pointer; } .user-page .chat, .messages-page .chat { padding: 30px; padding-top: 50px; padding-bottom: 30px; margin-top: -50px; overflow-y: scroll; height: 80vh; } .messages-page .chat { padding-bottom: 70px; } .user-page .chat .user-message, .messages-page .chat .user-message { display: flex; margin-bottom: 30px; } .user-page .chat .admin-message, .messages-page .chat .admin-message { display: flex; flex-direction: row-reverse; margin-bottom: 30px; } .user-page .chat .user-message .message-info, .messages-page .chat .user-message .message-info { text-align: center; } .user-page .chat .admin-message .message-info, .messages-page .chat .admin-message .message-info { text-align: center; } .user-page .chat .user-message .message-img, .messages-page .chat .user-message .message-img { display: inline-block; width: 60px; height: 60px; background: #FCFCFE; border-radius: 50%; overflow: hidden; margin-bottom: 10px; } .user-page .chat .admin-message .message-img, .messages-page .chat .admin-message .message-img { display: inline-block; width: 60px; height: 60px; background: #FCFCFE; border-radius: 50%; overflow: hidden; margin-bottom: 10px; } .user-page .chat .user-message .message-img img, .messages-page .chat .user-message .message-img img { width: 120%; position: relative; right: 6px; } .user-page .chat .admin-message .message-img img, .messages-page .chat .admin-message .message-img img { width: 120%; position: relative; right: 6px; } .user-page .chat .user-message .message-date, .messages-page .chat .user-message .message-date { text-align: center; font-size: 14px; color: #919699; } .user-page .chat .admin-message .message-date, .messages-page .chat .admin-message .message-date { text-align: center; font-size: 14px; color: #919699; } .user-page .chat .user-message .message-text-wrapper, .messages-page .chat .user-message .message-text-wrapper { display: inline-block; position: relative; padding: 20px; background: #fff; margin-left: 30px; margin-right: 92px; border-radius: 10px; font-family: 'Muli', sans-serif; box-shadow: 0 0 10px rgba(202, 202, 202, .3); } .user-page .chat .admin-message .message-text-wrapper, .messages-page .chat .admin-message .message-text-wrapper { display: inline-block; position: relative; padding: 20px; background: #fff; margin-left: 92px; margin-right: 30px; border-radius: 10px; font-family: 'Muli', sans-serif; box-shadow: 0 0 10px rgba(202, 202, 202, .3); } .user-page .chat .user-message .message-text-wrapper::before, .messages-page .chat .user-message .message-text-wrapper::before { content: ''; position: absolute; width: 0; height: 0; left: -15px; top: 20px; border-style: solid; border-width: 10px 15px 10px 0; border-color: transparent #fff transparent transparent; } .user-page .chat .admin-message .message-text-wrapper::before, .messages-page .chat .admin-message .message-text-wrapper::before { content: ''; position: absolute; width: 0; height: 0; right: -15px; top: 20px; border-style: solid; border-width: 10px 0 10px 15px; border-color: transparent transparent transparent #fff; } .user-page .chat .user-message .message-name, .messages-page .chat .user-message .message-name { color: #1D1D1F; font-size: 17px; font-family: "AvenirNextLTPro-Demi"; margin-bottom: 10px; } .user-page .chat .admin-message .message-name, .messages-page .chat .admin-message .message-name { color: #1D1D1F; font-size: 17px; font-family: "AvenirNextLTPro-Demi"; margin-bottom: 10px; } /* user-page */ /* messages-page */ .messages-page { background: #FCFCFE; padding: 50px 0; min-height: 92vh; } .messages-page-wrapper { max-width: 1024px; margin: 0 auto; display: flex; box-shadow: 0 0 22px #cacaca; } .messages-page .select-dialog { width: 25%; background: #1D1D1F; min-height: 85vh; } .messages-page .select-dialog .item { display: flex; padding: 20px; font-family: 'Muli', sans-serif; border-bottom: 1px solid #333; transition: all 0.5s ease; cursor: pointer; } .messages-page .select-dialog .item-img { display: inline-block; width: 50px; height: 50px; background: #FCFCFE; border-radius: 50%; overflow: hidden; } .messages-page .select-dialog .item-img img{ width: 120%; position: relative; top: 2px; right: 5px; } .messages-page .select-dialog .item-name { color: #fff; margin: 5px 20px; } .messages-page .dialog { width: 75%; position: relative; background: #F1F1F5; padding: 50px 0; } .messages-page .item-active{ background-color: #171719; border-left: 3px solid #F1F1F5; } /* messages-page */