/* satisfy-regular - latin */
@font-face {
    font-family: 'Satisfy';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/satisfy-v11-latin-regular.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('./fonts/satisfy-v11-latin-regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('./fonts/satisfy-v11-latin-regular.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('./fonts/satisfy-v11-latin-regular.woff') format('woff'),
        /* Modern Browsers */
        url('./fonts/satisfy-v11-latin-regular.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('./fonts/satisfy-v11-latin-regular.svg#Satisfy') format('svg');
    /* Legacy iOS */
}

/* lato-regular - latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/lato-v22-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('./fonts/lato-v22-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('./fonts/lato-v22-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('./fonts/lato-v22-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('./fonts/lato-v22-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('./fonts/lato-v22-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
  }
  /* lato-700 - latin */
  @font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('./fonts/lato-v22-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('./fonts/lato-v22-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('./fonts/lato-v22-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
         url('./fonts/lato-v22-latin-700.woff') format('woff'), /* Modern Browsers */
         url('./fonts/lato-v22-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
         url('./fonts/lato-v22-latin-700.svg#Lato') format('svg'); /* Legacy iOS */
}

/* Globales */

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    height: 100vh;
    background-color: #FAFAFA;
    font-family: 'Lato';
    font-size: 0.9rem;
}

/* Generelles */

.d-none {
    display: none !important;
}


/* Header / Navigation */

header {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid lightgray;
    background-color: #FFFFFF;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    width: 960px;
}

.page-headline {
    font-family: 'Satisfy';
    font-size: 1.5rem;
    cursor: pointer;
    text-decoration: none;
    color: black;
}

.search-input {
    width: 300px;
    height: 30px;
    padding: 1rem;
    border-radius: 5px;
    border: none;
    background-color: #EFEFEF;
    font-size: 1rem;
}

.profilepicture {
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
}

.navigation-icon-container > img {
    height: 28px;
    margin-left: 1rem;
    cursor: pointer;
    object-fit: cover;
}

/* Main Page */

.mainpage-container {
   display: flex; 
   justify-content: center;
}

/* Story Container */

.story-container {
    height: 100px;
    border: 1px solid lightgray;
    background-color: #FFFFFF;
    margin-top: 83px;
    padding-left: 2rem;
    padding-right: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.story-container > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.story-container > div > img {
    height: 56px;
    border-radius: 50%;
    border: 2px solid red;
    margin-bottom: 0.3rem;
}


/* Side Container */

.side-container {
    width: 300px;
    background-color: #FAFAFA;
    margin-left: 1rem;
    margin-top: 83px;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.9rem;
}

.change-acc-section {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.acc-container {
    display: flex;
    align-items: center;
}

.acc-picture > img{
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 1rem;
}

.acc-name {
    font-weight: 700;
    cursor: pointer;
}

.acc-name:hover {
    text-decoration: underline;
}

.profile-name {
    color: gray;
}

.change-acc > a{
    text-decoration: none;
    color: #36ABF7;
    font-weight: 700;
    font-size: 0.8rem;
}

.proposal-section > div {
    display: flex;
    justify-content: space-between;
}

.proposal-subheadline > h2 {
    font-size: 0.9rem;
    color: gray;
}

.proposal-subheadline > a {
    font-size: 0.8rem;
    text-decoration: none;
    color: black;
    font-weight: 700;
}

.proposal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 0.8rem;
}

.prop-acc-container {
    display: flex;
}

.proposal-picture > img {
    width: 32px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 1rem;
}

.prop-link > a {
    text-decoration: none;
    color: #36ABF7;
    font-weight: 700;
    font-size: 0.8rem;
}

/* Dynamische Post Section */

.post-container {
    border: 1px solid lightgray;
    background-color: #FFFFFF;
    margin-bottom: 1rem;
    margin-top: 1rem;
    max-width: 615px;
}

.post-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.profile {
    display: flex;
    align-items: center;
}

.profile > img {
   height: 32px;
   border-radius: 50%;
   border: 1px solid red;
   object-fit: cover;
   margin-right: 1rem;
}

.profile > div {
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
}

.location {
    font-weight: 400;
    color: gray;
    font-size: 0.8rem;
}

.setting-container > img {
    width: 24px;
    object-fit: cover;
    cursor: pointer;
}

.post-image-container > img {
    object-fit: cover;
    width: 100%;
}

.interact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.interact-container > div > img {
    object-fit: cover;
    width: 28px;
    cursor: pointer;
}

.interact-container > div > img:hover {
    filter: invert(54%) sepia(0%) saturate(0%) hue-rotate(229deg) brightness(93%) contrast(83%);
    color: gr;
}

.chat-bubble {
    margin: 0rem 1rem;
}

.likes-container {
    font-weight: 700;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 1rem;
    padding-bottom: 0rem 1rem;
}

.description-container {
    align-items: center;
    padding: 0.5rem 1rem 1rem 1rem;
}

.author {
    font-weight: 700;
    margin-right: 0.5rem;
}

.comment-container {
    padding: 0rem 1rem;
}

.comment-container >  div {
    display: flex;
    align-items: center;
    padding-bottom: 0.5rem;
}

.comment-author {
    font-weight: 700;
    margin-right: 0.5rem;
}

.write-comment-container {
    display: flex;
    padding: 1rem;
    border-top: 1px solid lightgray;
}

.comment-inputfield {
    border: none;
    width: 100%;
    font-family: 'Lato';
    font-size: 1rem;
    height: 1.5rem;
    outline: none;
}

.post-button {
    border: none;
    background-color: white;
    font-family: 'Lato';
    font-size: 0.9rem;
    font-weight: 700;
    color: #36ABF7;
    margin-left: 1rem;
    cursor: pointer;
}

/* Responsive Design */

@media(max-width:800px) {
    .side-container {
        display: none;
    }
}

@media(max-width:700px) {
    .navigation-icon-container {
        display: none;
    }

    .header-content {
        justify-content: space-around;
    }
}

@media(max-width:535px) {
    .story-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media(max-width:480px) {
    .story-container > div > p {
        display: none;
    }

    .search-input {
        width: 250px;
    }
}

@media(max-width:430px) {
    .search-input {
        width: 200px;
    }
}

@media(max-width:400px) {
    .story-container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        justify-content: space-around;
    }
}

@media(max-width:385px) {
    .story-pic6 {
        display: none;
    }
}

@media(max-width:375px) {
    .search-input {
        width: 150px;
    }
}

@media(max-width:350px) {
    .story-pic5 {
        display: none;
    }

    .header-content {
        flex-direction: column;
    }

    .search-input {
        width: 250px;
        margin-top: 1rem;
    }

    .story-container {
        margin-top: 131px;
    }
}

