:root {
    --rainbow_black: linear-gradient(to right, black, #3d6689, #323232, black);
    --link_one: rgb(120, 120, 120);
}
/* Responsive */
.responsive {
    width: 100%;
    height: auto;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 15% 60% 25%;
    position: relative;
}
header {
    width: 100%;
    height: auto;
    min-height: 100vh;
    border-right: 1px solid black;
    background: #3d65898f;
    position: relative;
}
header .ham_btn[aria-expanded="false"] {
    width: 32px;
    height: 32px;
    display: none;
    position: absolute;
    top: -30px;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    border: 1px solid white;
    border-radius: 50%;
    transition: all 700ms ease-in-out;
}
header .ham_btn[aria-expanded="true"] {
    width: 32px;
    height: 32px;
    display: none;
    position: absolute;
    top: -30px;
    left: 50%;
    right: 50%;
    transform: translateX(-50%) rotate(90deg);
    border: 1px solid white;
    border-radius: 50%;
    transition: all 700ms ease-in-out;
}
header .ham_btn[aria-expanded="true"].rotate_trans {
    width: 32px;
    height: 32px;
    display: none;
    position: absolute;
    top: -30px;
    left: 50%;
    right: 50%;
    transform: translateX(-50%) rotate(90deg);
    border: 1px solid white;
    border-radius: 50%;
    transition: all 700ms ease-in-out;
}
header .ham_btn[aria-expanded="true"] ~ .navbar {
    display: flex;
}
nav {
    width: 100%;
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* border: 2px solid red; */
    position: relative;
}
.navbar {
    width: 100%;
    height: 100%;
    margin-top: 8rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.nav_item {
    width: 100%;
}
.nav_btn{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    font-size: 1.25rem;
    cursor: pointer;
    color: rgb(156, 156, 156);
    font-family: 'Cosmic', sans-serif;
    letter-spacing: .15rem;
}
.nav_btn img {
    width: 30px;
    height: 30px;
    object-fit: cover;
}
.nav_btn span {
    color: rgb(156, 156, 156);
    font-size: 1rem;
    font-family: 'Cosmic', sans-serif;
    letter-spacing: .15rem;
    transition: all 400ms ease-in-out;
}
.nav_btn span:hover {
    color: white;
}
/* NightSky Logo */
.logo {
    width: 100%;
    margin: 0 auto;
    grid-column: 1 / all;
    width: 50px;
    height: 50px;
    fill: white;
}
/* Feed Container*/
.feed {
    border-right: 1px solid white;
    color: rgb(156, 156, 156);
}
/* Feed Header Styling */
.feed_header {
    width: 100%;
    padding: 1rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}
.feed_header img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin: 0 auto 1rem;
    grid-column: 1 / all;
}
.feed_header h1 {
    margin: 0 auto 2rem;
    letter-spacing: .3rem;
    grid-column: 1 / all;
}
/* Discover / Following Action Buttons */
.feed_header button {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .2rem;
    cursor: pointer;
    color: rgb(156, 156, 156);
    font-family: 'Cosmic', sans-serif;
    letter-spacing: .25rem;
    transition: all 400ms ease-in-out;
}
.feed_header button:hover {
    color: white;
    letter-spacing: .5rem;
}
/* Gradient Border */
.feed_header .bkg {
    width: 100%;
    height: 2px;
    background: var(--rainbow_black);
    grid-column: 1 / all;
    box-shadow: -1px 1.25px 6px rgba(0, 0, 0, 0.885);
}
/* Feed Content */
.feed_item {
    width: 100%;
    max-width: 720px;
    margin: 0 auto 2rem;
    padding: 1rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 4px;
    box-shadow: 
    2px 3px 3px rgba(255, 255, 255, 0.07),
    7px 12px 14px rgba(255, 255, 255, 0.13),
    16px 27px 31px rgba(255, 255, 255, 0.20);
    /* border: 1px solid green; */
    animation: swing-in-top-fwd linear;
    animation-timeline: view();
    /* animation-timeline: scroll(); */
    animation-range: 0% cover 20%;
}
/* Feed Item Keyframes */
@keyframes swing-in-top-fwd {
  0% {
    -webkit-transform: rotateX(-100deg);
            transform: rotateX(-100deg);
    -webkit-transform-origin: top;
            transform-origin: top;
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(0deg);
            transform: rotateX(0deg);
    -webkit-transform-origin: top;
            transform-origin: top;
    opacity: 1;
  }
}
.feed_profile_content {
    width: 100%;
    margin-bottom: 2rem;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 1fr 4fr;
    grid-column: 1 / all;
}
.feed_profile_img {
    width: 100%;
    height: auto;
    grid-template-columns: 1 / 1;
}
.feed_profile_img img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    transition: all 400ms ease-in-out;
}
.feed_profile_info {
    width: 100%;
    grid-column: 1 / all;
}
.feed_profile_info a {
    transition: all 400ms ease-in-out;
}
.feed_profile_info a:hover {
    text-decoration: underline;
    color: #3d6689;
}
.feed_post {
    width: 100%;
    grid-column: 1 / all;
}
.feed_text {

}
.feed_post_controls {
    display: flex;
    gap: 2rem;
    margin: .5rem auto;
}
.feed_post_controls button {
    cursor: pointer;
}
.feed_peek {
    display: none;
}
.peek_intro {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 128, 0, 0.503);
}
.peek_intro .peek_pic {
    width: 100%;
    height: auto;
}
.peek_intro .peek_pic .img_scaler {
    width: 100%;
    height: auto;
}
.peek_intro .peek_pic .img_scaler img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}
.peek_intro label {
    display: flex;
    align-items: center;
}
.peek_intro label .img_scaler {
    width: 50%;
    height: auto;
}
.peek_intro label .img_scaler img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 50%;
}
.peek_intro label button {
    width: 50%;
    min-width: 100px;
    border: 1px solid black;

}
/* Trends */
.trends {
    width: 100%;
    height: auto;
    max-height: 300px;
    margin: auto;
    padding: 0;
    background: #32323230;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 1rem;
}
.trends .feed_trend {
    margin: 1rem auto 0;
}
.feed_trend label {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .5rem;
}
.feed_trend input {
    background: transparent;
    border: none;
    color: white;
}
.feed_trend button {
    cursor: pointer;
}
.trend_search {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
}
.trend_search_result_list {
    padding: .5rem;
    display: flex;
    flex-direction: column;
    background: white;
    color: black;
    border-radius: 4px;
}
.feed_links {

}
.feed_trending {
    margin: 0 auto;
}
.trend_intro {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;
    /* border: 2px solid red; */
}
.trend_intro_header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    /* border: 1px solid green; */
}
.trend_feed {
    padding: 1rem;
    /* border: 1px solid pink; */
}
.trend_feed_item {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    /* border: 1px solid purple; */
}
.trend_feed_item h4 {
    text-align: center;
}
.trend_feed_item .img_scaler {
    width: 200px;
    height: 200px;
}
.trend_feed_item .img_scaler img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.trend_feed_item p {

}
.trend_feed_item a {
    margin: .5rem auto;
    display: block;
    color: #3d6689;
    transition: all 400ms ease-in-out
}
.trend_feed_item a:hover {
    color: #568ec0;
}
.trend_footer {
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
@media (max-width: 1136px) {
    .nav_btn{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    }
    .nav_item span {
        display: none;
    }
}
@media (max-width: 470px) {
    .responsive {
    width: 100%;
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    }
    header {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 200px;
    padding: 3rem 1rem 1rem;
    background: #3d65898f;
    position: fixed;
    z-index: 2;
    animation: hide_header forwards;
    animation-timeline: scroll();
    }
    @keyframes hide_header {
        0% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }
    header .ham_btn[aria-expanded="false"] {
    width: 32px;
    height: 32px;
    display: block;
    position: absolute;
    top: -30px;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    border: 1px solid white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 700ms ease-in-out;
    }
    header .ham_btn[aria-expanded="true"] {
        width: 32px;
        height: 32px;
        display: block;
        position: absolute;
        top: -30px;
        left: 50%;
        right: 50%;
        transform: translateX(-50%) rotate(90deg);
        border: 1px solid white;
        border-radius: 50%;
        cursor: pointer;
        transition: all 700ms ease-in-out;
    }
    header .ham_btn[aria-expanded="true"].rotate_trans {
        width: 32px;
        height: 32px;
        display: block;
        position: absolute;
        top: -30px;
        left: 50%;
        right: 50%;
        transform: translateX(-50%) rotate(90deg);
        border: 1px solid white;
        border-radius: 50%;
        cursor: pointer;
        transition: all 700ms ease-in-out;
    }
    header .ham_btn[aria-expanded="false"] ~ .navbar {
        display: none;
    }
    header .ham_btn[aria-expanded="true"] ~ .navbar {
        display: flex;
    }
    nav {
        width: 100%;
        height: auto;
        margin: 0;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
        /* border: 2px solid red; */
        position: relative;
    }
    .navbar {
        width: 100%;
        height: auto;
        max-height: 200px;
        margin: 0;
        padding: 1rem;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 2rem;
    }
    .nav_item {
        width: fit-content;
        display: block;
    }
    .nav_item button span {
        display: none;
    }
    .profile_link {
        font-size: .75rem;
    }
}