You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

130 lines
1.8 KiB

/* elements */
.index img {
border-radius: 50%;
}
/* layout */
.banner {
background-image: url('/img/banner.png');
height: 500px;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
.banner h1 {
margin-top: -6.5rem;
font-size: 3em;
font-weight: 500;
}
/* page properties */
.description {
font-weight: normal;
text-align: center;
width: 100%;
margin: auto;
}
.features {
display: grid;
grid-template-columns: auto auto;
justify-content: space-between;
gap: 50px;
width: 100%;
}
.block {
display: flex;
gap: 20px;
align-items: flex-start;
}
.block p {
font-size: 1rem;
}
.block > div {
display: grid;
gap: 10px;
}
.block * {
margin: unset;
}
.index h2 {
text-align: center;
}
.quote {
display: flex;
gap: var(--padding);
align-items: flex-start;
width: 100%;
}
.quote > img {
width: 100%;
}
.quote p {
margin: unset;
}
.quote i {
font-size: 0.9rem;
color: grey;
}
.block .show {
width: 100%;
}
.block .show img {
max-width: 100%;
}
/* animation */
.indexanim {
-webkit-animation-name: indexanim;
animation-name: indexanim;
-webkit-animation-duration: 0.5s;
animation-duration: 0.5s;
margin-top: -10rem;
}
@keyframes indexanim {
0% {
margin-top: 0;
opacity: 0;
}
100% {
margin-top: -10rem;
opacity: 100;
}
}
/* mobile */
@media(max-aspect-ratio: 5/4) {
.features {
grid-template-columns: auto;
}
.banner {
padding: var(--padding);
}
.banner h1 {
font-size: 2em;
}
.description {
font-size: 1em;
}
}