
html {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #424242;
    scroll-behavior: smooth;
}

* {
    padding: 0;
    margin: 0;
}

h1, h2 {
    font-size: 2em;
    font-weight: 100;
    color: #4c7b86;
    margin-bottom: 1rem;
}
h2 {
    font-size: 1.5em;
}
section p, 
section ul {
    font-size: 1em;
    font-weight: 300;
    color: #424242;
    margin-bottom: 1rem;
    line-height: 1.6em;
}
section ul {
    margin-left: 2em;
}

a, a:visited {
    color: #e69500;
}
a:hover {
    color: #4c7b86;
}

a, .btn, input {
    transition: color 0.2s, background-color 0.2s;
}

.container {
    max-width: 1000px;
    padding: 0 1em;
    margin: auto;
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#navbar .brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 100;
}
#navbar .brand .logo {
    margin-right: 0.5em;
}
#navbar img.logo {
    max-height: 40px;
}
#navbar a {
    text-decoration: none;
    color: #4c7b86;
    padding: 1rem;
    font-weight: 500;
    font-size: 0.9rem;
}
#navbar a:hover {
    color: orange;
}
#navbar ul {

}
#navbar li {
    list-style: none;
}
#navbar .nav-item {
    display: inline-block;
}
@media screen and (max-width: 700px) {
    #navbar .nav-item.features,
    #navbar .nav-item.cases,
    #navbar .nav-item.privacy {
        display: none;
    }
}

/** Sub-menus **/
#navbar .nav-item {
    position: relative;
}
#navbar .nav-item ul {
    display:none;
    position: absolute;
    background-color: white;
    border-radius: 5px;
    left: 50%;
    margin-top: 15px;
    text-align: center;
    transform: translateX(-50%);
}
#navbar .nav-item:hover ul {
    display: block;
}
#navbar .nav-item li a {
    display: inline-block;
    padding: 10px 20px;
    white-space: nowrap;
}



section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
section.light-bg {
    background-color: #f4f8f9;
}
section.dark-bg {
    background-color: #222f33;
    color: rgb(194, 194, 194);
}



#intro {
    background-color: #222f33;
    position: relative;
    padding: 0;
}
#intro::before {
    /* Shadow at bottom of intro */
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    z-index: -1;
    box-shadow: 0 0 15px 5px #eaeaea;
}
#intro .container {
    display: flex;
}
#intro .left {
    flex: 1;
    padding: 40px 0;
}
#intro .right {
    flex: 0.85;
    display: flex;
    /* align-items: flex-end; */
    margin-top: 60px;
    margin-left: 10px;
    background-image: url('./img/intro-screen.png');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    filter: saturate(130%);
}
@media screen and (max-width: 700px) {
    #intro .right {
        flex: 0.5;
        background-size: contain;
        background-position: center center;
    }
}
@media screen and (max-width: 500px) {
    #intro .right {
        display: none;
    }
}
#intro h1 {
    color: white;
}
#intro p {
    color: rgb(225, 225, 225);
}
#intro .quote {
    color: #887746;
    color: #bfbfbf;
    font-style: italic;
    font-size: 1.3em;
    line-height: 1.3em;
    font-weight: 100;
    margin: 1.5rem 2rem;
}
#intro .btn {
    padding: 0.5rem 1rem;
    background-color: #e69500;
    border-radius: 5px;
    display: inline-block;
    font-size: 0.9rem;
    color: white;
    text-decoration: none;
}
#intro .btn:hover {
    background-color: #4c7b86;
}
#intro .btn.contact {
    background-color: white;
    color: #e69500;
    margin-left: 5px;
}
#intro .btn.contact:hover {
    color: #4c7b86;
}



#branding .container {
    text-align: center;
}
#branding img {
    max-height: 300px;
    max-width: 100%;
}
#branding p {
    color: #929da0;
    font-size: 0.8em;
    margin: 0;
}



#who .boxes {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
#who .box {
    flex: 1;
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: #fff7e9;
    transition: background-color 0.2s;
}
#who .box h2 {
    font-weight: 300;
    font-size: 1.2rem;
    color: #e69500;
    white-space: nowrap;
    transition: color 0.2s;
}
#who .box p {
    color: #795c36;
    font-size: 0.8rem;
    transition: color 0.2s;
    margin: 0;
}
#who .quote {
    color: #887746;
    font-style: italic;
    font-size: 1.3em;
    line-height: 1.3em;
    font-weight: 100;
    margin: 2rem;
    margin-bottom: 0;
    text-align: center;
    max-width: 650px;
    margin: 2rem auto 0 auto;
}



#features .boxes {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
#features .box {
    flex: 1;
    border-radius: 1rem;
    transition: background-color 0.2s;
}
#features h2 {
    font-weight: 100;
    color: #e69500;
}
#features p {
    font-weight: 100;
    margin: 0;
}



#demo .container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
#demo p {
    color: rgb(194, 194, 194);
    text-align: center;
}
#demo form {
    display: flex;
    justify-content: center;
}
#demo input {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 5px;
    border: none;
}
#demo input[type="email"] {
    border-radius: 5px 0 0 5px;
    flex: 2;
    min-width: 100px;
    max-width: 300px;
}
#demo input[type="submit"] {
    background-color: #e69500;
    color: white;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    flex: 1;
    max-width: 150px;
}
#demo input[type="submit"]:hover {
    background-color: #4c7b86;
}



#cases p {
    max-width: 600px;
}
#cases p.right {
    text-align: right;
}
#cases img.notification {
    max-width: 280px;
    float: right;
    transform: rotate(4deg);
    margin-left: 1rem;
}
#cases .case {
    font-size: 0.9rem;
    color: #6f7d82;
}
#cases .case:hover {
    color: #424242;
}
@media screen and (max-width: 500px) {
    #cases img.notification {
      display: none;
    }
  }



#about .boxes {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
#about .box {
    flex: 1;
    background-color: #fbf6ee;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
}
#about .profile {
    flex-grow: 1;
}
#about .pic img {
    width: 60px;
    height: 60px;
    border-radius: 60px;
}

#about .profile .name {
    font-size: 1.2em;
    margin-bottom: 0.2em;
    color: #424242;
}
#about .profile .role {

}
#about .profile p {
    margin: 0;
    font-size: 0.9em;
}
#about .link {
    align-self: flex-start;
}


#contact input,
#contact textarea {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 5px;
    border: none;
    margin-bottom: 10px;
    border: 1px solid #ced4da;
    width: 600px;
    max-width: 100%;
    box-sizing: border-box;
}
#contact input[type="submit"] {
    border: solid 1px #4c7b86;
    width: auto;
    background-color: #4c7b86;
    color: white;
    cursor: pointer;
}
#contact textarea {
    min-height: 100px;
    font-family: inherit;
}
#contact input[type="submit"]:hover {
    background-color: #222f33;
    border-color: #222f33;
}

/* Honingpot input */
input[name="website"] {
    display: none !important;  /* Hides from humans */
    height: 0;
    width: 0;
    opacity: 0;
    position: absolute;
    left: -9999px;  /* Extra precaution for screen readers */
}


#footer {
    text-align: center;
    font-weight: 100;
}