
:root {
  --primary: #2B3210;
  --secondary: #E5E2D9;
  --red: #660000;
  --white: #FFFFFF; 
  --black: #000000; 
}


/* 
Webfont: TANTangkiwood-Display 
Licensed from Creative Market, Order #145585706
*/
@font-face {
    font-family: 'TAN-Tangkiwood';
    src: 
         url('/scripts/tan-_tangkiwood-webfont.woff') format('woff'), /* Modern Browsers */
         url('/scripts/TAN- Tangkiwood.ttf') format('truetype'); /* Safari, Android, iOS */
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}




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

body{
  font-size: 1rem;
  line-height: 1.5;
  font-family: "Gilda Display", serif;
  font-weight: 400;
  font-style: normal;  
  color: var(--primary);
}

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

a{
  text-decoration: none;
  cursor:pointer;
  transition:.7s color, .7s background-color, .3s opacity;
  color:var(--primary);
}
a:focus{
  outline: none;
}
a:hover, .button:hover{
  transition:.3s color, .3s background-color, .3s opacity;
}

h2{
  font-family: "TAN-Tangkiwood"; 
  font-size: 3rem;
  font-weight:normal;
  line-height: 1.2;
}


h3{
  font-family: "TAN-Tangkiwood"; 
  color:var(--primary);
  font-size: 3rem;
  font-weight:normal;
  line-height: 1.2;
  margin-top: 40px;
  margin-bottom: 10px;
  text-transform: lowercase;
}


h4{
  font-family: "TAN-Tangkiwood"; 
  color:var(--primary);
  font-size: 2rem;
  font-weight:normal;
  line-height: 1.2;
  margin-top: 40px;
  margin-bottom: 10px;
  text-transform: lowercase;
}

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

p{
  margin-bottom: 15px;
}
p:last-child{
  margin-bottom:0;
}

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

.large{
  font-size: 1.2rem;
}
.small{
  font-size: 0.8rem;
}
.transparent{
  opacity:.4;
}

.light{
  font-weight:300;
}
.semi{
  font-weight: 600;
}

.clear{ clear: both; }

.container{
  margin: 0 auto;
  width: 96%;
  max-width: 1200px;
  position:relative;
}
.container.narrow{
  max-width: 850px;
}

.flex{
  display:flex;
}
.flex.wrap{
  flex-wrap:wrap;
}
.flex.end{
  align-items:flex-end;
}
.flex.vert{
  align-items:center;
}
.flex .full{
  width: 100%;
}
.flex .half{
  width: 47%;
  margin-right: 6%;
}
.flex .half:nth-child(2n+2){
  margin-right:0;
}

.flex .third{
  width: 32%;
  margin-right: 2%;
}
.flex .third:nth-child(3n+3){
  margin-right:0;
}

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

.flex.swap .half{
  margin-right:0;
  margin-left:6%;
}
.flex.swap .half:nth-child(2n+2){
  margin-left:0;
}




.grid-5{
  display: grid;
  grid-template-columns: repeat(5, 1fr); 
  gap: 20px; 
}

.grid-4{
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px; 
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-gap{
  gap: 50px !important;
}
.grid-vert{
  align-items: center; 
}

.span-1 {
  grid-column: span 1;
}
.span-2 {
  grid-column: span 2;
}
.span-3 {
  grid-column: span 3;
}
.span-4 {
  grid-column: span 4;
}
.span-5 {
  grid-column: span 5;
}


.margined{
  margin: 100px auto;
}
.margined-small{
  margin: 20px auto;
}

.topmargin{
  margin-top: 75px;
}
.bottommargin{
  margin-bottom: 75px;
}

.padded{
  padding: 50px;
}
.vpadded{
  padding-top: 25px;
  padding-bottom: 25px; 
}

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

.relative{
  position:relative;
}

.button{
  display: inline-block;
  border-radius: 4px;
  background-color: var(--primary);
  color:var(--white);
  padding: 15px 40px;
  font-size: 1.2rem;
  line-height: 1;
  font-weight:normal;
  transition: transform 0.25s ease;
}
.button:hover{
  background-color: var(--primary);
  color:var(--white);
  transform: translateY(-2px);
  transition:.3s transform; 
}



.inline{
  display:inline;
}

.inlineblock{
  display:inline-block;
}

.block{
  display:block;
}
.block-img{
  display: block;
  width: 100%;
}
.round{
  border-radius: 10px; 
}

.bgcover{
  background-size:cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.v50{ height: 50vh; }
.v80{ height: 80vh; }
.v100{ height: 100vh; }

.aspect-square{ aspect-ratio: 1/1; }
.aspect-video{ aspect-ratio: 16/9; }
.aspect-photo{ aspect-ratio: 4/3; }

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

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

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



header{
  padding: 20px 0;
  position:sticky;
  top:0;
  width: 100%;
  z-index: 50;
}
header h1 img{
  display:block;
  width: 250px; 
}
nav a{
  color:var(--secondary);
  margin-left: 25px; 
  font-size: 1.2rem;
}
nav a:hover{
  text-decoration: underline; 
}
nav a.current{
  text-decoration: underline; 
}

.text-shadow{
  text-shadow: 0 0 10px #000; 
} 

a.hover-underline:hover{
  text-decoration: underline;
}

.grid-item{
  border: 1px solid var(--primary);
  padding: 30px;
  background-color: var(--white);
  border-radius: 10px; 
}

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

.hero{
  height: 75vh; 
}