header {
    background-color: #F1C4B0;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

header a {
    text-decoration: none;
}

.navcontainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.icon {
    display: flex;
    align-items: center;
}

.icon span {
    color: #C84530;
    font-weight: 700;
    font-size: 25px;
    transition: .5s ease-in;
}

.icon::before {
    content:url('../../assets/halfMoth.png');
    position:relative;
    z-index: 99;
    transition: transform .7s ease-in;
}

.icon span:hover{
    color: #6A634D;
}

.icon:hover:before {
    content:url('../../assets/halfMoth.png'); 
    position:relative;
    z-index: 99;
    transform: rotate(-10deg);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin-bottom: 0px;
}

nav li {
    /*padding-bottom: 1.5rem;*/
    padding-right: 2.5rem;
}

.navItem {
    color: #C84530;
    font-size: 15px;
    font-weight: 700;
    position: relative;
    display: block;
    text-decoration: none;
}

nav ul:last-child {
    padding-right: 0;
}

  
/* HOVER EFFECT */

.navItem:hover{
  color: #C84530
}

.navItem:before {
    content: "[";
    left: -5px;
  }
  
.navItem:after {
    content: "]";
    right: -5px;
  }
  
.navItem:before,
.navItem:after {
    position: absolute;
    opacity: 0;
    color: #C84530;
    top: -1px;
    transition: all .5s;
  }
  
.navItem:hover:before,
.navItem:hover:after {
    opacity: 0.7;
  }
  
.navItem:hover:before {
    left: -20px;
  }
  
.navItem:hover:after {
    right: -20px;
  }


#parallax {
  width: 100%;
  height: 500px;
  background-image:
    url(./assets/highres_palm.png), 
    url(./assets/isolatedHand.png),
    url(./assets/bg_palms.png);
  background-color: #8E876F;
  background-repeat: no-repeat;
  background-position: center;
  background-position: 50% 50%;
  filter: drop-shadow(0px 10px 4px #D1BEA1);
  z-index: 999;
}

/*#innerparallax {*/
/*  width: 50%;*/
/*  height: 500px;*/
/*  background-image: url(./assets/isolatedHand.png);*/
/*  background-repeat: no-repeat;*/
/*  background-position: center;*/
/*  background-position: 50% 50%;*/
/*  margin-left: auto;*/
/*  margin-right: auto;*/
/*  z-index:1*/
/*}*/

.sectionOne,  .sectionTwo {
  padding: 2.5em;
}

.sectionOne {
  background-color: #F2E7DD;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sectionOne .col {
  /*padding: 5em;*/
  display: flex;
  justify-content: center;
  font-size: 25px;
  font-weight: 700;
  color: #6A634D;
  flex: 0 0 45%;
  max-width: 45%;
}

.sectionOne:hover img {
  animation: rotation 2s infinite ease
}

@keyframes rotation {
  50% {
    transform: rotate(-10deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.sectionTwo {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: #E2B09A;
}

.midpagenav {
  flex: 0 0 25%;
  max-width: 25%;
  display: flex;
  flex-direction: column;
  padding: 2.5em;
  justify-content: center;
  text-align: center;
}

.midpagenav img {
   height: auto;
   width: 100%;
}

.desktopLink {
    color: #C84530;
    font-size: 25px;
    font-weight: 700;
    position: relative;
    display: block;
    text-decoration: none;
}

  .desktopLink:hover {
    color: #C84530;
  }
  
  .desktopLink:before {
    content: "[";
    left: -5px;
  }
  
  .desktopLink:after {
    content: "]";
    right: -5px;
  }

  .desktopLink:before,
  .desktopLink:after {
    position: absolute;
    opacity: 0;
    color: #C84530;
    top: -1px;
    transition: all .5s;
  }
  
  .desktopLink:hover:before,
  .desktopLink:hover:after {
    opacity: 0.7;
  }
  
  .desktopLink:hover:before {
    left: -20px;
  }
  
  .desktopLink:hover:after {
    right: -20px;
 }
 
.pre-footer {
  padding: 1.5em;
  background-color: #C84530;
}

.footer {
  padding: 5em;
  background-image: url(./assets/tile1.png);
  background-repeat: repeat-x;
  background-position: center;
  background-size: contain;
  background-color: #8E876F;
}

@media (max-width: 980px) {
  .sectionOne {
    flex-direction: column;
    justify-content: center;
    padding: 5em 0;
  }
  
  .sectionOne .col {
    max-width: 100%;
    padding: 1em;
    text-align: center;
  }
  
  .sectionTwo {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  
  .midpagenav {
    max-width: 100%;
    padding: 0;
  }
  
  .desktopLink {
    display: none;
  }
}
