lasthourhosting/css/styles.css
2024-03-18 16:54:46 -07:00

473 lines
9.1 KiB
CSS

* {
font-family: DejaVu Sans, Helvetica, sans-serif;
}
body {
background: whitesmoke;
margin: 0;
padding: 0;
}
header {
padding: 0;
margin: 0;
position: sticky;
top: 0;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
z-index: 10; /* Adjust the z-index as needed */
}
main {
flex: 1;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
align-items: flex-start;
padding: 20px;
}
.flex-column {
flex: 100%;
flex-direction: column;
display: flex;
align-items: center;
color: var(--text-color);
padding: 100px 5px 100px 5px;
text-align: center;
min-height: 50vh;
justify-content: center;
border-bottom: 3px solid rgb(230, 230, 230);
}
.flex-row {
flex: 100%;
flex-direction: row;
display: flex;
color: var(--text-color);
margin: 10px;
text-align: center;
border-radius: 5px;
flex-wrap: wrap;
justify-content: space-evenly;
}
.flex-container {
margin: 10px;
padding: 20px;
display: flex;
flex-wrap: wrap;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
flex: 1 1 0;
}
.bg-one {
border-radius: 5px;
background-color: white;
transition: box-shadow 0.2s, -webkit-box-shadow 0.2s;
}
footer {
color: var(--text-color);
background-color: gray;
text-align: center;
padding: 1rem;
flex: 1;
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
}
h1,
h2,
h3 {
color: #1c1c1c;
text-align: center;
margin: 5px;
padding: 5px;
}
p,
ul,
ol,
td,
li {
color: #1c1c1c;
text-align: left;
margin: 0 auto;
padding: 5px;
max-width: 1000px;
}
a {
color: white;
text-decoration: none;
text-align: left;
margin: 0 auto;
padding: 5px;
transition: color 0.5s ease;
}
a:hover:not(nav a) {
color: #00bcf3;
}
.page-link {
color: black;
text-decoration: none;
text-align: left;
margin: 0 auto;
padding: 0px;
transition: color 0.5s ease;
}
.page-link:hover {
color: #00bcf3;
}
.button-1 {
align-items: center;
background-color: #fff;
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: flex;
flex: 0 0 auto;
font-family: Inter, sans-serif;
font-size: 1.2rem;
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-shadow: transparent 0 0 0 3px, rgba(255, 255, 255, 0.1) 0 6px 20px;
box-sizing: border-box;
color: white;
cursor: pointer;
display: flex;
flex: 0 0 auto;
font-family: Inter, sans-serif;
font-size: 1.2rem;
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 3px, 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 {
margin: 2rem;
align-items: center;
appearance: none;
background-image: radial-gradient(
100% 100% at 100% 0,
#444444 0,
#1d1d1d 100%
);
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: #fff;
cursor: pointer;
display: inline-flex;
font-family: "JetBrains Mono", monospace;
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;
}
.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: #00baf35b 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px 3px,
#000000 0 -3px 0 inset;
transform: translateY(-2px);
color: #00bcf3;
}
.button-3:active {
box-shadow: #242424 0 3px 7px inset;
transform: translateY(-2px);
}
/* Menu */
.menu {
margin: 0 auto;
display: flex;
justify-content: center;
align-content: center;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
z-index: 100;
}
nav {
background: black;
display: flex;
align-content: space-around;
justify-content: center;
flex: 1;
flex-wrap: wrap;
width: 100%;
z-index: 100;
}
nav ul {
padding: 0;
margin: 0;
list-style: none;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-content: center;
align-items: center;
}
nav ul li {
display: flex;
}
nav a {
display: flex;
padding: 0 10px;
color: #fff;
font-size: 20px;
line-height: 60px;
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: #00bcf3 0 0 0 3px, transparent 0 0 0 0;
}
/* Hide Dropdowns by Default */
nav ul ul {
display: none;
position: absolute;
top: 75px; /* Adjust the height of the main nav */
background-color: black;
}
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
display: flex;
flex-direction: column;
justify-content: center;
align-content: center;
align-items: center;
}
/* First Tier Dropdown */
nav ul ul li {
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: -100px;
left: 100%;
}
.drop {
cursor: pointer;
display: none;
}
input[type="checkbox"] {
display: none;
}
.menu-items {
display: flex;
}
:checked + .drop:after {
display: none;
}
input:checked + .drop + .menu-items {
display: flex;
}
.message-icon-container {
position: fixed;
bottom: 20px;
right: 20px;
display: flex;
align-items: center;
justify-content: center;
background-color: black;
color: #fff;
border-radius: 50%;
width: 50px;
height: 50px;
cursor: pointer;
transition: width 0.2s, height 0.2s;
}
.message-icon-container:hover {
width: 55px;
height: 55px;
}
.bg-img {
background: url("/assets/last_hour_hosting_logo_blue.png") center/cover
no-repeat;
height: 300px;
color: #fff;
text-align: center;
padding: 20px;
}
/* mobile menu */
@media all and (max-width: 960px) {
/* First Tier Dropdown */
/* Display All Items in Full-width Column */
nav ul li {
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: 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: flex;
}
}
nav a:not(.logo) {
margin: 0.2rem;
}
.e-mail:before {
content: attr(data-website) "\0040"attr(data-user);
unicode-bidi: bidi-override;
direction: rtl;
}
.bg-vid {
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-color: rgba(255, 255, 255, 0.801);
background-blend-mode: color;
transition: box-shadow 0.2s, -webkit-box-shadow 0.2s, background-color 0.2s;
border-radius: 5px;
}
.bg-vid:hover {
border-radius: 5px;
background-blend-mode: lighten;
background-color: #ffffff;
box-shadow: transparent 0 0 0 3px, rgba(18, 18, 18, 0.1) 0 6px 100px;
}
#cloud {
background-image: url("https://cdn.lasthourhosting.org/assets/clouds.gif");
}
#iceland {
background-image: url("https://cdn.lasthourhosting.org/assets/Iceland.gif");
}
#vpsHosting {
background-image: url("https://cdn.lasthourhosting.org/assets/vps-hosting.gif");
}
#migration {
background-image: url("https://cdn.lasthourhosting.org/assets/migration.gif");
}
#notAvailable {
background-image: url("https://cdn.lasthourhosting.org/assets/tv-static.gif");
}
#fiat {
background-image: url("https://cdn.lasthourhosting.org/assets/fiat.gif");
}
#crypto {
background-image: url("https://cdn.lasthourhosting.org/assets/crypto.gif");
}
#cloudPro {
background-image: url("https://cdn.lasthourhosting.org/assets/clouds-pro.gif");
}
#cloudEnterprise {
background-image: url("https://cdn.lasthourhosting.org/assets/cloud-enterprise.gif");
}
#dns {
background-image: url("/assets/dns.gif");
}