
:root {
  --primary: #252526; 
  --secondary: #EE3124; 
  --white: #FFFFFF;
  --black: #000000;
  --light: #f1f1f1; 
  --dark: #252526; 
  --font: "Montserrat", sans-serif;
  --headingfont: "Montserrat", sans-serif;
}


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

html{ 
  scroll-behavior: smooth; 
}

body{
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--black);
}

img{
  border: 0;
  max-width:100%;
}

a{
  text-decoration: none;
  cursor:pointer;
  transition:.7s color, .7s background-color, .3s opacity;
  color: inherit;
}
a:focus{
  outline: none;
}
a:hover{
  transition:.3s color, .3s background-color, .3s opacity;
}


h1{
  font-family: var(--headingfont);
  font-size: 3rem;
  line-height: 1.1; 
  margin-bottom: 15px; 
}
h2{
  font-family: var(--headingfont);
  font-size: 2rem;
  line-height: 1.1;
  margin: 0 0 15px 0; 
}
h3{
  font-family: var(--headingfont);
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 30px 0 10px 0; 
}
h4{
  font-family: var(--headingfont);
  font-size: 1.3rem;
  margin: 30px 0 0 0; 
}
p{
  margin-bottom: 15px;
}
p:last-child{
  margin-bottom:0;
}

h3:first-child, h4:first-child, p:first-child{
  margin-top:0;
}



ul, ol{
  margin: 0 0 15px 30px;
}

.huge{ font-size: 3rem; line-height: 1.1; }
.large{ font-size: 1.2rem; }
.small{ font-size: 0.8rem; }

.thin{ font-weight: 100; }
.light{ font-weight:300; }
.semi{ font-weight: 600; }
.bold{ font-weight: 700; }
.black{ font-weight: 900; }

.clear{ clear: both; }

.container{
  margin: 0 auto;
  width: 90%;
  max-width: 1180px;
  position:relative;
}
.container.med{
  max-width: 850px; 
}
.container.narrow{
  max-width: 600px;
}
.restrict{
  max-width: 500px; 
}
.restrict-large{
  max-width: 800px; 
}

.flex{
  display:flex;
}
.flex.wrap{
  flex-wrap:wrap;
}
.flex.end{
  align-items:flex-end;
}
.flex.vert{
  align-items:center;
}
.flex.gap{
  gap: 50px; 
}

.flex .auto{ flex: 1; } 
.flex .full{ width: 100%; }
.flex .half{ width: 50%; }
.flex .third{ width: 33.33%; }
.flex .quarter{ width: 25%; }

.flex.swap{
  flex-direction: row-reverse;
}



.g1{ display: grid; grid-template-columns: repeat(1, 1fr); gap: 20px; }
.g2{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.g3{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g4{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.g5{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.g6{ display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.g7{ display: grid; grid-template-columns: repeat(7, 1fr); gap: 20px; }
.g8{ display: grid; grid-template-columns: repeat(8, 1fr); gap: 20px; }
.g9{ display: grid; grid-template-columns: repeat(9, 1fr); gap: 20px; }
.g10{ display: grid; grid-template-columns: repeat(10, 1fr); gap: 20px; }
.g11{ display: grid; grid-template-columns: repeat(11, 1fr); gap: 20px; }
.g12{ display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }

.s1{ grid-column: span 1; }
.s2{ grid-column: span 2; }
.s3{ grid-column: span 3; }
.s4{ grid-column: span 4; }
.s5{ grid-column: span 5; }
.s6{ grid-column: span 6; }
.s7{ grid-column: span 7; }
.s8{ grid-column: span 8; }
.s9{ grid-column: span 9; }
.s10{ grid-column: span 10; }
.s11{ grid-column: span 11; }
.s12{ grid-column: span 12; }


.grid-gap{
  gap: 50px !important;
}
.grid-gap-large{
  gap: 100px; 
}
.grid-tight{
  gap: 10px !important;
}

.grid-vert{
  align-items: center;
}

.grid-swap div:first-child{
  order: 2;
}
.grid-swap div:last-child{
  order:1;
}

.two-rows{
  grid-row: span 2;
}


.margined{ margin: 100px auto; }
.margined-med{ margin: 50px auto; }
.margined-small{ margin: 25px auto; }
.margined-tiny{ margin: 5px auto; }

.topmargin{ margin-top: 100px; }
.topmargin-med{ margin-top: 50px; }
.topmargin-small{ margin-top: 25px; }
.topmargin-tiny{ margin-top: 5px; }

.bottommargin{ margin-bottom: 100px; }
.bottommargin-med{ margin-bottom: 50px; }
.bottommargin-small{ margin-bottom: 25px; }
.bottommargin-tiny{ margin-bottom: 5px; }


.padded{  padding: 100px; }
.padded-med{ padding: 50px; }
.padded-small{ padding: 25px; }
.padded-tiny{ padding: 5px; }

.vpadded{  padding: 100px 0; }
.vpadded-med{ padding: 50px 0; }
.vpadded-small{ padding: 25px 0; }
.vpadded-tiny{ padding: 5px 0; }


.left{ text-align:left; }
.center{ text-align:center; }
.right{ text-align:right; }

.relative{ position:relative; }
.absolute{ position:absolute; }
.fixed{ position:fixed; }

.inline{ display:inline; }
.inlineblock{ display:inline-block; }
.block{ display: block; }


.label{
  display:block;
  margin: 20px 0 5px 0; 
  font-size: .8rem;
}
.input{
  display:block;
  width:100%;
  padding: 8px 15px;
  font-family: var(--font);
  color: var(--primary); 
  font-size: 1rem; 
  border: 1px solid #CCCCCC;
  background-color: #FFFFFF;
  transition: .3s border-color; 
}
.input:focus{
  outline: none;
  border-color: var(--primary);
  transition: .3s border-color; 
}


.buttons{
  display:flex;
  gap: 20px; 
}
.buttons.center{
  justify-content: center;
}

.button{
  display: inline-block;
  border-radius: 15px;
  background-color: var(--secondary);
  color:var(--white);
  padding: 15px 25px;
  cursor:pointer; 
  transition: .7s transform;
  font-family: var(--font); 
  font-size: 1.1rem; 
  line-height: 1; 
  border: 2px solid var(--secondary); 
}
.button:hover{
  background-color: var(--secondary);
  color:var(--white);
  transform: scale(1.05);
  transition: .3s transform;
  text-decoration: none; 
}

.button.outline{
  background: rgba(0,0,0,.2); 
  bordeR: 2px solid var(--white); 
}


.v50{ height: 50vh; }
.v75{ height: 75vh; }
.v100{ height: 100vh; }

img.block{
  width:100%;
}
.bgcover{
  background-size:cover;
  background-position: center center;
  background-repeat: no-repeat;
}

img.aspect{ object-fit: cover; }
img.cover{ object-fit: contain; }
.aspect-square{ aspect-ratio: 1/1; }
.aspect-video{ aspect-ratio: 16/9; }
.aspect-photo{ aspect-ratio: 4/3; }
.aspect-wide{ aspect-ratio: 16/7; }
.aspect-fill{ height: 100%; }
.round{ aspect-ratio: 1/1; border-radius: 50%; }

.bg-primary{ background-color: var(--primary); }
.bg-secondary{ background-color: var(--secondary); }
.bg-white{ background-color: var(--white); }
.bg-dark{ background-color: var(--dark); }
.bg-light{ background-color: var(--light); }

.text-primary{ color: var(--primary); }
.text-secondary{ color: var(--secondary); }
.text-black{ color: var(--black); }
.text-white{ color: var(--white); }
.text-light{ color: var(--light); } 

.dev-error{
  border: 2px solid #BF312F;
  background-color: #FCDFDF;
  padding: 10px;
  margin: 20px auto;
  font-size: 13px;
  line-height: 15px;
}

.hover-zoom{
  transition: .7s transform, .7s background-color;
}
.hover-zoom:hover{
  transform: scale(1.05);
  transition: .3s transform, .3s background-color;
}


.xscroll{
  width: 100%;
  overflow-x:auto;
}

.gone{ display:none; }
.here{ display: block; }

header{
  padding: 15px 0;
}
header nav a{
  display: inline-block;
  margin-left: 15px; 
  padding: 5px 5px; 
  border-bottom: 2px solid transparent; 
  transition: .7s border-color; 
}
header nav a:hover{
  border-color: var(--secondary); 
  transition: .3s border-color; 
}

.overlay{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color: rgba(0,0,0,.4);
}

.hero-image{
  object-fit:cover; 
  height: 80vh; 
}

.grid-borders div{
  border-right: 1px solid #FFFFFF33; 
}
.grid-borders div:last-child{
  border:none;
}

.category-carousel .carousel-item{
  width: 300px; 
  margin-right: 25px; 
}


.tag{
  position: absolute;
  top: 15px;
  left: 15px;
  display:inline-block;
  padding: 5px; 
  background-color: var(--secondary);
  color:var(--white);
  font-size: 0.7rem; 
}

.bottomleft{
  position:absolute; 
  bottom: 15px;
  left: 15px; 
}

footer a:hover{
  color: var(--secondary); 
}
footer nav a{
  display: block; 
  margin-bottom: 5px;
}

.divider-link{
  padding-right: 5px;
  border-right: 1px solid var(--light); 
  margin-right: 5px; 
}
.divider-link:last-of-type{
  border-right:0;
  padding:0;
  margin:0;
}

.embed iframe{
  display:block;
  width:100%;
  aspect-ratio: 16/9;
  border: none; 
}