/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../resources/fonts/1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../resources/fonts/1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../resources/fonts/1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../resources/fonts/2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background-color: #ffffff;
  border-radius: 6px;
  border: 3px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #f1f1f1;
}

body {
  scrollbar-width: thin;
  scrollbar-color: #000000 #ffffff;
  background-color: #000;
  margin: 0px;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #fff;
  line-height: 1.5;
}

.main {
  max-width: 768px;
  margin-top: calc(60px);
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

.block-main-header-text {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  margin-bottom: 30px;
}

.main-header-text {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 4px;
}

.secondary-header-text {
  font-size: 14px;
  color: #77787A;
}

.post-data {
  background-color: #191919;
  border-radius: 10px;
  border: 1px solid #292929;
  margin-bottom: 10px;
}

.post-data p {
  padding: 0px 10px 0px 10px;
  color: #fff;
  font-size: 14px;
}

.post-data .title-post {
  padding: 0px 10px 0px 10px;
  font-size: 16px;
  font-weight: bold;
}

.post-data .date {
  padding: 0px 10px 0px 10px;
  color: #77787A;
  font-size: 11px;
}

.image-post {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.block-post-profile-user {
  width: auto;
  height: auto;
  display: flex;
  padding: 10px;
  align-items: center;
  gap: 12px;
}

.post-avatar-profile {
  width: 36px;
  height: 36px;
  border-radius: 100%;
  object-fit: cover;
}

.post-name-profile-user {
  color: #fff;
  font-size: 13px;
  font-weight: bold;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox.active-frame {
  display: flex;
}

.lightbox-content img, .lightbox-content video {
  max-width: 90vw;
  max-height: 80vh;
}

#closeBtn, #prevBtn, #nextBtn {
  position: absolute;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
}

#closeBtn {
  top: 10px; right: 10px;
}

#prevBtn {
  top: 50%; left: 10px;
  transform: translateY(-50%);
}

#nextBtn {
  top: 50%; right: 10px;
  transform: translateY(-50%);
}

.caption {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  color: white;
  font-size: 1rem;
  user-select: none;
}

* {
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
  .post-data p {
    font-size: 15px;
  }
}