/* ***************
  NORMALIZE & BASE
*************** */
*,
*:before,
*:after {
  box-sizing: border-box;
}

body {
  margin: 0;
  width: 100%;
  background: #f5f5f5;
  color: #5f697a;
  font-family: "Open Sans", open-sans, sans-serif;
  font-size: 12px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  padding-top: 100px;
}

img {
  display: block;
  min-width: 100%;
  margin-bottom: 1rem;
}

/* ***************
  TYPOGRAPHY
*************** */

h1,
h2,
h3,
h4,
h5,
h6,
p {
  text-rendering: optimizelegibility;
  text-align: center;
  padding: 0;
}

h2 {
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: 600;
}

a {
  text-align: center;
  text-decoration: none;
  color: inherit;
  font-weight: 900;
}

/* ***************
  LAYOUT
*************** */

/* site-header styles */

.site-header {
  height: 40vh;
  min-height: 492px;
  width: 100%;
  background: url("../assets/header/header-background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center;
  color: #fff;
}

.site-header:before {
  content: "";
  width: 100%;
  height: 40vh;
  min-height: 492px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(21, 25, 27, 0.46);
  z-index: 5;
}

.site-header--title {
  font-size: 66px;
  font-family: "Open Sans", open-sans, sans-serif;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.8;
  z-index: 10;
  margin-bottom: 0;
}

.site-header--description {
  font-size: 34px;
  line-height: 50px;
  pointer-events: all;
  z-index: 10;
}

/* shared styles for site asset and palette sections */

.section--header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 58px;
}

.section--header-name {
  color: #333c4e;
  font-size: 22px;
  font-weight: 600;
  font-weight: 600;
  margin-bottom: 7px;
}

.section--header--description {
  color: #8894ab;
  font-size: 16px;
  line-height: 38px;
  position: relative;
  font-family: inherit;
  width: 840px;
}

.section--header--description.about {
  font-size: 26px;
}

.flex-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* generic grid styles used throughout asset sections (color palettes have their own grids in their style sections) */

.grid {
  display: grid;
  justify-content: center;
  grid-gap: 50px;
}

.grid--one-col {
  grid-template-columns: 626.5px;
}

.grid--two-cols {
  grid-template-columns: 1fr 1fr;
}

.grid--three-cols {
  grid-template-columns: 1fr 1fr 1fr;
}

/* shared styles for logo download links */

.logo--link:hover .logo--link-img,
.asset--link:hover {
  -webkit-box-shadow: 1px 1px 3px 2px #e4e5e6;
  -moz-box-shadow: 1px 1px 3px 2px #e4e5e6;
  box-shadow: 1px 1px 3px 2px #e4e5e6;
}

/* shared styles for color palettes (both print and web/film) */

.palette--item {
  justify-content: flex-end;
  font-size: 14px;
  position: relative;
  border: 1px solid #e4e5e6;
}

.palette--item--text {
  display: flex;
  align-items: center;
  background: #fff;
  height: 55px;
  width: 100%;
  color: #333c4e;
  font-weight: 600;
  font-size: 14px;
  text-align: left;
  padding: 0 14px;
  margin: 0;
}

.palette--item--text__small {
  font-size: 10px;
}

/* styles specific to web/film color palette */

.grid--web-film {
  grid-template-rows: repeat(3, 217px);
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "lg--top-left lg--top-left lg--top-right lg--top-right"
    "lg--top-left lg--top-left lg--top-right lg--top-right"
    "sm--bottom-first sm--bottom-second sm--bottom-third sm--bottom-fourth";
}

.grid--web-film .lg--top-left {
  grid-area: lg--top-left;
  background: rgb(0, 133, 161);
}

.grid--web-film .lg--top-right {
  grid-area: lg--top-right;
  background: rgb(67, 67, 69);
}

.grid--web-film .sm--bottom-first {
  grid-area: sm--bottom-first;
  background: rgb(103, 104, 107);
}

.grid--web-film .sm--bottom-second {
  grid-area: sm--bottom-second;
  background: rgb(140, 142, 144);
}

.grid--web-film .sm--bottom-third {
  grid-area: sm--bottom-third;
  background: rgb(228, 229, 230);
}

.grid--web-film .sm--bottom-fourth {
  grid-area: sm--bottom-fourth;
  background: rgb(239, 239, 244);
}

/* styles specific to print color palette */

.grid--print {
  grid-template-rows: repeat(4, 217px);
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "lg--top-left lg--top-left lg--top-right lg--top-right"
    "lg--top-left lg--top-left lg--top-right lg--top-right"
    "lg--bottom-left lg--bottom-left sm--top-left sm--top-right"
    "lg--bottom-left lg--bottom-left sm--bottom-left sm--bottom-right";
}

.grid--print .lg--top-left {
  grid-area: lg--top-left;
  background: rgb(21, 130, 157);
}

.grid--print .lg--top-right {
  grid-area: lg--top-right;
  background: rgb(0, 121, 153);
}

.grid--print .lg--bottom-left {
  grid-area: lg--bottom-left;
  background: rgb(71, 70, 71);
}

.grid--print .sm--top-left {
  grid-area: sm--top-left;
  background: rgb(101, 102, 103);
}

.grid--print .sm--top-right {
  grid-area: sm--top-right;
  background: rgb(139, 140, 140);
}

.grid--print .sm--bottom-left {
  grid-area: sm--bottom-left;
  background: rgb(222, 222, 222);
}

.grid--print .sm--bottom-right {
  grid-area: sm--bottom-right;
  background: rgb(242, 241, 240);
}

/* shared styles for brand assets & media resource(s) */

.asset--link {
  width: 100%;
  height: 457px;
  align-items: center;
  position: relative;
  border: 1px solid #e4e5e6;
  background: #fff;
}

.asset--title {
  color: #474f5f;
  margin-top: 23px;
  opacity: 0.4;
  font-size: 14px;
  overflow: hidden;
}

.asset--link:before {
  background-image: url("../assets/boards-sprite.png?v=slxls6rvbo6r");
  content: "";
  display: block;
  overflow: hidden;
  background-repeat: no-repeat;
  width: 87px;
  height: 114px;
  background-image: url("../assets/boards-sprite.png?v=slxls6rvbo6r");
  z-index: 10;
}

/* styles specific to the "brand assets" section */

.asset--link__brand:before {
  background-position: 0 -542px;
}

/* styles specific to the "media assets" section */

.asset--link__media:before {
  background-position: -411px -542px;
}

/* styles specific to contact us a tag */

.media-email--link:hover {
  color: #0085a1;
}
