/* Gloval element styling*/

html {
    scroll-behavior: smooth;
}

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

body {
    background-color: #eee; /* WBC */
    font-family:'Times New Roman', Times, serif; /* WBC */
}

#page-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

li {
    list-style: none;
}

a {
    color: black;
    text-decoration: none;
}

/* Global classes styling */ 

.container {
   max-width: 1000px;
   width: 100%;
   margin: 0 auto;
}
header {
    position: fixed;
    top: 0;
    min-height: 75px;
    padding: 0 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: antiquewhite; /* WBD */
    background-color: darkcyan;
}

.logo {
    width: 60vh;
}

.logo > img {
    width: 100%;
    height: 100%;
    max-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: 20px;
    color: darkcyan;
}

#header-img {
    width: 100%;
    height: 100%;
    max-width: 200px;
}

nav > ul {
    width: 35vw;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

@media (max-width='650px') {
    nav {
        display: flex;
    }
}


.form {
    display: block; 
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 150px;
    margin-top: 150px;
}
.hero input[type='email'] {
    max-width: 275px;
    width: 100%;
    padding: 10px;
}

.hero input[type='submit'] {
    max-width: 150px;
    width: 100%;
    height: 35px;
    margin: 15px 0;
    border: 0;
    background-color: darkcyan;

}
.hero input[type='submit']:hover {
    background-color: rgb(2, 216, 216);
    transition: background 0.5s;
}

.hero h2 {
    margin-bottom: 15px;
}


.btn {
    padding: 0 20px;
    height: 40px;
    font-size: 1em;
    font-weight: 900;
    text-transform: uppercase;
    border: 3px black solid;
    border-radius: 2px;
    background: transparent;
    cursor: pointer;
}

#features {
    margin-top: 30px;
}

.grid {
    display: flex;
}

#features .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 125px;
    width: 20vw;
    color: darkcyan;
}

#features .desc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 125px;
    width: 80vw;
    padding: 10px;
}
.desc > h2 {
    text-transform: uppercase;
    font-weight: 300;
}

#history {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

#history > iframe {
    max-width: 600px;
    width: 100%;
}

#models {
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: calc(100% / 3);
    margin: 10px;
    border: 1px solid black;
    border-radius: 5px;
}

.product > .model {
    background-color: darkcyan;
    color: black;
    padding: 15px 0;
    width: 100%;
    text-transform: uppercase;
    font-weight: 800;
}

.product > h2 {
    margin-top: 15px;
}

.product > img {
  max-width: 300px;
  width: 100%;
}

.product > .btn {
    border: 0;
    margin: 15px 0;
    background-color: darkcyan;
}
.product > .btn:hover {
    background-color: rgb(2, 216, 216);
    transition: background 0.5s;
}


footer {
    margin-top: 30px;
    background-color: #ddd;
    padding: 20px;
}

footer > ul {
    display: flex;
    justify-content: flex-end;
}
footer > ul > li {
    padding: 0 10px;
}

footer > span {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
    font-size: 0.9em;
}