344 lines
5.5 KiB
CSS
344 lines
5.5 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");
|
|
:root {
|
|
--primary-color: #007AF3;
|
|
}
|
|
|
|
body {
|
|
background-color: #f2f2f2;
|
|
margin: 0;
|
|
font-family: 'Poppins';
|
|
}
|
|
|
|
.navbar {
|
|
background-color: white;
|
|
padding: 1em;
|
|
}
|
|
|
|
.navbar .logo {
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
color: black;
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.navbar .logo span {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.navbar .container {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
place-content: space-between;
|
|
}
|
|
|
|
.navbar nav {
|
|
display: none;
|
|
}
|
|
|
|
.navbar .mobile-menu {
|
|
cursor: pointer;
|
|
}
|
|
|
|
a {
|
|
color: #444444;
|
|
}
|
|
|
|
ul {
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
section {
|
|
padding: 5em 2em;
|
|
}
|
|
|
|
.hero {
|
|
text-align: center;
|
|
}
|
|
|
|
.left-col .subhead {
|
|
text-transform: uppercase;
|
|
font-weight: bold;
|
|
color: grey;
|
|
letter-spacing: .3em;
|
|
}
|
|
|
|
.left-col h1 {
|
|
font-size: 2.5em;
|
|
line-height: 1.3em;
|
|
margin-top: .2em;
|
|
}
|
|
|
|
.left-col .primary-cta {
|
|
background: var(--primary-color);
|
|
color: white;
|
|
text-decoration: none;
|
|
padding: .6em 1.3em;
|
|
font-size: 1.4em;
|
|
border-radius: 5em;
|
|
font-weight: bold;
|
|
display: inline-block;
|
|
}
|
|
|
|
.left-col .watch-video-cta {
|
|
display: block;
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.left-col .watch-video-cta img {
|
|
margin-right: .5em;
|
|
}
|
|
|
|
.hero-img {
|
|
width: 70%;
|
|
margin-top: 3em;
|
|
}
|
|
|
|
section.features-section {
|
|
background: #20272E;
|
|
color: white;
|
|
}
|
|
|
|
ul.features-list {
|
|
margin: 0;
|
|
padding-left: .1em;
|
|
display: -ms-grid;
|
|
display: grid;
|
|
-ms-grid-columns: (minmax(19rem, 1fr))[auto-fit];
|
|
grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
|
|
}
|
|
|
|
ul.features-list li {
|
|
font-size: 1.5em;
|
|
margin-bottom: 1em;
|
|
margin-left: 2em;
|
|
position: relative;
|
|
}
|
|
|
|
ul.features-list li:before {
|
|
content: '';
|
|
left: -2em;
|
|
position: absolute;
|
|
width: 20px;
|
|
height: 20px;
|
|
background-image: url("../images/bullet.svg");
|
|
background-size: contain;
|
|
margin-right: .5em;
|
|
}
|
|
|
|
.features-section img {
|
|
display: none;
|
|
}
|
|
|
|
.testimonials-section {
|
|
background: var(--primary-color);
|
|
color: white;
|
|
}
|
|
|
|
.testimonials-section ul li {
|
|
background: #006BD6;
|
|
text-align: center;
|
|
padding: 2em 1em;
|
|
width: 80%;
|
|
margin: 0 auto 5em auto;
|
|
border-radius: 1em;
|
|
}
|
|
|
|
.testimonials-section ul li img {
|
|
width: 5em;
|
|
height: 5em;
|
|
border: 5px solid #006BD6;
|
|
border-radius: 50%;
|
|
margin-top: -4.5em;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 2em;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
font-size: 1.2em;
|
|
margin-bottom: .5em;
|
|
}
|
|
|
|
input, textarea {
|
|
width: 100%;
|
|
padding: .8em;
|
|
margin-bottom: 1em;
|
|
border-radius: .3em;
|
|
border: 1px solid grey;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
input[type="submit"] {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
font-weight: bold;
|
|
font-size: 1.3em;
|
|
border: none;
|
|
margin: 0 auto 5em auto;
|
|
border-radius: 5em;
|
|
display: inline-block;
|
|
padding: .8em 2em;
|
|
width: unset;
|
|
cursor: pointer;
|
|
}
|
|
|
|
iframe {
|
|
width: 100%;
|
|
height: 300px;
|
|
}
|
|
|
|
nav.menu-btn {
|
|
display: block;
|
|
}
|
|
|
|
nav {
|
|
position: fixed;
|
|
z-index: 999;
|
|
width: 66%;
|
|
right: 0;
|
|
top: 0;
|
|
background: #20272E;
|
|
height: 100vh;
|
|
padding: 1em;
|
|
}
|
|
|
|
nav ul.primary-nav {
|
|
margin-top: 5em;
|
|
}
|
|
|
|
nav li a {
|
|
color: white;
|
|
text-decoration: none;
|
|
display: block;
|
|
padding: .5em;
|
|
font-size: 1.3em;
|
|
text-align: right;
|
|
}
|
|
|
|
nav li a:hover {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.mobile-menu-exit {
|
|
float: right;
|
|
margin: .5em;
|
|
cursor: pointer;
|
|
}
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
.mobile-menu, .mobile-menu-exit {
|
|
display: none;
|
|
}
|
|
.navbar .container {
|
|
display: -ms-grid;
|
|
display: grid;
|
|
-ms-grid-columns: 180px auto;
|
|
grid-template-columns: 180px auto;
|
|
}
|
|
.navbar nav {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-pack: justify;
|
|
-ms-flex-pack: justify;
|
|
justify-content: space-between;
|
|
background: none;
|
|
position: unset;
|
|
height: auto;
|
|
width: 100%;
|
|
padding: 0;
|
|
}
|
|
.navbar nav ul {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
}
|
|
.navbar nav a {
|
|
color: black;
|
|
font-size: 1em;
|
|
padding: .1em 1em;
|
|
}
|
|
.navbar nav ul.primary-nav {
|
|
margin: 0;
|
|
}
|
|
.navbar nav li.current a {
|
|
font-weight: bold;
|
|
}
|
|
.navbar nav li.go-premium-cta a {
|
|
color: var(--primary-color);
|
|
border: 3px solid var(--primary-color);
|
|
font-weight: bold;
|
|
border-radius: 5em;
|
|
margin-top: -.2em;
|
|
}
|
|
.navbar nav li.go-premium-cta a:hover {
|
|
background: var(--primary-color);
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
@media only screen and (min-width: 1080px) {
|
|
.container {
|
|
width: 1080px;
|
|
margin: 0 auto;
|
|
}
|
|
section {
|
|
padding: 10em 4em;
|
|
}
|
|
.hero .container {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-pack: justify;
|
|
-ms-flex-pack: justify;
|
|
justify-content: space-between;
|
|
text-align: left;
|
|
}
|
|
.hero .container .left-col {
|
|
margin: 3em 3em 0 5em;
|
|
}
|
|
.hero .container .left-col h1 {
|
|
font-size: 3em;
|
|
width: 90%;
|
|
}
|
|
.hero-img {
|
|
width: 30%;
|
|
margin-right: 8em;
|
|
}
|
|
.hero-cta {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
}
|
|
.primary-cta {
|
|
margin-right: 1em;
|
|
}
|
|
ul.features-list {
|
|
display: block;
|
|
margin-left: 5em;
|
|
}
|
|
ul.features-list li {
|
|
font-size: 1.4em;
|
|
}
|
|
ul.features-list li:before {
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
.features-section {
|
|
position: relative;
|
|
}
|
|
.features-section img {
|
|
display: block;
|
|
position: absolute;
|
|
right: 0;
|
|
width: 350px;
|
|
bottom: -2em;
|
|
}
|
|
}
|
|
/*# sourceMappingURL=styles.css.map */ |