m |
m |
||
Line 1: | Line 1: | ||
− | main .buttonContainer | + | main .buttonContainer > * { |
cursor: pointer; | cursor: pointer; | ||
transition: transform 0.3s; | transition: transform 0.3s; | ||
} | } | ||
− | main .buttonContainer | + | main .buttonContainer > :hover { |
transform: translateY(-2px); | transform: translateY(-2px); | ||
} | } | ||
− | main .buttonContainer | + | main .buttonContainer > :active { |
transform: translateY(2px); | transform: translateY(2px); | ||
} | } | ||
Line 28: | Line 28: | ||
} | } | ||
main .h3 { | main .h3 { | ||
− | font-size: 1. | + | font-size: 1.5rem; |
} | } | ||
main .scrollBlock { | main .scrollBlock { | ||
Line 109: | Line 109: | ||
main .buttonHeading { | main .buttonHeading { | ||
font-family: "montserrat-bold"; | font-family: "montserrat-bold"; | ||
− | font-size: 1. | + | font-size: 1.5rem; |
margin-bottom: 64px; | margin-bottom: 64px; | ||
} | } | ||
Line 117: | Line 117: | ||
align-items: center; | align-items: center; | ||
} | } | ||
− | main .buttonContainer | + | main .buttonContainer > * { |
font-family: "montserrat-bold"; | font-family: "montserrat-bold"; | ||
color: #FAFAFC; | color: #FAFAFC; | ||
padding: 32px 56px; | padding: 32px 56px; | ||
− | font-size: 1. | + | font-size: 1.2rem; |
max-width: 200px; | max-width: 200px; | ||
text-align: center; | text-align: center; | ||
Line 127: | Line 127: | ||
margin: 0 32px; | margin: 0 32px; | ||
} | } | ||
− | main .buttonContainer | + | main .buttonContainer > *:first-child { |
background-color: #6D8CF1; | background-color: #6D8CF1; | ||
box-shadow: 0 16px 32px -12px #708ff1; | box-shadow: 0 16px 32px -12px #708ff1; | ||
} | } | ||
− | main .buttonContainer | + | main .buttonContainer > *:first-child:hover { |
box-shadow: 0 18px 40px -14px #708ff1; | box-shadow: 0 18px 40px -14px #708ff1; | ||
} | } | ||
− | main .buttonContainer | + | main .buttonContainer > *:last-child { |
background-color: #3356CE; | background-color: #3356CE; | ||
box-shadow: 0 16px 32px -12px #3658cf; | box-shadow: 0 16px 32px -12px #3658cf; | ||
} | } | ||
− | main .buttonContainer | + | main .buttonContainer > *:last-child:hover { |
box-shadow: 0 18px 40px -14px #3658cf; | box-shadow: 0 18px 40px -14px #3658cf; | ||
} | } | ||
Line 154: | Line 154: | ||
font-family: "lato-regular"; | font-family: "lato-regular"; | ||
margin: 0; | margin: 0; | ||
− | font-size: 1. | + | font-size: 1.2rem; |
line-height: 1.5; | line-height: 1.5; | ||
margin-top: 20px; | margin-top: 20px; | ||
Line 161: | Line 161: | ||
@media (max-width: 480px) { | @media (max-width: 480px) { | ||
p.content-paragraph, #HQ_page p.content-paragraph { | p.content-paragraph, #HQ_page p.content-paragraph { | ||
− | font-size: | + | font-size: 1rem; |
} | } | ||
} | } |
Revision as of 09:52, 5 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;
} 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.smaller {
top: 20vh; height: 60vh;
} main .scrollBlock.small {
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.smaller {
height: 40vh;
} main .scrollBlock .content.small {
height: unset;
} 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: 0 0 6px;
} main .scrollBlock .content p {
flex-grow: 1; display: flex; justify-content: stretch; align-items: center;
} main .buttonHeading {
font-family: "montserrat-bold"; font-size: 1.5rem; margin-bottom: 64px;
} main .buttonContainer {
display: flex; justify-content: center; align-items: center;
} main .buttonContainer > * {
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;
}
- 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: 20px; margin-bottom: 40px;
} @media (max-width: 480px) {
p.content-paragraph, #HQ_page p.content-paragraph { font-size: 1rem; }
}