/* Variables */
:root {
    --main-bg-color: floralwhite;
}

html, body {
    font-family: 'Avenir', 'Nunito Sans', 'Jost', 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    scroll-behavior: smooth;
    background-color: var(--main-bg-color);
}

/*  MAIN CSS (above the fold)  */

#hero {
    padding: 0;
    margin: 0;
    height: calc(600px + 7.5vw);
    z-index: 1;
    background-size: cover;
    background: linear-gradient(80deg, rgba(90, 82, 235, 1), rgba(0, 255, 255, 0.5) 100%);
    clip-path: polygon(0 0, 100% 0%, 100% calc(100% - 15vw), 0 100%);
    -webkit-clip-path: polygon(0 0, 100% 0%, 100% calc(100% - 15vw), 0 100%);
}


#logo {
    margin-top: 120px;
}

#slogan {
    margin: 12px 1rem 10px;
    font-weight: 300;
    font-size: 36px;
}

/*img {*/
/*    -webkit-transition: -webkit-transform 1.2s ease-in-out;*/
/*    transition: transform 1.2s ease-in-out;*/
/*}*/

/*#logo img:hover {*/
/*    -webkit-transform: rotate3d(0, -2, 1, 104deg);*/
/*    transform: rotate3d(0, -2, 1, 104deg);*/
/*}*/

.buttons a {
    border-radius: 2px;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 24px;
    margin: 10px 5px 0;

    box-shadow: 1px 1px #888888;
}

#left-button {
    background-color: #3D5DDB;
    color: white;
}

#right-button {
    background-color: #fff;
    color: #637de2;
}


/* SECOND SECTION (main information) */

#second-section {
    display: flex;
    background-color: var(--main-bg-color);
    margin-top: calc(-7.5vw + 30px);
}

#main-info {
    flex: 1;
    position: relative;
    z-index: 5;
    text-align: right;
    width: calc(70% - 20vw);
    margin-left: calc(10% + 10vw);
    margin-right: calc(20% + 10vw);
    padding-left: 40px;
    padding-right: 20px;
    border-right: 5px solid darkgoldenrod;
}

.no-line-breaks {
    display: inline-block;
}

#main-info h2 {
    font-size: 36px;
    z-index: 5;
}

#new-web-presence {
    font-weight: 600;
}

#main-info-paragraph {
    font-size: 18px;
    scroll-behavior: smooth;
}

/* FEATURES */

#features {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    margin-top: 3em;
    padding-bottom: 15vw;
    background-color: var(--main-bg-color);
    clip-path: polygon(0 0, 100% 0%, 100% calc(100% - 15vw), 0 100%);
    -webkit-clip-path: polygon(0 0, 100% 0%, 100% calc(100% - 15vw), 0 100%);
}

#features section {
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /*border-top: 2px solid rgba(0, 0, 0, 0.05);
    border-left: 2px solid rgba(0, 0, 0, 0.05);
    margin-top: -2px;
    margin-left: -2px;*/
}


/* FOOTER */

footer {
    margin-top: -15vw;
    background-color: #eee;
    padding-bottom: 20px;
    overflow-x: hidden;
}

#call-to-action {
    padding-top: 5vw;
    width: 42vw;
    margin-left: 58vw;
    /*background-color: orange;*/
}

#call-to-action h2 {
    font-size: 48px;
    margin-bottom: 24px;
}

#get-button {
    background-color: #3D5DDB;
    color: white;
}

#call-to-action .buttons {
    margin-top: -2vw;
}

#call-to-action .buttons a {
    font-size: 28px;
}

#contact-button {
    background-color: var(--main-bg-color);
    color: darkgoldenrod;
}

#sitemap {
    padding-top: 60px;
    columns: 3 120px;
    -webkit-columns: 3 120px;
    -moz-columns: 3 120px;
    margin-left: 20vw;
    margin-right: 20vw;
    orphans: 1;
    widows: 1;
}

footer .column {
    display: inline-block;
    width: 100%;
}

#sitemap ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#sitemap li {
    margin-bottom: 10px;
}

#sitemap a {
    color: #444;
}

#sitemap a:visited {
    color: #808080;
}

#bottom {
    margin-top: 60px;
    color: #444;
}


/* MEDIA QUERIES */

#minuteman {
    position: absolute;
    top: 50vh;
    right: 8vw;
    mix-blend-mode: luminosity;
    z-index: 5;
    background-color: transparent;
}

@media only screen and (max-width: 1400px) {
    #minuteman {
        display: none;
    }

    #call-to-action {
        padding-top: 10vw;
        width: 85%;
        margin: auto;
    }

    /*#second {*/
    /*    width: 70%;*/
    /*    margin: auto;*/
    /*}*/
}

@media only screen and (max-width: 800px) {
    #main-info {
        width: 85%;
        margin: auto;
    }

    #call-to-action {
        padding-top: 8vw;
    }
}



#features > * {
    padding: 2.1875rem 2.1875rem .1875rem;
    width: 25%;
}


.icon {
    display: block;
    margin: 0 0 1rem;
    text-align: center;
}

.icon:before {
    border-radius: 2.75em;
    display: inline-block;
    height: 2.75em;
    line-height: 2.75em;
    width: 2.75em;
    font-size: 1.25rem;
    /*-webkit-font-smoothing: antialiased;*/
    font-family: FontAwesome, serif;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2);
}

@media screen and (max-width: 1280px) {
    #features > * {
        width: 33%;
    }
}

@media screen and (max-width: 980px) {
    #features > * {
        width: 50%;
    }
}

@media screen and (max-width: 480px) {
    #features > * {
        width: 100%;
    }

    #logo {
        width: 200px;
        height: 200px;
    }
}


/* TOP MENU */

nav a {
    text-decoration: none;
    margin-right: calc(0.5em + 1vw);
    color: whitesmoke;
}

nav {
    position: absolute;
    line-height: 100px;
    height: 100px;
    font-size: 24px;
    text-align: left;
    margin-left: 10vw;
    color: whitesmoke;
    z-index: 2;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    color: whitesmoke;
    display: block;
    float: left;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    position: relative;
    text-decoration: none;
    transition-duration: 0.5s;
}

nav li a {
    color: whitesmoke;
}

nav li:hover,
nav li:focus-within {
    cursor: pointer;
}

nav li:focus-within a {
    outline: none;
}

nav ul li ul {
    background: whitesmoke;
    color: black;
    visibility: hidden;
    opacity: 0;
    min-width: 340px;
    position: absolute;
    margin-top: -30px;
    left: 0;
    z-index: 10;
    display: none;
    -webkit-animation: fadeInFromNone 0.5s ease-out;
    animation: fadeInFromNone 0.5s ease-out;
    border-radius: 5px;

    transition: color 10.2s ease;
}

nav ul li:hover > ul,
nav ul li:focus-within > ul,
nav ul li ul:hover,
nav ul li ul:focus {
    visibility: visible;
    opacity: 1;
    display: block;
}

nav ul li ul li {
    clear: both;
    width: 100%;
    line-height: 60px;
}

nav ul li ul :hover {
    color: darkgray;
}

nav ul li ul li a {
    padding-left: 10%;
    color: #333;
}

@-webkit-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}
