79 lines
1.3 KiB
CSS
79 lines
1.3 KiB
CSS
/* Styles for the sections, mainly used on the start page, the portfolio and workflow page */
|
|
|
|
section {
|
|
display: flex;
|
|
justify-content: center;
|
|
color: #ffffff;
|
|
background-color: rgb(82, 76, 121);
|
|
padding-top: 128px;
|
|
padding-bottom: 128px;
|
|
}
|
|
|
|
section:nth-child(odd) {
|
|
background-color: #342e37;
|
|
}
|
|
|
|
section:nth-child(even) {
|
|
background-color: #342e37;
|
|
}
|
|
|
|
.section-content {
|
|
max-width: 1024px;
|
|
gap: 20px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-top: 0px;
|
|
margin-bottom: 0px;
|
|
margin-left: 64px;
|
|
margin-right: 64px;
|
|
}
|
|
|
|
.section-content div {
|
|
max-width: 50%;
|
|
display: flex;
|
|
row-gap: 14px;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
section h1,
|
|
section p {
|
|
text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
section p {
|
|
padding: 0px;
|
|
margin: 0px;
|
|
line-height: 1.8em;
|
|
font-weight: 600;
|
|
}
|
|
|
|
section h1 {
|
|
margin-top: 0px;
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
.section-background {
|
|
background-size: cover;
|
|
object-fit: cover;
|
|
background-position: center;
|
|
backdrop-filter: blur(3px);
|
|
}
|
|
|
|
@media screen and (max-width: 512px) {
|
|
/* Make the left-to-right sections top-to-bottom */
|
|
|
|
.section-content {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.section-content div {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.section-content {
|
|
flex-direction: column;
|
|
}
|
|
}
|