* {
  box-sizing: border-box;
}
body,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
hr {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
a {
  color: #7dc4f0;
  text-decoration: none;
  transition: 0.2s;
}
a:visited {
  color: #7dc4f0;
}
a:hover {
  color: #ffd42d;
}
body {
  font-family: "Arial", sans-serif;
  font-size: 20px;
  line-height: 1.2;
  background: #fff;
  color: #1c3039;
}
.page {
  margin: 0;
}
#page {
  margin: 0;
}
.container {
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.overlay-global {
  width: 100%;
  height: 100vh;
  z-index: 4;
  position: fixed;
  top: 0;
  left: 0;
  background: transparent;
  visibility: hidden;
  transition: 0.2s;
}
.overlay-global.active {
  visibility: visible;
  background: rgba(0, 0, 0, 0.7);
}
#masthead {
  background: transparent;
  padding: 20px;
  position: fixed;
  top: 0;
  width: 100%;
  transition: 0.2s;
  z-index: 999;
}
#masthead .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#masthead.active {
  background: #1c3039ab;
}
#masthead.active .custom-logo {
  height: 30px;
}
.custom-logo {
  height: 35px;
  width: auto;
  transition: 0.2s;
}
.main-menu {
  display: flex;
  align-items: center;
  margin-right: 20px;
  margin-left: auto;
}
.main-menu li {
  position: relative;
}
.main-menu li:not(:last-child) {
  margin-right: 20px;
}
.main-menu li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
}
.main-menu a {
  color: #fff;
}
.main-menu a:hover {
  color: #7dc4f0;
}
.sub-menu {
  position: absolute;
  top: 120%;
  padding: 0;
  margin: 0;
  background: #1c3039;
  border-radius: 10px;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  width: 200px;
}
.sub-menu li:not(:last-child) {
  margin: 0;
}
.header-check-btn {
  background: #ffd42d;
  font-style: italic;
  border: 2px solid #ffd42d;
  color: #1c3039;
  font-size: 16px;
  border-radius: 5px;
  transition: 0.2s;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 120px;
  outline: none;
}
.header-check-btn:hover {
  background: transparent;
  cursor: pointer;
  color: #fff;
}
.mob-menu-btn {
  display: none;
}
.site-footer {
  padding: 40px 0;
  background: #1c3039;
}
.site-footer .container {
  display: flex;
  align-items: start;
}
.footer-title {
  font-size: 20px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  width: 100%;
}
.footer-menu li {
  margin-bottom: 5px;
}
.footer-menu li a {
  color: #79868c;
  transition: 0.2s;
}
.footer-menu li a:hover {
  color: #fff;
}
.footer-menu-nav {
  width: 15%;
  padding-right: 10px;
}
.footer-menu-main {
  width: 15%;
  padding: 0 10px;
}
.footer-menu-main .lang-item {
  display: none;
}
.footer-menu-main .sub-menu {
  display: none;
}
.footer-last-twitter {
  width: 35%;
  padding: 0 10px;
}
.last-twitter__desc {
  color: #79868c;
}
.last-twitter__logo {
  display: flex;
  align-items: center;
}
.last-twitter__logo img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}
.last-twitter__text {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  color: #79868c;
}
.last-twitter__time {
  font-size: 12px;
}
.last-twitter__by {
  font-size: 14px;
}
.last-twitter__by a {
  color: #fff;
  font-weight: 600;
}
.footer-site-info {
  width: 35%;
  padding-left: 10px;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
}
.footer-social__link {
  width: 40px;
  height: 40px;
  display: flex;
  border-radius: 7px;
  overflow: hidden;
}
.footer-social__link:not(:last-child) {
  margin-right: 10px;
}
.footer-social__link img {
  width: 100%;
  height: 100%;
}
.footer-logo {
  margin-top: 20px;
  height: 16px;
  width: auto;
}
.footer-copyright__text {
  color: #79868c;
}
@media (max-width: 1200px) {
  .container {
    width: 720px;
  }
  #masthead.active .custom-logo {
    height: 20px;
  }
  .custom-logo {
    height: 20px;
  }
  .main-menu {
    margin-right: 8px;
  }
  .main-menu li:not(:last-child) {
    margin-right: 7px;
  }
  .header-check-btn {
    height: 32px;
    width: 110px;
  }
  .site-footer .container {
    flex-wrap: wrap;
  }
  .footer-menu-nav {
    width: 33.33%;
    padding-right: 0;
  }
  .footer-menu-main {
    width: 33.33%;
  }
  .footer-last-twitter {
    width: 33.33%;
    padding: 0;
  }
  .footer-site-info {
    width: 100%;
    padding: 0;
    margin-top: 15px;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 18px;
  }
  .container {
    width: 365px;
  }
  #masthead {
    padding: 15px 0;
  }
  #masthead.active .custom-logo {
    height: 15px;
  }
  .mob-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    padding: 0;
    width: 40px;
    height: 40px;
  }
  .mob-menu-btn img {
    width: 100%;
    height: 100%;
  }
  .mob-menu-container {
    position: fixed;
    width: 100%;
    bottom: -270px;
    left: 0;
    z-index: 99;
    background: #1c3039d1;
    padding: 15px 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transition: 0.2s;
  }
  .mob-menu-container.active {
    bottom: 0;
  }
  .main-menu {
    flex-direction: column;
    margin-right: 0;
  }
  .main-menu li {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
  }
  .main-menu li:not(:last-child) {
    margin-right: 0;
  }
  .main-menu li a {
    font-size: 18px;
  }
  .main-menu li:hover .sub-menu {
    max-height: 500px;
    margin-top: 10px;
  }
  .main-menu li:hover .sub-menu li {
    margin-bottom: 10px;
  }
  .sub-menu {
    position: relative;
    visibility: visible;
    opacity: 1;
    border-radius: unset;
    padding: unset;
    max-height: 0;
    background: unset;
    width: unset;
  }
  .header-check-btn {
    width: 100%;
  }
  .footer-menu-nav {
    width: 50%;
    padding-right: 10px;
  }
  .footer-menu-main {
    width: 50%;
    padding-left: 10px;
  }
  .footer-last-twitter {
    width: 100%;
    margin-top: 15px;
  }
}
@media (max-width: 375px) {
  .container {
    width: 90%;
  }
}