@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@1,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');

:root {
    --main-bg-color: #1d1d1d;
    --main-txt-color: aliceblue;
    --border-color: goldenrod;
    --main-txt-size: 4vw;
    --bg-color: rgb(19, 19, 19);
    --slogan-fz: 10vw;
    --h1-fz: 7vw;
    --right-first-block-height: 14vh;
}

* {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    /* background-color: #fff; */
    color: var(--main-txt-color);
    font-family: sans-serif;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    background-color: transparent;
}

body {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#feed-body {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: calc(7vh + 20px);
}

#more-post-btn-wrapper {
    background-color: transparent;
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}


.button {
    width: auto;
    height: 15px;
    border-radius: 100px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 14px;
    font-family: 'Inter';
    color: aliceblue;
    background-color: goldenrod;
    border: none;
    transition: all .25s ease-out;
    box-shadow: 0px 5px 25px rgba(218, 165, 32,.55),inset 0 5px 10px transparent;
    display: inline-flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    visibility: hidden;
}

.button:hover {
    box-shadow: none;
    transform: scale(0.975);
}

.post {
    margin-bottom: 20px;
    width: 45%;
    height: auto;
    background-color: #202020;
    box-shadow: 0px 10px 20px 0px rgb(0, 0, 0);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: .4s;
}

header {
    margin-bottom: 20px;
}

.media-content {
    margin-top: 20px;
    width: 90%;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    /* border-top-left-radius: 5px;
    border-top-right-radius: 5px; */
    border-radius: 5px;
}

.header-content {
    margin-top: 10px;
    width: 90%;
    height: auto;
    padding-top: 5px;
    padding-bottom: 5px;
    /* background-color: blue; */
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.post-prop {
    margin-bottom: 10px;
    margin-top: 5px;
    width: 90%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: transparent;
}

.header-content h1 {
    padding-bottom: 5px;
    width: auto;
    height: auto;
    font-family: 'Exo 2';
    font-size: 18px;
    background-color: transparent;
    font-weight: bold;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.text-content {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(218, 165, 32, .35);
    width: 90%;
    height: auto;
    /* background-color: rgb(108, 23, 108); */
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: .4s;
}

.bottom-content {
    width: 90%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    background-color: transparent;
}

.bottom-content span {
    font-family: 'Exo 2';
    background-color: transparent;
    user-select: none;
}

.post-time {
    font-size: 12px;
    text-align: right;
    color: goldenrod;
    background-color: transparent;
    font-family: 'Exo 2';
    user-select: none;
}

.read-full {
    cursor: pointer;
    font-size: 14px;
    color: goldenrod;
}

.visible {
    visibility: visible;
}

.hidden {
    visibility: hidden;
}

.read-full:hover {
    opacity: .75;
}

.text-content span {
    background-color: transparent;
    text-align: left;
    width: auto;
    height: auto;
    font-family: 'Exo 2';
    line-height: 20px;
    overflow: hidden;
    transition: .4s;
    display: -webkit-box;
    margin-bottom: 10px;
}

.photo {
    object-fit: contain;
    overflow: hidden;
}

.short-text {
    /* display: -webkit-box; */
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.full-text {
    /* display: unset; */
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
}

.intext-link {
    color: goldenrod;
}

.post-btn-wtap {
    width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
}

.to-post-img {
    width: 15px;
    background-color: transparent;
    cursor: pointer;
}

.connect-error {
    text-align: center;
    font-family: 'Exo 2';
    user-select: none;
    margin-top: 43vh;
    color: goldenrod;
}

#arrow-up {
    width: 5vh;
    height: 5vh;
    position: fixed;
    background-color: #202020;
    box-shadow: 0px 5px 10px 0px rgb(0, 0, 0);
    right: calc((100% - 45%)/4 - 2.5vh);
    top: 80vh;
    border-radius: 2.5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    visibility: hidden;
}

#arrow-up img {
    width: 80%;
    background-color: transparent;
}

#arrow-up:hover {
    transform: scale(.975);
    box-shadow: none;
}

/* увеличение  картинки*/
/* .minimized {
    cursor: pointer;
  } */
  
  #magnify {
    display: none;
    position: fixed;
    max-width: 600px;
    height: auto;
    z-index: 9999;
    background-color: transparent;
  }
  
  #magnify img {
    margin-left: 1%;
    width: 98%;
    border: 1px solid rgba(218, 165, 32, .35);
  }

  #overlay {
    display: none;
    background-color: #000;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0.875;
    z-index: 9990;
  }

  #close-popup {
    width: 30px;
    height: 30px;
    background: #000;
    border: 1px solid goldenrod;
    border-radius: 15px;
    cursor: pointer;
    position: fixed;
    right: 0;
    display: none;

  }
  
  #close-popup i {
    width: 30px;
    height: 30px;
    background: url(https://endeavourclub.ru/images/close.svg) no-repeat center center;
    background-size: 30px 30px;
    display: block;
  }
  
  #close-popup:hover {
    transform: scale(.975);
  }
