Bachelorthesis_Code/frontend/src/components/HeroSection.css

74 lines
1.3 KiB
CSS

.hero-container {
background: url("../images/fingerprint_biometrics.jpg") center center/cover
no-repeat;
height: 100vh;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.2);
object-fit: contain;
}
.hero-container > h1 {
color: var(--primary);
font-size: 100px;
margin-top: -100px;
}
.hero-container > p {
margin-top: 8px;
color: var(--secondary);
font-size: 32px;
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
"Lucida Sans", Arial, sans-serif;
}
.hero-btns {
margin-top: 32px;
display: flex;
flex-direction: column;
flex-wrap: wrap;
min-width: 50%;
}
.hero-btns .btn {
margin: 6px;
width: 100%;
align-items: center;
}
.hero-btns .btn:hover {
background-color: var(--secondary);
color: var(--primary);
border: none;
}
@media screen and (max-width: 960px) {
.hero-container > h1 {
font-size: 70px;
margin-top: -150px;
}
}
@media screen and (max-width: 768px) {
.hero-container > h1 {
font-size: 50px;
margin-top: -100px;
}
.hero-container > p {
font-size: 30px;
}
.btn-mobile {
display: block;
text-decoration: none;
}
.btn {
width: 100%;
}
}