lasthourhosting/css/styles.css
Gary 0850977b36 update styles
remove broken livechat
2026-04-17 16:08:44 -07:00

862 lines
16 KiB
CSS

* {
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
/* Search Hero */
.search-hero {
position: relative;
width: 100%;
max-width: 600px;
margin-top: 1.5rem;
z-index: 50;
}
.search-bar {
display: flex;
align-items: center;
background: #fefff1;
border-radius: 15px;
padding: 4px 20px;
transition: box-shadow 0.2s;
}
.search-bar:focus-within {
box-shadow: #45e3ff 0 4px 12px, rgba(45, 35, 66, 0.3) 0 7px 13px 3px;
}
.search-icon {
width: 20px;
height: 20px;
color: #3b444b;
flex-shrink: 0;
}
.search-bar input {
flex: 1;
border: none;
background: transparent;
padding: 14px 12px;
font-size: 16px;
font-family: Verdana, Geneva, Tahoma, sans-serif;
color: #1e2733;
outline: none;
}
.search-bar input::placeholder {
color: #7a8490;
font-size: 14px;
transition: opacity 0.3s ease;
}
.search-bar input.placeholder-fade-out::placeholder {
opacity: 0;
}
.search-results {
display: none;
position: absolute;
top: calc(100% + 8px);
left: 0;
right: 0;
background: #212b38;
border-radius: 16px;
box-shadow: rgba(0, 0, 0, 0.4) 0 8px 24px;
z-index: 50;
overflow: hidden;
max-height: 70vh;
overflow-y: auto;
}
.search-results.active {
display: block;
}
.search-result-item {
padding: 20px 24px;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.search-result-item:last-child {
border-bottom: none;
}
.search-result-header {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 8px;
}
.search-result-header h4 {
margin: 0;
color: #fefff1;
font-size: 1.2em;
text-align: left;
}
.search-result-price {
color: #a162f7;
font-weight: bold;
font-size: 1.1em;
}
.search-result-item p {
color: #c0c8d4;
margin: 8px 0 12px;
font-size: 0.95em;
line-height: 1.5;
}
.search-alt-badge {
display: inline-block;
background: rgba(161, 98, 247, 0.2);
color: #c89aff;
border-radius: 100px;
padding: 4px 12px;
font-size: 0.8em;
font-weight: bold;
margin-top: 6px;
}
.search-result-actions {
display: flex;
align-items: center;
gap: 16px;
flex-wrap: wrap;
}
.search-result-actions .button-3 {
margin: 0;
font-size: 14px;
height: 38px;
padding-left: 14px;
padding-right: 14px;
}
.search-learn-more {
color: #45e3ff;
font-size: 14px;
font-weight: bold;
text-decoration: none;
transition: color 0.2s;
padding: 0;
}
.search-learn-more:hover {
color: #7eeeff;
}
.search-no-results {
text-align: center;
}
.search-no-results h4 {
color: #fefff1;
margin: 0 0 8px;
text-align: center;
}
.search-no-results p {
text-align: center;
color: #c0c8d4;
}
.search-no-results .button-3 {
margin: 12px auto 0;
}
.search-cta {
text-align: center;
background: rgba(161, 98, 247, 0.06);
}
.search-cta p {
text-align: center;
color: #a0a8b4;
margin: 0 0 8px;
font-size: 0.9em;
}
.search-cta .search-learn-more {
padding: 0;
}
body {
background: #1e2733;
margin: 0;
padding: 0;
}
header {
padding: 0;
margin: 0;
position: sticky;
top: 0;
display: -webkit-flex;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
z-index: 10; /* Adjust the z-index as needed */
}
main {
-webkit-flex: 1;
flex: 1;
display: -webkit-flex;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
align-items: flex-start;
}
.flex-column {
-webkit-flex: 100%;
flex: 100%;
-webkit-flex-direction: row;
flex-direction: column;
display: -webkit-flex;
display: flex;
align-items: center;
color: var(--text-color);
padding: 100px 5px 100px 5px;
text-align: center;
min-height: 50vh;
justify-content: center;
}
.flex-row {
-webkit-flex: 100%;
flex: 100%;
-webkit-flex-direction: row;
flex-direction: row;
display: -webkit-flex;
display: flex;
color: var(--text-color);
margin: 10px;
text-align: center;
border-radius: 5px;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
justify-content: space-evenly;
}
.flex-row-product {
-webkit-flex: 100%;
flex: 100%;
-webkit-flex-direction: row;
flex-direction: row;
display: -webkit-flex;
display: flex;
color: var(--text-color);
margin: 10px;
text-align: center;
border-radius: 5px;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
justify-content: space-evenly;
align-items: center;
gap: 50px;
color: #fefff1;
padding: 10px;
}
.flex-row-items {
-webkit-flex: content;
flex: content;
-webkit-flex-direction: row;
flex-direction: row;
display: -webkit-flex;
display: flex;
color: var(--text-color);
margin: 10px;
text-align: center;
border-radius: 5px;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
justify-content: space-evenly;
align-items: center;
gap: 50px;
}
.flex-container {
margin: 10px;
padding: 20px;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-flex-direction: column;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
-webkit-flex: 1 1 0;
flex: 1 1 0;
}
.flex-container-left {
margin: 10px;
padding: 20px;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-flex-direction: column;
flex-direction: column;
justify-content: space-evenly;
align-items: left;
-webkit-flex: 1 1 0;
flex: 1 1 0;
width: 100%;
}
.main-left {
float: left;
width: 50%;
margin-right: 20px;
}
.flex-container-left {
margin: auto;
display: flex;
}
.container {
display: flex;
flex-wrap: wrap;
align-content: space-around;
justify-content: space-evenly;
}
.column {
flex: 1;
padding: 1rem;
align-content: space-around;
justify-content: space-evenly;
}
img {
max-width: 100%;
height: auto;
display: flex;
margin: 0 auto;
}
video {
min-width: 300px;
width: 100%;
height: auto;
}
.bg-one {
border-radius: 20px;
background-color: #3b444b;
transition: box-shadow 0.2s, -webkit-box-shadow 0.2s;
}
.bg-two {
border-radius: 5px;
background-color: #212b38;
transition: box-shadow 0.2s, -webkit-box-shadow 0.2s;
}
.bg-three {
border-radius: 5px;
background-color: #151f29;
transition: box-shadow 0.2s, -webkit-box-shadow 0.2s;
}
footer {
color: var(--text-color);
background-color: #151f29;
text-align: center;
padding: 1rem;
-webkit-flex: 1;
flex: 1;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
justify-content: space-evenly;
}
h1,
h2,
h3 {
color: #fefff1;
text-align: left;
word-break: break-word;
}
h4 {
color: #a162f7;
text-align: left;
}
.header-large {
font-size: 4em;
color: #fefff1;
text-align: left;
}
.header-medium {
font-size: 3em;
text-align: left;
}
.header-small {
font-size: 2em;
text-align: left;
}
.top {
position: relative;
z-index: 2;
}
p,
ul,
ol,
td,
li {
word-break: normal;
color: #fefff1;
text-align: left;
max-width: 1000px;
}
.break-all {
word-break: break-all;
}
a {
color: white;
text-decoration: none;
text-align: left;
margin: 0 auto;
padding: 5px;
transition: color 0.5s ease;
}
.a-black {
color: #fff;
text-decoration: none;
text-align: left;
margin: 0 auto;
padding: 5px;
transition: color 0.5s ease;
}
a:hover:not(nav a) {
color: #45e3ff;
}
.page-link {
color: white;
text-decoration: none;
text-align: left;
margin: 0 auto;
padding: 0px;
transition: color 0.5s ease;
}
.page-link:hover {
color: #45e3ff;
}
.button-1 {
align-items: center;
background-color: #fefff1;
border-radius: 12px;
box-shadow: transparent 0 0 0 3px, rgba(18, 18, 18, 0.1) 0 6px 20px;
box-sizing: border-box;
color: #121212;
cursor: pointer;
display: -webkit-flex;
display: flex;
-webkit-flex: 0 0 auto;
flex: 0 0 auto;
font-family: Inter, sans-serif;
font-size: 18px;
font-weight: 700;
justify-content: center;
line-height: 1;
margin: 1rem;
outline: none;
padding: 1rem 1.2rem;
text-align: center;
text-decoration: none;
transition: box-shadow 0.2s, -webkit-box-shadow 0.2s;
white-space: nowrap;
border: 0;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
width: fit-content;
}
.button-1:hover {
box-shadow: #00bcf3 0 0 0 3px, transparent 0 0 0 0;
}
.button-2 {
align-items: center;
border-radius: 12px;
box-sizing: border-box;
color: #fefff1;
cursor: pointer;
display: -webkit-flex;
display: flex;
-webkit-flex: 0 0 auto;
flex: 0 0 auto;
font-family: Inter, sans-serif;
font-size: 18px;
font-weight: 700;
justify-content: center;
line-height: 1;
margin: 1rem;
outline: none;
padding: 1rem 1.2rem;
text-align: center;
text-decoration: none;
white-space: nowrap;
box-shadow: #ffffff 0 0 0 2px, transparent 0 0 0 0;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
width: fit-content;
}
.button-2:hover {
box-shadow: #00bcf3 0 0 0 3px, transparent 0 0 0 0;
}
.button-3 {
align-items: center;
appearance: none;
background: #fefff1;
border: 0;
border-radius: 100px;
box-shadow: rgba(48, 46, 53, 0.4) 0 2px 4px,
rgba(45, 35, 66, 0.3) 0 7px 13px -3px, rgba(70, 71, 78, 0.5) 0 -3px 0 inset;
box-sizing: border-box;
color: black;
cursor: pointer;
display: inline-flex;
height: 48px;
justify-content: center;
line-height: 1;
list-style: none;
overflow: hidden;
padding-left: 16px;
padding-right: 16px;
position: relative;
text-align: left;
text-decoration: none;
transition: box-shadow 0.15s, transform 0.15s, color 0.2s;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
white-space: nowrap;
will-change: box-shadow, transform;
font-size: 18px;
font-weight: bold;
margin: 20px 20px 20px 20px;
max-width: fit-content;
}
.button-3:focus {
box-shadow: #000000 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px,
rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #242424 0 -3px 0 inset;
}
.button-3:hover {
box-shadow: #45e3ff 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px 3px,
#00baf35b 0 -3px 0 inset;
transform: translateY(-2px);
}
.button-3:active {
box-shadow: #242424 0 3px 7px inset;
transform: translateY(-2px);
}
/* Menu */
.menu {
margin: 0 auto;
display: -webkit-flex;
display: flex;
justify-content: center;
align-content: center;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
width: 100%;
z-index: 100;
background: #151f29;
padding: 0px 20px 0px 20px;
}
nav {
background: #151f29;
display: -webkit-flex;
display: flex;
align-content: space-around;
justify-content: space-between;
-webkit-flex: 1;
flex: 1;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
width: 100%;
z-index: 100;
}
nav ul {
padding: 0;
margin: 0;
list-style: none;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
justify-content: center;
align-content: center;
align-items: center;
}
nav ul li {
display: -webkit-flex;
display: flex;
}
nav a {
display: -webkit-flex;
display: flex;
padding: 0 10px;
color: #fff;
font-size: 18px;
line-height: 50px;
text-decoration: none;
justify-content: center;
align-content: center;
align-items: center;
transition: box-shadow 0.2s, -webkit-box-shadow 0.2s;
border-radius: 12px;
margin: 1rem;
}
.menu-items a:hover {
box-shadow: #45e3ff 0 0 0 2px, transparent 0 0 0 0;
}
/* Hide Dropdowns by Default */
nav ul ul {
display: none;
position: absolute;
top: 57px; /* Adjust the height of the main nav */
background-color: #151f29;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
}
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
display: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
flex-direction: column;
justify-content: center;
align-content: center;
align-items: center;
}
/* First Tier Dropdown */
nav ul ul li {
display: -webkit-flex;
display: flex;
width: 100%;
float: none;
justify-content: center;
align-content: center;
align-items: center;
}
/* Second, Third and more Tiers */
nav ul ul ul li {
position: relative;
top: -120px;
left: 100%;
}
.drop {
cursor: pointer;
display: none;
}
.logo {
width: 200px;
}
input[type="checkbox"] {
display: none;
}
.menu-items {
display: -webkit-flex;
display: flex;
}
:checked + .drop:after {
display: none;
}
input:checked + .drop + .menu-items {
display: -webkit-flex;
display: flex;
}
.message-icon-container {
position: fixed;
bottom: 20px;
right: 45px;
display: -webkit-flex;
display: flex;
align-items: center;
justify-content: center;
background-color: #a162f7;
color: #fff;
border-radius: 50%;
width: 90px;
height: 90px;
cursor: pointer;
transition: width 0.2s, height 0.2s;
z-index: 3;
}
.message-icon-container:hover {
width: 100px;
height: 100px;
z-index: 3;
}
.bg-img {
background: url("/assets/last_hour_hosting_logo_blue.png") center/cover
no-repeat;
height: 300px;
color: #fff;
text-align: center;
padding: 20px;
}
.bg-img-cloud {
background-color: rgba(160, 98, 247, 1);
background-blend-mode: soft-light;
}
.bg-img-vps {
background-color: rgba(160, 98, 247, 1);
background-blend-mode: soft-light;
}
.bg-img-apps {
background-color: rgba(160, 98, 247, 1);
background-blend-mode: soft-light;
}
.bg-vid {
position: relative;
overflow: hidden;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.bg-vid::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0);
}
.bg-vid video {
position: absolute;
top: 50%;
left: 50%;
width: auto;
height: auto;
transform: translate(-50%, -50%);
min-width: 100%;
min-height: 100%;
z-index: -1;
}
.bg-header {
display: flex;
background: rgba(160, 98, 247, 0.774);
align-content: space-around;
justify-content: space-evenly;
width: 100%;
min-height: 60vh;
position: relative;
z-index: 5;
}
.align-right {
display: flex;
justify-content: flex-end;
}
.e-mail:before {
content: attr(data-website) "\0040"attr(data-user);
unicode-bidi: bidi-override;
direction: rtl;
color: #fefff1;
}
nav a:not(.logo) {
margin: 0.2rem;
}
@media all and (max-width: 960px) {
.search-hero {
max-width: 100%;
}
.search-bar input::placeholder {
font-size: 20px;
}
.search-results {
border-radius: 12px;
}
.search-result-item {
padding: 16px;
}
.flex-column {
padding: 10px 5px;
}
/* mobile menu */
/* First Tier Dropdown */
/* Display All Items in Full-width Column */
.header-large {
font-size: 12vw;
color: #fefff1;
text-align: left;
}
.header-medium {
font-size: 8vw;
text-align: left;
}
.header-small {
font-size: 5vw;
text-align: left;
}
nav ul li {
display: -webkit-flex;
display: flex;
width: 100%;
text-align: center;
justify-content: center;
align-content: center;
align-items: center;
}
nav ul ul li {
display: none;
width: 100%;
float: none;
justify-content: center;
align-content: center;
align-items: center;
}
.drop {
cursor: pointer;
display: -webkit-flex;
display: flex;
justify-content: center;
align-content: center;
align-items: center;
}
input[type="checkbox"] {
display: none;
}
.menu-items {
display: none;
}
input:checked + .drop + .menu-items {
display: -webkit-flex;
display: flex;
}
.bg-vid video {
width: auto;
height: auto;
}
.container {
margin: 10px;
padding: 20px;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-flex-direction: column;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
-webkit-flex: 1 1 0;
flex: 1 1 0;
text-align: center;
}
h1,
h2,
h3 {
text-align: center;
}
.header-large {
text-align: center;
font-size: 2.5em;
color: #fefff1;
}
}