m |
m |
||
Line 151: | Line 151: | ||
} | } | ||
− | p.content-paragraph { | + | p.content-paragraph, #HQ_page p.content-paragraph { |
font-family: "lato-regular"; | font-family: "lato-regular"; | ||
margin: 0; | margin: 0; | ||
Line 160: | Line 160: | ||
} | } | ||
@media (max-width: 480px) { | @media (max-width: 480px) { | ||
− | p.content-paragraph { | + | p.content-paragraph, #HQ_page p.content-paragraph { |
font-size: 1em; | font-size: 1em; | ||
} | } | ||
} | } |
Revision as of 09:41, 5 October 2020
main .buttonContainer .button {
cursor: pointer; transition: transform 0.3s;
} main .buttonContainer .button:hover {
transform: translateY(-2px);
} main .buttonContainer .button: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.5em;
} 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.5em; margin-bottom: 64px;
} main .buttonContainer {
display: flex; justify-content: center; align-items: center;
} main .buttonContainer .button {
font-family: "montserrat-bold"; color: #FAFAFC; padding: 32px 56px; font-size: 1.2em; max-width: 200px; text-align: center; border-radius: 1000px; margin: 0 32px;
} main .buttonContainer .button:first-child {
background-color: #6D8CF1; box-shadow: 0 16px 32px -12px #708ff1;
} main .buttonContainer .button:first-child:hover {
box-shadow: 0 18px 40px -14px #708ff1;
} main .buttonContainer .button:last-child {
background-color: #3356CE; box-shadow: 0 16px 32px -12px #3658cf;
} main .buttonContainer .button: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.2em; line-height: 1.5; margin-top: 20px; margin-bottom: 40px;
} @media (max-width: 480px) {
p.content-paragraph, #HQ_page p.content-paragraph { font-size: 1em; }
}