.small-caps {
  /*text-transform: uppercase;*/
  /*letter-spacing: 0.15rem;*/
  /*font-size: 0.7rem;*/
}

.nav-bar a {
  text-decoration: none;
}

ul, li {
  list-style: none;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.site-logo {
  /*font-size: 2rem;*/
  /*font-weight: bolder;*/
  /*text-transform: uppercase;*/
  /*letter-spacing: 0.8rem;*/
  margin: 0 1rem;
  width: 15%;
}

@media (min-width: 600px) {
  .site-logo {
    /*font-size: 2rem;*/
    /*font-weight: bolder;*/
    /*text-transform: uppercase;*/
    /*letter-spacing: 0.8rem;*/
    margin: 0 1rem;
    width: 8%;
  }
}

.nav-bar {
  /*position: fixed;*/
  top: 0;
  width: 100%;
  background-color: #dc4c4c;
  height: 120px;
}

.nav-bar .container {
  display: flex;
  align-items: center;
  height: 100%;
}

/* Hide checkbox that controls Mobile Nav Button */

#drop-down-cbox {
  display: none;
}

/* Mobile Nav Button */

#drop-down-cbox + label {
  position: relative;
  display: none;
  width: 60px;
  height: 60px;
  overflow: hidden;
  background-color: transparent !important;
  transition: all 300ms ease-in-out;
  /*z-index: 99;*/
}

/* Mobile Nav Button Bars */

#drop-down-cbox + label span {
  position: absolute;
  display: block;
  background-color: #666;
  width: 34px;
  height: 4px;
  border-radius: 2px;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 300ms ease-in-out;
}

/* Mobile Nav Button Bars Invididually */

#drop-down-cbox + label span:nth-child(1) {
  top: 35%;
}

#drop-down-cbox + label span:nth-child(2) {
  top: 50%;
}

#drop-down-cbox + label span:nth-child(3) {
  top: 65%;
}

/* Mobile Nav Button Styling for Checked */

#drop-down-cbox:checked + label {
  background-color: #666;
}

#drop-down-cbox:checked + label span {
  background-color: white;
}

/* Transform the bars into an 'X' */

#drop-down-cbox:checked + label span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

#drop-down-cbox:checked + label span:nth-child(2) {
  left: -150%;
}

#drop-down-cbox:checked + label span:nth-child(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Main Nav Desktop */

.main-nav {
  flex-grow: 0.1;
  display: flex;
  justify-content: space-around;
  align-items: center;
  /*z-index: 99;*/
}

.main-nav li {
  display: block;
  width: 100%;
  height: 50px;
  line-height: 60px;
  text-align: center;
  /*margin-left: 1rem;*/
  font-size: 16px;
  font-weight: bold;
  color: #000000;
  z-index: 99;
}

.main-nav li a, .main-nav li span {
  display: block;
  /*width: 100px;*/
  height: 100%;
  color: #000000;
  text-align: center;
}

.main-nav li span {
  /*width: 100px;*/
  /*text-align: center;*/
}

.main-nav li a:hover, .main-nav li span:hover {
  /*border-bottom: 3px solid #11b3f4;*/
  background-color: #11b3f4;
  color: #ffffff;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
  text-align: center;
  /*width: 100px;*/
}

.main-nav li > ul {
  max-height: 0px;
  transition: all 500ms ease-in-out;
  overflow: hidden;
}

.main-nav li:hover > ul {
  max-height: 280px;
  height: auto;
  /*width: 200px;*/
}

.main-nav li > ul li a, .main-nav li > ul li span {
  background-color: white;
  font-size: 12px;
  /*width: 100%;*/
  text-align: center;
}

.main-nav li > ul li a:hover, .main-nav li > ul li span:hover {
  background-color: #75cff3;
  color: white;
  border-bottom: none;
}

/* Tablet and Mobile View */

@media (max-width: 768px) {
  #drop-down-cbox + label {
    display: block;
  }
}

@media (max-width: 768px) {
  .main-nav {
    max-height: 0px;
    height: calc(100vh - 60px);
    overflow: hidden;
    position: absolute;
    top: 18%;
    line-height: auto;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: white;
    transition: all 500ms ease-in-out;
  }
}

@media (max-width: 768px) {
  #drop-down-cbox:checked ~ .main-nav {
    max-height: calc(100vh - 60px);
    transition: all 500ms ease-in-out;
  }
}

@media (max-width: 768px) {
  .main-nav li span {
    position: relative;
  }
}

/* design and position downward arrow */

@media (max-width: 768px) {
  .main-nav li span:after {
    content: "";
    width: 6px;
    height: 6px;
    position: absolute;
    top: 50%;
    margin-top: -2px;
    margin-left: 8px;
    transform: translateY(-50%) rotate(-45deg);
    border-left: 2px solid #666;
    border-bottom: 2px solid #666;
  }
}

@media (max-width: 768px) {
  .main-nav li a:hover, .main-nav li span:hover {
    background-color: #666;
    color: white;
    border-bottom: none;
    /*width: 100%;*/
  }
}

@media (max-width: 768px) {
  .main-nav li > ul li {
    position: relative;
    z-index: 99;
  }
}

@media (max-width: 768px) {
  .main-nav li > ul li a, .main-nav li > ul li span {
    background-color: #9a1b1b;
    /*margin: 10px;*/
    /*padding: 10px;*/
    /*width: 100%;*/
    /*z-index: 99 !important;*/
  }
}

