@font-face {
    font-family: 'SF-Pro';
    src: local('SF-Pro'),
    url("../fonts/SanFranciscoProDisplay/SF-Pro-Display-Light.ac5237052941.otf") format('opentype');
}

:root {
    /* fonts */
    --font-family: 'Alumni', sans-serif;
    /* font-size */
    --font-size-h1: 80px;
    --font-size-h3: 40px;
    --font-size-h4: 30px;
    --font-size-menu: 18px;
    --font-size-p: 24px;
    /* colors */
    /*--color-primary: #202020;*/
    --color-primary: #1e1e1e;
    /*--color-header: rgba(50, 50, 50);*/
    --color-header: #313131;
    --color-border: #2e2e2e;
    --color-title: #ffffff;
    --color-text: #959595;
    --color-button: #9D9D9D;
    --color-close: #ba3238;
    --color-map: rgb(123, 28, 28);
    /* shadows */
    --shadow: rgba(221, 221, 221, 0.2) 0px 4px 12px;
    /* elements-size */
    --header-size: 80px;
    /* radius */
    --radius: 0 0 20px 20px;
}

* {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    box-sizing: border-box;
}

html,
body {
    background: var(--color-primary);
    height: 100vh;
}

h1 {
    font-size: var(--font-size-h1);
    color: var(--color-title);
}

h3 {
    font-size: var(--font-size-h3);
    color: var(--color-title);
}

h4 {
    font-size: var(--font-size-h4);
    color: var(--color-title);
    margin-bottom: 20px;
}

p {
    font-size: var(--font-size-p);
    color: var(--color-title);
}

a {
    text-decoration: none;
    color: var(--color-close);
}

.menu-hr {
    margin: 10px 0;
    color: var(--color-close);
    background-color: var(--color-close);
}

@media screen and (max-width: 1040px) {
    h1 {
        font-size: 64px;
    }

    h3 {
        font-size: 32px;
    }

    h4 {
        font-size: 24px;
    }

    p {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {

}

@media screen and (max-width: 400px) {
    h1 {
        font-size: 50px;
    }

    h3 {
        font-size: 26px;
    }
}

/* fa-icons */

.btn .fa-arrow-down {
    font-size: 15px !important;
}

.fa-code-fork {
    color: var(--color-text);
    transform: rotate(90deg);
    margin: 0 10px;
}

/* wrapper */

.wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 1400px;
    margin: 0 auto;
}

@media screen and (max-width: 1040px) {
    .wrapper {
        width: 100%;
    }
    
}

/* header */

.header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 300px;
    max-width: 300px;
    height: 100dvh;
    padding: 20px 20px 0 20px;
    /* border-right: var(--color-border) 1px solid; */
    overflow-y: auto;
    overflow-x: hidden;
}

.header-icons {
    display: flex;
    flex-direction: row;
    align-items: top;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.logo {
    width: 60px;
    height: auto;
    padding-bottom: 20px;
    padding-left: 10px;
}

.menu-list {
    text-align: left;
    font-size: var(--font-size-menu);
}

.menu-item {
    list-style-type: none;
}

.menu-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: var(--color-text);
    padding: 15px 10px;
    overflow-wrap: break-word;
}

.menu-item:hover {
    border-radius: 10px;
    background-color: var(--color-header);
    color: #FFFFFF;
}

.dropdown {
    display: none;
    opacity: 0;
    flex-direction: column;
    align-items: flex-start;
}

.dropdown-item:hover {
    filter: brightness(135%);
}

.dropdown-item {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.open {
    display: flex;
    opacity: 1;
    animation: fadeInFromNone 0.5s linear;
}

@keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    50% {
        display: flex;
        opacity: 0.5;
    }

    100% {
        display: flex;
        opacity: 1;
    }
}

.dropdown-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.dropdown-link {
    text-decoration: none;
    color: var(--color-text);
}

.fa-dropdown {
    top: 0;
    right: 0;
    margin: 0 10px;
    padding: 10px 10px;
    border-radius: 50% 50%;
    z-index: 999;
}

.fa-dropdown:hover {
    background-color: var(--color-primary);
    border-radius: 50% 50%;
}

.menu-icon.fa {
    display: none;
}

.close-icon.fa {
    display: none;
}

@media screen and (max-width: 1040px) {
    .header {
        display: none;
        min-width: 100%;
        animation: fadeInFromNone 0.5s linear;
    }

    .menu-icon.fa {
        display: block;
        position: fixed;
        font-size: 40px;
        top: 30px;
        right: 30px;
        color: var(--color-close);
        z-index: 100;
        animation: fadeInFromNone 0.5s linear;
    }

    .close-icon.fa {
        display: none;
        position: fixed;
        font-size: 40px;
        top: 30px;
        right: 30px;
        color: var(--color-close);
        z-index: 100;
        animation: fadeInFromNone 0.5s linear;
    }

    @keyframes fadeInFromNone {
        0% {
            display: none;
            opacity: 0;
        }
    
        50% {
            display: flex;
            opacity: 0.5;
        }
    
        100% {
            display: flex;
            opacity: 1;
        }
    }
}

.user_header {
    padding: 10px 20px 20px 20px;
    height: 100px;
    z-index: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-left: 1px solid var(--color-border);
}

.search {
    width: 50%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.search-field {
    height: 60px;
    background-color: #262626;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 20px 10px;
    color: var(--color-title);
    flex-grow: 2;
}

.search-field:focus {
    outline: 2px solid var(--color-button);
    color: var(--color-text);
}

.search-button {
    background-color: #262626;
    border: 2px solid var(--color-border);
    color: var(--color-primary);
    padding: 20px 20px;
    margin-left: 10px;
    border-radius: 10px;
    text-align: center;
}

.search-button:hover {
    background-color: var(--color-button);
}

.account a {
    cursor: pointer;
    font-size: 50px;
    color: var(--color-border);
}

.account p {
    color: var(--color-border);
    font-size: 25px;
}

.account p:hover {
    color: var(--color-close);
}

.account a:hover {
    color: var(--color-text);
}

@media screen and (max-width: 1040px) {
    .user_header {
        display: none;
    }
}

.content-container {
    min-width: 100%;
    min-height: 100%;
    padding: 0 20px 20px 20px;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    display: flex;
    flex-direction: column;
    border-left: var(--color-border) 1px solid;
}

.content-container::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.content-wrapper {
    width: 100%;
}

.text-content {
    text-align: left;
}

.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
    background: url("../images/159510-Plexus-network-abstract-line-art-connectivity-dots-digital.b6811f58f369.png") no-repeat center center;
    background-size: cover;
    border-radius: 10px;
    z-index: 1;
}

.overlay {
    position: absolute;
    background-color: black;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    border-radius: 10px;
    z-index: 2;
}

.carousel-text {
    width: 100%;
    background-size: cover;
    text-align: center;
    position: absolute;
    z-index: 3;
}

.carousel-text:only-child {
    color: #ffffff;
}

.card-container {
    background-color: var(--color-primary);
    border-radius: 10px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
    z-index: 2;
}

.flex-row {
    flex-direction: row;
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card {
    justify-content: space-around;
    background-color: #262626;
    padding: 80px 40px;
    border: var(--color-border) 1px solid;
    border-radius: 0 0 10px 10px;
    text-align: center;

    /* display: flex;
    flex-direction: row;
    flex-grow: 2;
    order: 2;
    justify-content: space-between; */
}

.full-border {
    border-radius: 10px;
}

.card-image {
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 300px;
    border-radius: 10px 10px 0 0;
}

.image-tint {
    background-color: rgba(0, 0, 0, 0.3);
    background-blend-mode: multiply;
}

/* .card::before {
    content: "hui";
    flex-grow: 1;
    order: 1;
    text-align: right;
    background-color: red;
    max-width: 30%;
} */

/* .card {
    text-align: left;
} */

.card i {
    margin-right: 20px;
}

.card-link {
    text-decoration: none;
}

.small-card {
    width: 49%;
}

.big-card {
    width: 100%;
}

.card-link:hover .card {
    cursor: pointer;
    background-color: #2d2d2d;
    border-color: rgb(80, 80, 80);
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.card-link:hover .image-tint {
    background-color: rgba(0, 0, 0, 0.2);
    background-blend-mode: multiply;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

#map iframe {
    border-radius: 10px;
    overflow: hidden;
}

/* wagtail */

.block-imgblock {
    width: 100%;
}

.block-imgblock img {
    width: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.block-documentblock {
    background-color: #262626;
    padding: 20px 20px;
    border: var(--color-border) 1px solid;
    border-radius: 10px;
    text-align: center;
}

.block-documentblock a {
    font-weight: 900;
    color: var(--color-close);
    text-decoration: none;
}

.block-documentblock a:before {
    font-family: 'FontAwesome';
    content: "\f019";
    padding-right: 20px;
}

.block-documentblock:hover {
    background-color: #2d2d2d;
    border-color: rgb(80, 80, 80);
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.created_at {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    color: var(--color-text)
}

@media screen and (max-width: 1040px) {
    .carousel {
        height: 300px;
        margin-top: 20px;
    }
    .card-container {
        justify-content: center;
    }

    .content-container {
        animation: fadeInFromNone 0.5s linear;
    }

    @keyframes fadeInFromNone {
        0% {
            display: none;
            opacity: 0;
        }
    
        50% {
            display: flex;
            opacity: 0.5;
        }
    
        100% {
            display: flex;
            opacity: 1;
        }
    }

    .card {
        padding: 40px;
    }

    .small-card {
        width: 100%;
    }

    .card-image {
        height: 200px;
    }

    .block-imgblock img {
        width: 100%;
        object-fit: cover;
        border-radius: 10px;
        max-height: 200px;
    }
}

.block-rtfblock p {
    text-align: justify;
}

.form {
    margin-top: 20px;
}

.form-field label {
    font-size: 20px;
    color: var(--color-text);
    margin: 5px;
}

.form-field input {
    width: 100%;
    height: 60px;
    background-color: var(--color-primary);
    border: 2px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px 10px;
    color: var(--color-title)
}

.form-field input:focus {
    outline: 2px solid var(--color-button);
    color: var(--color-text);
}

.form-field textarea {
    resize: vertical;
    width: 100%;
    height: 150px;
    background-color: var(--color-primary);
    border: 2px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px 10px;
    color: var(--color-title)
}

.form-field textarea:focus {
    outline: 2px solid var(--color-button);
    color: var(--color-text);
}

.form-field select {
    width: 100%;
    height: 60px;
    background-color: var(--color-primary);
    border: 2px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px 10px;
    color: var(--color-title);

    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
}

.form-field option {
    width: 100%;
    height: 60px;
    background-color: var(--color-primary);
    border: 2px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px 10px;
    color: var(--color-title);
}

.form-field select:focus {
    outline: 2px solid var(--color-button);
    color: var(--color-text);
}

.form button {
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #d4d4d4;
    color: var(--color-primary);
    padding: 20px 20px;
    border: var(--color-header) 2px solid;
    border-radius: 10px;
    text-align: center;
    width: 100%;
}

.form button:hover {
    cursor: pointer;
    background-color: var(--color-title);
}

/* footer */

.footer {
    background-color: rgb(13, 13, 13);
}

/** {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    font-family: var(--font-family);*/
/*    box-sizing: border-box;*/
/*}*/

/*body {*/
/*    !* box-sizing: border-box; *!*/
/*    background: var(--color-primary);*/
/*    height: 100vh;*/
/*}*/

/*h1 {*/
/*    font-size: var(--font-size-h1);*/
/*    color: var(--color-title);*/
/*}*/

/*h3 {*/
/*    font-size: var(--font-size-h3);*/
/*    color: var(--color-text);*/
/*}*/

/*p {*/
/*    font-size: var(--font-size-p);*/
/*    color: var(--color-title);*/
/*}*/

/*@media screen and (max-width: 1000px) {*/
/*    h1 {*/
/*        font-size: 64px;*/
/*    }*/

/*    h3 {*/
/*        font-size: 32px;*/
/*    }*/
/*}*/

/*@media screen and (max-width: 768px) {*/

/*}*/

/*@media screen and (max-width: 400px) {*/
/*    h1 {*/
/*        font-size: 50px;*/
/*    }*/

/*    h3 {*/
/*        font-size: 26px;*/
/*    }*/
/*}*/

/*!* fa-icons *!*/

/*.menu-link .fa-window-close {*/
/*    font-size: 25px;*/
/*}*/

/*.btn .fa-arrow-down {*/
/*    font-size: 15px !important;*/
/*}*/

/*!* wrapper *!*/

/*.wrapper {*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*}*/

/*!* header *!*/

/*.header {*/
/*    flex: 0 0 auto;*/
/*    background: var(--color-header);*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    justify-content: space-between;*/
/*    height: var(--header-size);*/
/*    width: 100%;*/
/*    !* box-shadow: var(--shadow); *!*/
/*}*/

/*.header-logo {*/
/*    margin: auto 0 auto 100px;*/
/*    display: flex;*/
/*    justify-content: flex-start;*/
/*    align-items: flex-end;*/
/*}*/

/*.logo {*/
/*    width: 60px;*/
/*    height: auto;*/
/*    margin-right: 10px;*/
/*}*/

/*.logo-text {*/
/*    font-size: var(--font-size-p);*/
/*    font-weight: 800;*/
/*}*/

/*.menu {*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    color: var(--color-title);*/
/*    font-size: var(--font-size-menu);*/
/*    font-weight: 700;*/
/*    margin-right: 100px;*/
/*    height: var(--header-size);*/
/*}*/

/*.menu-list {*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*}*/

/*.menu-item {*/
/*    margin: auto 0;*/
/*    padding-right: 30px;*/
/*    list-style-type: none;*/
/*}*/

/*.menu-item:last-child {*/
/*    padding-right: 0;*/
/*}*/

/*.menu-link {*/
/*    text-decoration: none;*/
/*    color: var(--color-title);*/
/*}*/

/*.menu-link:hover {*/
/*    color: #FFFFFF;*/
/*}*/

/*.menu-link.close {*/
/*    margin-top: 10px;*/
/*    padding-left: 10px;*/
/*}*/

/*.menu-link.close:hover {*/
/*    color: var(--color-close);*/
/*}*/

/*.hamburger {*/
/*    display: none;*/
/*}*/

/*.close-icon {*/
/*    display: none;*/
/*}*/

/*!* header dropdown *!*/

/*.btn {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: flex-start;*/
/*    cursor: pointer;*/
/*    position: relative;*/
/*    column-gap: 0.5rem;*/
/*}*/

/*.dropdown {*/
/*    position: absolute;*/
/*    width: 250px;*/
/*    border-radius: var(--radius);*/
/*    margin-top: 10px;*/
/*    background: var(--color-header);*/
/*    !* box-shadow: var(--shadow); *!*/
/*    visibility: hidden;*/
/*    opacity: 0;*/
/*    transform: translateY(0.5rem);*/
/*    transition: all 0.1s cubic-bezier(0.16, 1, 0.5, 1);*/
/*}*/

/*.dropdown a {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    column-gap: var(--gap);*/
/*    padding: 0.8rem 1rem;*/
/*    text-decoration: none;*/
/*    color: var(--color-title);*/
/*}*/

/*.dropdown a:hover {*/
/*    color: white;*/
/*}*/

/*.show {*/
/*    visibility: visible;*/
/*    opacity: 1;*/
/*}*/

/*.arrow {*/
/*    transform: rotate(180deg);*/
/*    transition: 0.2s ease;*/
/*}*/

/*@media screen and (max-width: 1000px) {*/
/*    .header-logo {*/
/*        margin: auto 0 auto 20px;*/
/*    }*/

/*    .logo {*/
/*        width: 50px;*/
/*    }*/

/*    .hamburger {*/
/*        display:block;*/
/*        position: fixed;*/
/*        z-index: 100;*/
/*        top: 1rem;*/
/*        right: 1rem;*/
/*        padding: 4px;*/
/*        cursor: pointer;*/
/*    }*/

/*    .close-icon {*/
/*        display: none;*/
/*    }*/

/*    .menu-list {*/
/*        display: flex;*/
/*        flex-direction: column;*/
/*        justify-content: flex-start;*/
/*        align-items: center;*/
/*        position: fixed;*/
/*        transform: translateY(-500%);*/
/*        transition: transform 0.4s;*/
/*        top: 0;*/
/*        left: 0;*/
/*        right: 0;*/
/*        bottom: 0;*/
/*        z-index: 99;*/
/*        background: black;*/
/*        color: white;*/
/*        list-style: none;*/
/*        padding-top: 4rem;*/
/*        overflow-x: auto;*/
/*    }*/

/*    .menu-item {*/
/*        margin: 0;*/
/*        padding: 10px 100%;*/
/*        !* min-width: 100%; *!*/
/*        border-bottom: solid 1px rgba(255, 255, 255, 0.2);*/
/*        white-space: nowrap;*/
/*    }*/

/*    .menu-item:last-child {*/
/*        padding: 10px 100%;*/
/*        margin-top: auto;*/
/*        border-bottom: none;*/
/*        border-top: solid 1px rgba(255, 255, 255, 0.2);*/
/*    }*/

/*    .menu-item:nth-last-child(2) {*/
/*        border-bottom: none;*/
/*    }*/

/*    .show-menu {*/
/*        transform: translateY(0);*/
/*    }*/
/*}*/

/*!* content *!*/

/*!* .main {*/
/*	flex: 1 0 auto;*/
/*    min-width: 100%;*/
/*    margin: auto auto;*/
/*} *!*/

/*.content {*/
/*    position: absolute;*/
/*    z-index: 3;*/
/*}*/

/*!* footer *!*/

/*.footer {*/
/*	flex: 0 0 auto;*/
/*}*/
