@media (max-width: 780px) {
    .footer > div {
        flex-direction: column;
    }
}


.topnav__logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: 600;
}

.topnav__logo {
    display: flex;
    align-items: center;
}
.topnav__logo object {
    max-height: 32px;
}


.metadata {
    display: flex;
    justify-content: space-between;
}

@media (min-width: 420px) {
    .metadata {
        justify-content: right;
    }
    .metadata > *:not(:last-child) {
        margin-right: 20px;
    }
}
@media (min-width: 680px) {
    .metadata {
        justify-content: left;
    }
}

.comments .comments {
    border-left: 1px solid var(--color-main-element);
    padding-left: 20px;
}
.comment {
    margin-top: var(--size-container-v-padding);
}

.send-message-panel {
    display: none;
}
.send-message-panel.visible {
    display: flex;
}

#container > *:not(:last-child) {
    margin-bottom: 20px;
}

.tag {
    border-radius: 0;
}



.simple-item {
    padding: 20px;
    background-color: var(--color-third-background);
}
.simple-item > p:not(:last-child){

}
.simple-item > p {
    display: block;
    font-weight: 400;
    line-height: var(--size-line-height);
    clear: both;
}
.simple-item > p:not(:last-child) {
    margin-bottom: 10px;
}
.simple-item > ul, .simple-item > ol {
    display: block;
    margin-left: 20px;
    line-height: 25px;
}

/* .simple-item .image-style-align-center {
    justify-self: center;
} */
.simple-item figure {
    float: left;

    margin: 0 0 20px 0;
    padding: 0;
}
.simple-item figure.image {
    text-align: left;
    box-sizing: border-box;
}
.simple-item figure.image img {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    aspect-ratio: auto !important;

    max-width: 200px;
    width: 200px;
    max-height: 200px;
    box-sizing: border-box;
}

.simple-item .project-page__description p a {
    font-weight: 600;
    text-decoration: underline;
    color: #417893;
}
.simple-item .project-page__description p a:hover {
    color: #2AA33E;
}
.simple-item blockquote {
    border-left: 5px solid #ccc;
    font-style: italic;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    padding: 5px 1.5em;
}
.simple-item strong, .simple-item b {
    font-weight: 600;
}

/* .simple-item > *:not(:last-child) {
    margin-bottom: 9px;
} */

.content-separator, .post, .simple-item {
    border: 1px solid var(--color-element-border);
}



/* .post {
    padding: 20px;
    background-color: var(--color-third-background);
    line-height: var(--size-line-height);
}
.post > *:not(:last-child) {
    margin-bottom: 10px;
}
a.post__title {
    font-size: 14px;
    font-weight: 400;
    width: 100%;
    letter-spacing: .05em;
    color: var(--color-main-element);
    flex-wrap: nowrap;
}
.post__body {
    font-weight: 400;

}
.post__body > p {
    display: block;
    letter-spacing: .03em;
    margin-bottom: var(--size-paragraph-spacing);
} */




.projects-container {
    max-width: 1180px; 
    box-sizing: border-box; 
    margin: 0 auto;
}
.projects {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0 auto;
    gap: 20px;
    box-sizing: border-box;
}

@media (max-width: 1220px) {
    .projects {
        width: 880px;
    }
}
@media (max-width: 920px) {
    .projects {
        width: 580px;
    }
}
@media (max-width: 620px) {
    .projects {
        width: 280px;
    }
}

.project-card {
    display: flex;
    flex-direction: column;
    max-width: 280px;
    max-height: 456px;
    height: 456px;
    box-sizing: border-box;
}
.project-card > *:not(:last-child) {
    margin-bottom: 10px;
}
.project-card__image, .project-card__image img {
    max-width: 100%;
}
.project-card__title a, .project-page__url a {
    display: inline-flex;
    font-weight: 600;
    text-decoration: none;
}
.project-card__description {
    box-sizing: border-box;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: clip;
    
}
.project-card__description > p {
    
}


.project-page {
    
}
.project-page__description > p:not(:last-child) {
    display: block;
    padding-bottom: 15px;
}
.project-page__image {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
}
.project-page__image img {
    
    max-width: 100%;
    width: 100%;
    /* max-width: 100%;
    width: 100%;
    max-height: 320px; */
    /* max-height: 238px; */
}
.project-page__url, .project-page__url > .button {
    /* display: flex; */
    width: 100%;
    /* justify-content: stretch; */
}

@media (min-width: 768px) {
    /* .project-page {
        align-items: start;
    } */
    /* .project-page__url > .button {
        display: flex;
        justify-content: stretch;
    } */
}



.item-list > *:not(:last-child) {
    margin-bottom: 20px;
}



.flash-message--info {
    box-sizing: border-box;
    border: 3px solid var(--color-second-background);
    background-color: var(--color-main-background);
}
.flash-message--success {
    box-sizing: border-box;
    border: 3px solid #20752E;
    background-color: #2AA33E;
}
.flash-message--error {
    box-sizing: border-box;
    border: 3px solid #9a2828;
    background-color: #ce3636;
}
.flash-message--warning {
    box-sizing: border-box;
    border: 3px solid #929e29;
    background-color: #bfce36;
}
.flash-message * {
    color: #fafafa;
}


#security-settings-from #id_email_helptext {
    color: red;
}

form .helptext {
    margin-bottom: 10px;
    font-size: 12px;
}

.errorlist > li {
    list-style: none;
    padding: 5px;
    color: red;
    font-size: 12px;
}

.input:disabled {
    background-color: rgb(201, 201, 201);
    border: 2px solid rgb(160, 160, 160);
    font-size: 12px;
}


.tabs__informer {
    background-color: var(--color-body-background);
    color: var(--color-main-element);
    font-weight: 600;
    font-size: 12px;
    padding: 0 5px;
    margin-left: 5px;
    border-radius: 5px;
}


.footer {
    display: flex;
    justify-content: center;
    padding: 20px 40px;
}
.footer, .footer ul a, .footer p, .footer li {
    color: white;
}
.footer > * {
    gap: 64px;
}
.footer__list .list__title {
    font-weight: 600;
    font-size: 18px;
    /* margin-bottom: 5px; */
}
.footer__list ul {
    list-style: none;
}
.footer__list ul > li {
    font-size: 14px;
    margin-top: 10px;
}
/* .footer__list .list__title, .footer__list ul > li > a {
    
} */



