

html, body {
    background: url('../images/top-meeting.jpg') center fixed;
    background-size: cover;
    color: white;
    font-family: 'Montserrat-Regular', 'Montserrat', serif;
    margin: 0;
}

main {
    height: 100vh;
    background-color: rgba(3, 55, 67, 0.7);
    overflow-y: auto;
}

* > * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*NAV MENU*/
nav {
    z-index: 5;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 80px;
    background-color: rgba(3, 55, 67, 0.8);
    display: flex;
    justify-content: space-between;
    overflow-x: auto;
    overflow-y: hidden;
    font-size: 14px;
}

nav > div {
    display: flex;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: white;
}

nav .separator {
    height: 7px;
    width: 7px;
    border-radius: 7px;
    background-color: white;
    margin: 0 20px;
}

nav .logo {
    height: 25px;
    margin-right: 80px;
    margin-left: 140px;
}


nav > div:nth-child(2) a {
    padding: 31px 0;
    margin: 0;
    font-size: 16px;
    text-align: center;
    width: 160px;
}

nav > div:nth-child(2) a.register-button {
    background-color: rgba(241, 116, 0, 1);
    width: 220px;
}

nav > div:nth-child(2) a:hover {
    background-color: rgba(208, 247, 255, 0.2);
}

/*SECTIONS*/
main > section {
    display: flex;
}
main > section:nth-child(1), main > section:nth-child(2) {
    min-height: 100vh;
}

main > section > .text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 300px;
    background-color: white;
    max-width: 100%;
    padding: 40px;
}

main > section p {
    font-family: 'Cardo-Italic', 'Cardo Italic', 'Cardo', serif;
    margin-bottom: 15px;
    color: #333333;
}

main > section .title {
    color: #02BBA1;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

main > section > .text-content > .title > span {
    display: block;
}

/* WELCOME */
main > section:nth-child(1) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    color: white;
    padding-top: 30px;
}

main > section:nth-child(1) > div {
    text-align: center;
}

main > section:nth-child(1) > div .logo {
    margin-bottom: 30px;
    max-width: 90%;
}

main > section:nth-child(1) > div:nth-child(2) {
    font-size: 36px;
    padding: 10px;
    text-align: center;
    color: #D0F7FF;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.75);
}

main > section:nth-child(1) .discover {
    width:280px;
    text-align:center;
    padding: 26px 0;
    font-size: 24px;
    background-color: #02BBA1;
    margin-top: 39px;
    cursor: pointer;
    color: white;
    text-decoration: none;
}

/* SAMPLES */
main > section:nth-child(2) .decision-preview {
    background: linear-gradient(90deg, rgba(3, 55, 67, 1) 0%, rgba(3, 55, 67, 1) 0%, rgba(15, 68, 80, 1) 54%, rgba(3, 55, 67, 1) 100%, rgba(3, 55, 67, 1) 100%);
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 200px;
    padding-top: 25px;
    padding-bottom: 25px;
}

main > section:nth-child(2) .decision-preview img {
    max-width: 90%;
}

/*SIMPLIFY YOUR LIFE*/
main > section:nth-child(3) {
    background-color: #D0F7FF;
    flex-direction: column;
    padding-bottom: 40px;
}

main > section:nth-child(3) > .title {
    margin: 40px auto;
    padding: 18px;
}

main > section:nth-child(3) > .features {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

main > section:nth-child(3) > .features > div {
    display: flex;
    flex-direction: column;
    margin: 0px 14px;
    max-width: 400px;
}

main > section:nth-child(3) > .features > div > div:nth-child(1) {
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

main > section:nth-child(3) > .features > div > .title{
    margin-top: 20px;
    font-size: 18px;
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*KNOW MORE*/
main > section:nth-child(4) {
    background-color: rgba(3, 55, 67, 1);
    margin: 100px 0;
    min-height: initial;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 0;
    font-size: 25px;
}

main > section:nth-child(4) > div:nth-child(1) {
    color: #02BBA1;
}

main > section:nth-child(4) > div:nth-child(2) {
    font-family: 'Cardo', serif;
    font-style: italic;
    padding: 10px 10px 20px 10px;
}

main > section:nth-child(4) > .subscribe-button {
    width: 320px;
    max-width: 95%;
    background-color: rgba(241, 116, 0, 1);
    margin-top: 20px;
    padding: 19px 0;
    font-size: 18px;
    color: white;
    text-decoration: none;
}

/*KEEP CONTACT*/
main > section:nth-child(5) {
    min-height: 340px;
}

main > section:nth-child(5) > div:nth-child(1) {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
}

main > section:nth-child(5) > div:nth-child(1) > img {
    width: 340px;
    max-width: 95%;
}

main > section:nth-child(5) > .keep-contact {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #033743;
    background-color: rgba(208, 247, 255, 1);
    padding: 50px;
}

main > section:nth-child(5) > .keep-contact > div:nth-child(2) {
    font-family: 'Cardo', serif;
    font-style: italic;
    font-size: 24px;
    color: #033743;
    margin-bottom: 30px;
}

main > section:nth-child(5) > .keep-contact > .social-icons {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

main > section:nth-child(5) > .keep-contact > .social-icons > a {
    margin: 0 20px;
}

/*NEWSLETTER*/
main > section:nth-child(6) {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #033743;
}

main > section:nth-child(6) > div:nth-child(1) {
    font-family: 'Cardo', serif;
    font-style: italic;
    font-size: 24px;
    padding: 33px;
}

main > section:nth-child(6) form {
    max-width:100%;
}

main > section:nth-child(6) input[type=email] {
    padding: 16px;
    width: 460px;
    max-width: 95%;
    border: none;
    font-size: 24px;
    font-family: 'Montserrat-Regular', 'Montserrat', serif;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

main > section:nth-child(6) input[type=submit] {
    padding: 16px 6px;
    margin-left: -5px;
    border: none;
    background-color: #F17400;
    color: white;
    font-size: 24px;
    font-family: 'Montserrat-Regular', 'Montserrat', serif;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

@media (max-width: 1300px) {
    main > section, .features {
        flex-wrap: wrap;
    }

    main > section:nth-child(2) .decision-preview {
        width: 100%;
    }

    main > section:nth-child(5) > div {
        width: 100%;
    }
}

@media (max-width: 1000px) {
    main > section:nth-child(5) {
        height: auto;
    }

    main > section:nth-child(5) > div:nth-child(1) img {
        margin: 50px;
    }

    main > section:nth-child(5) > div:nth-child(1),
    main > section:nth-child(6) > div:nth-child(1),
    main > section:nth-child(5) > div.keep-contact {
        width: 100%;
    }
}

@media (max-width: 800px) {
    nav .logo {
        margin: 0 30px;
    }

    main > section:nth-child(6) {
        align-items: normal;
    }
    main > section:nth-child(6) > div:nth-child(1) {
        padding: 15px;
    }
    main > section:nth-child(6) > div:nth-child(2) input[type=email]{
        width: 80%;
    }
    main > section:nth-child(6) > div:nth-child(2) input[type=submit]{
        width: 20%;
    }
}

@media (max-width: 500px) {
    nav .logo {
        margin: 0 10px;
    }

    nav .separator {
        margin: 0 5px;
    }

    main > section > .text-content {
        max-width: 100%;
        padding: 10px;
    }

    main > section > .text-content > * {
        max-width: 100%;
    }

    main > section:nth-child(5) > div.keep-contact {
        padding: 10px;
        text-align: center;
    }
}