* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body,
address,
blockquote,
div,
form,
fieldset,
caption,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
ul,
li,
ol,
ul,
table,
tr,
td,
th,
p,
img {
  margin: 0;
  padding: 0;
}

img,
fieldset {
  border: none;
}

html,
body {
  font-family: "Roboto", sans-serif;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  max-width: 1920px;
  margin: 0 auto;
  text-size-adjust: none;
  font-size: 1.894rem;
}

::-moz-selection {
  /* Code for Firefox */
  color: white;
  background: black;
}

::selection {
  color: white;
  background: black;
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none !important;
  color: inherit;
}

#container {
  padding-left: 192px;
  padding-right: 192px;
  display: flex;
  flex-direction: column;
}

header .sub-header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 64px 0 64px 0;
}

header .sub-header .logo {
  padding-left: 0;
  align-items: center;
  font-size: 1.894rem;
}

header .sub-header .logo img {
  height: 64px;
}

.sub-header nav ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  font-size: 1.894rem;
  line-height: 1.894rem;
  align-items: center;
}

.sub-header nav ul li {
  list-style: none;
  font-size: 1.894rem;
}

.sub-header nav ul li a {
  display: flex;
  font-size: 1.406rem;
  font-weight: 400;
  line-height: 1.406rem;
  text-box: trim-both cap alphabetic;
  align-items: center;
  justify-content: center;
  color: black;
}

.sub-header nav ul li a:hover {
  cursor: pointer;
  opacity: 0.5;
}

.sub-header nav ul li a:active {
  opacity: 0.25;
}

.sub-header nav ul li img {
  height: 64px;
}

.blog {
  font-size: 1.894rem;
  display: flex;
  flex-direction: column;
  padding-left: 192px;
  padding-right: 192px;
}

.blog h1 {
  font-size: 2.841rem;
  line-height: 2.841rem;
  font-weight: 700;
  margin-top: 64px;
  margin-bottom: 64px;
  width: 50%;
}

.blog a {
  font-size: 1.894rem;
  line-height: 2.841rem;
  text-box: trim-both ex alphabetic;
  margin-bottom: 64px;
  width: 50%;
}

.blog a:hover {
  opacity: 0.75;
}

.blog:focus {
  opacity: 0.5;
}

.footer-block {
  font-size: 1.894rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  gap: 32px;
  padding: 64px 192px 64px 192px;
}

.footer-block div ul {
  font-size: 1.894rem;
  line-height: 1.894rem;
  text-box: trim-both ex alphabetic;
  list-style: none;
}

.footer-column1 {
  width: 25%;
}

footer h2 {
  font-size: 1.894rem;
  font-weight: 900;
  line-height: 1.894rem;
  text-box: trim-both ex alphabetic;
  margin-bottom: 32px;
}

footer p {
  margin-top: 32px;
  font-size: 1.894rem;
  font-weight: 400;
  line-height: 1.894rem;
  text-box: trim-both ex alphabetic;
}

footer div ul li a:hover {
  opacity: 0.5;
  cursor: pointer;
}

footer div ul li a:active {
  opacity: 0.25;
}

.footer-bottom {
  font-size: 1.894rem;
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  padding: 64px 192px 64px 192px;
  background-color: rgba(0, 0, 0, 1);
  color: white;
}

.footer-bottom span {
  font-size: 0.947rem;
  line-height: 0.947rem;
  text-box: trim-both ex alphabetic;
}

.footer-bottom span a:hover {
  opacity: 0.5;
  cursor: pointer;
}

.footer-bottom span a:active {
  opacity: 0.25;
}


@media (max-width: 64em) {
  #container {
    padding-left: 16px;
    padding-right: 16px;
  }

  header .sub-header {
    padding: 32px 16px 32px 16px;
  }

  .sub-header nav {
    margin-top: 32px;
  }

  .sub-header nav ul  {
    gap: 16px;
  }

  .blog {
    padding-left: 32px;
    padding-right: 32px;
  }

  .blog h1 {
    width: 100%;
  }

  .blog a {
    width: 100%;
  }

  .footer-block {
    padding: 32px 32px 32px 32px;
  }

  .footer-column1 {
    width: 100%;
  }

  .footer-bottom {
    padding: 32px 32px 32px 32px;
    gap: 32px;
  }
}


