body {
    font-family:  "Open Sans";
    margin: auto;
    font-size: 14px;
    background-color: #0D1117;
    color: #dcdcdf;
    position: relative;
}

.body {
  display: flex;
  flex-direction: column;
  min-height: 99vh;
}

h1, h2, h3, h4 {
    padding: 0;
    margin: 0;
    font-weight: lighter;
}

.post h2, 
.post {
    color: #0D1117;
}

h1 {
    font-size: 25px;
    line-height: 30px;
    text-align: center;
    margin: 20px auto;
}

h2 {
    font-size: 22px;
    line-height: 25px;
}

h3 {
    font-size: 18px;
    line-height: 22px;
}

h4 {
    font-size: 15px;
    line-height: 18px;
    font-style: italic;
}

.homepage h1 {
    font-size: 35px !important;
    line-height: 40px !important;
    padding-bottom: 15px;
    color: #dcdcdf;
}

a {
    text-decoration: none;
    color: #31486b;
}

/* Definition of small fonted text, example: footer */
.smoll {
    font-size: 12px !important;
    line-height: 14px;
}

/* Topbar header section */
.topbar {
    position: sticky;
    margin: 0;
    top: 0;
    width: 100%;
    box-shadow:0 .125rem .25rem rgba(255,255,255,0.075) !important;
}

.topbar-header {
    width: 150px;
}

/* Topbar menu section */
nav {
  width: 70%;
  background-color: #0D1117 !important;
  list-style: none;
  display: flex;
  margin: 0 auto;
  padding: 0;
}

nav a,
nav .menu,
.menu a {
  padding: 15px 10px;
  font-size: 15px;
  align-content: center;
  color: #dcdcdf;
}


/* Topbar - Social */
.social {
    justify-content: center;
    margin: 0.5em 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.social-icon a {
    padding: 8px;
    box-sizing: border-box;
    display:inline-block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 19px;
    transition: color 0.3s;
}

.social-icon img {
    width: 15px !important;
    height: 15px !important;
    border-radius: 50%;
}

/* Posts */
main {
    width: 70%;
    margin: 30px auto 0 auto;
    flex: 1;
}

/* Homepage settings */
.post-home img {
    border-radius: 5px 5px 0 0;
}

.post-home .post-blerp {
    border-radius: 0 0 5px 5px;
}

.post-feed .post-with-image {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; 
    gap: 0;   
}

.post-feed .post-with-image img {
    border-radius: 5px 0 0 5px;
    height: 100%;
    object-fit: cover;
}

.post-feed .post-with-image .post-cover {
    width: 35% !important;
    display: flex;
}

.post-feed .post-with-image .post-blerp {
    border-radius: 0 5px 5px 0;
    width: 65% !important;
    display: flex;
    flex-direction: column;
}

.post-feed  .post-without-image .post-blerp, 
.post-event  .post-without-image .post-blerp {
    border-radius: 5px;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    opacity: 1;
    transition: all 1s;
}

/* Post */
.post-blerp {
    padding: 1em;
    background-color: #becadd;
    box-sizing: border-box;
    line-height: 100%;
    color:#0D1117;
}

.date {
    color: #0D1117;
    font-style: italic;
}

iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

/* Post - Top section */
.post{
    width: 80%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.post-page img{
    border-radius: 5px;
}

.post .post-text-wrapper{
    border-radius: 5px;
    background-color: #becadd;
    margin-top: 10px;
}

.post .post-text{
    width: 80%;
    margin: 0 auto;
    padding: 40px 0;
}

/* Post - Tags */
.tags {
    text-align: right;
    margin-bottom: 0em;
}

.tags a {
    color: #6c6f72 !important;
    border-radius: 5px;
    padding: 0.25em;
}

.tags a:hover {
    color: #9fa5aa !important;
}

/* Section info */
section {
    margin-bottom: 20px;
}

/* Events */
.event{
    display: flex; 
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.event-wrapper {
    text-align: center;
    margin: 0 auto;
    min-height: calc(100vh - 63px);
    display: block; 
}

.event-wrapper .post-content {
    max-width: 600px;
}

.event-spacer{
    margin: 10px 0;
}

.event-wrapper img{
    vertical-align: middle;
    margin: auto;
    min-width: 400px;
    min-height: 400px;
}

.event .event-wrapper {
    padding-bottom: 5px;
}

.event .event-wrapper a {
    color: #fcd116;
}


/* Feed Preview */
#minifeed {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25%;   
}

#minifeed .post {
    width: 32.5%;
}


/* Partners (homepage) */
.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

.partners a {
  width: 200px;
  text-align: center;
  margin: auto;
}

.partners img {
  margin: 25px auto;
  width: 200px;
}


/* Footer */
.footer {
    color: #dcdcdf !important;
    text-align: center;
    margin-top: 5px;
}

.footer a {
    color: #dcdcdf !important;
}


/* Page - Members */
.member, .partner {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 5px;
    margin-top: 50px;
    width: 500px;
    margin: 0 auto;
}
.member-wrapper{
    width: 500px;
    margin: 0 auto;
}

.member .page-img  img {
    border-radius: 250px;
    border: 2px solid #ce1126; 
}

.member .page-img  img, 
.partner .page-img  img {
    width: 125px;
    height: auto;
    margin: auto;
    display: block;
}

.member .page-img, 
.partner .page-img {
    flex: 0 0 125px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member .page-text, 
.partner .page-text {
    flex: 0 0 370px; 
    border-radius: 5px;
    margin: 0 auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member h1 {
    margin-bottom: 5px !important;
}

.member h2, 
.title h2 {
    text-align: center;
}

.member p {
    margin-top: 5px !important;
}


/* page settings */
.page{
    width: 75%;
    margin: 0 auto;
}



@media (max-width: 1250px) {
    #minifeed {
        flex-direction: column;
    }

    #minifeed .post {
        width: 100%;
    }

    .post-home .post-with-image {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        align-items: stretch;
        gap: 0;   
    }

    .post-home .post-with-image img {
        border-radius: 5px 0 0 5px;
        height: 100%;
        object-fit: cover;
    }

    .post-home .post-with-image .post-cover {
        width: 35% !important;
        display: flex;
    }

    .post-home .post-with-image .post-blerp {
        border-radius: 0 5px 5px 0;
        width: 65% !important;
        display: flex;
        flex-direction: column;
    }

    .topbar-avatar {
        display:none;
    }
}

@media (max-width: 900px) {
    nav {
        flex-direction: column;
    }

    .social,
    .menu{
        justify-content: center;
        margin: 0 auto;
    }
}