/* Variables */

:root {
  --primary-color: #040504;
  --secondary-color: #EABD8A;

  --primary-font: 'Sofia Sans', sans-serif;
  --secondary-font: 'Sofia Sans Extra Condensed', sans-serif;
}

/* General */

* {
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: auto;
}

*::after,
*::before {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  position: relative;
  -webkit-overflow-scrolling: touch;
  height: 100%;
  font-size: 100%;
  background: white;
  font-family: sans-serif;
  margin: 0;
  color: var(--primary-color);
}

.clearfix:after {
  display: table;
  clear: both;
  content: "";
}

a {
  color: blue;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a:visited {
  color: blue;
}

a:hover,
a:focus {
  text-decoration: underline;
  color: purple;
}

input {
  appearance: none;
}

.element-invisible {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  width: 1px;
  height: 1px;
}

.clear {
  zoom: 1;
}

.clear::before,
.clear::after {
  display: table;
  content: "";
}

.clear::after {
  clear: both;
}

/* Helper */

.sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}

.sr-only:focus,
.sr-only:active {
  clip: auto !important;
  -webkit-clip-path: none !important;
  clip-path: none !important;
  height: auto !important;
  margin: auto !important;
  overflow: visible !important;
  width: auto !important;
  white-space: normal !important;
}

.hide {
  display: none;
}

.show {
  display: initial;
}

.invisible {
  visibility: hidden;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.clear {
  display: block;
  clear: both;
}

a.skipcontent {
  padding: 6px 8px;
  position: absolute;
  top: -40px;
  left: 20px;
  color: white;
  border-right: 1px solid white;
  border-bottom: 1px solid white;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  background: transparent;
  -webkit-transition: top 1s ease-out, background 1s linear;
  transition: top 1s ease-out, background 1s linear;
  z-index: 500;
}

a.skipcontent:visited {
  color: white;
}

a.skipcontent:focus,
a.skipcontent:hover {
    position: absolute;
    left: 20px;
    top: 0px;
    background: #bf1722;  
    color: white;
    outline: 0;
    -webkit-transition: top .1s ease-in, background .5s linear;
    transition: top .1s ease-in, background .5s linear;
}

/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: uppercase;
  font-family: var(--secondary-font);
  font-weight: 400;
  font-style: normal;
  margin-bottom: 15px;
}

h1 {
  font-size: 30px;
  line-height: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@media all and (min-width: 1025px) {
  h1 {
    font-size: 48px;
    line-height: 48px;
  }
}

h2 {
  font-size: 40px;
  line-height: 42px;
  letter-spacing: 1px;
}

@media all and (min-width: 1400px) {
  h2 {
    font-size: 48px;
    line-height: 58px;
    margin-bottom: 0;

  }
}

p,
ul,
ol {
  font-size: 20px;
  line-height: 30px;
  font-family: var(--primary-font);
  font-weight: 400;
  font-style: normal;
  margin-top: 0;
}

p.secondary {
  color: var(--secondary-color);
  font-family: var(--primary-font);
  font-weight: 500;
}

.hours {
  line-height: 36px;
  display: block;
  font-size: 30px;
  margin-top: 15px;
}

@media all and (min-width: 1025px) {
  .hours {
    line-height: 40px;
    display: block;
    font-size: 32px;
    margin-top: 0;
  }
}

a,
a:visited {
  color: var(--secondary-color);
  text-decoration: none;
}

a:hover,
a:focus {
  color: white;
  text-decoration: underline;
}

blockquote {
  text-align: center;
  font-size: 30px;
  line-height: 30px;
  letter-spacing: 2px;
  font-family: var(--secondary-font);
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  max-width: 800px;
  margin: auto;
}

@media all and (min-width: 1025px) {
  blockquote {
    font-size: 48px;
    line-height: 48px;
  }
}

img {
  max-width: 100%;
}

.btn {
  position: relative;
  display: inline-block;
  font-size: 30px;
  line-height: 43px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 15px 30px;
  margin-bottom: 10px;
  font-family: var(--secondary-font);
  font-weight: 400;
  font-style: normal;
}

.btn:hover,
.btn:focus {
  text-decoration: none;
}

@media all and (min-width: 768px) {
  .btn {
    max-width: 360px;
    margin-bottom: 0;
  }

  .btn + .btn {
    margin-left: 10px;
  }
}

.btn.btn-header {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--primary-color);
  margin: 10px auto;
  font-weight: 600;
  letter-spacing: 1px;
  max-width: 180px;
  padding: 10px;
  line-height: 40px;
  transition: all .3s ease-in-out;
}

.btn.btn-header:hover,
.btn.btn-header:focus {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.btn.btn-online {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--primary-color);
  margin: 10px auto;
  font-weight: 600;
  letter-spacing: 1px;
  max-width: 270px;
  padding: 10px;
  font-size: 22px;
  line-height: 40px;
  transition: all .3s ease-in-out;
}

.btn.btn-online:hover,
.btn.btn-online:focus {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.btn.btn-primary {
  background: var(--primary-color);
  color: #fff;
  height: 70px;
  transition: all .3s ease-in-out;
}

.btn.btn-primary::before,
.btn.btn-primary::after {
  content: '';
  position: absolute;
  top: 10px;
  width: 10px;
  height: 50px;
  background-image: url(../images/button-flair.svg);
  background-repeat: no-repeat;
  background-size: cover;
}

.btn.btn-primary::before {
  left: 10px;
}

.btn.btn-primary::after {
  right: 10px;
  transform: rotate(180deg);
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.btn.btn-hollow {
  background: transparent;
  color: #040504;
  height: 70px;
  transition: all .3s ease-in-out;
  border: 1px solid #040504;
}

.btn.btn-hollow::before,
.btn.btn-hollow::after {
  content: '';
  position: absolute;
  top: 10px;
  width: 10px;
  height: 50px;
  background-image: url(../images/button-flair-dark.svg);
  background-repeat: no-repeat;
  background-size: cover;
}

.btn.btn-hollow::before {
  left: 10px;
}

.btn.btn-hollow::after {
  right: 10px;
  transform: rotate(180deg);
}

.btn.btn-hollow:hover,
.btn.btn-hollow:focus {
  background: var(--primary-color);
  color: white;
}

.btn.btn-hollow:hover::before,
.btn.btn-hollow:hover::after,
.btn.btn-hollow:focus::before,
.btn.btn-hollow:focus::after {
  background-image: url(../images/button-flair.svg);
}

.button-container {
  margin-top: 20px;
}

.container {
  width: 100%;
  max-width: 1230px;
  margin: auto;
}

/* Columns */

.columns {
  display: block;
  width: 100%;
}

@media all and (min-width: 900px) {
  .columns {
    display: flex;
    justify-content: space-around;
  }
}

.columns .col-half,
.columns .col-thirds {
  width: 100%;
}

@media all and (min-width: 900px) {
  .columns .col-half {
    margin: 0 20px;
    width: 50%;
  }

  .columns .col-thirds {
    margin: 0 20px;
    width: calc(100% / 3);
  }
}

/* header */

header .header-content {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  height: 200px;
}

@media all and (min-width: 900px) {
  header .header-content {
    height: 700px;
  }
}

header .header-links {
  /* position: absolute;
  top: 0;
  left: 0; */
  width: 100%;
  display: flex;
  justify-content: space-between;
  background: #040504;
  background: url(/assets/images/IMG-WoodBkgd-horiz.jpg);
  background-position: center;
  padding: 10px 15px;
  /* z-index: 1; */
}

@media all and (min-width: 900px) {
  header .header-links {
    padding: 50px 60px;
    background-position: top center;
  }
}

header .header-links a {
  font-family: var(--secondary-font);
  text-transform: uppercase;
  color: white;
  font-size: 20px;
  font-weight: 400;
}

@media all and (min-width: 900px) {
  header .header-links a {
    font-size: 30px;
  }
}

header .branding {
  width: 180px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;

}

@media all and (min-width: 900px) {
  header .branding {
    top: 0;
    width: 320px;
  }
}


header .header-col {
  position: relative;
  width: 50%;
  height: 100%;
  background-color: var(--primary-color);
}

@media all and (min-width: 900px) {
  header .header-col:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, rgba(0,0,0,1), transparent);
    content: '';
  }
}

header .header-col.jefferson {
  background: url(/assets/images/IMG-Cookies-Header.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
}

header .header-col.wabash {
  background: url(/assets/images/IMG-Coffee-Header.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
}

header .header-col.sherman {
  background: url(/assets/images/IMG-Pastery-Header.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
}

.location-info-desktop {
  display: none;
}

@media all and (min-width: 900px) {
  .location-info-desktop {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 45px;
    text-align: center;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1;
  }
}

.location-info-desktop h2 {
  color: white;
  text-transform: none;
}

.location-info-desktop p {
  color: white;
  font-size: 28px;
  line-height: 34px;
  letter-spacing: 1px;
  font-family: var(--secondary-font);
  margin-bottom: 15px;
}

.location-info-desktop .phone {
  font-weight: 600;
}

.location-info-desktop a {
  color: white;
}

.location-info-desktop p span.location-name {
  font-size: 34px;
}

.location-info-mobile {
  display: block;
  background: var(--primary-color);
  padding: 20px 10px;
  text-align: center;
}

@media all and (min-width: 900px) {
  .location-info-mobile {
    display: none;
  }
}

.location-info-mobile h2 {
  color: white;
  text-transform: none;
}

.location-info-mobile p {
  color: white;
  font-size: 30px;
  line-height: 36px;
  font-family: var(--secondary-font);
  margin-bottom: 0;
}

.location-info-mobile a {
  color: white;
}

.location-info-mobile .phone {
  font-weight: 600;
}

.location-info-mobile .hours {
  margin-top: 0;
}

@media all and (min-width: 900px) {
  .online-disclaimer {
    font-size: 20px;
    line-height: 20px;
  }
}

.location-name {
  font-size: 34px;
  font-weight: 600;
}

.disclaimer-container {
  background: #3C3832;
  padding: 20px;
}

.disclaimer-container p {
  font-family: var(--primary-font);
  font-size: 18px;
  line-height: 18px;
  text-align: center;
  color: #fff;
  margin: 0;
}

/* Introduction */

.tagline {
  padding: 80px 40px;
  background: url(/assets/images/COFFEE-STAIN-edited.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
}

@media all and (min-width: 1400px) {
  .tagline {
    padding: 130px 40px;
  }
}

.tagline h1 {
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.tagline h2 .btn {
  display: inline-block;
  padding-left: 25px;
  padding-right: 25px;
  font-size: 24px;
  line-height: 43px;
}

@media all and (min-width: 768px) {
  .tagline h2 .btn {
    padding-left: 40px;
    padding-right: 40px;
    max-width: 500px;
    font-size: 30px;
    line-height: 43px;
  }
}

/* Location Info */

.location {
  background-color: var(--primary-color);
  background: url(/assets/images/IMG-WoodBkgd-vert.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  padding: 60px 40px;
  text-align: center;
  color: #fff;
}

.location h2 {
  margin-top: 0;
}

.location p.secondary {
  margin-bottom: 0;
}

.location p span.location-name {
  font-size: 22px;
}

@media all and (min-width: 1025px) {
  .location {
    background: url(/assets/images/IMG-WoodBkgd-horiz.jpg);
    background-position: bottom center;
    margin: 60px 0;
  }

  .location .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .location .content {
    width: 100%;
    text-align: center;
  }
}

@media all and (min-width: 1400px) {
  .location {
    margin: 140px 0;
  }
}

.location .feature-image {
  margin-bottom: 30px;
}

@media all and (min-width: 1025px) {
  .location .feature-image {
    width: 650px;
    margin-right: 60px;
    margin-bottom: 0;
  }
}

/* Gift Card */

.gift-card {
  background-color: var(--primary-color);
  background: url(/assets/images/LightWoodTexture.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  padding: 60px 40px 65px;
  text-align: center;
  color: #040504;
}

@media all and (min-width: 1025px) {
  .gift-card {
    margin-bottom: 60px;
  }
}

@media all and (min-width: 1400px) {
  .gift-card {
    margin-bottom: 140px;
  }
}

.gift-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

/* Features*/

@media all and (min-width: 1025px) {
  .features {
    display: flex;
    align-items: center;
    padding: 0 0 60px 0;
  }

  .features.menu{
    padding-top: 0;
  }

  .features.about-us{
    padding-bottom: 0;
  }

  .features.desk-right .feature-image {
    order: 2;
  }
}

@media all and (min-width: 1400px) {
  .features {
    padding: 0 0 140px 0;
  }
}

.features .content {
  padding: 75px 40px;
}

@media all and (min-width: 1025px) {
  .features .content {
    flex: 1.5 ;
    padding: 0 70px;
  }
}

@media all and (min-width: 1400px) {
  .features .content {
    padding: 0 140px 0 120px;
  }

  .features.desk-right .content {
    padding: 0 120px 0 140px;

  }
}

.features h2 {
  margin-top: 0;
  display: inline-block;
  position: relative;
}

@media all and (min-width: 1025px) {
  .features h2::after {
    position: absolute;
    right: -145px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #cccccc;
    width: 120px;
    height: 1px;
    content: '';
  }
}

.features .feature-image {
  position: relative;
}

@media all and (min-width: 1025px) {
  .features .feature-image {
    flex: 1;
  }
}

.features .feature-image::after {
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 25px;
  background-color: var(--primary-color);
  background: url(/assets/images/Wood-Texture-horiz.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  content: '';
}

@media all and (min-width: 1025px) {
  .features .feature-image::after {
    top: 50%;
    right: -30px;
    left: auto;
    width: 30px;
    height: 75%;
    background: url(/assets/images/Wood-Texture-Vert.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    transform: translateY(-50%);

  }

  .features.desk-right .feature-image::after {
    right: auto;
    left: -30px;
    background: url(/assets/images/Wood-Texture-Vert.jpg);
    background-repeat: no-repeat;
    background-size: cover;
  }
}

.features .feature-image img {
  display: block;
  width: 100%;
}

@media all and (min-width: 1025px) {
  .features .feature-image img {
    min-width: 400px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 0 25px rgba(0, 0, 0, .2);
  }
}

@media all and (min-width: 1400px) {
  .features .feature-image img {
    min-width: 620px;
  }
}

/* footer */

footer {
  background-color: var(--primary-color);
  background: url(/assets/images/IMG-WoodBkgd-vert.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  color: #fff;
  padding: 60px 60px;
  text-align: center;
} 

@media all and (min-width: 1025px) {
  footer {
    padding: 80px 40px;
    background: url(/assets/images/IMG-WoodBkgd-horiz.jpg);
    background-position: top -70px center;
  }
}

footer h2 {
  margin-top: 0;
  line-height: 40px;
}

@media all and (min-width: 1025px) {
  footer h2 {
    letter-spacing: 2.5px;
    margin-bottom: 15px;
  }
}

footer p {
  line-height: 20px;
}

footer p,
footer a,
footer a:visited {
  color: var(--secondary-color);
  font-size: 16px;
}

footer a {
  font-size: 34px;
  width: 82px;
  height: 82px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background: url(/assets/images/ink-circle.svg);
  background-repeat: no-repeat;
  background-size: cover;
  margin-left: 15px;
  margin-right: 15px;
  transition: .3s ease-in-out;
}

footer a:hover,
footer a:focus {
  text-decoration: none;
  color: #fff;
}

footer a.facebook {
  font-size: 29px;
}

footer a.instagram {
  transform: rotate(135deg);
}

footer .fab.fa-instagram {
  transform: rotate(-135deg);
}

footer ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

footer ul li {
  margin-left: 5px;
  margin-right: 5px;
}

/* Modal */

.modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s;
  z-index: 1071;
}

.modal-open .modal-overlay,
.modal-overlay.show-overlay {
  opacity: 1;
  visibility: visible;
  transform: scale(1.0);
  transition: visibility 0s linear 0s, opacity 0.25s 0s;
}

.modal {
  display: none;
  background-color: #ffffff;
  width: 98vw;
  height: auto;
  max-height: calc(90vh - 40px);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  overflow: visible;
  z-index: 1072;
  border-radius: 0;
  padding: 30px 0 30px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

@media only screen and (min-width: 640px) {
  .modal {
    width: 96vw;
    min-height: auto;
    height: auto;
    max-height: 90vh;
    overflow-y: visible;
  }
}

@media only screen and (min-width: 1024px) {
  .modal {
    width: 60vw;
    max-width: 900px;
    min-height: auto;
    height: auto;
    max-height: 90vh;
    overflow: visible;
  }
}

.modal-content,
.modal__modal-content,
.modal__content {
  padding: 40px 20px;
  height: 100%;
  overflow-y: auto;
  max-height: inherit;
  text-align: center;
}

.modal-content .btn.btn-online {
  padding: 10px 40px;
  margin: 5px;
}

.modal h2:first-of-type {
  margin-top: 0;
  margin-bottom: 20px;
}

.modal h2,
.modal h3,
.modal p {
  color: #040504;
}

.modal p {
  font-size: 18px;
  line-height: 24px;
}

.modal a {
  font-weight: 700;
  color: #040504;
}

.modal .button {
  font-family: var(--secondary-font);
  font-size: 30px;
}

.modal a:hover,
.modal a:focus {
  color: #040504;
}

.modal.open,
.modal.show-modal {
  display: block;
  opacity: 1;
  visibility: visible;
  transition: visibility 0s linear 0s, opacity 0.25s 0s;
}

.modal .close-modal,
.modal__close-modal {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  background-image: url(/assets/images/xmark-solid.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
