website/assets/css/home.css
Stelian Tsekov 2b0c25156a [c] Fixes and style tweaks
- fix links
- tweak styling
- fix translations
2024-04-09 10:32:26 +02:00

115 lines
No EOL
1.9 KiB
CSS

/* Home Styles */
/* general styles */
.home.content {
align-items: center;
text-align: center;
}
section {
display: flex;
flex-direction: column;
align-items: center;
margin: 2.8em;
width: 100%;
}
/* header styles */
.header {
width: 100%;
height: 100vh;
background: url(/assets/img/banner-tbz-tower-1600x879.jpg) no-repeat center;
background-size: cover;
}
.header-container {
width: 100%;
height: 100%;
backdrop-filter: blur(5px) brightness(80%);
display: flex;
flex-direction: column;
text-align: center;
align-items: center;
justify-content: center;
padding: 0 2em 0 2em;
}
.header h1,
.header p {
margin: 0;
}
.header h1 {
font-weight: bold;
color: white;
font-size: 4em;
}
.header p {
color: white;
font-size: 1.7em;
}
.content-container {
padding: 1em;
width: 100%;
display: flex;
justify-content: center;
}
.home.content {
display: flex;
flex-direction: column;
max-width: 70%;
}
.home.content h2 {
margin-bottom: 0.2em;
}
.home.content p.subtitle {
margin-bottom: 1.5em;
}
.button-container {
display: flex;
gap: 0.5em;
justify-content: center;
/* height: 2.5em; */
/* margin: 1em; */
}
section.join > .button-container .button {
white-space: nowrap;
}
.row {
/* margin: 0 16em 0 16em; */
margin: 0 auto 0 auto;
}
.service {
display: flex;
flex-direction: column;
text-align: center;
background-color: var(--bg-secondary-color);
border-radius: 1em;
padding: 0.8em;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
transition: all ease-in-out 0.2s;
margin-bottom: 1em;
}
.service h2 {
margin-top: 0.35em;
}
.service .button-container {
margin: auto auto 0.35em auto;
}
.service:hover {
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
transform: scale(1.02);
}