/* Fonts */ @import url('https://fonts.googleapis.com/css?family=Montserrat:400,700|Open+Sans:400,700|Roboto+Slab:400,700&display=swap'); * { margin: 0; padding: 0; border: 0; outline: 0; text-decoration: none; list-style: none; } :root { --color-primary: #23c5ca; --color-primary-soft: #97c0d8; --color-primary-dark: #12b5bb; --color-success: #00bf8e; --color-warning: #f7c94b; --color-danger: #f75842; --color-danger-variant: rgba(247, 88, 66, 0.4); --color-white: #fff; --color-light: rgba(255, 255, 255, 0.7); --color-black: #000; --color-font: #444444; --color-bg: #edf8e3; --color-bg-soft: #788ef0; --color-bg1: #bafee7; --color-bg2: #424890; --container-width-lg: 76%; --container-width-md: 90%; --container-width-sm: 94%; --transition: all 400ms ease; } /* ====================== GENERAL STYLES ====================== */ body { font-family: 'Montserrat', sans-serif; line-height: 1.7; background-color: var(--color-bg); color: var(--color-font); } h1, h2, h3 { font-family: 'Roboto Slab', sans-serif; } .container { width: var(--container-width-lg); margin: 0 auto; } section { padding: 6rem 0; } section h2 { text-align: center; margin-bottom: 4rem; } h1, h2, h3, h4, h5 { line-height: 1.2; } h1 { font-size: 2.4rem; } h2 { font-size: 2rem; } h3 { font-size: 1.6rem; } h4 { font-size: 1.3rem; } a { color: var(--color-white); } img { width: 100%; display: block; object-fit: cover; } .btn { display: inline-block; background-color: var(--color-bg-soft); color: var(--color-black); border-radius: 4px; padding: 1rem 2rem; border: 1px solid transparent; font-weight: 500; transition: var(--transition); } .btn:hover { background-color: #7076c0; color: var(--color-white); transform: translateY(-10px); box-shadow: -4px 8px 8px 0px rgba(0,0,0,.17); } .btn__primary { background-color: #7076c0; color: var(--color-white); } /* ====================== NAVBAR ====================== */ header { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid #ccc; } nav { background: var(--color-primary); position: fixed; width: 100%; height: 6rem; top: 0; z-index: 11; } .nav__container { height: 6rem; display: flex; justify-content: space-between; align-items: center; .image-title { display: flex; align-items: center; gap: 1rem; img { height: 64px; width: 64px; } } } nav button { display: none; } .nav__menu { display: flex; align-items: center; gap: 3rem; } .nav__menu a { display: inline-block; position: relative; } .nav__menu a::after { content: ''; position: absolute; width: 100%; transform: scaleX(0); height: 2px; bottom: 0; left: 0; background-color: var(--color-white); transform-origin: bottom right; transition: transform 0.25s ease-out; } .nav__menu a:hover::after { transform: scaleX(1); transform-origin: bottom left; } .mobile-menu { display: none; } .burger__menu { display: none; } /* ====================== HEADER ====================== */ header { position: relative; top: 8rem; overflow: hidden; height: 70vh; margin-bottom: 5rem; } .header__container { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; height: 100%; } .header__container .swiper { width: 100%; height: 80%; min-width: 850px; border-radius: 5px; box-shadow: 0 6px 20px rgba(0,0,0,.15); border: var(--cglwe-y); background-color: var(--f-mkcy-f); } .header__container .swiper-slide { text-align: center; font-size: 18px; background: #fff; display: flex; justify-content: center; align-items: center; } .header__container .swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; } .swiper-button-next { width: 10px; height: 10px; } .swiper-button-prev { width: 20px; height: 20px; } .swiper-button-prev-disabled { opacity: 0.5; } .swiper-button-next-disabled { opacity: 0.5; } .header__left p { margin: 1rem 0 2.4rem; } .mobile { display: none; } /* ====================== DESCRIPTION ====================== */ .description__container img { margin-top: 100px; height: 30rem; width: 100%; border-radius: 5px; box-shadow: 0 6px 20px rgba(0,0,0,.15); } /* ====================== OPINIONS ====================== */ .opinions__container { overflow-x: hidden; position: relative; margin-bottom: 5rem; } .opinion { padding-top: 2rem; } .avatar { width: 5rem; height: 5rem; border-radius: 50%; overflow: hidden; margin: 0 auto 1rem; border: 1rem solid #99dae0bd; } .opinion__info_header { text-align: center; } .opinion__info_body { text-align: center; color: var(--color-white); background: var(--color-primary); padding: 2rem; margin-top: 3rem; position: relative; border-radius: 8px; } .opinion__info_body::before { content: ""; display: block; background: linear-gradient(135deg, var(--color-bg), var(--color-primary), var(--color-primary), var(--color-primary)); width: 3rem; height: 3rem; position: absolute; left: 46%; top: -1.5rem; transform: rotate(45deg); } /* ====================== FOOTER ====================== */ footer { font-size: .9rem; margin-top: 20px; } .footer__copyright { background: var(--color-primary-dark); font-size: 16px; color: white; text-align: center; padding: 1.2rem 0; border-top: 1px solid var(--color-white); .copy-content { display: flex; flex-direction: row; justify-content: space-between; margin: 0 25rem 0 25rem; } } .overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 9; } dialog { padding: .5rem; background: white; border-radius: .25rem; z-index: 10; } dialog::backdrop { background: rgba(0,0,0,.3); } .cookies-policy__info { background-color: white; padding: 40px; border-radius: 5px; } .cookies-policy__info a{ color: blue; } .cookies-warning { display: none; background: #fff; padding: 20px; width: calc(100% - 40px); max-width: 300px; line-height: 150%; border-radius: 10px; position: fixed; bottom: 20px; left: 20px; z-index: 100; padding-top: 60px; box-shadow: 0px 2px 20px 10px rgba(222,222,222,.25); text-align: center; } .cookies-warning.active { display: block; } .cookies-warning .cookie { max-width: 100px; position: absolute; top: -50px; left: calc(50% - 50px); } .cookies-warning .cookies-title, .cookies-warning .cookies-text { margin-bottom: 15px; } .cookies-warning button { width: 100%; background: #595959; border: none; color: #fff; font-family: 'Roboto', sans-serif; text-align: center; padding: 15px 20px; font-weight: 700; cursor: pointer; transition: .3s ease all; border-radius: 5px; margin-bottom: 15px; font-size: 14px; } .cookies-warning button:hover { background: #000; } .cookies-warning a { color: #4DBFFF; text-decoration: none; font-size: 14px; } .cookies-warning a:hover { text-decoration: underline; } .cookies-warning-background { display: none; background: rgba(0,0,0,.20); position: fixed; z-index: 99; width: 100vw; height: 100vh; top: 0; left: 0; } .cookies-warning-background.active { display: block; } .privacy-policy, .cookies-policy, .terms-and-conditions{ margin-top: 4rem; } @media (max-width: 768px) { .container { width: 100%; } nav { .nav__container { width: 100%; justify-content: space-around; .nav__menu { display: none; } .burger__menu { display: block; width: 32px; height: 32px; } } } .mobile-menu { display: none; top: 0; background-color: var(--color-primary); width: 100%; height: 100%; position: absolute; z-index: 50; &&.open { display: block; } .top { display: flex; justify-content: space-around; align-items: center; height: 6rem; .burger__menu { display: block; width: 32px; height: 32px; } } .options .nav__menu { font-size: 16px; font-weight: 700; margin-top: 8rem; text-transform: uppercase; display: flex; flex-direction: column; } .footer { position: fixed; bottom: 0; .footer__copyright { background-color: var(--color-primary) !important; } } } header { height: 80vh; .header__container { display: flex; flex-direction: column; gap: 1rem; p { margin: 1.5rem 0 1rem 0; } .header__left { margin: 0 1.5rem; text-align: left; .desktop { display: none; } } .mobile { display: block; margin: 1rem 0; } .swiper { min-width: 0; height: 100%; border-radius: 0; } } } .description__container { padding-bottom: 0; h1, .welcome-text { margin: 0 1.5rem; } } .opinions__container { padding-bottom: 0; .opinion__info_body { margin: 3rem 1.5rem; } .swiper-pagination { position: relative !important; } } .footer { .copy-content { gap: 2rem; margin: 0 5rem 0 5rem; } } .close { display: none; } }