/* fonts */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700');

/* animations */
/* @import url('aos.css'); */

/* mobile */
@import url('mobile.css');

/* inner pages */
@import url('inner.css');

/* main */
* {
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.5em;
    margin: 0;
    overflow-x: hidden;
}
.wrap {
    max-width: 1920px;
    margin: auto;
}
input, textarea, button {
    font-family: 'Roboto', sans-serif;
}

/* slide 1 */
.slide1 {
    color: #fff;
    background-color: #283440;
    background-image: url('../images/fireworks.svg');
    background-repeat: no-repeat;
    background-position: center left;
    background-size: auto 100%;
    padding: 50px;
}
.grid1 {

    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 90px auto;
    grid-gap: 50px;
    grid-template-areas:
        "logo nav nav nav"
        "text text video video";

}
.nav {
    grid-area: nav;
    justify-self: right;
    align-self: center;
}
.logo {
    grid-area: logo;
}
.logo img, .logo svg {
    height: 100%;
}
.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    margin-right: 50px;
}
.nav a:last-child {
    margin-right: 0;
}
.btn-signup {
    border: 1px solid #fff;
    border-radius: 999px;
    padding: 10px 20px;
    transition: all 0.3s ease-in-out;
}
.btn-signup:hover {
    color: #248232;
    background: #fff;
}
.anim-underline {
    position: relative;
}
.anim-underline:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    left: 0;
    bottom: -5px;
    background: #fff;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}
.anim-underline:hover:before {
    transform: scaleX(1);
}
.text {
    align-self: center;
    grid-area: text;
}
.text h1 {
    font-size: 2.66em;
    font-weight: 700;
    line-height: 1.2em;
    color: #fff;
    margin: 0 0 50px 0;
}
.text p {
    font-size: 1.66em;
    line-height: 1.5em;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 50px 0;
}
.text abbr {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-bottom: 3px solid rgba(0, 0, 0, 0.4);
    cursor: help;
}
.text abbr:hover {
    color: #fff;
}
.btn-trynow {
    font-size: 1.66em;
    font-weight: 700;
    color: #fff;
    background: #248232;
    background: linear-gradient(to bottom, #248232 1%,#1b5f25 100%);
    margin: 0 25px 0 0;
    padding: 15px 25px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease-in-out;
}
.btn-trynow:hover {
    transform: scale(1.1);
}
.disclaimer {
    color: rgba(255, 255, 255, 0.7);
}
.video {
    align-self: center;
    grid-area: video;
}
.video video {
    width: 100%;
    display: block;
    border-radius: 5px;
    box-shadow: 0 0 30px 0 rgba(0,0,0,0.5);
}

/* logo wink animation */
#wink1 { display: block; }
#wink2 { display: none; }
#Layer_1:hover #wink1 { display: none; }
#Layer_1:hover #wink2 { display: block; }

/* slide 2 */
.slide2 {
    padding: 100px 50px;
}
.benefits {
    display: grid;
    grid-template-columns: 80px 1fr 80px 1fr 80px 1fr;
    grid-gap: 50px;
}
.benefits p {
    color: #333;
}
h2 {
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.5em;
    margin: 0 0 0.5em 0;
}
.benefits .lnr {
    height: 80px;
}
.btn-getstarted-align {
    text-align: center;
}
.btn-getstarted {
    font-size: 1.66em;
    font-weight: 700;
    color: #fff;
    background: #248232;
    background: linear-gradient(to bottom, #248232 1%,#1b5f25 100%);
    margin: 25px 0 0 0;
    padding: 15px 25px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease-in-out;
}
.btn-getstarted:hover {
    transform: scale(1.1);
}
.device-icons {
    height: 48px;
}

/* slide 3 */
.slide3 {
    padding: 100px 50px;
    background: url('../images/logo-pattern.svg') repeat #A33012;
    background-size: 10%;
    background-attachment: fixed;
}
.slide3 h2 {
    font-size: 2.66em;
    font-weight: 700;
    line-height: 1.2em;
    color: #fff;
    margin: 0 0 50px 0;
}
.testimonials {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 50px;
}
.testimonials-item {
    background: #fff;
    border-radius: 5px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 3px 3px 5px 0 rgba(0,0,0,0.3);
}
.testimonials-photo {
    width: 40%;
    border-radius: 100%;
    margin: 0 0 15px 0;
}
.testimonials-name {
    font-weight: 700;
    display: block;
}
.testimonials-university {
    color: #8C2910;
    display: block;
    margin: 0 0 30px 0;
}
.testimonials-review {
    display: block;
    margin: 0 0 30px 0;
    padding: 30px 0 0 0;
    position: relative;
}
.testimonials-review:before {
    content: '';
    position: absolute;
    width: 20%;
    height: 3px;
    left: 40%;
    top: -2px;
    background: #aaa;
}
.testimonials-rating {
    font-size: 1.5em;
    color: #EEC643;
    display: block;
}
.btn-joinnow-align {
    text-align: right;
}
.btn-joinnow {
    font-size: 1.66em;
    font-weight: 700;
    color: #fff;
    background: #8C2910;
    background: linear-gradient(to bottom, #8C2910 1%,#461508 100%);
    margin: 50px 0 0 0;
    padding: 15px 25px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease-in-out;
}
.btn-joinnow:hover {
    transform: scale(1.1);
}

/* slide 4 */
.slide4 {
    margin: 100px 0;
    padding: 0 50px;
}
.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
}
.signup h1 {
    font-size: 2.66em;
    font-weight: 700;
    line-height: 1.2em;
    color: #1b5f25;
    margin: 0 0 30px 0;
}
.signup form {
    margin: 0;
}
.signup label {
    margin: 0 0 15px 0;
    display: block;
}
.signup input {
    width: 100%;
    font-size: 1.33em;
    border: 3px solid #999;
    outline: none;
    padding: 10px;
}
.signup input:focus {
    border-color: #777;
    background: #eee;
}
.btn-form-signup {
    font-size: 1.66em;
    font-weight: 700;
    line-height: 1em;
    color: #fff;
    background: #248232;
    background: linear-gradient(to bottom, #248232 1%,#1b5f25 100%);
    padding: 15px 25px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    border: none;
}
.btn-form-signup:hover {
    transform: scale(1.1);
}
.text-login {
    margin-left: 15px;
}
.text-login a {
    color: #0D21A1;
    text-decoration: underline;
}
.text-login a:hover {
    text-decoration: none;
}
.youtube-fluid-layout {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
}
.youtube-fluid-layout iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.pass-wrap {
    position: relative;
}
button.pass-unmask {
    position: absolute;
    z-index: 99;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    cursor: pointer;
    background: url('../images/eye.svg') 100% no-repeat transparent;
    background-position: right;
    border: none;
    margin: 0;
    padding: 0;
    display: block;
    text-indent: -9999px;
    width: 30px;
    height: 30px;
    opacity: 0.5;
    transition: opacity 0.2s ease-in-out;
}
button:hover.pass-unmask {
    opacity: 0.8;
}
.pass-wrap input[type=text] + button.pass-unmask { /* magic */
    background-image: url('../images/no-eye.svg');
}

/* footer */
footer {
    color: #fff;
    background: #283440;
    padding: 80px 50px;
}
ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
}
.grid3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 50px;
}
footer a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}
footer a:hover {
    color: #fff;
}
footer span {
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    padding: 0 0 10px 0;
    display: block;
    position: relative;
}
footer span:after {
    content: '';
    position: absolute;
    width: 10%;
    height: 3px;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}
.copy {
    color: #aaa;
}

/* popup login */
.popup-login {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
}
a.popup-login-close {
    font-size: 3em;
    color: #999;
    text-decoration: none;
    position: absolute;
    top: 30px;
    right: 30px;
    transition: all 0.2s ease-in-out;
}
a:hover.popup-login-close {
    color: #fff;
}
.wrap-login {
    width: 100%;
    max-width: 500px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0 30px; /* visible on mobile mostly */
}
.popup-login input {
    width: 100%;
    font-size: 1.33em;
    border: none;
    background: #fff;
    outline: none;
    margin: 0 0 10px 0;
    padding: 10px;
}
.popup-login button {
    font-size: 1.66em;
    font-weight: 700;
    line-height: 1em;
    color: #fff;
    background: #248232;
    background: linear-gradient(to bottom, #248232 1%,#1b5f25 100%);
    padding: 15px 25px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    border: none;
}
.popup-login button:hover {
    transform: scale(1.1);
}
a.lost-pass {
    color: #999;
    text-decoration: none;
    margin-left: 15px;
    transition: all 0.2s ease-in-out;
}
a:hover.lost-pass {
    color: #fff;
}

/* popup discount */
.popup-discount {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    color: #333;
    background: #EEC643;
    text-align: center;
    padding: 15px 40px 15px 0; /* 40px to not mess with the X button on smaller resolutions */
    z-index: 998;
    display: none;
}
.popup-discount-calltoaction {
    font-weight: 700;
    line-height: 1em;
    color: #fff;
    background: #248232;
    background: linear-gradient(to bottom, #248232 1%,#1b5f25 100%);
    padding: 7px 15px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    border: none;
    display: inline-block;
    margin-left: 5px;
}
a.popup-discount-calltoaction:hover {
    color: rgba(255, 255, 255, 0.7);
}
a.popup-discount-close {
    font-size: 2em;
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    transition: all 0.2s ease-in-out;
}
a:hover.popup-discount-close {
    color: #000;
}

/* tooltip */
#tooltip {
    font-size: 0.88em;
    line-height: 1.5em;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 0.83em;
    position: absolute;
    z-index: 100;
    padding: 0.83em;
}
#tooltip:after { /* arrow */
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #111;
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    margin-left: -10px;
}
#tooltip.top:after {
    border-top-color: transparent;
    border-bottom: 10px solid #111;
    top: -20px;
    bottom: auto;
}
#tooltip.left:after {
    left: 20px;
    margin: 0;
}
#tooltip.right:after {
    right: 20px;
    left: auto;
    margin: 0;
}