* {
    box-sizing: border-box;
  }
  
  html, body { height: 100%; }

  body {
    margin: 0px;
    font-family: 'segoe ui';
    background-color: rgba(222, 228, 228, 0.449);
  }

  .imgbox {
    display: flex;
    align-items: last baseline;
    padding: 8px;
 }

 .imgbox > .socialmedia {
  margin-left: auto;
  padding: 10px;
}

 .mobtitle{
    display: none;
 }
  
  .nav {
    height: 60px;
    width: 100%;
    background-color: #000000;
    position: relative;
  }
  
  .nav > .nav-header {
    display: inline;
  }
  
  .nav > .nav-header > .nav-title {
    display: inline-block;
    font-size: 16px;
    color: #fff;
    padding: 13px 10px 13px 25px;
  }
  
  .nav > .nav-btn {
    display: none;
  }
  
  .nav > .nav-links {
    display: inline;
    float: right;
    font-size: 16px;
    padding-right: 10px;
  }
  
  .nav > .nav-links > a {
    display: inline-block;
    padding: 17px 10px 13px 10px;
    text-decoration: none;
    color: #efefef;
  }
  
  .nav > .nav-links > a:hover {
    background-color: #000000;
  }
  
  .nav > #nav-check {
    display: none;
  }
  
/* Container for flexboxes */
.footer {
  display: flex;
  flex-wrap: wrap;
  background-color: #000;
  color: #fff;
  font-family: Arial;
  font-size: 15px;
}
h5 {
  font-family: Arial;
  font-size: 15px;
  font-weight: normal;
}

/* Create four columns */
.footerlogo {
  flex: 22%;
  padding: 30px 10px;
}
.footerpbh {
  flex: 28%;
  padding: 20px;
}
.footercontacts {
  flex: 28%;
  padding: 20px;
}
.footerservices {
  flex: 22%;
  padding: 20px;
}

.footerlist {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0;
}

.footerlist a {
  text-decoration: none;
  color: #fff;
}

/* Container for flexboxes */
.last {
  display: flex;
  flex-wrap: wrap;
  background-color: #2b2929;
  color: #fff;
  font-family: Arial;
  font-size: 13px;
  font-style: none;
}

/* Create two equal columns */
.lastlegal {
  flex: 50%;
  padding: 10px 20px;
}
.lastfollow {
  flex: 50%;
  padding: 10px 20px;
}

  @media (max-width:730px) {
    .desktitle{
      display: none;
    }
    .mobtitle{
      display: block;
    }
    .nav > .nav-btn {
      display: inline-block;
      position: absolute;
      right: 10px;
      top: 0px;
    }
    .nav > .nav-btn > label {
      display: inline-block;
      width: 50px;
      height: 50px;
      padding: 18px;
    }
    .nav > .nav-btn > label:hover,.nav  #nav-check:checked ~ .nav-btn > label {
      background-color: #000000;
    }
    .nav > .nav-btn > label > span {
      display: block;
      width: 25px;
      height: 10px;
      border-top: 2px solid #eee;
    }
    .nav > .nav-links {
      position: absolute;
      display: block;
      width: 100%;
      background-color: #000000;
      height: 0px;
      transition: all 0.3s ease-in;
      overflow-y: hidden;
      top: 50px;
      left: 0px;
    }
    .nav > .nav-links > a {
      display: block;
      width: 100%;
      padding-left: 18px;
    }
    .nav > #nav-check:not(:checked) ~ .nav-links {
      height: 0px;
    }
    .nav > #nav-check:checked ~ .nav-links {
      height: calc(100vh - 50px);
      overflow-y: auto;
    }
  }

  /* On screens that are 992px wide or less, go from four columns to two columns */
@media screen and (max-width: 992px) {
  .footerlogo, .footerpbh, .footercontacts, .footerservices {
    flex: 40%;
  }
}

/* On screens that are 600px wide or less, make the columns stack on top of each other instead of next to each other */
@media screen and (max-width: 300px) {
  .footer {
    flex-direction: column;
  }
}