@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap");

body {
  font-family: "Lato", sans-serif;
  background-color: #eee;
}

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

#wrapper {
  position: relative;
}

/* header */

#header {
  position: fixed;
  display: flex;
  top: 0;
  padding: 0 18px;
  align-items: center;
  min-height: 73px;
  justify-content: space-around;
  background-color: #eee;
}

@media (max-width: 600px) {
  #header {
    flex-wrap: wrap;
  }
}

.trombone-logo {
  width: 58vw;
}

@media (max-width: 650px) {
  .trombone-logo {
    position: relative;
    width: 100%;
    margin-top: 13px;
  }
}

.trombone-logo > img {
  display: flex;
  width: 100%;
  height: 100%;
  margin-left: 18px;
  max-width: 298px;
  justify-content: center;
  text-align: center;
  align-items: center;
}

@media (max-width: 650px) {
  .trombone-logo > img {
    margin: 0 auto;
  }
}

#nav-bar {
  font-weight: 400;
}

@media (max-width: 650px) {
  #nav-bar {
    display: flex;
    width: 100%;
    margin-top: 8px;
    padding: 0 48px;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  nav li {
    padding-bottom: 3px;
  }
}

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

@media (max-width: 650px) {
  nav > ul {
    flex-direction: column;
  }
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #000;
}

/* section */

#section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 198px;
  margin-top: 48px;
}

#section > h2 {
  word-wrap: break-word;
  margin-bottom: 18px;
}

#section input[type="email"] {
  width: 100%;
  padding: 3px;
  max-width: 273px;
}

#section input[type="submit"] {
  background-color: #f1c40f;
  width: 100%;
  height: 28px;
  margin: 13px 0;
  max-width: 148px;
  border: 0;
}

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

#section input[type="submit"]:hover {
  background-color: orange;
  transition: background-color 1s;
}

@media (max-width: 650px) {
  #section {
    margin-top: 118px;
  }
}

.contain {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

#features {
  margin-top: 28px;
}

.grid {
  display: flex;
}

#features .icon {
  display: flex;
  width: 18vw;
  height: 123px;
  align-items: center;
  justify-content: center;
  color: darkorange;
}

@media (max-width: 550px) {
  #features .icon {
    display: none;
  }
}

.fa-3x {
  font-size: 3em;
}

#features .description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 123px;
  width: 78vw;
  padding: 3px;
}

#how-it-works {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

#how-it-works > iframe {
  max-width: 558px;
  width: 100%;
}

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

.models {
  display: flex;
  width: calc(100% / 3);
  flex-direction: column;
  text-align: center;
  align-items: center;
  margin: 8px;
  border: 1px solid #000;
  border-radius: 3px;
}

.models > .type {
  background-color: #ddd;
  color: black;
  padding: 13px 0;
  width: 100%;
  text-transform: uppercase;
  font-weight: 700;
}

.models > h2 {
  margin-top: 13px;
}

.models > ul {
  margin: 13px 0;
}

.models > ul > li {
  padding: 3px 0;
}

.models > button {
  margin: 13px 0;
  border: 0;
  background-color: #f1c40f;
  font-weight: 400;
}

.models > button:hover {
  background-color: orange;
  transition: background-color 1s;
}

@media (max-width: 800px) {
  #pricing {
    flex-direction: column;
  }
  .models {
    max-width: 298px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 8px;
  }
}

/* footer */

footer {
  background-color: #ddd;
  margin-top: 28px;
  padding: 18px;
}

footer > ul {
  display: flex;
  justify-content: flex-end;
}

footer > ul > li {
  padding: 0 8px;
}

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