article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
video {
    display: inline-block;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

html {
    color: #000;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html,
button,
input,
select,
textarea {
    font-family: sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

@media only screen and (min-width: 640px) {
    .container {
        max-width: 640px;
        padding: 0 1.5rem;
    }
}

@media only screen and (min-width: 768px) {
    .container {
        max-width: 768px;
        padding: 0 2rem;
    }
}

@media only screen and (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media only screen and (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

a {
    background: transparent;
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 2;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

h2 {
    font-size: 1.5em;
    margin: 0.83em 0;
}

h3 {
    font-size: 1.17em;
    margin: 1em 0;
}

h4 {
    font-size: 1em;
    margin: 1.33em 0;
}

h5 {
    font-size: 0.83em;
    margin: 1.67em 0;
}

h6 {
    font-size: 0.75em;
    margin: 2.33em 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

mark {
    background: #ff0;
    color: #000;
}

code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    font-size: 1em;
}

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

q {
    quotes: "\201C" "\201D" "\2018" "\2019";
}

q:before,
q:after {
    content: "";
    content: none;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 0;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
    white-space: normal;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
}

button,
input {
    line-height: normal;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.parallax {
    background-image: url("../img/background.png");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

body {
    color: #ffff;
    background-color: black;
    line-height: 1.7em;
    font-family: "Kumbh Sans", sans-serif;
    font-weight: 400;
}

a {
    color: #ffff;
    text-decoration: none;
}

a:hover {
    color: #089c9c;
}

main {
    display: flex;
    flex-direction: column;
    flex: 1;
}

@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {

    .blur,
    footer {
        background: rgba(59, 59, 59, 0.35);
        backdrop-filter: blur(7px);
    }
}

@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {

    .blur,
    footer {
        background: rgba(59, 59, 59, 0.5);
    }
}

article {
    padding: 2em;
    text-align: justify;
}

@media only screen and (min-width: 1400px) {
    article {
        padding-left: 5em;
        padding-right: 5em;
        padding-top: 2em;
        padding-bottom: 2em;
    }
}

article ul {
    list-style-type: none;
    padding-left: 0;
}

article li::before {
    content: "\2014 \2002";
    font-size: 1.7em;
    color: #089c9c;
}

#space {
    display: flex;
    margin-bottom: 0;
    margin-top: 0;
    min-height: 73vh;
}

@media only screen and (min-width: 1000px) and (max-width: 1400px) {
    #space {
        justify-content: flex-end;
        align-items: center;
        padding-right: 0.5em;
    }
}

@media only screen and (min-width: 1400px) {
    #space {
        justify-content: flex-end;
        align-items: center;
        padding-right: 3.5em;
    }
}

#about-us {
    padding-top: 0;
    margin-bottom: 0;
    margin-top: 0;
}

@media only screen and (min-width: 1000px) and (max-width: 1400px) {
    #about-us {
        width: 35vw;
        margin-bottom: 2em;
    }
}

@media only screen and (min-width: 1400px) {
    #about-us {
        width: 35vw;
        margin-bottom: 5em;
        margin-top: 2em;
    }
}

#about-us h1 {
    line-height: 1em;
}

@media only screen and (min-width: 1400px) {
    #about-us h1 {
        font-size: 3.5em;
    }
}

#description {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

@media only screen and (min-width: 1400px) {
    #description {
        justify-content: center;
    }
}

#description h1 {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: inherit;
}

@media only screen and (min-width: 1400px) {
    #description article {
        flex-basis: 45vw;
    }
}

.center,
footer {
    align-self: center;
    flex-basis: auto;
    text-align: center;
}

.hide {
    display: none;
}

.fa-arrow-circle-down {
    position: relative;
    z-index: 2;
    font-size: 3em;
    margin-bottom: 1em;
    color: rgba(255, 255, 255, 0.45);
}

.news-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    padding-left: 0em;
    padding-right: 0em;
}

@media only screen and (min-width: 1400px) {
    .news-container {
        padding-left: 10em;
        padding-right: 10em;
    }
}

.news,
.members-list {
    width: 100%;
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 1.5em;
    border: 1px solid rgba(78, 77, 77, 0.5);
    padding-left: 1em;
    padding-right: 1em;
    padding-bottom: 1.5em;
    padding-top: 1.5em;
}

.news p,
.members-list p {
    padding: 1.5em;
    overflow-y: auto;
    height: 15em;
    background-color: rgba(192, 192, 192, 0.17);
    border-radius: 0.5em;
}

@media only screen and (min-width: 1400px) {

    .news,
    .members-list {
        width: 30%;
        margin: 1.5em;
    }
}

@media only screen and (min-width: 1000px) {

    .news,
    .members-list {
        width: 40%;
        margin: 1.5em;
    }
}

.news img,
.members-list img {
    width: 100%;
}

#members {
    text-align: center;
}

#members i {
    display: block;
    margin-top: 15%;
}

#members h1::after {
    display: block;
    content: "";
    border-bottom: 0.1em solid #089c9c;
    width: 40%;
    height: 100%;
    text-align: center;
    margin-left: 30%;
    margin-top: 5%;
}

#members h2::after {
    display: block;
    content: "";
    border-bottom: 0.1em solid #089c9c;
    width: 40%;
    height: 100%;
    text-align: center;
    margin-left: 30%;
    margin-top: 5%;
}

.fa-user,
.fa-trophy {
    font-size: 10em;
}

.members-list {
    align-self: center;
}

.members-list h1 {
    text-align: center;
}

.members-list h1::after {
    border-bottom: none !important;
}

#members {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#members .news-container .news,
#members .news-container .members-list {
    border: 0.2em solid transparent;
    transition: ease-in-out 1s;
}

#members .news-container .news:hover,
#members .news-container .members-list:hover {
    border: 0.2em solid #089c9c;
}

.fa-arrow-alt-circle-left {
    font-size: 2em;
    margin-top: 0 !important;
    margin-left: 0.1em;
}

.clickable-icon * {
    transform-origin: left 50%;
    transition: 0.2s;
    color: #fff;
}

.clickable-icon *:hover {
    transform: scale(1.1);
    color: #089c9c;
}

.fa-file-video,
.fa-file {
    font-size: 2.5em;
    padding: 0.2em;
    padding-bottom: 0.1em;
    margin-bottom: 0;
    align-self: end;
    transition: 0.2s;
    color: #fff;
    float: right;
}

.fa-file-video:hover,
.fa-file:hover {
    transform: scale(1.1);
    color: #089c9c;
}

.projects-container {
    display: flex;
    flex-direction: column;
    margin-right: 0.6em;
    padding: 0;
    margin-left: 0.6em;
    justify-content: space-between;
    align-content: space-between;
    align-items: center;
    font-size: 2em;
    margin-bottom: 1.5em;
}

.projects-container .img-container {
    padding: 0.5em;
    width: 100%;
    height: 10em;
    display: flex;
}

@media only screen and (min-width: 1400px) {
    .projects-container .img-container {
        height: 15em;
        width: 40%;
    }
}

.projects-container .img-container a {
    display: flex;
    justify-content: center;
}

.projects-container .img-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.projects-container a {
    position: relative;
    line-height: 2em;
    text-wrap: normal;
    display: block;
}

.projects-container a:hover {
    font-weight: normal;
    color: white;
}

@media only screen and (min-width: 1400px) {
    .projects-container {
        flex-direction: row;
        margin-right: 5em;
        margin-left: 5em;
        align-content: center;
        align-items: center;
        justify-content: space-evenly;
    }
}

.list-projects {
    padding: 0.5em;
    line-height: 2em;
    cursor: pointer;
    text-align: center;
    display: flex;
    margin-top: -1em;
    flex-direction: column;
    width: 100%;
}

@media only screen and (min-width: 1400px) {
    .list-projects {
        width: 30%;
        margin-top: auto;
    }
}

.curr-proj {
    color: #089c9c !important;
    font-size: 1.5em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    opacity: 1;
}

.indicator {
    position: relative;
    border-bottom: 5px solid #089c9c;
    border-top: 5px solid #089c9c;
    height: 3em;
    width: 100%;
    top: 7.9em;
}

.partner-container {
    background: rgba(59, 59, 59, 0.35);
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
    align-items: stretch;
    padding: 2em;
    font-size: 1.5em;
    color: rgb(0, 0, 0, 1);
}

.partner-container .img-container {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    height: 14em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    text-align: center;
    border-radius: 10px;
    padding: 1em;
    margin: 0;
}

@media only screen and (max-width: 1024px) {
    .partner-container .img-container {
        min-width: 45%;
    }
}

@media only screen and (max-width: 768px) {
    .partner-container .img-container {
        min-width: 100%;
    }
}


.partner-container .img-container .iapsImg {
    display: flex;
    justify-content: center;
    background: #4682B4;
}

.partner-container .img-container .pssfImg {
    display: flex;
    justify-content: center;

}

.partner-container .img-container .quantumImg img {
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    line-height: 2em;
    display: block;

}

.partner-container .img-container .pssfImg img {
    width: 70%;
    height: auto;
    object-fit: contain;
    position: relative;
    line-height: 2em;
    display: block;

}

.partner-container .img-container .iapsImg img {
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    line-height: 2em;

    display: block;

}

@media only screen and (min-width: 1400px) {
    .indicator {
        width: 100%;
    }
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-content: flex-start;
    align-items: flex-start;
    width: 100%;
}

.header-main img {
    width: 50%;
}

#nav-icon3 {
    color: white;
    width: 2.7em;
    height: 2em;
    position: relative;
    margin-top: 2em;
    margin-right: 2em;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    cursor: pointer;
    z-index: 2;
}

#nav-icon3 span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
}

#nav-icon3 span:nth-child(1) {
    top: 0px;
}

#nav-icon3 span:nth-child(2),
#nav-icon3 span:nth-child(3) {
    top: 0.7em;
}

#nav-icon3 span:nth-child(4) {
    top: 1.4em;
}

#nav-icon3.open span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}

#nav-icon3.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

#nav-icon3.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#nav-icon3.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}

.main-nav {
    color: #ffff;
}

.main-nav li a {
    padding: 0;
    margin: 0;
    text-decoration: none;
    font-size: 3em;
    line-height: 1.5em;
}

.main-nav li a:hover,
.main-nav li a:focus,
.main-nav li a:active {
    color: #089c9c;
}

.main-nav ul {
    background-color: #1b1716;
    list-style-type: none;
    position: absolute;
    text-align: center;
    margin: 0;
    padding: 0;
    color: white;
    top: 0;
    width: 100%;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: 1;
    padding-top: 10em;
    overflow: hidden;
    gap: 20px;
}

.active {
    color: #089c9c;
}


@media only screen and (min-width: 70em) {
    .header-main {
        align-items: center;
    }

    .header-main img {
        width: auto;
    }

    .main-nav {
        margin-right: 0;
        display: flex;
        justify-content: flex-end;
        flex-direction: column;
        letter-spacing: 0.1em;
    }

    .main-nav ul {
        background-color: transparent;
        display: flex !important;
        flex-direction: row;
        width: 100%;
        position: static;
        justify-content: space-evenly;
        margin-right: 0;
        height: 100%;
        padding: 1em;
        padding-top: 0;
    }

    .main-nav ul li a {
        font-size: 1.8em;
        line-height: 3em;
        text-align: center;
        text-transform: uppercase;
        position: relative;
    }

    .main-nav ul li a:after {
        position: absolute;
        transition: 0.3s linear;
        content: "";
        width: 0;
        bottom: 0;
        top: 1.8em;
        height: 3px;
        background: #089c9c;
        left: 0;
    }

    .main-nav ul li a:hover,
    .main-nav ul li a:focus,
    .main-nav ul li aactive {
        padding-bottom: 0.8em;
    }

    .main-nav ul li a:hover:after,
    .main-nav ul li a:focus:after,
    .main-nav ul li aactive:after {
        width: 100%;
        left: 0;
    }

    #nav-icon3 {
        display: none;
    }

    .active:not(.project-image,.button-primary):after {
        width: 100% !important;
        left: 0;
        position: absolute;
        content: "";
        bottom: 0;
        top: 1.8em;
        height: 3px;
        background: #089c9c;
    }
}

footer {
    margin-top: 0;
    padding-left: 1em;
    padding-right: 1em;
    font-size: 0.75em;
    line-height: 1em;
    padding-bottom: 1em;
    width: 100%;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    color: #089c9c;
}

@media only screen and (min-width: 1400px) {
    footer {
        font-size: inherit;
    }
}

address {
    padding-top: 1em;
    margin-bottom: 0.5em;
    font-size: 3em;
}

address * {
    transition: 0.2s;
    color: #fff;
}

address *:hover,
address *:focus,
address *:active {
    transform: scale(1.1);
    color: #089c9c;
}

.info {
    font-size: 1.2em;
    display: block;
    width: 100%;
    z-index: 1;
    bottom: 0;
    margin: 0;
    padding: 1em;
    position: fixed;
    background-color: #089c9c;
}

.pagination {
    font-size: 1.2em;
    flex-wrap: wrap;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1em;
    margin-top: 0.5em;
}

.pagination a {
    text-align: center;
    display: block;
    padding: 0.5em;
    width: 2.5em;
    line-height: 1.5em;
    height: 2.5em;
}

.pagination .current {
    color: #089c9c;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}

@media only screen and (min-width: 1400px) {
    .pagination {
        font-size: 1.5em;
    }
}

.side {
    position: fixed;
    background-color: #089c9c;
    top: 50%;
    padding: 0.5em;
    margin: 0;
    transform: translate(-89%, 0);
    max-height: 12rem;
    max-width: 80vw;
    transition: 1s ease;
    z-index: 3;
}

.side table {
    margin-right: 5em;
}

.side td,
.side th {
    border-right: 1.5em solid transparent;
}

.side td {
    border-bottom: 0.03rem solid white;
}

.side article {
    padding-right: 0;
    padding-top: 0;
}

.side h1 {
    text-align: center;
    writing-mode: vertical-rl;
    font-size: 1rem;
    position: absolute;
    right: 0;
    bottom: 0;
}

@media only screen and (min-width: 1000px) {
    .side {
        transform: translate(-93%, 0);
        min-height: 15em;
        width: auto;
    }

    .side h1 {
        font-size: 1.25rem;
        padding-right: 0.5em;
    }

    .side article {
        padding-right: 0;
        padding-top: inherit;
    }
}

.move {
    transform: translate(0, 0);
}

.scroll {
    overflow-y: auto;
    max-height: 11.5rem;
    max-width: 90%;
}

@media only screen and (min-width: 1000px) {
    .scroll {
        max-height: 13em;
    }
}


.members-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
}

.member {
    background: rgba(59, 59, 59, 0.35);
    backdrop-filter: blur(7px);
    border: 1px solid rgba(78, 77, 77, 0.5);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.member:hover {
    transform: translateY(-5px);
    border-color: #089c9c;
}

.member h1 {
    font-size: 1.5rem;
    color: #089c9c;
    margin-bottom: 1rem;
}

.member .fa-user {
    font-size: 4rem;
    color: #fff;
    margin: 1rem 0;
}

#former-members {
    margin: 70px 0;
    padding: 2rem;
    text-align: center;
}

#former-members ul {
    list-style-type: none;
    padding: 0;
}


@media only screen and (max-width: 768px) {
    .members-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .member {
        padding: 1.5rem;
    }
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.changing-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.button-primary {
    background: transparent;
    border: 1px solid rgba(78, 77, 77, 0.5);
    color: #fff;
    padding: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-primary:hover,
.button-primary.active {
    color: #089c9c;
    border-color: #089c9c;
}

.projects p {
    color: #fff !important;
}

.project-content,
.project-image {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-content.active,
.project-image.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.project-image.active {
    display: flex !important;
    justify-content: center;
}

.project-images {
    min-height: 20vh;
    margin-top: 1rem;
}

.project-image img {
    width: 50%;
    height: auto;
}


@media only screen and (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-images {
        display: none;
    }

    .gallery-container img {
        width: 100% !important;
        height: auto;
        margin: 10px;
    }
}


.gallery-container img {
    width: 50%;
}

.gallery-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.member img {
    height: 200px;

}
.lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #ddd;       
  margin: 0 0 1rem;
}

.main-nav ul li a[href*="recruitment"]:hover,
.main-nav ul li a[href*="recruitment"].active {
  color: #C10532 !important;
}

/* TO CO PONIŻEJ TO JEST DO REKRUTACJI- USUNAC PO REKRUTACJI*/
@media only screen and (min-width: 70em) {
  .main-nav ul li a.nav-rekrutacja:hover,
  .main-nav ul li a.nav-rekrutacja:focus,
  .main-nav ul li a.nav-rekrutacja.active {
    color: #C10532;
  }

  
  .main-nav ul li a.nav-rekrutacja:hover::after,
  .main-nav ul li a.nav-rekrutacja:focus::after,
  .main-nav ul li a.nav-rekrutacja.active::after {
    background: #C10532;
  }
}


@media only screen and (max-width: 69.999em) {
  .main-nav ul li a.nav-rekrutacja:hover,
  .main-nav ul li a.nav-rekrutacja.active {
    color: #C10532;
  }
  .main-nav ul li a.nav-rekrutacja:hover::after,
  .main-nav ul li a.nav-rekrutacja.active::after {
    background: #C10532;
  }
}