Skip to content

Instantly share code, notes, and snippets.

@CforED
Created July 20, 2022 19:39
Show Gist options
  • Save CforED/dda7a83ce398f257be6e93dd29cb4e82 to your computer and use it in GitHub Desktop.
Save CforED/dda7a83ce398f257be6e93dd29cb4e82 to your computer and use it in GitHub Desktop.
YouTube iFrame
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;700&display=swap" rel="stylesheet" />
<style>
* {
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
::-moz-selection {
color: #ffffff;
background: #2cb9d9;
}
::selection {
color: #fff;
background: #2cb9d9;
}
html {
font-size: 62.5%;
scroll-behavior: smooth;
}
:focus * {
outline: 0;
}
.form-group {
margin-bottom: 0;
}
figure {
margin: 0;
}
p {
margin: 0;
padding: 0;
}
a {
text-decoration: none;
display: inline-block;
color: #fff !important;
}
a:hover {
text-decoration: none;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
padding: 0;
text-transform: none;
line-height: 1;
}
ul {
margin: 0;
}
li {
list-style-type: none;
}
img {
display: block;
width: 100%;
max-width: 100%;
height: 100%;
-o-object-fit: contain;
object-fit: contain;
}
svg {
object-fit: contain;
width: auto;
}
button {
cursor: pointer;
}
body {
font-family: 'IBM Plex Sans', sans-serif;
font-weight: 400;
font-size: 17px;
line-height: 19px;
}
.container {
max-width: 1240px;
width: 100%;
margin-left: auto;
margin-right: auto;
}
.text__center {
text-align: center;
}
/* Header Area */
.header__area {
position: absolute;
top: 0;
left: 0;
width: 100%;
display: flex;
justify-content: center;
z-index:10;
}
.header__content {
display: flex;
padding-top: 30px;
}
.header__logo svg {
height: 40px;
margin-top: -10px;
}
.header__content p {
font-weight: 500 !important;
font-size: 48px !important;
line-height: 53px !important;
color: #ffffff !important;
margin-left: 10px;
}
/* Header Area*/
/* Landing Banner */
.landing__banner {
background-image: url(https://user-images.githubusercontent.com/62242483/163563573-11e133fc-f347-4c57-b041-57bc0d6e34b4.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
height: 760px;
}
.landing__banner-content {
max-width: 745px;
width: 100%;
padding-top: 180px;
margin-left: auto;
margin-right: auto;
text-align: center;
}
.landing__banner-content h1 {
font-weight: 700 !important;
font-size: 60px !important;
line-height: 90px !important;
color: #ffffff !important;
}
.custom__btn {
width: 100%;
height: 55px;
display: flex;
justify-content: center;
align-items: center;
color: #ffffff;
font-weight: 500;
font-size: 18px;
line-height: 23px;
background: #8a0303;
text-transform: uppercase;
border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-ms-border-radius: 10px;
-o-border-radius: 10px;
border: 2px solid #8a0303;
transition: all 0.2s ease-out;
-webkit-transition: all 0.2s ease-out;
-moz-transition: all 0.2s ease-out;
-ms-transition: all 0.2s ease-out;
-o-transition: all 0.2s ease-out;
}
.custom__btn:hover {
background: transparent;
color: #8a0303;
}
.landing__banner-content a {
margin-top: 80px;
}
.landing__banner-content a:hover {
background: #8a0303;
color: #ffffff;
}
/* Landing Banner */
/* Fedarel Students */
.federal__students {
padding-top: 100px;
padding-bottom: 100px;
}
.federal__students-heading {
max-width: 620px;
width: 100%;
margin-left: auto;
margin-right: auto;
font-weight: 700 !important;
font-size: 36px !important;
line-height: 60px !important;
color: #333333 !important;
margin-bottom: 30px;
}
.federal__students-content {
display: flex;
box-shadow: 0px 0px 14px rgba(0, 0, 0, 0.07);
border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-ms-border-radius: 10px;
-o-border-radius: 10px;
padding: 23px 18px;
}
.federal__students-text p {
font-weight: 400 !important;
font-size: 24px !important;
line-height: 40px !important;
letter-spacing: 1px !important;
color: #5f5f5f !important;
}
.federal__students-image {
flex: 0.4;
}
.federal__students-image img {
object-fit: cover;
}
.federal__students-text {
flex: 0.6;
padding-left: 30px;
}
/* Fedarel Students */
/* Donate Box Area */
.donate__box-area {
background: #f7f7f7;
padding: 35px 0;
}
.donate__box-wrapper {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 100px;
}
.single__donate-box {
width: 100%;
background: #3270a2;
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-ms-border-radius: 10px;
-o-border-radius: 10px;
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
color: #ffffff !important;
padding: 40px 25px;
display: flex;
flex-direction: column;
justify-content: space-around;
}
.single__donate-box h5 {
font-weight: 700 !important;
font-size: 24px !important;
line-height: 38px !important;
color: #ffffff !important;
text-align: center;
max-width: 350px;
width: 100%;
margin-left: auto;
margin-right: auto;
margin-bottom: 35px;
}
.single__donate-box p {
font-weight: 400 !important;
font-size: 24px !important;
line-height: 40px !important;
letter-spacing: 1px;
color: #ffffff !important;
}
.single__donate-box a {
letter-spacing: 0.1px;
text-decoration-line: underline;
color: #ffffff;
font-weight: 700 !important;
font-size: 20px !important;
line-height: 24px !important;
margin-top: 30px;
}
.single__donate-box a span {
margin-left: 10px;
}
.full__width-box h5 {
max-width: 80%;
}
/* Donate Box Area */
/* Strategy Area */
.strategy__area {
padding: 100px 0;
}
.single__strategy {
display: flex;
margin-bottom: 100px;
}
.single__strategy:last-of-type {
margin-bottom: 0;
}
.reverse__strategy {
flex-direction: row-reverse;
}
.strategy__content {
flex: 0.7;
padding-right: 50px;
}
.reverse__strategy .strategy__content {
padding-right: 0px;
padding-left: 50px;
}
.strategy__image {
flex: 0.3;
}
.strategy__image img {
object-fit: cover;
}
.strategy__content h5 {
font-weight: 700 !important;
font-size: 36px !important;
line-height: 47px !important;
color: #333333 !important;
margin-bottom: 30px;
}
.strategy__content p {
font-weight: 400 !important;
font-size: 24px !important;
line-height: 44px !important;
color: #555555 !important;
max-width: 100%;
width: 100%;
}
.strategy__items {
margin-top: 30px;
}
.strategy__items li {
font-weight: 400;
font-size: 24px;
line-height: 24px;
display: flex;
align-items: center;
letter-spacing: 0.1px;
color: #333333;
margin-bottom: 20px;
}
.strategy__items li span {
margin-right: 15px;
}
/* Strategy Area */
/* Contact Section */
.contact__form {
background: #f7f7f7;
padding: 50px 0;
}
.contact__form-area {
display: flex;
}
.contact__form-left,
.contact__form-right {
flex: 1;
}
.contact__form-left {
padding-right: 50px;
}
.contact__form-left h3 {
font-weight: 700 !important;
font-size: 36px !important;
line-height: 47px !important;
color: #000000 !important;
margin-bottom: 30px;
}
.contact__form-left p {
font-weight: 400 !important;
font-size: 24px !important;
line-height: 35px !important;
color: #555555 !important;
max-width: 100%;
width: 100%;
}
.contact__input-style {
width: 100%;
height: 55px;
border: 1px solid #000;
border-radius: 3px;
background: transparent;
font-weight: 400;
font-size: 16px;
line-height: 21px;
color: #000000;
padding: 15px;
}
::-webkit-input-placeholder {
color: #000000;
font-weight: 500;
font-size: 16px;
line-height: 21px;
font-weight: 700;
}
::-moz-placeholder {
color: #000000;
font-weight: 500;
font-size: 16px;
line-height: 21px;
font-weight: 700;
}
:-ms-input-placeholder {
color: #000000;
font-weight: 500;
font-size: 16px;
line-height: 21px;
font-weight: 700;
}
:-moz-placeholder {
color: #000000;
font-weight: 500;
font-size: 16px;
line-height: 21px;
font-weight: 700;
}
.contact__field-wrap {
display: grid;
grid-template-columns: repeat(2, 1fr);
column-gap: 20px;
row-gap: 25px;
}
.contact__email-field {
grid-column: 1 / 3;
}
.comment__field {
height: 153px;
grid-column: 1 / 3;
}
.comment__btn {
width: 100%;
height: 43px;
display: flex;
justify-content: center;
align-items: center;
background: #8a0303;
border: 2px solid #8a0303;
border-radius: 5px;
font-weight: 500;
font-size: 18px;
line-height: 23px;
color: #ffffff;
margin-top: 30px;
transition: all 0.2s ease-out;
-webkit-transition: all 0.2s ease-out;
-moz-transition: all 0.2s ease-out;
-ms-transition: all 0.2s ease-out;
-o-transition: all 0.2s ease-out;
}
.comment__btn:hover {
color: #8a0303;
background: #ffffff;
}
/* Contact Section */
/* Footer Donation */
.footer__box {
padding: 45px 0;
display: flex;
margin-bottom: 0;
}
.footer__left {
flex: 1;
}
.footer__right {
flex: 1;
text-align: right;
}
.footer__social-icons {
display: flex;
margin-top: 15px;
}
.footer__social-icons li {
margin-right: 10px;
}
.footer__logo-info {
margin-top: 30px;
display: flex;
flex-direction: column;
}
.footer__logo-info img,
.footer__logo-info svg {
height: 40px;
width: auto;
margin-bottom: -5px;
margin-left: -5px;
width: fit-content;
}
.footer__left p {
max-width: 463px;
width: 100%;
font-weight: 500 !important;
font-size: 16px !important;
line-height: 32px !important;
color: #333333 !important;
}
.footer__logo-info p {
font-weight: 600 !important;
font-size: 18px !important;
line-height: 28px !important;
}
.footer__right p {
font-weight: 400 !important;
font-size: 16px !important;
line-height: 33px !important;
color: #333333 !important;
}
/* Footer Donation */
/* Responsive Code */
@media (max-width: 1199.98px) {
.header__content p {
font-size: 40px !important;
line-height: 48px !important;
}
.landing__banner-content h1 {
font-size: 50px !important;
line-height: 70px !important;
}
.landing__banner-content {
max-width: 650px;
}
.federal__students-image {
flex: 1;
}
.federal__students-text {
flex: 1;
padding-left: 0;
}
.federal__students-content {
flex-direction: column;
padding: 30px;
}
.federal__students-image img {
height: 600px;
}
.federal__students-image {
margin-bottom: 30px;
}
.federal__students-heading {
font-size: 36px !important;
line-height: 50px !important;
}
.donate__box-wrapper {
gap: 30px;
}
.single__strategy {
flex-direction: column;
margin-bottom: 60px;
}
.strategy__image {
margin-top: 30px;
}
.reverse__strategy .strategy__content {
padding-left: 0;
}
.strategy__content h5 {
margin-bottom: 20px;
}
.contact__form-left {
padding-right: 80px;
}
.strategy__content {
padding-right: 0;
}
.strategy__content p {
max-width: 100%;
}
section,
footer {
padding-left: 30px !important;
padding-right: 30px !important;
}
}
@media (max-width: 991.98px) {
.contact__form-area {
flex-direction: column;
}
.contact__form-right {
margin-top: 50px;
}
.area__wrapper {
padding: 0 50px;
}
.landing__banner-content {
max-width: 100%;
padding-top: 250px;
}
.landing__banner-content h1 {
font-size: 36px !important;
line-height: 50px !important;
}
.landing__banner-content a {
margin-top: 50px;
}
.donate__box-wrapper {
grid-template-columns: repeat(1, 1fr);
}
section,
footer {
padding-left: 30px !important;
padding-right: 30px !important;
}
.contact__form-left {
padding-right: 0;
}
.contact__form-left p {
max-width: 100%;
}
}
@media (max-width: 575.98px) {
.contact__form-left h3 {
font-size: 22px !important;
line-height: 30px !important;
margin-bottom: 10px;
}
.contact__form-left p {
font-size: 18px !important;
line-height: 32px !important;
}
.contact__field-wrap {
grid-template-columns: repeat(1, 1fr);
row-gap: 20px;
}
.contact__email-field {
grid-column: initial;
}
.contact__input-style {
height: 48px;
}
.comment__field {
height: 100px;
grid-column: initial;
}
.contact__form-right {
margin-top: 30px;
}
.footer__right {
text-align: left;
margin-top: 30px;
}
.footer__logo-info p {
font-size: 16px !important;
line-height: 26px !important;
}
.footer__box {
padding-top: 30px;
padding-bottom: 30px;
flex-direction: column;
}
.header__content {
flex-direction: column;
}
.header__logo svg {
width: auto;
margin-bottom: 5px;
}
.header__content p {
font-size: 24px !important;
line-height: 28px !important;
margin-top: -5px;
}
.landing__banner-content h1 {
font-size: 26px !important;
line-height: 36px !important;
}
.landing__banner {
height: 650px;
}
.federal__students-heading {
font-size: 26px !important;
line-height: 36px !important;
}
.federal__students-content {
padding: 0;
}
.federal__students-text {
padding: 25px;
padding-top: 0;
}
.federal__students-text p {
font-size: 20px !important;
line-height: 36px !important;
}
.federal__students-image img {
height: 285px;
}
.federal__students {
padding-top: 50px;
padding-bottom: 50px;
}
.single__donate-box h5 {
font-size: 22px !important;
line-height: 30px !important;
margin-bottom: 20px;
}
.single__donate-box p {
font-size: 20px !important;
line-height: 36px !important;
}
.single__donate-box a {
font-size: 18px !important;
line-height: 22px !important;
margin-top: 30px;
}
.full__width-box h5 {
max-width: 100%;
}
.strategy__area {
padding: 50px 0;
}
.strategy__content h5 {
font-size: 26px !important;
line-height: 36px !important;
margin-bottom: 20px;
}
.strategy__content p {
font-size: 20px !important;
line-height: 36px !important;
}
.strategy__content {
padding-right: 0;
}
.strategy__items li {
font-size: 20px;
line-height: 24px;
margin-bottom: 15px;
align-items: initial;
}
.strategy__items li span {
margin-right: 10px;
}
.federal__students-image {
margin-bottom: 20px;
}
#page-theme [data-bach-id='DED80AC7-CB93-5FA4-464A-8F0BCD72A316'] {
padding: 0px !important;
}
section,
footer {
padding-left: 20px !important;
padding-right: 20px !important;
}
}
/* Responsive Code */
/* Video Background */
.video-background {
background: black;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: -99;
width: 100%;
height: 50vh;
pointer-events: none;
overflow: hidden;
}
.video-foreground,
iframe {
background: rgb(21, 26, 100);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
.video_text_container {
position: absolute;
width: 100%;
top: 0;
left: 0;
}
@media (min-aspect-ratio: 16/9) {
.video-foreground {
height: 300%;
top: -100%;
}
}
@media (max-aspect-ratio: 16/9) {
.video-foreground {
width: 300%;
left: -100%;
}
}
@media (max-width: 480px) {
.video-background,
.video_text_container,
.video-foreground {
display: block;
height: 70vh;
}
.landing__banner-content {
padding-top: 180px !important;
padding-left: 15px !important;
padding-right: 15px !important;
}
.landing__banner {
display: none;
}
}
@media (min-width: 480px) {
.video-background,
.video-foreground,
.video_text_container {
display: block;
}
.landing__banner {
display: none;
}
}
/* Video Background */
</style>
<!-- Header Area -->
<header class="header__area">
<div class="header__content">
<a class="header__logo" href="#">
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)" sodipodi:docname="hero_logo.svg" id="SVGRoot"
version="1.1" viewBox="0 0 16.0 16.0" height="16.0px" width="16.0px">
<sodipodi:namedview inkscape:current-layer="g9" inkscape:window-maximized="0" inkscape:window-y="125"
inkscape:window-x="678" inkscape:cy="8" inkscape:cx="8" inkscape:zoom="47.0625" showgrid="false"
id="namedview10" inkscape:window-height="1305" inkscape:window-width="1482" inkscape:pageshadow="2"
inkscape:pageopacity="0" guidetolerance="10" gridtolerance="10" objecttolerance="10"
borderopacity="1" bordercolor="#666666" pagecolor="#ffffff" />
<title id="title1435">CED Logo</title>
<defs id="defs10" />
<metadata id="metadata13">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>CED Logo</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g id="layer1">
<g transform="translate(-357.2,-220.5)" id="g9">
<path
d="m 372.87791,229.68373 c -0.13564,0.58386 -0.36373,1.11671 -0.85693,1.52484 -0.41921,0.34578 -0.90624,0.58386 -1.46725,0.60653 -0.94324,0.0341 -1.88648,0.0114 -2.85437,0.0114 v -3.05535 h 1.41176 v 1.71757 c 0.48087,0 0.91858,0.0453 1.34396,-0.0114 0.57951,-0.0737 0.99256,-0.54985 0.94941,-1.08269 -0.0554,-0.57819 -0.53019,-0.97499 -1.17752,-0.97499 -0.83226,0 -1.6707,0 -2.52761,0 v -1.32077 c 0.0986,-0.006 0.20343,-0.0114 0.30824,-0.0114 0.75829,0 1.51041,0 2.2687,0 1.23916,-0.0114 2.31186,0.80493 2.53379,1.92731 0.0185,0.0794 0.0431,0.15305 0.0617,0.23241 v 0.43654 z"
class="st1" id="path44" style="
fill: #ffffff;
stroke-width: 0.0591154;
" />
<path
d="M 364.62305,230.12021 V 230.5 H 367.2 v 1.3151 h -4.03805 v -1.74024 c -0.41305,0 -0.78912,0 -1.16518,0 -1.41177,-0.006 -2.58311,-1.08836 -2.57078,-2.3808 0.0123,-1.29242 1.17134,-2.35244 2.57078,-2.35244 h 1.18984 v 1.32077 c -0.38839,0 -0.78295,-0.006 -1.17751,0 -0.50552,0.0114 -0.96173,0.34012 -1.07271,0.77092 -0.12945,0.48183 0.0925,0.96366 0.56102,1.18473 0.1418,0.068 0.29592,0.1077 0.45004,0.11904 0.30826,0.017 0.61649,0.006 0.92475,0.006 h 0.26509 v -1.64387 h 4.05038 v 1.30376 h -2.56462 c -0.006,0.1247 -0.0123,0.22673 -0.0185,0.36845 h 2.58929 v 1.34345 h -2.57079 z"
class="st1" id="path46" style="
fill: #ffffff;
stroke-width: 0.0591154;
" />
</g>
</g>
</svg>
</a>
<p>Council for Education</p>
</div>
</header>
<!-- Header Area -->
<!-- Video Background -->
<div class="video-background">
<div class="video-foreground">
<div id="player"></div>
</div>
</div>
<div class="video_text_container">
<div class="container">
<div class="landing__banner-content">
<h1>
Support third-party audits on your student loan debt
</h1>
<a class="custom__btn" href="https://cfored.ac-page.com/donation-webform-p1?test=true">MAKE A DONATION</a>
</div>
</div>
</div>
<!-- Video Background -->
<!-- Landing Banner -->
<section class="landing__banner">
<div class="container">
<div class="landing__banner-content">
<h1>
Support third-party audits on your student loan debt
</h1>
<a class="custom__btn" href="https://cfored.ac-page.com/donation-webform-p1?test=true">MAKE A DONATION</a>
</div>
</div>
</section>
<!-- Landing Banner -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment