m |
m |
||
Line 29: | Line 29: | ||
main .h3 { | main .h3 { | ||
font-size: 1.5rem; | font-size: 1.5rem; | ||
+ | } | ||
+ | @media (max-aspect-ratio: 1/1) { | ||
+ | main .h3 { | ||
+ | font-size: 1.2rem; | ||
+ | } | ||
} | } | ||
main .scrollBlock { | main .scrollBlock { | ||
Line 41: | Line 46: | ||
top: 10vh; | top: 10vh; | ||
} | } | ||
− | main .scrollBlock. | + | main .scrollBlock.contentLarger { |
− | + | justify-content: center; | |
− | + | ||
} | } | ||
− | main .scrollBlock. | + | main .scrollBlock.noanim { |
height: unset; | height: unset; | ||
} | } | ||
Line 76: | Line 80: | ||
width: 80vw; | width: 80vw; | ||
height: 50vh; | height: 50vh; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
main .scrollBlock .content.fadeOutDown, main .scrollBlock .content.fadeOutUp, main .scrollBlock .content.fadedInvisibleDown, main .scrollBlock .content.fadedInvisibleUp { | main .scrollBlock .content.fadeOutDown, main .scrollBlock .content.fadeOutUp, main .scrollBlock .content.fadedInvisibleDown, main .scrollBlock .content.fadedInvisibleUp { | ||
Line 99: | Line 97: | ||
} | } | ||
main .scrollBlock .content .h3 { | main .scrollBlock .content .h3 { | ||
− | margin: 0 | + | margin: 6px 0; |
} | } | ||
main .scrollBlock .content p { | main .scrollBlock .content p { | ||
Line 106: | Line 104: | ||
justify-content: stretch; | justify-content: stretch; | ||
align-items: center; | align-items: center; | ||
+ | } | ||
+ | @media (max-width: 800px) { | ||
+ | main .scrollBlock .content { | ||
+ | margin: 0; | ||
+ | box-shadow: 0 0 10px lightgrey; | ||
+ | } | ||
+ | } | ||
+ | @media (max-aspect-ratio: 1/1) { | ||
+ | main .scrollBlock { | ||
+ | flex-direction: column; | ||
+ | justify-content: flex-start; | ||
+ | height: 90vh; | ||
+ | top: 5vh; | ||
+ | } | ||
+ | main .scrollBlock.noanim { | ||
+ | justify-content: center; | ||
+ | padding: 40px 0; | ||
+ | } | ||
+ | main .scrollBlock .scrollItem { | ||
+ | width: 90vw; | ||
+ | height: 35vh; | ||
+ | } | ||
+ | main .scrollBlock .scrollItem.contentLarger { | ||
+ | height: 0vh; | ||
+ | } | ||
+ | main .scrollBlock .content { | ||
+ | width: 90vw; | ||
+ | box-shadow: 0 0 10px lightgrey; | ||
+ | padding: 20px; | ||
+ | } | ||
} | } | ||
main .buttonHeading { | main .buttonHeading { | ||
Line 111: | Line 139: | ||
font-size: 1.5rem; | font-size: 1.5rem; | ||
margin-bottom: 64px; | margin-bottom: 64px; | ||
+ | } | ||
+ | @media (max-aspect-ratio: 1/1) { | ||
+ | main .buttonHeading { | ||
+ | margin-bottom: 16px; | ||
+ | } | ||
} | } | ||
main .buttonContainer { | main .buttonContainer { | ||
display: flex; | display: flex; | ||
justify-content: center; | justify-content: center; | ||
− | align-items: | + | align-items: stretch; |
} | } | ||
main .buttonContainer > * { | main .buttonContainer > * { | ||
+ | display: flex; | ||
+ | align-items: center; | ||
+ | justify-content: center; | ||
font-family: "montserrat-bold"; | font-family: "montserrat-bold"; | ||
color: #FAFAFC; | color: #FAFAFC; | ||
Line 140: | Line 176: | ||
main .buttonContainer > *:last-child:hover { | main .buttonContainer > *:last-child:hover { | ||
box-shadow: 0 18px 40px -14px #3658cf; | box-shadow: 0 18px 40px -14px #3658cf; | ||
+ | } | ||
+ | @media (max-aspect-ratio: 1/1) { | ||
+ | main .buttonContainer > * { | ||
+ | padding: 16px 24px; | ||
+ | font-size: 1rem; | ||
+ | margin: 8px 0; | ||
+ | width: 80vw; | ||
+ | } | ||
+ | } | ||
+ | @media (max-aspect-ratio: 1/1) { | ||
+ | main .buttonContainer { | ||
+ | flex-direction: column; | ||
+ | } | ||
} | } | ||
Line 156: | Line 205: | ||
font-size: 1.2rem; | font-size: 1.2rem; | ||
line-height: 1.5; | line-height: 1.5; | ||
− | margin-top: | + | margin-top: 10px; |
margin-bottom: 40px; | margin-bottom: 40px; | ||
} | } |
Revision as of 15:28, 6 October 2020
main .buttonContainer > * {
cursor: pointer; transition: transform 0.3s;
} main .buttonContainer > :hover {
transform: translateY(-2px);
} main .buttonContainer > :active {
transform: translateY(2px);
}
body, html {
margin: 0; padding: 0; color: #222222; font-family: "lato-regular";
}
body, #bodyContent {
background-image: url();
}
main {
flex-direction: column; justify-content: center; align-items: center; background-color: unset;
} main .h3 {
font-size: 1.5rem;
} @media (max-aspect-ratio: 1/1) {
main .h3 { font-size: 1.2rem; }
} main .scrollBlock {
height: 80vh; width: 90vw; display: flex; flex-direction: row; justify-content: center; align-items: center; position: -webkit-sticky; position: sticky; top: 10vh;
} main .scrollBlock.contentLarger {
justify-content: center;
} main .scrollBlock.noanim {
height: unset;
} main .scrollBlock .scrollItem {
width: 42vw; height: 440px; margin-right: 10px; display: flex; align-items: center; justify-content: center;
} main .scrollBlock .scrollItem > div {
width: 100%; height: 100%;
} main .scrollBlock .scrollItem.contentLarger {
width: 0vw;
} main .scrollBlock .content {
display: flex; flex-direction: column; align-items: stretch; width: 38vw; padding: 40px; margin-top: 0; background-color: #FAFAFC; transition: opacity 0.2s, transform 0.2s;
} main .scrollBlock .content.contentLarger {
width: 80vw; height: 50vh;
} main .scrollBlock .content.fadeOutDown, main .scrollBlock .content.fadeOutUp, main .scrollBlock .content.fadedInvisibleDown, main .scrollBlock .content.fadedInvisibleUp {
opacity: 0;
} main .scrollBlock .content.fadeOutDown, main .scrollBlock .content.fadedInvisibleUp {
transform: translateY(-50px);
} main .scrollBlock .content.fadeOutUp, main .scrollBlock .content.fadedInvisibleDown {
transform: translateY(50px);
} main .scrollBlock .content.fadedInvisibleDown, main .scrollBlock .content.fadedInvisibleUp {
transition: 0s;
} main .scrollBlock .content .h2 {
margin: 0;
} main .scrollBlock .content .h3 {
margin: 6px 0;
} main .scrollBlock .content p {
flex-grow: 1; display: flex; justify-content: stretch; align-items: center;
} @media (max-width: 800px) {
main .scrollBlock .content { margin: 0; box-shadow: 0 0 10px lightgrey; }
} @media (max-aspect-ratio: 1/1) {
main .scrollBlock { flex-direction: column; justify-content: flex-start; height: 90vh; top: 5vh; } main .scrollBlock.noanim { justify-content: center; padding: 40px 0; } main .scrollBlock .scrollItem { width: 90vw; height: 35vh; } main .scrollBlock .scrollItem.contentLarger { height: 0vh; } main .scrollBlock .content { width: 90vw; box-shadow: 0 0 10px lightgrey; padding: 20px; }
} main .buttonHeading {
font-family: "montserrat-bold"; font-size: 1.5rem; margin-bottom: 64px;
} @media (max-aspect-ratio: 1/1) {
main .buttonHeading { margin-bottom: 16px; }
} main .buttonContainer {
display: flex; justify-content: center; align-items: stretch;
} main .buttonContainer > * {
display: flex; align-items: center; justify-content: center; font-family: "montserrat-bold"; color: #FAFAFC; padding: 32px 56px; font-size: 1.2rem; max-width: 200px; text-align: center; border-radius: 1000px; margin: 0 32px;
} main .buttonContainer > *:first-child {
background-color: #6D8CF1; box-shadow: 0 16px 32px -12px #708ff1;
} main .buttonContainer > *:first-child:hover {
box-shadow: 0 18px 40px -14px #708ff1;
} main .buttonContainer > *:last-child {
background-color: #3356CE; box-shadow: 0 16px 32px -12px #3658cf;
} main .buttonContainer > *:last-child:hover {
box-shadow: 0 18px 40px -14px #3658cf;
} @media (max-aspect-ratio: 1/1) {
main .buttonContainer > * { padding: 16px 24px; font-size: 1rem; margin: 8px 0; width: 80vw; }
} @media (max-aspect-ratio: 1/1) {
main .buttonContainer { flex-direction: column; }
}
- section-text .content .content-paragraph {
margin-bottom: 0;
}
.scrollAnim {
width: 100%; height: 50vh;
}
p.content-paragraph, #HQ_page p.content-paragraph {
font-family: "lato-regular"; margin: 0; font-size: 1.2rem; line-height: 1.5; margin-top: 10px; margin-bottom: 40px;
} @media (max-width: 480px) {
p.content-paragraph, #HQ_page p.content-paragraph { font-size: 1rem; }
}