@import url("/stylepost.css");
@import url("/stylesearch.css");
@import url("/styleuserpage.css");

body {
    margin: 0;
    min-height: 100vh;
    color: whitesmoke;
}
p{
    font-size: 20px;
    word-wrap: break-word;
}
textarea{
    font-family: Arial, Helvetica, sans-serif;
}
:root {
    --color: #051F20;
    --color2: #0B2B26;
    --color3: #163832;
    --color4: #235347;
    --color5: #8EB69B;
    --color6: #DAF1DE;
}

/* Neede for posts (pre excluded) */
p, a, span, h1, h2, h3, h4, h5, h6, hr, br, details, summary, ul, li {
    white-space: pre-wrap;
}

#root {
    min-height: 100vh;
}

textarea {
    resize: none;
}

/*Logged in as text*/
.logged-in {
    font-size: 150%;
    color: white;
}

.post {
    background-color: var(--color3);
    margin: 6px;
    border-radius: 25px;
    padding: 10px;
}

.appcontainer {
    position: absolute;
    top: 75px;
    height: 82vh;
    overflow: auto;
    width: 100%;

}

.feed {
    width: 97%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow-y: scroll;
}

.pfplinkmenu{ 
    display: none;
}
.hamburgerbtn, .searchbtn, .plusbtn, .homebtn {
    font-size: 150%;
    margin: 6px;
    border: 1px solid var(--color4);
    border-radius: 6px;
    padding: 6px;
    fill: var(--color4);
    background-color: var(--color4);

}

.header {
    height: 70px;
    background-color: var(--color4);
    width: 97%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    border-radius: 25px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: sticky;
    z-index: 100;
    top: 10px;
}
.headerpfp{
    border-radius: 25%;
    height: 80%;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-right: 30px;
}
.logolinkfeed {
    width: fit-content;
}

.fade-overlay {
  height: 100vh;
    position: sticky;
    top: 0;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  --fade-amount: 15%;
  background: linear-gradient(to bottom, #0B2B26, transparent 15%, transparent 80%, #0B2B26);
}

