/**TEMP DISABLING OF NAV BAR ON MOBILE DUE TO DISPLAY WEIRDNESS**/
@media all and (max-width: 480px) {
  .page-banner {
    padding: 64px 32px;
  }
  
  .mattress-nav {
    display: none;
  }
}

body{
  background: url(links/banner/cooldreamz.jpg) fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: auto;
}

body, html{
  background-color: unset !important;
  scroll-behavior: smooth;
  scroll-padding-top: 160px;
}

@media all and (max-width: 750px) {
  body, html {
    scroll-padding-top: 280px;
  }
}
  
.page-banner {
  background: rgba(108, 174, 223, .9);
  margin-top: 110px;
  padding: 32px 32px 0px 32px;
}

.page-banner h1 {
  font-size: 50px;
  color: #ffffff;
  text-align: center;
  margin: 0;
}


.mattress-nav {
  padding: 32px;
  background: rgba(108, 174, 223, .9);
  position: sticky;
  top: 110px;
}


.container {
  background-color: rgba(255, 255, 255, .9);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
}

.mattress-style {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-column-gap: 40px;
  padding: 80px 0;
  border-bottom: rgba(108, 174, 223, .9) solid 1px;
}

.mattress-style:last-of-type {
  border-bottom: unset;
}

h3 {
  margin: 0 0 24px 0;
  text-align: center;
  grid-column: span 12;
}

h6 {
  color: #000000;
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 8px 0;
  line-height: 120%;
}

ul, ol, p {
  margin: 0 0 16px 0;
}

.two-third {
  float: unset;
  width: unset;
  grid-column: span 8;
}

.third {
  float: unset;
  width: unset;
  grid-column: span 4;
}

.half{
  float: unset;
  width: unset;
  grid-column: span 6;
}

.full{
  float: unset;
  width: unset;
  grid-column: span 12;
}

@media screen and (max-width: 900px) {
  /*make grid sections full width*/
  .two-third,
  .third,
  .half{
    grid-column: span 12;
  }
  .mattress-style{
    grid-column-gap: unset;
  }
}

/* 
* MATTRESS TAB INTERFACE
*/

/* TABS CONTAINER */
.mattress-tabs {
	max-width: unset;
	width: 100%;
	margin: unset;
	display: flex;
	flex-direction: row;
	gap: 16px 32px;
	flex-wrap: wrap;
	justify-content: center;
}
@media screen and (max-width: 1020px) {
	/* TABS */
	.mattress-tabs {
		font-size: 14px;
		line-height: 15px;
	}
}

/* TABS LINKS */
.mattress-tabs a {
	float: none;
	width: 100%;
	border-radius: 100px;
	border: solid 1px rgb(255 255 255 / 90%);
	padding: 8px 24px;
	width: auto;
	color: white;
	text-decoration: none;
}
@media all and (max-width: 750px) {
	/* TABS */
	.mattress-tabs a {
		width: 100%;
	}
}

.mattress-tabs a:hover,
.mattress-tabs a.active,
.mattress-tabs a:target {
	background: rgb(255 255 255 / 90%);
	color: #6caedf;
}

.mattress-tabs a span {
	margin: 0;
}

.mattress-tabs a span {
	padding: unset;
	border: unset;
}

.mattress-tabs a.active span {
	background: unset;
}

footer{
  background-color: #414042;
}