/* built first for 300px screen width */

/* root */
:root {
  --primary: #2a2b2e;
  --primary-lt: rgb(188, 192, 204);
  --orange-accent: rgb(216,78,12);
  --yellow-accent: rgb(249,216,15);
  /* --font-size-nav: 20px; */
  --font: Verdana, Geneva, Tahoma, sans-serif;
}

* {
  margin: 0;
  padding: 0;
}

/* general */
html {
  background-color: var(--primary-lt);
  font-family: var(--font);
  /* font-family: ; */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: center;
  /* color: var(--primary); */
}

.button {
  padding: 8px 5px;
  margin: 0 5px;
  border: 3px solid #fff;
  border-radius: 5px;
  /* background-color: var(--yellow-accent); */
  /* box-shadow:  0px 0px 2px #000; */
  color: #fff;
  text-decoration: none;

}

a {
  color: #fefefe;
  text-decoration: none;
}
a:hover {
  color: #cfcfcf;
}

/* #brand {
  padding: 10px 25px;
} */

.container {
  margin: 25px auto;
  max-width: 900px;
  /* background-color: aliceblue; */
}

.box {
  background-color: var(--primary);
  color: var(--primary-lt);
  margin: auto;
  text-align: center;
  padding: 50px 25px;
  margin: 40px;
  border-radius: 15px;
  box-shadow: 0px 0px 10px #555;
}

.box h3 {
  color: #fff;
}

.flex-column {
  display: flex;
  flex-direction: column;
  max-width: inherit;
  /* background: red; */
}

.flex-row {
  display: flex;
  flex-direction: row;
  max-width: inherit;
}

/* nav */
#nav {
  background-color: var(--orange-accent);
  height: 110px;
  font-size: 24px;
  font-family: var(--font);
  position: fixed;
  top: 0;
  width: 100%;
}

#nav-grid {
  display: grid;
  grid-template-columns: auto auto auto;
}

#brand {
  grid-row: 1;
  grid-column: 1;
  margin: 10px
}

#nav-contact {
  /* margin: 10px; */
  grid-row: 1/2;
  grid-column: 6;
  font-size: 20px;
  font-family: var(--font);
  font-weight: 700;
  color: #fff;
  padding: 20px;
}

#nav-btns {
  grid-row: 1/2;
  grid-column: 6;
  margin-top: 15px;
  font-size: 18px;
}

/* hero */
#hero {
  /* width: 400px; */
  margin: 150px 0px !important;
  text-align: center;
}

#hero img {
  max-width: 85vw;
}

/* about */
#about {
  margin: 0px 20px 150px 20px;
}

/* trailers */
/* lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: #ccc;
}

.image {
  cursor: pointer;
  width: 100%;
  height: auto;
  border-radius: 10px;

}

.image-container {
  /* max-height: 100px; */
  max-width: 40vw;
  padding: 10px;
  margin-top: 10px;
  /* margin: 10px; */
}

/* footer */
footer {
  color: #fff;
  background-color: var(--orange-accent);
}

#footer {
  width: 80vw;
  max-width: 900px;
  padding: 100px 0px;
  margin: auto;
  text-align: left;
}

/* desktop */
@media only screen and (min-width: 516px) {
  .container {
    max-width: 900px;
  }
}