@import url(https://fonts.googleapis.com/css?family=overpass);
@import url(https://fonts.googleapis.com/css?family=ubuntu);
:root {
    /* Primary */
    /* (CTA text) */
    --light-red: hsl(356, 100%, 66%);
    /* (CTA hover background) */
    --very-light-red: hsl(355, 100%, 74%);
    /* (headings) */
    --very-dark-blue: hsl(208, 49%, 24%);
    /* Neutral */
    /* (text) */
    --white: hsl(0, 0%, 100%);
    /* (footer text)*/
    --grayish-blue: hsl(240, 2%, 79%);
    /* (body copy) */
    --very-dark-grayish-blue: hsl(207, 13%, 34%);
    /* (footer background) */
    --very-dark-black-blue: hsl(240, 10%, 16%);
    ;
    ;
    /* Gradient */
    /* Background gradient - Intro/CTA mobile nav: */
    --Very-light-red: hsl(13, 100%, 72%);
    --Light-red: hsl(353, 100%, 62%);
    /*Background gradient - body:  */
    --Very-dark-gray-blue: hsl(237, 17%, 21%);
    --Very-dark-desaturated-blue: hsl(237, 23%, 32%);
}

*,
html,
body {
    box-sizing: border-box;
    font-size: 18px;
    font-weight: 300;
    font-family: Overpass, Ubuntu, sans-serif;
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

h1 {
    text-align: center;
    margin-top: 100px;
}

h4,
h3,
h2 {
    margin-bottom: 16px;
}

p {
    color: var(--very-dark-grayish-blue);
}

footer {
    background-color: #1B1A17;
    color: var(--grayish-blue);
    border-radius: 0px 70px 0px 0px;
}

footer li {
    list-style: none;
    padding-top: 10px;
    opacity: 0.5;
}

footer .title {
    font-weight: bold;
    color: #FFF;
    font-size: 18px;
}

button {
    border-radius: 10px;
    padding: 4px;
    color: var(--white);
    width: 80px;
    height: 35px;
    border: 1px solid #fff;
    outline: none;
    background: transparent;
}

header {
    height: 340px;
    color: #FFF;
    border-radius: 0px 0px 0px 100px;
    background: url('../assets/images/bg-pattern-intro.svg'), var(--Very-light-red) linear-gradient(to right, #FF896B, #FF1F5A, #FF896B)/*left top*/
    no-repeat;
    background-position-y: -900px;
    background-size: cover;
}

nav {
    display: flex;
    padding: 1rem;
    text-align: center;
    height: 80px;
}

nav .logo {
    flex: 20%;
}

nav .menu {
    display: flex;
    flex: 80%;
    padding-left: 30px;
    height: 50px;
    padding-top: 15px;
}

nav li {
    list-style: none;
    padding: 10px;
}

nav a {
    color: #FFF;
    text-decoration: none;
}

nav .submenu {
    display: none;
}

.submenu a {
    color: #000 !important;
    font-size: 10px;
    opacity: 0.7;
}

.nav-item:hover .submenu {
    display: block;
    background: var(--white);
    position: absolute;
    box-shadow: 5px 5px 5px 5px rgb(34, 33, 33);
    width: 120px;
}

.icons {
    width: 15px;
    height: 10px;
}

.toggle {
    display: none;
}

.bg-pattern {
    width: 100%;
    margin-top: 0px;
}

.login {
    width: 100px;
    padding: 0 !important;
    border: none;
    text-align: center;
    font-size: 14px;
    margin: 0 1rem 0 330px;
}

.signup {
    width: 100px;
    font-weight: 600;
    color: var(--Light-red);
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 30px;
    text-align: center;
    background: #FFf;
    font-size: 14px;
}

.header-texts {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-texts h1 {
    font-size: 42px;
    margin-top: 75px;
}

.header-texts p {
    font-size: 13px;
    font-weight: 20;
    z-index: 10;
    color: #FFF;
    margin: 1rem 0 2rem 0;
}

.start {
    cursor: pointer;
    width: 150px;
    background-color: #FFF;
    color: #D63447;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 300;
    margin-right: 1rem;
    font-weight: 600;
}

.more {
    margin-left: 1rem;
    cursor: pointer;
    width: 150px;
    color: #FFF;
    font-size: 14px;
    border-radius: 10px;
}

.event,
.infrastructure,
.tooling {
    margin-bottom: 4rem;
}

.event h1,
h2 {
    color: var(--very-dark-blue);
    font-family: Ubuntu, sans-serif;
}

.event h1 {
    margin: 1rem 0;
    font-size: 24px;
    font-weight: 300;
}

.event__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event__text {
    display: flex;
    flex-direction: column;
    flex: 60%;
}

.event__content img {
    width: 70%;
    margin-left: 200px;
}

.event__text p {
    color: var(--very-dark-grayish-blue);
    font-size: 14px;
    line-height: 1.5;
    font-family: Ubuntu, sans-serif;
    margin-bottom: 2rem;
}

.infrastructure__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    background: linear-gradient(to right, #222831, #010038) left bottom no-repeat, url('../assets/images/bg-pattern-circles.svg') bottom left no-repeat, #060930 right top repeat;
    background-size: 0px, 800px, auto;
    background-position: -20% 85%;
    height: 280px;
    border-radius: 0px 100px 0px 100px;
}

.infrastructure__images {
    flex: 40%;
}

.phones-svg {
    width: 30%;
    margin-left: 140px;
}

.infrastructure__text {
    flex: 55%;
    padding: 0 1rem 0 2rem;
    align-self: center;
}

.infrastructure__text h1 {
    color: var(--white);
    font-size: 35px;
    font-weight: 300;
    text-align: start;
    margin: 2rem 0;
}

.infrastructure__text p {
    font-size: 16px;
    padding-right: 5rem;
}

.tooling__content {
    display: flex;
    justify-content: space-around;
}

.tooling__image img {
    width: 100%;
}

.tooling__text h2:last-of-type {
    margin-top: 1rem;
}

.tooling__text p {
    line-height: 1.5;
    font-size: 15px;
}

.infrastructure,
.tooling__content {
    padding-top: 200px;
}

.footer__menu {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    padding: 30px;
    text-align: center;
}

.footer__logo {
    flex: 20%;
}

.footer__link {
    display: flex;
    flex: 80%;
    align-items: center;
    justify-content: space-around;
}

.footer__nav {
    margin-right: 100px;
}

.logo,
.footer__logo {
    font-size: 40px;
}

.event__image,
.infrastructure__images img {
    width: 70%;
}

.tooling img {
    width: 100%;
    padding-right: 100px;
}

article {
    padding-left: 75px;
}

.article3 h2 {
    color: #FFF;
    padding-top: 0px;
}

.infrastructure__text .text {
    color: #FFF;
    opacity: 0.8;
}

@media screen and (max-width:768px) {
    nav,
    body,
    html {
        margin: 0;
        padding: 0px;
    }
    header {
        height: 380px;
    }
    .logo,
    .toggle {
        padding: 2rem;
    }
    .menu {
        flex-direction: column;
        position: absolute;
        color: #fff;
        width: 100%;
        text-align: center;
        z-index: 300;
        height: 300px;
    }
    .menu .item {
        display: none;
    }
    .item button {
        order: 2;
    }
    .item {
        order: 3;
    }
    .active__link .item {
        display: block;
        background-color: var(--white);
    }
    .nav-item:hover .submenu {
        flex-direction: column;
        margin-left: 30%;
    }
    .nav-item a {
        color: rgba(0, 0, 0, 0.274);
    }
    .icons {
        color: rgba(0, 0, 0, 0.274);
    }
    .logo {
        z-index: 200;
        margin-right: 80%;
        font-size: 10px;
    }
    .toggle {
        order: 1;
        font-size: 20px;
        margin-left: 70%;
        display: block;
    }
    .header__text h1 {
        font-size: 17px;
    }
    .header__text p {
        font-size: 11px;
        margin-top: 0px;
        opacity: 1;
    }
    .start {
        width: auto;
    }
    .more {
        width: auto;
    }
    section {
        /* width: 100%; */
        margin-bottom: -25rem;
    }
    .event__content {
        flex-direction: column-reverse;
        padding-left: 2px;
    }
    .event__text {
        display: flex;
        flex-direction: column;
        flex: 100%;
        margin-left: 0px;
        padding-left: 0px;
    }
    .event__content img {
        width: 70%;
        margin: 0;
    }
    .infrastructure__content {
        flex-direction: column;
        height: 550px;
        width: auto;
        background-size: 0px, 500px, auto;
        background-position: 55% -420%;
    }
    .infrastructure__text {
        margin-top: 8rem;
    }
    .infrastructure__images {
        margin: 0;
        padding: 0;
    }
    .infrastructure__images img {
        width: 325px;
        height: 290px;
        margin: 0;
    }
    .phones-svg {
        width: 75%;
        margin: 0;
        position: absolute;
        top: 150%;
    }
    article {
        padding: 25px;
    }
    .tooling {
        margin-top: 10rem;
    }
    .tooling__content {
        flex-direction: column;
    }
    .tooling__text {
        display: flex;
        flex-direction: column;
        flex: 100%;
        margin-left: 0px;
        padding-left: 0px;
    }
    .tooling__image img {
        width: 100%;
        margin-left: 30px;
        padding-top: 100px;
    }
    footer {
        width: auto;
        display: flex;
        flex-direction: column;
    }
    .footer__logo {
        text-align: center;
        margin: 2rem 0;
    }
    .footer__link {
        flex-direction: column;
        align-items: center;
    }
    .footer__link li {
        text-align: center;
    }
    .footer__nav {
        font-size: 12px;
        margin: 0;
    }
    .footer__nav .title {
        margin: 18px 0;
        font-weight: 300;
        text-align: center;
    }
    .log {
        font-size: 27px;
    }
}