body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
  background-color: #A4F484;
  font-family: 'Dosis', sans-serif;
  transition-property: background-color color;
  transition-duration: 0.4s;
}
.dark {
  background-color: #121212;
  color: #fff;
}
.title {
  font-family: 'Literata', serif;
  font-weight: bold;
}
.title--big {
  font-size: 3em;
}
.title--main {
  font-size: 2.25em;
}
.title--sub {
  font-size: 1.5em;
}

.topheader{
  background-color: #363636;
  color: white;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  margin-bottom: 40px;
}
.topheader__left {
  padding: 1em;
  display: flex;
  flex-direction: column;
}
.topheader__navlist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}
.topheader__navlist--el {
  margin: 0 20px;
}
.topheader__navlist--el a {
  color: #FFFFFF;
  text-decoration: none;
  display: block;
  padding: 0.5em;
  transition-property: background-color;
  transition-duration: 0.6s;
}
.topheader__navlist--el a:hover {
  background-color: #FF3333;
}
.active {
  background-color: rgb(90, 0, 90);
}
.modebutton{
  background-image: url(../images/sun.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-color: rgba(255, 255, 255, 0);
  border: none;
  color: white;
  height: 40px;
  width: 40px;
  margin: 0 10% 0 10%;
  padding: 0.5em;
  border-radius: 1em;
  font-size: 0;
  cursor: pointer;
}
.dark .modebutton{
  background-image: url(../images/moon.svg);
}

.main {
  display: grid;
  grid-template-columns: 1fr 1fr 3fr 3fr 1fr;
}
.main a {
  text-decoration: none;
  color: darkblue;
}
.main a:hover {
  color: #b60000;
}
.dark .main a {
  color: rgb(0, 200, 200);
}
.dark .main a:hover{
  color: rgb(199, 120, 199);
}
.text {
  grid-column: 3 / 5;
  margin: 1em;
}
.title {
  grid-column: 2 / 5;
}
.list {
  grid-column: 3 / 5;
}
.image {
  grid-column: 3 / 5;
  max-width: 95%;
  margin: auto;
}
.partner {
  grid-column: 2 / 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}
.text--desc {
  font-size: 0.8em;
}
/*UI-KIT Exclusive*/
.displaybox {
  background-color: #4D4D4D;
  border-radius: 1em;
  display: flex;
  justify-content: space-around;
  align-items: center;
  grid-column: 2 / 4;
  margin: 1em;
  padding: 1em;
}
.square {
  height: 48px;
  width: 48px;
}
.color1 {
  background-color: #A4F484;
}
.color2 {
  background-color: #FF3333;
}
.color3 {
  background-color: darkblue;
}
.color4 {
  background-color: rgb(0, 200, 200);
}
.color5 {
  background-color: rgb(199, 120, 199);
}

.footer{
    display: flex;
    flex-direction: column;
    left: 0;
    bottom: 0;
    width: 100%;
    margin-top: 2em;
    background-color: #4D4D4D;
    color: #000;
  }
  .footer__list{
    display: flex;
    flex-direction: column;
    padding: 0;
    list-style: none;
  }
  .footer__list--el{
    text-align: center;
  }
  .footer__list--el a {
    display: block;
    text-decoration: none;
    color: #FFFFFF;
    padding: 1em;
  }
  .footer__list--el:hover {
    background-color: #AA2222;
  }
  .footer__link{
    text-align: center;
    color: #FFFFFF;
    padding: 1em;
    display: block;
  }
  .footer__link:hover{
    background-color: #FF3333;
  }
  .logo{
    margin-top: 1em;
    text-indent: 100%;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
    background-image: url('../images/logo-DWM.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
  }

  @media (min-width: 769px){
    body {
      font-size: 20px;
    }
    .main {
      grid-template-columns: 1fr 1fr 2fr 3fr 1fr 1fr;
    }
    .text {
      grid-column: 3 / 5;
      margin: 1em;
    }
    .title {
      grid-column: 2 / 6;
    }
    .list {
      grid-column: 3 / 6;
    }
    .image {
      grid-column: 3 / 6;
      max-width: 90%;
      margin: auto;
    }
    .partner {
      grid-column: 3 / 6;
      flex-direction: row;
    }
        
    /*UI-KIT Exclusive*/
    .displaybox {
      background-color: #4D4D4D;
      border-radius: 1em;
      display: flex;
      justify-content: space-around;
      align-items: center;
      grid-column: 3 / 5;
    }
    .footer {
        flex-direction: row;
        justify-content: space-between;
      }
      .footer__list {
        flex-direction: row;
        margin: 0;
      }
      .footer__link {
        order: 2;
        justify-content: center;
        align-self: center;
        margin-right: 2em;
      }
      .logo {
        width: 16%;
        margin-left: 2em;
      }
  }
  @media (min-width: 1200px) {
    body {
      font-size: 24px;
    }
  }