website/assets/css/home.css
2024-03-05 17:50:01 +01:00

104 lines
No EOL
1.6 KiB
CSS

/* Home Styles */
/* general styles */
.home.content {
align-items: center;
text-align: center;
}
section {
display: flex;
flex-direction: column;
align-items: center;
margin: 2em;
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;
}
.header h1,
.header p {
margin: 0;
}
.header h1 {
font-weight: bold;
color: white;
font-size: 4em;
}
.header p {
color: white;
font-size: 1.7em;
}
.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;
/* margin: 1em; */
}
/* grid styles
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(18em, 1fr));
gap: 1.5em;
justify-items: center;
align-items: center;
width: 56em;
} */
.row {
/* margin: 0 16em 0 16em; */
margin: 0 auto 0 auto;
}
.service {
display: flex;
flex-direction: column;
text-align: center;
background-color: lightgray;
border-radius: 1em;
padding: 0.8em;
transition: all ease-in-out 0.2s;
}
.service h2 {
margin-top: 0.35em;
}
.service .button-container {
margin: auto auto 0.35em auto;
}
.service:hover {
transform: scale(1.02);
}