body{
    margin: 0; 
    padding: 0;
    font-family: 'Signika Negative', sans-serif;
    font-size: 18px;
    line-height: 150%;
    width: 100%;
    background-color: #000;
    color: white;
    transition-duration: 0.6s;
    transition-property: background-color, color;
  }
  .dark{
    background-color: #F7F7F7;
    color: black;
  }
  .title{
    font-family: 'Sansita Swashed', cursive;
  }

  .title--big{
    font-size: 2.5em;
    margin: 0;
  }
  .title--main{
    font-size: 2em;
  }
  .title--article{
    font-size: 1.5em;
  }
  .text {
    width: 85%;
    margin: 0 auto;
    text-align: left;
  }
  .smaller {
    align-self: center;
    margin-top: 0.5em;
  }

  .topheader{
    background-color: #4D4D4D;
    color: white;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    margin-bottom: 40px;
  }
  .topheader__left {
    padding: 1em;
    display: flex;
    flex-direction: column;
  }
  .topheader__navlist {
    list-style: none;
    padding: 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: #AA2222;
  }
  .informations {
    width: 90%;
    margin: 0 auto;
    padding: 1em 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    border-radius: 20px;
    text-align: center;
  }
  .contacts {
    width: 90%;
    margin: 0 auto;
    padding: 1em 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: #828282;
    color: #000;
    border-radius: 1em;
    text-align: center;
  }
  .dark .contacts{
    background-color: #4D4D4D;
    color: #fff;
  }
  .active{
    border-bottom: solid 5px #fff;
  }


  .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;
  }


  .article{
    width: 90%;
    display: block;
    margin: 1em auto;
    padding: 0.5em;
  }
  .article__link {
    color: #FF3333;
    text-align: center;
  }
  .article__link:hover {
    color: #22AAAA;
  }
  .article__link:active {
    color: #FFFFFF;
  }
  .dark .article__link {
    color: #AA2222;
  }
  .dark .article__link:hover {
    color: #2F6666;
  }
  .dark .article__link:active {
color: #000;
  }
  .avatar{
    height: 150px;
    width: 150px;
    margin: 1em auto;
    border-radius: 50%;
    box-shadow: 0 4px 6px #828282,
                0 -4px 6px #828282,
                -4px 0 6px #828282,
                4px 0 6px #828282;
    transition-property: box-shadow;
    transition-duration: 0.6s;
  }
  .dark .avatar {
    box-shadow: 0 4px 6px #4D4D4D, 0 -4px 6px #4D4D4D, -4px 0 6px #4D4D4D, 4px 0 6px #4D4D4D;
  }


  .social{
    display: flex;
    justify-content: space-around;
    list-style: none;
    width: 80%;
    margin: 1em auto;
    padding: 0;

    align-items: center;
  }
  .social__el{
    height: 50px;
  }
  .social__el a{
    height: 50px;
    width: 50px;
    border-radius: 6px;
    overflow: hidden;
    display: inline-block;
    text-indent: 100%;
    white-space: nowrap;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition-property: background-color;
    transition-duration: 0.6s;
  }
  .social__el a:hover {
    background-color: #aa22228F;
  }
  .social__el--fb{
    background-image: url(../images/iconmonstr-facebook-4.svg);
  }
  .social__el--mail{
    background-image: url(../images/iconmonstr-email-10.svg);
  }
  .social__el--insta{
    background-image: url(../images/iconmonstr-instagram-14.svg);
  }

  .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: 48px;
    width: 48px;
    margin: 1em;
    padding: 0.5em;
    border-radius: 20px;
    font-size: 0;
    cursor: pointer;
  }
  .dark .modebutton{
    background-image: url(../images/moon.svg);
  }

  .uikit{
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 0 auto;
  }

  .rectanglecontainer {
    display: flex;
    justify-content: space-between;
    width: 50%;
    margin: 2em auto;
    background-color: #AFAFAF;
    padding: 1.5em;
    border-radius: 1em;
  }
  .imagecontainer {
    display: flex;
    justify-content: space-between;
    width: 70%;
    margin: 2em auto;
    background-color: #4D4D4D;
    padding: 1.5em;
    border-radius: 1em;
  }
  .imagecontainer img {
    height: 48px;
    width: 48px;
  }
  .rectangle1{
    height: 50px;
    width: 50px;
    background-color: #000;
  }
  .rectangle2{
    height: 50px;
    width: 50px;
    background-color: #4D4D4D;
  }
  .rectangle3{
    height: 50px;
    width: 50px;
    background-color: #828282;
  }
  .rectangle4{
    height: 50px;
    width: 50px;
    background-color: #FFFFFF;
  }
  .rectangle5{
    height: 50px;
    width: 50px;
    background-color: #FF3333;
  }
  .rectangle6{
    height: 50px;
    width: 50px;
    background-color: #AA2222;
  }

  .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;
  }


  @media (max-width: 435px){
    .topheader__left{
        display: none;
    }
  }
  @media (min-width: 436px){
    body {
      font-size: 20px;
    }
    .text {
      width: 70%;
    }
    .topheader__left .title--big{
      text-align: center;
    }
  }
  @media (min-width: 769px){
    .main__body {
      display: flex;
      justify-content: space-between;
    }
    .text {
      width: 50%;
    }
    .article {
      width: 50%;
    }
    .contacts {
      width: 60%;
    }
    .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;
    }


  }