@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800;900&display=swap');


html {
    height: 100%;
    scroll-behavior: smooth;
}


:root {
    --b1: #074A59;
    --b2: #06313E;
    --r1: #F24535;
    --y1: #F2B544;
    --w1: #ffffff
}

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

body {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto
}

h1 {
    font-size: 30px;
    color: var(--b1)
}

h1.inlogo {
    font-size: 50px;
    color: var(--w1)
}

h2 {
    font-size: 32px;
    color: var(--y1)
}

h2#welcome-text-par {
  font-size:38px;

}

h3 {
    font-size: 20px;
    font-weight: 400;
    color: var(--b1)
}

#landing-banner-wrapper {

    height: auto;
    max-width: 1400px;
    margin:0 auto;
    display: flex;
    flex-direction: row
}

#info-wrapper {
    width: 100%;
    height: 100%;
    padding: 20px;
    padding-top: 0px;
    margin: auto;
    justify-content: center;
    align-items: flex-start;
    flex-grow: 0;
    text-align: right;

}

#welcome-margins {
  margin-top: 40pt; margin-bottom: 40pt; padding:20pt;
}

#welcome-text {
    text-align: center;
    margin: auto;
    width: 70%;
    font-weight: 400;
    font-size: 25px;
    color: white
}

#welcome-text-par {
    text-align: left;
    color: white;
    max-width: 100%;
    font-size:20px;
    margin-bottom: 30pt; margin-top: 14pt
}

#background-image {
    height: 100%;
    width: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-size: cover;
    display: none
}

#info-wrapper img {
    width: 80%;
    min-height: 250px;
    min-width: 250px;
    vertical-align: top;
}

#landing-banner-wrapper a {
    text-align: center;
    text-decoration: none;
    font-family: "Rubik", sans-serif;
    font-size: 20px;
    color: var(--b2);
    border: white 2px solid;
    background-color: white;
    border-radius: 20px;
    padding: 10px;
    transition: ease-in 0.2s;
    margin: 10px 0px;

}

#landing-banner-wrapper a:hover {
    transition: ease-in 0.2s;
    transform: translateY(-3px);
    border-radius: 20px
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 25px;
    border-bottom: 1px solid var(--b1)
}

.navbar a {
    color: var(--b1);
    text-decoration: none;
    font-size: 20px;
    font-weight: bold
}

.navbar-center {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center
}

.navbar-center li {
    align-items: center
}

.navbar-center li+li::before {
    content: "|";
    color: #06313E;
    font-weight: 900;
    margin: 0 15px
}

.navbar a:hover {
    color: var(--y1)
}

#current {
    color: var(--r1)
}

#current:hover {
    color: var(--y1)
}

#rejestracja {
  text-decoration: none;
  cursor: pointer;
}

#info-wrapper>img {
    padding-right:20pt;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    }

.navbar-right {
    display: block
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer
}

.navbar-toggle svg {
    fill: var(--b1)
}

@media screen and (max-width: 900px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start
    }

    .profile-item {
        display: block
    }

    .navbar-right {
        display: none
    }

    .navbar-toggle {
        display: block;
        position: absolute;
        right: 15px
    }

    .navbar-center {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 15px
    }

    .navbar-center.active {
        display: flex;
        align-items: center
    }

    .navbar-center li {
        margin: 10px 0;
        display: flex
    }

    .navbar-center li+li::before {
        display: none
    }

    .navbar-right {
        margin: auto;
        margin-top: 15px
    }

    .profile-item {
        display: block
    }
}

.info-banner {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #f1b239;
    padding: 20px;
    border-radius: 20px;
    width: 310px
}

.info-banner h2 {
    color: #06313e
}

.event {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 4px;
    border: #06313e 2px solid;
    padding: 10px;
    border-radius: 10px;
    color: var(--b2)
}

.event-info:not(:has(div)) {
    margin-top: -4px
}

hr {
    color: var(--b1);
    background-color: var(--b1);
    height: 3px
}

#feed {
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    max-width: 1400px
}

#footer {
/*     background-color: var(--r1); */
    padding: 20px;
    color: #fff
}

#footer-text {
    margin: 0 auto;
    width: 100%;
    max-width: 1400px
}

.post {
    border: 2px solid var(--b1);
    border-radius: 20px;
    color: var(--b1);
    padding: 20px 30px;
    margin-bottom: 30px
}

.post a {
    color: var(--b1)
}

.post a:hover {
    color: #fff;
    background-color: var(--b1);
    border-radius: 3px;
    text-decoration: none
}

.post h3 {
    margin: 8px 0
}

.post_content {
    margin-top: 10px
}

.post_content.justified {
    text-align: justify;
}

.post_content p+p,
ul+p,
ol+p {
    margin-top: 10px
}

.post_content p+ol,
p+ul {
    margin-top: 5px
}

.post_content ol {
    padding-left: 20px
}

.post_content ul {
    padding-left: 20px;
    list-style-type: disc
}

.post_content li+li {
    margin-top: 5px
}

.post_content blockquote {
    margin: 10px 0;
    padding: 10px 10px 10px 20px;
    background-color: #f5f5f5;
    border-left: 5px solid var(--y1)
}

.post_content hr {
    height: 1px;
    margin: 10px 0
}

.images {
    margin-top: 10px
}

.profile {
    display: grid;
    justify-items: center;
    background-color: var(--b1);
    height: auto;
    min-height: 200px;
    border-radius: 20px;
    align-content: center;
    line-height: 1.2;
    padding: 20px
}

.column_right {
    margin-top: 0;
    width: calc(100% - 390px)
}

.column_left {
    display: flex;
    flex-direction: column;
    width: 310px;
    margin-right: 60px;
    gap: 30px
}

.profile {
    width: 310px
}

.row {
    flex-direction: row;
    margin-top: 50px
}

.post-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 20px;
    align-items: baseline;
    margin-bottom: 8px
}

.seminar-theme {
    color: var(--b2)
}

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



    .row {
        flex-direction: column;
        align-items: center;
        margin-top: 20px
    }

    .profile {
        display: none
    }

    .column_left {
        margin: 0;
        width: 100%
    }

    .info-banner {
        width: 100%;
        margin: auto
    }

    .column_right {
        width: 100%;
        margin-top: 50px
    }

    .post {
        padding: 20px
    }


     #landing-banner-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #info-wrapper {
        order: -1; /* logo na górze */
        text-align: center;
        margin: 0;
        padding: 10px 0 5px; /* mniejszy odstęp od dołu */
    }

    #info-wrapper img {
        width: 250px; /* większe logo */
        min-width: unset;
        min-height: unset;
    }

    #landing-banner-wrapper > div:first-child {
        width: 100%;
    }

    #landing-banner-wrapper h2,
    #landing-banner-wrapper p,
    #landing-banner-wrapper a {
        width: 100%;
        text-align: center;
    }

    #welcome-margins {
        margin-top: 0pt; margin-bottom: 20pt; padding:20pt;
    }

    h2#welcome-text-par {
      font-size:24px;
    }

    #welcome-text-par {
      font-size:18px;
      margin-bottom: 30pt; margin-top: 0pt
}

}

main {
    display: flex;
    align-items: center;
    height: auto
    width:100%;
    background-image: linear-gradient(to right, rgb(6,49,62), rgba(255,255,255,0),rgba(255,255,255,0), rgba(255,255,255,0)), url('../img/bg.png');
    background-repeat: no-repeat;
    background-size: cover;
}

@media screen and (min-width: 1000px) {
    #background-image {
        display: block
    }

    #info-wrapper {
        display: flex;
        width: 500px;
        height: 100%;
        min-width: 500px;
        padding: 40px 0 20px 40px;
        flex-direction: column;
        justify-content: normal;
        align-items: end;

        flex-grow: 0
    }

    #welcome-text {
        text-align: left;
        width: 70%;
        font-weight: 400;
        font-size: 25px;
        color: white;
        margin: 0
    }

    #landing-banner-wrapper {

    }
}

.profile-item {
    display: none
}

.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 4px;
    margin: 4px 0
}

.badge-container:not(:has(div)) {
    margin: 0
}

.badge {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    padding: 4px 6px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px
}

.badge-light {
    background-color: var(--b1)
}

.badge-dark {
    background-color: var(--b2)
}

.badge-featured {
    background-color: var(--r1)
}

.badge-yellow {
    color: var(--b2);
    background-color: var(--y1)
}

.badge-icon {
    font-size: 18px !important
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 25px;
    border-bottom: 1px solid var(--b1)
}

.navbar a {
    color: var(--b1);
    text-decoration: none;
    font-size: 20px;
    font-weight: bold
}

.navbar-center {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center
}

.navbar-center li {
    align-items: center
}

.navbar-center li+li::before {
    content: "|";
    color: #06313E;
    font-weight: 900;
    margin: 0 15px
}

.navbar a:hover {
    color: var(--y1)
}

#current {
    color: var(--r1)
}

#current:hover {
    color: var(--y1)
}

.navbar-right {
    display: block
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer
}

.navbar-toggle svg {
    fill: var(--b1)
}

@media screen and (max-width: 900px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start
    }

    .profile-item {
        display: block
    }

    .navbar-right {
        display: none
    }

    .navbar-toggle {
        display: block;
        position: absolute;
        right: 15px
    }

    .navbar-center {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 15px
    }

    .navbar-center.active {
        display: flex;
        align-items: center
    }

    .navbar-center li {
        margin: 10px 0;
        display: flex
    }

    .navbar-center li+li::before {
        display: none
    }

    .navbar-right {
        margin: 15px auto auto
    }

    .profile-item {
        display: block
    }
}

.profile-item {
    display: none
}



body {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    height: 100vh;
    display: flex;
    flex-direction: column;
    min-height: 100%
}

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

.container {
    max-width: 1170px;
    margin: auto;
    padding: 10px
}

.row {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center
}

ul {
    list-style: none
}

.footer {
    background-color: #033c49;
    padding: 70px 0;
    bottom: 0;
    margin-top: auto
}

hr {
    border: none
}

.footer-col {
    width: 25%;
    padding: 0 15px;
    height: auto
}

.footer-col h4 {
    font-size: 18px;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #F2B544;
    height: 2px;
    box-sizing: border-box;
    width: 50px
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px
}

.footer-col ul li a {
    font-size: 16px;
    text-transform: capitalize;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    color: #bbbbbb;
    display: block;
    transition: all 0.3s ease
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 8px
}

.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease
}

.footer-col .social-links a:hover {
    color: #24262b;
    background-color: #ffffff
}

@media(max-width: 767px) {
    .footer-col {
        width: 50%;
        margin-bottom: 30px
    }
}

@media(max-width: 574px) {
    .footer-col {
        width: 100%
    }
}

.partners-container {
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 20px;
    margin-left: -20px;
    margin-right: -20px;
    position: relative;
}

.totop {
    text-align: right;
}

.partners-container::before, .partners-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
    z-index: 1;
}
.partners-container::before {
    left: 0;
}
.partners-container::after {
    right: 0;
    transform: rotate(180deg);
}
.partners-list {
    display: flex;
    animation: scroll 20s linear infinite;
}
.partners-list:hover {
    animation-play-state: paused;
}
.partner {
    flex: 0 0 auto;
    width: 200px;
    margin: 0 15px;
    text-align: center;
}
.partner img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}


.togglepost_content {
    display: none;
    transition: max-height 0.3s ease-out;
    overflow: hidden;
}

.show .togglepost_content {
    display: block;
}

.toggle-button {
    margin: 10px 0;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}

.toggle-button:hover {
    background-color: #0056b3;
}

p#footer-info {
    color: #DADADA;
    font-size: 12px;    
}
#footer-info a {
    text-decoration: underline;
    color: #E6E6E6;
}

.navbar-right img {
        width: 150px; /* większe logo */
        min-width: unset;
        min-height: unset;
    }
