/* Screens no smaller than a desktop */

/****************************************
* Typography
****************************************/

h1 {
  font-size: 44px;
}

/****************************************
* Header
****************************************/

header {
  box-shadow: 1px 1px 8px rgba(0, 0, 0, .5);
  padding: 1rem 2rem;
}

header .flex {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 1050px;
  height: 100%;
}

@media(min-width: 1700px) {
  header .flex {
    max-width: unset;
  }
}

header .logo img {
  padding: 0;
  min-width: 210px;
  max-width: 250px;
}
/****************************************
* Navigation
****************************************/

nav {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  width: auto;
  height: 100%;
  max-height: 100%;
  padding: 0 0 0 2rem;
  overflow: visible;
  z-index: 300;
  background: transparent;
}

nav p {
  display: unset;
  color: #21A1D9;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 1px;
}

nav .dropdown {
  position: relative;
  margin-left: .5rem;
  margin-right: 2rem;
}

nav .dropdown::before {
  content: '';
  display: inline-block;
  position: absolute;
  top: 17px;
  right: 13px;
  transform: rotate(45deg);
  border: solid #000000;
  border-width: 0 3px 3px 0;
  padding: 3px;
  pointer-events: none;
}

nav .dropdown:hover::before {
  border-color: #ffffff;
}

nav .dropdown .button {
  display: unset;
  padding-right: 2rem;
  min-width: 274px;
  text-align: left;
}

nav .dropdown:hover .button {
  background: linear-gradient(to right, #4a4b4b, #aeaeae, #4a4b4b);
  color: #ffffff;
}

nav .dropdown.on .content {
  max-height: unset;
}

nav .dropdown:hover .content {
  max-height: calc(100vh - 130px);
}

nav .dropdown .content {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  z-index: 999;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.15);
  background: linear-gradient(to right, #bcbcbc, #FEFEFE, #bcbcbc);
  min-width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

nav .dropdown a {
  padding: .5rem .75rem;
  white-space: nowrap;
  text-align: left;
  font-size: 14px;
  line-height: 1em;
}

nav .dropdown a:hover,
nav .dropdown a.active {
  text-decoration: none;
  color: #4a4b4b;
}

nav .dropdown a + a {
  border-top: 1px solid #ececec;
}

nav .dropdown ul {
  display: flex;
  flex-direction: column;
  margin: 1rem 0;
}

nav .dropdown li:first-of-type {
  margin-top: 0;
}

nav .dropdown li:last-of-type {
  margin-bottom: 0;
}

nav > a {
  position: unset;
}

/****************************************
* Billboard
****************************************/

.billboard video {
  min-height: 570px;
}

.billboard .content {
  max-width: 900px;
}

.billboard h1 {
  font-size: 44px;
}

/****************************************
* Inside billboard
****************************************/

.inside-billboard.padding {
  padding-top: 3rem;
}

.inside-billboard h1 {
  max-width: 780px;
}

.inside-billboard p,
.inside-billboard .disclaimer {
  max-width: 900px;
}

/****************************************
* Intro
****************************************/

.intro {
  padding: 3rem 3rem 0;
}

.intro p {
  font-size: 18px;
}

/****************************************
* Product details
****************************************/

.product-detail .products > .product:nth-of-type(4) {
  display: flex;
}

/****************************************
* Checkout
****************************************/

.amount p,
.amount input {
  font-size: 40px;
}

/****************************************
* Footer
****************************************/

footer > .grid {
  grid-template-columns: auto 200px 1fr 200px;
  gap: 2rem;
}

footer > .grid > div:nth-of-type(1),
footer > .grid > div:nth-of-type(2),
footer > .grid > div:nth-of-type(3),
footer > .grid > div:nth-of-type(4) {
  grid-column: span 1;
}
