Nominatim-Server/app/assets/css/style.css

885 lines
14 KiB
CSS
Raw Normal View History

2024-01-27 22:16:08 +00:00
/* Fonts */
:root {
--font-default: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
--font-primary: "Montserrat", sans-serif;
--font-secondary: "Poppins", sans-serif;
}
/* Colors */
:root {
--color-default: #222222;
--color-primary: #008374;
--color-secondary: #f85a40;
}
/* Smooth scroll behavior */
:root {
scroll-behavior: smooth;
}
body {
font-family: var(--font-default);
color: var(--color-default);
}
a {
color: var(--color-primary);
text-decoration: none;
}
a:hover {
color: #00b6a1;
text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-primary);
}
section {
padding: 60px 0;
overflow: hidden;
}
.sections-bg {
background-color: #f6f6f6;
}
.section-header {
text-align: center;
padding-bottom: 60px;
}
.section-header h2 {
font-size: 32px;
font-weight: 600;
margin-bottom: 20px;
padding-bottom: 20px;
position: relative;
}
.section-header h2:after {
content: "";
position: absolute;
display: block;
width: 50px;
height: 3px;
background: var(--color-primary);
left: 0;
right: 0;
bottom: 0;
margin: auto;
}
.section-header p {
margin-bottom: 0;
color: #6f6f6f;
}
.breadcrumbs .page-header {
padding: 60px 0 60px 0;
min-height: 20vh;
position: relative;
background-color: var(--color-primary);
}
.breadcrumbs .page-header h2 {
font-size: 56px;
font-weight: 500;
color: #fff;
font-family: var(--font-secondary);
}
.breadcrumbs .page-header p {
color: rgba(255, 255, 255, 0.8);
}
.breadcrumbs nav {
background-color: #f6f6f6;
padding: 20px 0;
}
.breadcrumbs nav ol {
display: flex;
flex-wrap: wrap;
list-style: none;
margin: 0;
padding: 0;
font-size: 16px;
font-weight: 600;
color: var(--color-default);
}
.breadcrumbs nav ol a {
color: var(--color-primary);
transition: 0.3s;
}
.breadcrumbs nav ol a:hover {
text-decoration: underline;
}
.breadcrumbs nav ol li+li {
padding-left: 10px;
}
.breadcrumbs nav ol li+li::before {
display: inline-block;
padding-right: 10px;
color: var(--color-secondary);
content: "/";
}
.scroll-top {
position: fixed;
visibility: hidden;
opacity: 0;
right: 15px;
bottom: -15px;
z-index: 99999;
background: var(--color-secondary);
width: 44px;
height: 44px;
border-radius: 50px;
transition: all 0.4s;
}
.scroll-top i {
font-size: 24px;
color: #fff;
line-height: 0;
}
.scroll-top:hover {
background: rgba(248, 90, 64, 0.8);
color: #fff;
}
.scroll-top.active {
visibility: visible;
opacity: 1;
bottom: 15px;
}
#preloader {
position: fixed;
inset: 0;
z-index: 999999;
overflow: hidden;
background: #fff;
transition: all 0.6s ease-out;
}
#preloader:before {
content: "";
position: fixed;
top: calc(50% - 30px);
left: calc(50% - 30px);
border: 6px solid #fff;
border-color: var(--color-primary) transparent var(--color-primary) transparent;
border-radius: 50%;
width: 60px;
height: 60px;
animation: animate-preloader 1.5s linear infinite;
}
@keyframes animate-preloader {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@media screen and (max-width: 768px) {
[data-aos-delay] {
transition-delay: 0 !important;
}
}
.topbar {
background: #00796b;
height: 40px;
font-size: 14px;
transition: all 0.5s;
color: #fff;
padding: 0;
}
.topbar .contact-info i {
font-style: normal;
color: #fff;
line-height: 0;
}
.topbar .contact-info i a,
.topbar .contact-info i span {
padding-left: 5px;
color: #fff;
}
@media (max-width: 575px) {
.topbar .contact-info i a,
.topbar .contact-info i span {
font-size: 13px;
}
}
.topbar .contact-info i a {
line-height: 0;
transition: 0.3s;
}
.topbar .contact-info i a:hover {
color: #fff;
text-decoration: underline;
}
.topbar .social-links a {
color: rgba(255, 255, 255, 0.7);
line-height: 0;
transition: 0.3s;
margin-left: 20px;
}
.topbar .social-links a:hover {
color: #fff;
}
.header {
transition: all 0.5s;
z-index: 997;
height: 90px;
background-color: var(--color-primary);
}
.header.sticked {
position: fixed;
top: 0;
right: 0;
left: 0;
height: 70px;
box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}
.header .logo img {
max-height: 40px;
margin-right: 6px;
}
.header .logo h1 {
font-size: 30px;
margin: 0;
font-weight: 600;
letter-spacing: 0.8px;
color: #fff;
font-family: var(--font-primary);
}
.header .logo h1 span {
color: #f96f59;
}
.sticked-header-offset {
margin-top: 70px;
}
section {
scroll-margin-top: 70px;
}
@media (min-width: 1280px) {
.navbar {
padding: 0;
}
.navbar ul {
margin: 0;
padding: 0;
display: flex;
list-style: none;
align-items: center;
}
.navbar li {
position: relative;
}
.navbar>ul>li {
white-space: nowrap;
padding: 10px 0 10px 28px;
}
.navbar a,
.navbar a:focus {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 3px;
font-family: var(--font-secondary);
font-size: 16px;
font-weight: 600;
color: rgba(255, 255, 255, 0.6);
white-space: nowrap;
transition: 0.3s;
position: relative;
}
.navbar a i,
.navbar a:focus i {
font-size: 12px;
line-height: 0;
margin-left: 5px;
}
.navbar>ul>li>a:before {
content: "";
position: absolute;
width: 100%;
height: 2px;
bottom: -6px;
left: 0;
background-color: var(--color-secondary);
visibility: hidden;
width: 0px;
transition: all 0.3s ease-in-out 0s;
}
.navbar a:hover:before,
.navbar li:hover>a:before,
.navbar .active:before {
visibility: visible;
width: 100%;
}
.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
color: #fff;
}
.navbar .dropdown ul {
display: block;
position: absolute;
left: 28px;
top: calc(100% + 30px);
margin: 0;
padding: 10px 0;
z-index: 99;
opacity: 0;
visibility: hidden;
background: #fff;
box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
transition: 0.3s;
border-radius: 4px;
}
.navbar .dropdown ul li {
min-width: 200px;
}
.navbar .dropdown ul a {
padding: 10px 20px;
font-size: 15px;
text-transform: none;
font-weight: 600;
color: #006a5d;
}
.navbar .dropdown ul a i {
font-size: 12px;
}
.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
color: var(--color-secondary);
}
.navbar .dropdown:hover>ul {
opacity: 1;
top: 100%;
visibility: visible;
}
.navbar .dropdown .dropdown ul {
top: 0;
left: calc(100% - 30px);
visibility: hidden;
}
.navbar .dropdown .dropdown:hover>ul {
opacity: 1;
top: 0;
left: 100%;
visibility: visible;
}
}
@media (min-width: 1280px) and (max-width: 1366px) {
.navbar .dropdown .dropdown ul {
left: -90%;
}
.navbar .dropdown .dropdown:hover>ul {
left: -100%;
}
}
@media (min-width: 1280px) {
.mobile-nav-show,
.mobile-nav-hide {
display: none;
}
}
@media (max-width: 1279px) {
.navbar {
position: fixed;
top: 0;
right: -100%;
width: 100%;
max-width: 400px;
bottom: 0;
transition: 0.3s;
z-index: 9997;
}
.navbar ul {
position: absolute;
inset: 0;
padding: 50px 0 10px 0;
margin: 0;
background: rgba(0, 131, 116, 0.9);
overflow-y: auto;
transition: 0.3s;
z-index: 9998;
}
.navbar a,
.navbar a:focus {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 20px;
font-family: var(--font-primary);
font-size: 15px;
font-weight: 600;
color: rgba(255, 255, 255, 0.7);
white-space: nowrap;
transition: 0.3s;
}
.navbar a i,
.navbar a:focus i {
font-size: 12px;
line-height: 0;
margin-left: 5px;
}
.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
color: #fff;
}
.navbar .getstarted,
.navbar .getstarted:focus {
background: var(--color-primary);
padding: 8px 20px;
border-radius: 4px;
margin: 15px;
color: #fff;
}
.navbar .getstarted:hover,
.navbar .getstarted:focus:hover {
color: #fff;
background: rgba(0, 131, 116, 0.8);
}
.navbar .dropdown ul,
.navbar .dropdown .dropdown ul {
position: static;
display: none;
padding: 10px 0;
margin: 10px 20px;
transition: all 0.5s ease-in-out;
background-color: #007466;
border: 1px solid #006459;
}
.navbar .dropdown>.dropdown-active,
.navbar .dropdown .dropdown>.dropdown-active {
display: block;
}
.mobile-nav-show {
color: rgba(255, 255, 255, 0.6);
font-size: 28px;
cursor: pointer;
line-height: 0;
transition: 0.5s;
z-index: 9999;
margin-right: 10px;
}
.mobile-nav-hide {
color: #fff;
font-size: 32px;
cursor: pointer;
line-height: 0;
transition: 0.5s;
position: fixed;
right: 20px;
top: 20px;
z-index: 9999;
}
.mobile-nav-active {
overflow: hidden;
}
.mobile-nav-active .navbar {
right: 0;
}
.mobile-nav-active .navbar:before {
content: "";
position: fixed;
inset: 0;
background: rgba(0, 106, 93, 0.8);
z-index: 9996;
}
}
.faq .content h3 {
font-weight: 400;
font-size: 34px;
}
.faq .content h4 {
font-size: 20px;
font-weight: 700;
margin-top: 5px;
}
.faq .content p {
font-size: 15px;
color: #6c757d;
}
.faq .accordion-item {
border: 0;
margin-bottom: 20px;
box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.06);
border-radius: 10px;
}
.faq .accordion-item:last-child {
margin-bottom: 0;
}
.faq .accordion-collapse {
border: 0;
}
.faq .accordion-button {
padding: 20px 50px 20px 20px;
font-weight: 600;
border: 0;
font-size: 18px;
line-height: 24px;
color: var(--color-default);
text-align: left;
background: #fff;
box-shadow: none;
border-radius: 10px;
}
.faq .accordion-button .num {
padding-right: 10px;
font-size: 20px;
line-height: 0;
color: var(--color-primary);
}
.faq .accordion-button:not(.collapsed) {
color: var(--color-primary);
border-bottom: 0;
box-shadow: none;
}
.faq .accordion-button:after {
position: absolute;
right: 20px;
top: 20px;
}
.faq .accordion-body {
padding: 0 40px 30px 45px;
border: 0;
border-radius: 10px;
background: #fff;
box-shadow: none;
}
.hero {
width: 100%;
position: relative;
background: var(--color-primary);
padding: 60px 0 0 0;
}
@media (min-width: 1365px) {
.hero {
background-attachment: fixed;
}
}
.hero h2 {
font-size: 48px;
font-weight: 700;
margin-bottom: 20px;
color: #fff;
}
.hero p {
color: rgba(255, 255, 255, 0.6);
font-weight: 400;
margin-bottom: 30px;
}
.hero .btn-get-started {
font-family: var(--font-primary);
font-weight: 500;
font-size: 15px;
letter-spacing: 1px;
display: inline-block;
padding: 14px 40px;
border-radius: 50px;
transition: 0.3s;
color: #fff;
background: rgba(255, 255, 255, 0.1);
box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
border: 2px solid rgba(255, 255, 255, 0.1);
}
.hero .btn-get-started:hover {
border-color: rgba(255, 255, 255, 0.5);
}
.hero .btn-watch-video {
font-size: 16px;
transition: 0.5s;
margin-left: 25px;
color: #fff;
font-weight: 600;
}
.hero .btn-watch-video i {
color: rgba(255, 255, 255, 0.5);
font-size: 32px;
transition: 0.3s;
line-height: 0;
margin-right: 8px;
}
.hero .btn-watch-video:hover i {
color: #fff;
}
@media (max-width: 640px) {
.hero h2 {
font-size: 36px;
}
.hero .btn-get-started,
.hero .btn-watch-video {
font-size: 14px;
}
}
.hero .icon-boxes {
padding-bottom: 60px;
}
@media (min-width: 1200px) {
.hero .icon-boxes:before {
content: "";
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: calc(50% + 20px);
background-color: #fff;
}
}
.hero .icon-box {
padding: 60px 30px;
position: relative;
overflow: hidden;
background: #008d7d;
box-shadow: 0 0 29px 0 rgba(0, 0, 0, 0.08);
transition: all 0.3s ease-in-out;
border-radius: 8px;
z-index: 1;
height: 100%;
width: 100%;
text-align: center;
}
.hero .icon-box .title {
font-weight: 700;
margin-bottom: 15px;
font-size: 24px;
}
.hero .icon-box .title a {
color: #fff;
transition: 0.3s;
}
.hero .icon-box .icon {
margin-bottom: 20px;
padding-top: 10px;
display: inline-block;
transition: all 0.3s ease-in-out;
font-size: 48px;
line-height: 1;
color: rgba(255, 255, 255, 0.6);
}
.hero .icon-box:hover {
background: #009786;
}
.hero .icon-box:hover .title a,
.hero .icon-box:hover .icon {
color: #fff;
}
.footer {
font-size: 14px;
background-color: var(--color-primary);
padding: 50px 0;
color: white;
}
.footer .footer-info .logo {
line-height: 0;
margin-bottom: 25px;
}
.footer .footer-info .logo img {
max-height: 40px;
margin-right: 6px;
}
.footer .footer-info .logo span {
font-size: 30px;
font-weight: 700;
letter-spacing: 1px;
color: #fff;
font-family: var(--font-primary);
}
.footer .footer-info p {
font-size: 14px;
font-family: var(--font-primary);
}
.footer .social-links a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
border: 1px solid rgba(255, 255, 255, 0.2);
font-size: 16px;
color: rgba(255, 255, 255, 0.7);
margin-right: 10px;
transition: 0.3s;
}
.footer .social-links a:hover {
color: #fff;
border-color: #fff;
}
.footer h4 {
font-size: 16px;
font-weight: bold;
position: relative;
padding-bottom: 12px;
}
.footer .footer-links {
margin-bottom: 30px;
}
.footer .footer-links ul {
list-style: none;
padding: 0;
margin: 0;
}
.footer .footer-links ul i {
padding-right: 2px;
color: rgba(0, 131, 116, 0.8);
font-size: 12px;
line-height: 0;
}
.footer .footer-links ul li {
padding: 10px 0;
display: flex;
align-items: center;
}
.footer .footer-links ul li:first-child {
padding-top: 0;
}
.footer .footer-links ul a {
color: rgba(255, 255, 255, 0.7);
transition: 0.3s;
display: inline-block;
line-height: 1;
}
.footer .footer-links ul a:hover {
color: #fff;
}
.footer .footer-contact p {
line-height: 26px;
}
.footer .copyright {
text-align: center;
}
.footer .credits {
padding-top: 4px;
text-align: center;
font-size: 13px;
}
.footer .credits a {
color: #fff;
}