body,
button,
input,
select,
textarea {
  color: #000000;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 24px;
  line-height: 2.4rem;
  -webkit-font-smoothing: antialiased;
  font-weight: normal;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html {
  height: 100%;
  background-color: #262626;
  font-family: munda, sans-serif;
}

.wrapper {
  position: relative;
  height: auto;
  max-width: 1200px;
  padding-left: 15px;
  padding-right: 15px;
}

h1 {
  font-size: 20px;
  font-size: 2rem;
  line-height: 22px;
  line-height: 2.2rem;
  text-transform: lowercase;
  color: white;
}

h2 {
  position: absolute;
  top: 140px;
  margin-bottom: 40px;
  text-align: left;
  color: white;
  font-size: 20px;
  font-size: 2rem;
  line-height: 22px;
  line-height: 2.2rem;
  left: 15px;
  right: 0;
}

.yay {
  display: none;
}
.yay.active {
  display: block;
}

.btn-container {
  display: flex;
}

.show-btn, .sort-btn {
  height: 60px;
  width: 60px;
  text-align: center;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  display: block;
}

.sort-btn {
  margin-left: 10px;
}

.show-btn .circle, .sort-btn .circle {
  border-radius: 50%;
  text-align: center;
  line-height: 0;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: #CEDB00;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.show-btn .circle span, .sort-btn .circle span {
  margin: 0 auto;
  display: block;
  font-size: 0.8rem;
  line-height: 7px;
  line-height: 0.7rem;
  text-transform: uppercase;
  font-family: munda, sans-serif;
  font-weight: 700;
}
.sort-btn .circle span {
  font-size: 10px;
}

.show-btn:hover, .sort-btn:hover {
  transform: scale(1.2);
}
.show-btn:active, .show-btn:focus, .sort-btn:active, .sort-btn:focus {
  transform: scale(1);
}
.show-btn:active .circle, .show-btn:focus .circle, .sort-btn:active .circle, .sort-btn:focus .circle {
  background-color: #0099CC;
}

.touchevents .show-btn, .touchevents .sort-btn {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  transform: scale(1);
}
.touchevents .show-btn:active, .touchevents .sort-btn:active {
  transform: scale(1);
}
.touchevents .show-btn.showall, .touchevents .sort-btn.showall {
  transform: scale(1.2);
}

.anniversaries {
  position: absolute;
  left: 15px;
  right: 0;
  margin-top: 250px;
  text-align: left;
}
.anniversaries.got-birthdaytoday {
  margin-top: 340px;
}
.anniversaries.got-birthdaytoday ul li:first-child {
  display: block;
  opacity: 0.3;
}
.anniversaries.got-birthdaytoday ul li:nth-child(2) {
  display: block;
  opacity: 0.2;
}
.anniversaries.got-birthdaytoday ul li:nth-child(3) {
  display: block;
  opacity: 0.1;
}
.anniversaries.got-birthdaytoday ul li:nth-child(4) {
  display: block;
  opacity: 0;
}
.anniversaries.got-birthdaytoday ul li:nth-child(5) {
  display: block;
  opacity: 0;
}
.anniversaries.got-birthdaytoday ul li.show {
  opacity: 1;
}
.anniversaries ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.anniversaries ul li {
  display: none;
  margin-bottom: 40px;
  -webkit-transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  -ms-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}
.anniversaries ul li .name, .anniversaries ul li .date {
  letter-spacing: 0.01em;
  padding: 0;
  margin: 0;
  font-weight: normal;
  color: #ffffff;
}
.anniversaries ul li .date {
  text-transform: uppercase;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 24px;
  line-height: 2.4rem;
  color: #0099CC;
}
.anniversaries ul li:first-child {
  display: block;
}
.anniversaries ul li:first-child .name {
  font-size: 24px;
  font-size: 2.4rem;
  line-height: 28px;
  line-height: 2.8rem;
}
.anniversaries ul li:nth-child(2) {
  display: block;
  opacity: 0.9;
}
.anniversaries ul li:nth-child(3) {
  display: block;
  opacity: 0.7;
}
.anniversaries ul li:nth-child(4) {
  display: block;
  opacity: 0.5;
}
.anniversaries ul li:nth-child(5) {
  display: block;
  opacity: 0.3;
}
.anniversaries ul li.birthtoday {
  display: block;
  top: -140px;
  left: -15px;
  right: 0;
  opacity: 1 !important;
  background-color: #0099CC;
  position: absolute;
}
.anniversaries ul li.birthtoday .name, .anniversaries ul li.birthtoday .date {
  padding-left: 15px;
  padding-left: 15px;
}
.anniversaries ul li.birthtoday .name {
  padding-top: 20px;
}
.anniversaries ul li.birthtoday .date {
  color: black;
  margin-bottom: 20px;
}
.anniversaries ul li.show {
  opacity: 1;
  display: block;
}

/*******************************/
/********  MEDIA QUERIES  ******/
/*******************************/
/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {
  h2 {
    text-align: center;
    margin: 0 auto;
    left: 0;
  }

  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .anniversaries {
    text-align: center;
    margin-top: 168px;
  }
  .anniversaries ul li.birthtoday {
    top: -160px;
  }
}
/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {

  h2 {
    font-size: 26px;
    font-size: 2.6rem;
    line-height: 27px;
    line-height: 2.7rem;
  }

  .logo {
    margin-top: 60px;
    margin-left: 20px;
  }

  .anniversaries {
    margin-top: 209px;
  }
  .anniversaries ul li:first-child .name {
    font-size: 24px;
    font-size: 2.4rem;
    line-height: 28px;
    line-height: 2.8rem;
  }
  .anniversaries ul li.birthtoday {
    top: -160px;
  }
  .anniversaries ul li.birthtoday .name {
    font-size: 20px;
    font-size: 2rem;
    line-height: 22px;
    line-height: 2.2rem;
    padding-bottom: 10px;
    padding-top: 48px;
  }
  .anniversaries ul li.birthtoday .date {
    padding-bottom: 35px;
    font-size: 18px;
    font-size: 1.8rem;
    line-height: 20px;
    line-height: 2rem;
  }
  .anniversaries.got-birthdaytoday {
    margin-top: 450px;
  }
  .anniversaries.got-birthdaytoday ul li {
    top: -245px;
  }
}
/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {
  .wrapper {
    margin: 0 auto;
  }

  h2 {
    font-size: 36px;
    font-size: 3.6rem;
    line-height: 37px;
    line-height: 3.7rem;
    top: 150px;
  }

  .anniversaries {
    margin-top: 300px;
  }
  .anniversaries ul li:first-child .name {
    font-size: 38px;
    font-size: 3.8rem;
    line-height: 38px;
    line-height: 3.8rem;
  }
  .anniversaries ul li:first-child .date {
    font-size: 26px;
    font-size: 2.6rem;
    line-height: 28px;
    line-height: 2.8rem;
  }
  .anniversaries ul li .name {
    font-size: 20px;
    font-size: 2rem;
    line-height: 22px;
    line-height: 2.2rem;
  }
  .anniversaries.got-birthdaytoday {
    margin-top: 530px;
  }
  .anniversaries.got-birthdaytoday ul li {
    top: -250px;
  }
  .anniversaries.got-birthdaytoday ul li .name {
    font-size: 28px;
    font-size: 2.8rem;
    line-height: 30px;
    line-height: 3rem;
  }
  .anniversaries.got-birthdaytoday ul li .date {
    font-size: 22px;
    font-size: 2.2rem;
    line-height: 24px;
    line-height: 2.4rem;
  }
}
/* Max width of site */