body, html{
    font-family: proxima-nova, sans-serif;
    font-style: normal;
    font-weight: 100;
    height: 100%;
}

/* header image*/
.header-image {
    background-image: url("assets/img/header.jpg");
    height: 200px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;    
}

.header-logo {
    position: absolute;
    left: 40px;
    top: 80px;
    width: 150px;
}

.header-logo.responsive {
    position: absolute;
    left: 40px;
    top: 410px;
    width: 150px;
}

/* site content container*/
.container {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    font-size: 1.4em;
}

.small-text {
    font-size: 0.5em;
}

figcaption {
    font-size: 0.7em;
}

/* Add a black background color to the top navigation */
.topnav {
    background-color: #333;
    overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
    background-color: gray;
    color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

/* product logo */
.product-logo {
    display: block;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    max-width: 50%;    
}

/* product image */
.product-image {
    margin-top: 50px;
    margin-bottom: 50px;
}

/* general illustration */
.illustration {
    margin-top: 50px;
    margin-bottom: 50px;
}

/* cards taking 100% of hor space */
card {
    width: 100%;
}

/* product specs */
.product-specs {
    margin-top: 50px;
    margin-bottom: 50px;
}

/* product legend */
.product-legend {
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Contact form*/
.contact-form {
    margin-top: 10%;
    margin-bottom: 10%;
}

/* Footer*/
.footer {
    display:flex;
    flex-wrap: nowrap;
    background-color: lightgrey;
}

.footer > div {
    margin: 20px 20px;
    text-align: right;
}

.footer-logo {
    max-width: 200px;
    align-self: flex-start;
}

.footer-text {
    font-size: 1em;
    align-self: flex-end;
}

#topBtn {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: red;
    opacity: 0.5;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}
  
#topBtn:hover {
    background-color: #555;
}

.button {
    padding: 15px 32px;
    font-size: 1.5em;
}

.push-right {
    /* margin-right: 10px; */
    margin-left: auto;
}

.border-right {
    border-right: 1px solid;
}

.border-top {
    border-top: 1px solid;
}

.small-prompt {
    margin-bottom: 5px;
    font-size: 0.8em;
}

.big-input {
    font-size: 1.3em;
}

.align-right {
    text-align: right;
}

.top-margin {
    margin-top: 20px;
}

.no-top-margin {
    margin-top: 1px;
}

.no-top-padding {
    padding-top: 1px;
}

.no-bottom-margin {
    margin-bottom: 1px;
}

.no-bottom-padding {
    padding-bottom: 1px;
}

/* flex columns */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    font-size: 30px;
    text-align: center;
}

.flex-col {
    /* padding: 10px; */
    padding-left: 10px;
    padding-right: 10px;
    flex: 50%;
    box-sizing: border-box;
}  

/* form */
input[type=text], select {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }
  
  input[type=submit] {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  input[type=submit]:hover {
    background-color: #45a049;
  }

  .formdiv {
    max-width: 500px;
    margin: 0 auto;
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;  
  }

/* flex columns switch to vertical */
@media screen and (max-width: 600px) {
    .flex-col {
        flex: 100%;
    }
    .border-right {
        border-right: 0px;
    }
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
        float: right;
        display: block;
    }
    .illustration img {
        width: 100%;
        height: auto;  
    }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}
