/* Header */

* {
  margin: 0;
  padding: 0;
  color: #FFF;
  font-family: 'Arial', sans-serif;
}
body {
  background-color: #333;
  overflow-x: hidden;
  height: 100%;
}
main {
  /* height: calc(100vh - 150px);
  padding-bottom: 40px; */
}

img {
  vertical-align: top;
  width: 100%;
  height: auto;
  margin: 0;
  border: none;
}

ul {
  list-style: none;
}

.badge-covers a {
  text-decoration: none;
  font-family: 'Arial', 'Helvetica', sans-serif;
  transition: all .3s;
  background-color: rgba(255,255,255,0);
  padding: 8px 12px;
  border-radius: 2px;
}

.badge-covers a:hover, .badge-covers a:focus {
  background-color: rgba(255,255,255,.2);
}

h1, h2 {
  font-family: 'bebas_neuebold';
}

h1 span {
  font-weight: bold;
}

h1 {
  font-size: 1.75em;
  padding-top: 80px;
}

h2 {
  font-size: 3em;
  line-height: .9;
  padding: 0 0 20px;
  position: relative;
  margin: 0 0 20px;
}

h2:after {
  content:'';
  border-bottom: 1px solid white;
  position: absolute;
  width:100px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.header {
  background-color: #f17b2d;
  height: auto;
  width: 100%;
  text-align: center;
  line-height: 70px;
  z-index: 4;
  position: relative;
}

.dm-logo {
  position: absolute;
  top: 15px;
  left: 0;
}

.dm-logo svg {
  height: 80px;
  width: auto;
}

.visuallyhidden {
  display: none;
}

.logo-idea {
  position: absolute;
  top:0;
  right: 20px;
  z-index: 2;
}

.contact {
  width: 80px;
  line-height: 80px;
  background-color: #d96e28;
  width: 100%;
}

.contact p {
  margin-left: 0;
  text-align: center;
  line-height: 1.4;
  padding: 20px 0 0;
}

.btn-group {
  width: auto;
  font-size: 75%;
}

.btn-group p {
  display: inline;
}

.btn-group a {
  margin-left: 5px;
  text-decoration: none;
  transition: all 1s;
}

.btn-group a.on,
.btn-group a:hover{
  opacity: .5;
}

.btn-group span {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: center;
  padding-right: 5px;
  top: -2px;
  position: relative;
}

ul {
  position: absolute;
}

.badge-covers {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.badge-covers li {
  position: relative;
  width: 100%;
  cursor: pointer;
}

.badge-covers li.new::before {
  content: 'NEW';
  font-family: 'bebas_neuebold';
  background-color: #f17b2d;
  position: absolute;
  display:block;
  left: 0;
  bottom: 20px;
  font-size: 1.15em;
  padding: 6px 30px;
}

.badge-list li.new::before {
  content: 'NEW';
  font-family: 'bebas_neuebold';
  background-color: #f17b2d;
  position: relative;
  display:block;
  font-size: 1.15em;
  padding: 6px 0;
  width: 70px;
  margin: 0 auto 20px auto;
}

.overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.8);
  top: 0;
  left: 0;
  position: absolute;
  z-index: 2;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all .6s ease-in-out;
  opacity: 0;
  display: flex;
}

.overlay-content {
  padding: 20px;
  transform: scale(.2);
  transition: all 1s ease-in-out;
}

h2:after {
  transition: all 1.2s ease-in-out;
}

.show {
  display: flex;
  transform: scale(1);
}

.badge-covers li:hover .overlay {
  opacity: 1;
}

.badge-covers li:hover .overlay-content {
  opacity: 1;
  transform: scale(1);
}

.badge-list {
  width: 100%;
  background-color: #333;
  padding: 20px 0;
  position: relative;
  display: none;
}

.show {
  display: block;
}

.badge-list li {
  width: calc(100% - 70px);
  margin: 0 20px;
  text-align: center;
  padding: 25px 15px;
  border-bottom: 1px solid white;
  position: relative;
}


.badge-list a {
  text-decoration: none;
  font-family: 'bebas_neuebold';
  font-size: 1.5em;
}

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

footer {
  background-color: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  font-size: 75%;
  width: 100%;
  position: relative;
}

.badge-covers li:nth-child(2) {
  animatin-delay: 2s;
}

.btn-group span img {
  vertical-align: middle;
}


.is-open{
  display: block;
}


@media only screen and (min-width: 768px) {

  h1 {
    padding: 0;
  }

  .contact {
    position: relative;
    padding: 20px 0;
    height: auto;
    line-height: auto;
  }

  .contact p {
    text-align: left;
    margin-left: 20px;
    padding: 0;
  }

  .btn-group {
    position: absolute;
    top: -8px;
    right: 20px;
  }

  .badge-covers li {
    width: 50%;
  }

  .badge-covers li:nth-child(1)
  /* .badge-covers li:nth-child(2) */
  /* .badge-covers li:nth-child(3),
  .badge-covers li:nth-child(4) */
 {
    position: relative;
    width: 100%;
  }

  .badge-covers li:nth-child(1) h2
  /* .badge-covers li:nth-child(2) h2, */
  /* .badge-covers li:nth-child(3) h2,
  .badge-covers li:nth-child(4) h2 */
{
   font-size: 5em;
  }

  .badge-covers li:nth-child(1) a
  /* .badge-covers li:nth-child(2) a, */
  /* .badge-covers li:nth-child(3) a,
  .badge-covers li:nth-child(4) a { */
  { font-size: 1em;
  }

  .badge-list {
    min-height: calc(100vh - 240px);
  }

  .badge-list li {
    width: calc(50% - 70px);
    float: left;
    padding: 35px 15px;
  }


  .badge-list li.new::before {
    content: 'NEW';
    font-family: 'bebas_neuebold';
    background-color: #f17b2d;
    position: absolute;
    top:0;
    left: 50%;
    transform: translateX(-50%);
    display:block;
    font-size: .75em;
    padding: 6px 0;
    width: 70px;
    margin: 0 auto 20px auto;
  }


}

@media only screen and (min-width: 1024px) {


  .badge-covers li {
    width: 33.3%;
  }

  .badge-covers li:nth-child(1),
  .badge-covers li:nth-child(2)
  /* .badge-covers li:nth-child(3),
  .badge-covers li:nth-child(4)  { */
    {position: relative;
    width: 50%;
  }
}
