website/assets/css/home.css

107 lines
1.6 KiB
CSS
Raw Normal View History

2024-03-05 16:50:01 +00:00
/* 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;
2024-03-05 22:12:46 +00:00
padding: 0 2em 0 2em;
2024-03-05 16:50:01 +00:00
}
.header h1,
.header p {
margin: 0;
}
.header h1 {
font-weight: bold;
color: white;
font-size: 4em;
}
.header p {
color: white;
font-size: 1.7em;
}
2024-03-06 15:06:08 +00:00
.content-container {
padding: 1em;
width: 100%;
display: flex;
justify-content: center;
}
.home.content {
display: flex;
flex-direction: column;
max-width: 70%;
}
2024-03-05 16:50:01 +00:00
.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; */
}
.row {
/* margin: 0 16em 0 16em; */
margin: 0 auto 0 auto;
}
.service {
display: flex;
flex-direction: column;
text-align: center;
2024-03-06 14:19:33 +00:00
background-color: var(--bg-secondary-color);
2024-03-05 16:50:01 +00:00
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);
}