/* MAIN PHOTO AND TEXT
-------------------------------------------------- */
div#mainImage {
    background-color: rgb(167, 224, 246);
    height: 100vh;
}
img#curveTopLeft {
    position: absolute;
    width: 50%;
}
img#curveBottomRight {
    position: absolute;
    width: 90vh;
    bottom: 0;
    right: 0;
}
div#coverPhotoContainer {
    z-index: 1;
    position: absolute;
    overflow: hidden;
    width: 80%;
    height: 70vh;
    top: 20vh;
    left: 10%;
    -webkit-box-shadow: 0px 2px 5px 1px rgba(0, 28, 51, 0.63);
    -moz-box-shadow: 0px 2px 5px 1px rgba(0, 28, 51, 0.63);
    box-shadow: 0px 2px 5px 1px rgba(0, 28, 51, 0.63);
}
div#coverText {
    float: left;
    width: 40%;
    height: 100%;
    background-color: #003f72;
}
div#coverPhoto {
    float: left;
    width: 60%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(57, 167, 255, 0.43) 0%,rgba(57, 167, 255, 0.18) 100%), url(../media/usb.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
div#coverText > h1 {
    color: #ffffff;
    font-size: 44pt;
    margin-top: 20%;
    margin-left: 30px;
    margin-right: 30px;
    font-weight: 400;
}
div#coverText > h1:nth-child(2) {
    margin-top: 10%;
}
div#coverText > button {
    margin-top: 10%;
    margin-left: 40px;
}

@media (max-width: 1200px) {
    #overlay-photo {
        width: 35%;
    }
    #overlay-text {
        width: 65%;
    }
}
/* Shrink title text, stack buttons */
@media (max-width: 1050px) {
    div#coverText > h1 {
        font-size: 38pt;
    }
    div#coverText > h1:nth-child(2) {
        margin-bottom: 60px;
    }
    div#coverText > button {
        margin: 0 auto;
        display: block;
        margin-top: 30px;
    }
}
/* Expand text div */
@media (max-width: 900px) {
    div#coverText {
        width: 45%;
    }
    div#coverPhoto {
        width: 55%;
    }
}
/* Put text over image */
@media (max-width: 700px) {
    div#coverText {
        position: absolute;
        z-index: 1;
        width: 100%;
        background-color: transparent;
    }
    div#coverPhoto {
        position: absolute;
        width: 100%;
        background-image: linear-gradient(to bottom, rgba(57, 167, 255, 0.84) 0%,rgba(57, 167, 255, 0.18) 100%), url(../media/usb.webp);
    }
    div#coverText > h1 {
        margin-top: 20px;
    }
    div#coverText > button {
        font-size: 15pt;
    }
}

/* Handle short screen heights */
@media (max-height: 500px) {
    div#coverText > h1 {
        font-size: 15pt;
        margin-top: 10px;
        margin-bottom: 0px;
    }
    div#coverText > h1:nth-child(2) {
        margin-bottom: 10px;
    }
    div#coverText > button {
        margin-top: 10%;
        margin-left: 40px;
        display: inline;
    }
}
@media (min-height: 400px) {
    div#coverText > h1 {
        font-size: 20pt;
    }
}
@media (min-height: 500px) {
    div#coverText > h1 {
        font-size: 30pt;
    }
}
@media (min-height: 700px) {
    div#coverText > h1 {
        font-size: 40pt;
    }
}

div#learn-more {
    margin-bottom: 70px;
}
div#mainContent {
    z-index: 2;
    position: absolute;
    width: 100%;
}


/* EASY NAVIGATION
-------------------------------------------------- */
div#easyNavigation {
    overflow: hidden;
    background-color: #FFFFFF;
}
div#easyNavigationPhoto {
    float: left;
    width: 50%;
    text-align: right;
    margin-bottom: 30px;
}
div#easyNavigationText {
    float: left;
    width: 50%;
    margin-top: 160px;
    padding-right: 10px;
}
div#easyNavigationPhoto > img {
    height: 500px;
}
div#easyNavigationText > h1 {
    color: #136BA5;
    margin-bottom: 20px;
}
div#easyNavigationText > p {
    width: 300px;
    font-size: 14pt;
    margin-bottom: 30px;
}
div#easyNavigationText > img {
    width: 40px;
    margin-left: 10px;
    margin-right: 10px;
}
/* Expand text div, move text up */
@media (max-width: 740px) {
    div#easyNavigationPhoto {
        width: 45%;
    }
    div#easyNavigationText {
        width: 55%;
        margin-top: 150px;
    }
}
/* Shrink phone picture, move text up */
@media (max-width: 660px) {
    div#easyNavigationPhoto > img {
        height: 450px;
    }
    div#easyNavigationText {
        margin-top: 130px;
    }
}
/* Shrink phone picture, shrink and move text up */
@media (max-width: 580px) {
    div#easyNavigationPhoto > img {
        height: 400px;
    }
    div#easyNavigationText {
        margin-top: 130px;
    }

    div#easyNavigationText > h1 {
        font-size: 20pt;
    }
    div#easyNavigationText > p {
        width: auto;
        font-size: 11pt;
    }
    div#easyNavigationText > img {
        margin-left: 0px;
        margin-right: 20px;
    }
}
/* Shrink phone picture, shrink and move text up
    shrink small icons */
@media (max-width: 550px) {
    div#easyNavigationPhoto > img {
        height: 350px;
    }
    div#easyNavigationText {
        margin-top: 100px;
    }
    div#easyNavigationText > h1 {
        font-size: 18pt;
    }
    div#easyNavigationText > p {
        font-size: 10pt;
    }
    div#easyNavigationText > img {
        width: 30px;
        margin-right: 10px;
    }
}
/* Shrink phone picture,
    extend text div */
@media (max-width: 420px) {
    div#easyNavigationPhoto {
        width: 40%;
    }
    div#easyNavigationText {
        width: 60%;
        margin-top: 60px;
        width: 180px;
    }
    div#easyNavigationPhoto > img {
        height: 300px;
    }
}
/* Expand text div */
@media (max-width: 390px) {
    div#easyNavigationPhoto {
        width: 45%;
    }
    div#easyNavigationText {
        width: 55%;
    }
}
/* Stack text on photo */
@media (max-width: 350px) {
    /* div#easyNavigation {
         direction: rtl;
    } */
    div#easyNavigationPhoto {
        width: 100%;
        float: right;
        margin-top: 155px;
        text-align: center;
    }
    div#easyNavigationText {
        position: absolute;
        float: none;
        width: 100%;
        margin-top: 0px;
        padding-left: 20px;
        padding-right: 20px;
    }
    div#easyNavigationText > img {
        margin-left: calc((100%-160px)/20);
        margin-right: calc((100%-160px)/20);
    }
}


/* UNIFIED SEARCH
-------------------------------------------------- */
div#unifiedSearch {
    overflow: hidden;
    padding-top: 80px;
    background-color: #136BA5;
    padding-left: 25%;
    padding-right: 25%;
    color: #FFFFFF;
}
div#unifiedSearchText {
    float: left;
    width: 50%;
    /* padding-left: 27%; */
    padding-right: 30px;
}
div#unifiedSearchIcons {
    float: left;
    width: 50%;
    padding-top: 10px;
    margin-bottom: 80px;
}

div#unifiedSearch > h1 {
    margin-bottom: 40px;
}
div#unifiedSearchText > p {
    font-size: 17pt;
    line-height: 21pt;
}
div#unifiedSearchText > p#searchList {
    margin-top: 30px;
}
div#unifiedSearchText > ul > li {
    font-size: 17pt;
    line-height: 28pt;
    list-style-type: none;
}
div#unifiedSearchIcons > img {
    width: 400px;
}
/* Expand search div, move text left */
@media (max-width: 1190px) {
    div#unifiedSearch {
        padding-left: 20%;
    }
}
/* Expand search div, move text left */
@media (max-width: 1090px) {
    div#unifiedSearch {
        padding-left: 15%;
    }
}
/* Expand search div, move icons right */
@media (max-width: 990px) {
    div#unifiedSearch {
        padding-left: 15%;
    }
    div#unifiedSearchText {
        width: 55%;
    }
    div#unifiedSearchIcons {
        width: 45%;
    }
}
/* Shrink icons */
@media (max-width: 890px) {
    div#unifiedSearchIcons > img {
        width: 300px;
    }
}
/* Expand search div, move text left */
@media (max-width: 760px) {
    div#unifiedSearch {
        padding-left: 5%;
    }
    div#unifiedSearch {
        padding-right: 5%;
    }
    div#unifiedSearchText,
    div#unifiedSearchIcons {
        width: 50%;
    }
}
/* Shrink icons and text size
    Reduce top padding */
@media (max-width: 660px) {
    div#unifiedSearch {
        padding-top: 40px;
    }
    div#unifiedSearchText > p {
        font-size: 14pt;
        line-height: 14pt;
    }
    div#unifiedSearchText > ul > li {
        font-size: 14pt;
        line-height: 24pt;
    }
    div#unifiedSearchIcons > img {
        width: 250px;
    }
}
/* Shrink icons and text size */
@media (max-width: 590px) {
    div#unifiedSearchText > p {
        font-size: 14pt;
        line-height: 14pt;
    }
    div#unifiedSearchText > ul > li {
        font-size: 14pt;
        line-height: 24pt;
    }
    div#unifiedSearchIcons > img {
        width: 200px;
    }
}
/* Shrink icons and text size */
@media (max-width: 440px) {
    div#unifiedSearchText {
        width: 50%;
    }
    div#unifiedSearchIcons {
        width: 50%;
    }
    div#unifiedSearchText > p {
        font-size: 12pt;
        line-height: 12pt;
    }
    div#unifiedSearchText > ul > li {
        font-size: 12pt;
        line-height: 16pt;
    }
    div#unifiedSearchIcons > img {
        width: 150px;
    }
}
/* Stack text on icons */
@media (max-width: 370px) {
    div#unifiedSearchText {
        width: 100%;
        padding-right: 0px;
    }
    div#unifiedSearchIcons {
        width: 100%;
        margin-top: 30px;
        margin-bottom: 50px;
        text-align: center;
    }
    div#unifiedSearchIcons > img {
        width: 70%;
    }
}


/* FEATURES
-------------------------------------------------- */
#features {
    width: 100%;
    padding-top: 40px;
    padding-left: 10%;
    padding-right: 10%;
    overflow: auto;
    background-color: #F2F2F2;
    background-repeat: no-repeat;
}
#features > h1 {
    width: 100%;
    text-align: center;
    padding-bottom: 42px;
}
.feature {
    float: left;
    width: 20%;
    margin: 0 auto;
    display: block;
    text-align: center;
}
.feature > i {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-color: #aca321;
    padding-top: 30px;
    font-size: 70px;
    color: rgba(255, 255, 255, 1);
}
.feature > h2 {
    margin-top: 20px;
}
.feature > p {
    padding: 10px;
}
#feature1 {
    margin-left: 10%;
}
#feature1 > i {
    background-color: #95cf26;
}
#feature2 > i {
    background-color: #ffd845;
}
#feature3 > i {
    background-color: #ffa922;
}
#feature4 > i {
    background-color: #ff6145;
}
.feature-divide {
    background-color: #F2F2F2;
}

@media (max-width: 1490px) {
    #features {
        padding-left: 0px;
        padding-right: 0px;
    }
}
@media (max-width: 1080px) {
    .feature {
        width: 23%;
    }
    #feature1 {
        margin-left: 4%;
    }
}
@media (max-width: 860px) {
    #feature1, #feature3 {
        margin-left: 0%;
    }
    #feature1 {
        margin-left: 4%;
    }
    .feature {
        float: left;
        width: 23%;
        margin: 0 auto;
        display: block;
        text-align: center;
    }
    .feature > i {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background-color: #aca321;
        padding-top: 12px;
        font-size: 55px;
        color: rgba(255, 255, 255, 1);
    }
    .feature > h2 {
        margin-top: 20px;
        font-size: 22px;
    }
    .feature > p {
        padding: 1px 10px;
    }
}
@media (max-width: 750px) {
    .feature {
        width: 25%;
    }
    #feature1 {
        margin-left: 0%;
    }
}
@media (max-width: 650px) {
    .feature {
        width: 40%;
    }
    #feature1, #feature3 {
        margin-left: 10%;
    }
}


/* MAIN PAGES (FUNCTIONS)
-------------------------------------------------- */
#functions {
    width: 100%;
    padding-top: 20px;
    padding-left: 25%;
    padding-right: 25%;
}
#functions > h1 {
    width: 100%;
    text-align: center;
    padding-bottom: 40px;
}
.function-title {
    width: 100%;
    margin-bottom: 30px;
    color: #136BA5;
}
.function {
    width: 100%;
    margin-bottom: 70px;
    overflow: hidden;
}
.function > p {
    font-size: 14pt;
}
.function > p > img {
    float: left;
    margin-right: 30px;
    width: 300px;
}
.function > ul {
    list-style-position: inside;
}
/* Expand content width */
@media (max-width: 1180px) {
    #functions {
        padding-left: 20%;
        padding-right: 20%;
    }
}
/* Expand content width */
@media (max-width: 1000px) {
    #functions {
        padding-left: 15%;
        padding-right: 15%;
    }
}
/* Expand content width, shrink photos */
@media (max-width: 880px) {
    #functions {
        padding-left: 10%;
        padding-right: 10%;
    }
    .function > p > img {
        width: 200px;
    }
}
/* Shrink photos and text */
@media (max-width: 750px) {
    #functions {
        padding-right: 30px;
    }
    .function > p > img {
        width: 170px;
    }
    .function > p {
        font-size: 13pt;
    }
}
/* Stack images on text */
@media (max-width: 600px) {
    .function > p > img {
        width: 170px;
        float: none;
        margin: 0 auto;
        display: block;
        margin-bottom: 30px;
    }
}
