shiloh-echo/css/styles.css
2025-09-25 21:52:12 -07:00

463 lines
7.6 KiB
CSS

* {
font-family: "FiraCode", Arial, Helvetica, sans-serif;
}
@font-face {
font-family: "FiraCode";
src: url("/assets/FiraCode-VariableFont_wght.ttf") format("truetype");
}
html {
scroll-behavior: smooth;
}
body {
background: #ece3dd;
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;
}
main {
-webkit-flex: 1;
flex: 1;
display: -webkit-flex;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
align-items: flex-start;
}
.div-background {
background-color: #faebd7;
}
.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: 80vh;
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;
padding: 10px;
}
.min-flex-row {
-webkit-flex: 100%;
flex: 100%;
-webkit-flex-direction: row;
flex-direction: row;
align-items: center;
display: -webkit-flex;
display: flex;
text-align: center;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
justify-content: space-evenly;
background-color: #579c8b;
}
.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;
}
.flex-container-left img {
margin: auto;
display: block;
}
video {
width: 100vw;
height: 100vh;
object-fit: cover;
}
.bg-one {
border-radius: 5px;
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;
}
footer {
color: var(--text-color);
background-color: #43786b;
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;
}
.white {
color: white;
}
.nospace {
padding: 0px;
margin: 0px;
}
h1,
h2 {
color: #6e564f;
text-align: center;
position: relative;
z-index: 1;
font-size: 5rem;
font-weight: 100;
}
h3,
h4 {
color: #6e564f;
text-align: center;
position: relative;
z-index: 1;
font-size: 2rem;
font-weight: 100;
}
.header-large {
font-size: 3rem;
}
p,
ul,
ol,
td,
li,
cite {
word-break: normal;
color: #6e564f;
text-align: left;
max-width: 1000px;
margin: 15px;
line-height: 35px;
}
.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;
}
.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;
}
.header {
font-size: larger;
}
.button-4 {
align-items: center;
border-radius: 5px;
color: #6e564f;
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: 200;
justify-content: center;
line-height: 1;
margin: 1rem;
outline: none;
text-align: center;
text-decoration: none;
transition: border 0.3s, color 0.3s;
white-space: nowrap;
border: 2px solid #6e564f;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-left: 5rem;
padding-right: 5rem;
height: fit-content;
position: relative;
z-index: 1;
background-color: white;
}
.button-4:hover {
border: 2px solid black;
color: black;
}
.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;
}
.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);
z-index: -1;
}
.bg-vid video {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
min-width: 100%;
min-height: 100%;
z-index: -1;
filter: blur(7px);
}
/* Styles for the navigation bar */
.nav-bar {
display: flex;
width: 100%;
justify-content: space-between;
align-items: center;
padding: 1rem;
margin: 0;
position: relative;
background: #43786b;
}
.logo {
color: white;
font-size: 24px;
display: flex;
justify-content: center;
align-items: center;
}
.menu {
display: flex;
list-style: none;
margin: 0;
padding: 0;
}
.menu-item {
font-size: 18px;
position: relative;
transition: all 0.2s;
color: white;
margin: 0 10px;
cursor: pointer;
}
.menu-item::before {
content: "";
position: absolute;
width: 0%;
height: 1px;
bottom: -2px;
left: 0;
background-color: white;
transition: all 0.2s;
z-index: 1;
}
.menu-item:hover::before {
width: 100%;
}
.mobile-menu-icon {
display: none;
}
#back-to-top {
position: fixed;
bottom: -40px;
right: 20px;
background-color: #43786b;
color: #fff;
border: none;
padding: 10px;
border-radius: 10px;
cursor: pointer;
}
#back-to-top.show {
bottom: 20px;
z-index: 5;
}
.hievents-widget {
width: 100%;
}
.card {
max-width: 300px;
text-align: center;
margin: 10px;
}
.title {
color: grey;
font-size: 18px;
}
div.card > a {
text-decoration: none;
font-size: 22px;
color: black;
}
div.card > img {
border-radius: 35px;
}
/* Media query for mobile devices */
@media all and (max-width: 960px) {
.nav-bar {
display: block;
flex-direction: column;
align-items: flex-start;
padding: 5px;
}
.menu {
display: none; /* hide the menu on mobile */
position: absolute;
top: 100%;
left: 0;
width: 100%;
background-color: #43786b;
padding-top: 10px;
padding-bottom: 10px;
}
.menu-item {
margin-bottom: 5px;
}
.mobile-menu-icon {
display: block;
position: absolute;
top: 15px;
right: 10px;
cursor: pointer;
}
.mobile-menu-icon:hover {
width: 30px;
}
.show-menu {
display: block;
}
.flex-column {
padding: 10px 5px;
}
h1,
h2 {
color: #6e564f;
text-align: center;
position: relative;
z-index: 1;
font-size: 3rem;
font-weight: 400;
}
p {
font-size: 18px;
}
}