@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

html {
    font-size: 100%;
}

body{
    background-color: #f8f8f8;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
}

.navbar-brand img.header-logo{
    max-height: 65px;
}

.navbar-brand img.ue-logo{
    max-height: 40px;
    padding-left: 10px;
}

.navbar.bg-light{
    background-color: #fff !important;
}

.navbar-nav .nav-link{
    font-size: .9rem;
    line-height: 1.2;
    padding: 15px 10px !important;
    margin: 0 5px;
    background-color: none;
    border: 1px solid none;
    border-radius: 10px;
    color: #000;
    font-weight: bold;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover{
    background-color: #f9d905;
}

.btn-yellow{
    background-color: #f9d905;
    padding: 6px 15px !important;
    border: 1px solid none;
    border-radius: 10px;
    font-weight: bold;
}

.btn-yellow:hover{
    background-color: #f9d905;
    opacity: 0.7;
}

.navbar-nav .nav-item .btn-group button{
    background-color: #fff !important;
    border-radius:  10px;
    border: 1px solid #000;
    padding: 0px 5px;
    font-weight: bold;
}

.navbar-nav .nav-item .btn-group button:hover{
    background-color:  #f9d905 !important
}

.navbar-nav .nav-item .btn-group button:nth-child(2){
    border-radius: 0 !important;
}

.navbar-nav .nav-item .btn-group button:nth-child(3){
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.navbar-nav .nav-item .nav-link img.facebook-icon{
    max-height: 25px;
}

.main-slider .item .content{
    margin-top: 50px;
}

.main-slider .item .content h2{
    line-height: 1.2;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.main-slider .item .content a{
    margin-top: 30px;
}

.main-slider .item{
    border-bottom: 8px solid #f9d905;
}

section{
    margin-top: 70px;
}

.section-title{
    display: inline-block;
    position: relative;
    padding: 0 20px 5px;
    margin-bottom: 50px;
}

.section-title::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 10px;
    background-color: #ec6526;
    border-radius: 5px;
}

.section-title::after{
    width: 100%;
    left: 0%;
}

.section-title::after{
    transition: width .3s ease;
}

.section-title:hover::after{
    width: 110%;
}

ul.yellow-list {
    margin-top: 20px;
    margin-bottom: 30px;
    list-style: none;
    padding-left: 0;
}

ul.yellow-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

ul.yellow-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);

    width: 20px;
    height: 20px;

    background-image: url('../img/yellow-rhombus.png');
    background-size: contain;
    background-repeat: no-repeat;
}

section#project-goal{
    /*background: url('../img/section_bg_1.png') no-repeat bottom right;*/
}

section#project-goal .info{
    position: relative;
}

section#project-goal .pz-wrapper{
    position: absolute;
    bottom: 0;
}

.icon-text {
    display: flex;
    align-items: center; /* wyśrodkowanie w pionie obrazka i tekstu */
    gap: 15px;           /* odstęp między obrazkiem a tekstem */
}
.red-border {
    padding: 0 20px;
    border: 2px solid #ec6526;
    border-radius: 15px;
    height: 69px;
    align-items: center; 
}

.green-border{
    padding: 10px 20px;

    display: flex;
    align-items: center;   /* wyśrodkowanie w pionie */

    border: 2px solid #21ae4d;
    border-radius: 15px;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    background-color: #fff;
}

.yellow-border{
    padding: 10px 20px;

    display: flex;
    align-items: center;   /* wyśrodkowanie w pionie */

    border: 2px solid #f9d905;
    border-radius: 15px;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    background-color: #fff;
}

.icon-text {
    display: flex;
    align-items: center;   /* pionowe wyrównanie */
    gap: 15px;             /* odstęp między ikoną a tekstem */
}

.icon-text img {
    width: 69px;           /* pełna kontrola rozmiaru */
    height: auto;
    flex-shrink: 0;        /* ikona nie zmniejsza się */
}

.icon-text p {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 200;
    margin: 0;
    background-color: #fff;
}

.margin-top-100{
    margin-top: 70px;
}

.red-triangle{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start; /* 👉 do prawej */
}

.yellow-rhombus{
    display: flex;
    align-items: flex-start;
    justify-content: flex-end; /* 👉 do prawej */
}

.red-triangle img, .yellow-rhombus img{
    width: 156px;
}

.pz-header{
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.pz-header img{
    margin-left: auto;
    max-height: 260px;
    width: auto;
}

.pz-name{
    line-height: 1;
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 200;
}

.pz-wrapper{
    margin: 10px 0;
}

.pz-wrapper strong{
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 600;
}

footer{
    margin-top: 100px;
    background-color: #f9d905;
    padding: 40px 0;
}

footer .list-inline{
    display: flex;
    align-items: center; /* WYŚRODKOWANIE W PIONIE */
}

footer .list-inline-item{
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-weight: bold;
}

footer #footer-menu .list-inline-item a:hover{
    text-decoration: underline;
}

footer #footer-social-flags{
    margin: 30px 0;
}


footer #footer-social-flags img.facebook-black, 
footer #footer-social-flags img.flag{
    max-height: 35px;
    margin: 0 0 0 10px;
}

footer #footer-logo img.logo-black{
    max-height: 75px;
}

footer #footer-logo img.logo-ue-black{
    max-height: 45px;
    margin: 0 0 0 10px;
}

footer .contact-info p{
    margin-bottom: 20px;
}

.single-page{
    padding-top: 30px;
    min-height: 60vh;
}

.header-shapes img{
    max-height: 150px;
}

.section-header{
    display: flex;
    align-items: center;       /* pionowe wyśrodkowanie */
}

.header-shapes{
    margin-left: auto;         /* wypycha listę w prawo */
    margin-bottom: 0;
}

.section-title{
    margin: 0;                 /* usuń domyślne marginesy h1 */
}

.in-progress img{
    margin-top: 50px;
    max-height: 400px;
}

.title-center, .in-progress{
    text-align: center;
}

.title-center h1{
    font-weight: 700;
}

.partner-item img{
    max-width: 250px;
    margin-right: 20px;
}

.partner-item{
    margin-bottom: 30px;
}

.partner-item-single{
    padding: 20px;
    display: flex;
    align-items: center;
    border: 2px solid #000;
    border-radius: 15px;
    font-size: 1rem;
    background-color: #fff;
}

.text-right{
    text-align: right;
}

.news-list, .events-list{
    margin-top: 50px;
}

.news-list .card{
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: 5px solid #f9d905;
    border-radius: 0;
}

.events-list .card{
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: 5px solid #000;
    border-radius: 0;
}

.news-list .card .card-img-top, .events-list .card .card-img-top{
    border: none;
    border-radius: 0;
}

.news-list .card h5, .events-list .card h5{
    font-weight: 700;
}

.events-list .event-image{
    position: relative;
}

.events-list .event-image .label{
    position: absolute;
    padding: 6px 20px;
    border: 1px solid none;
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
    font-weight: 700;
}

.events-list .stationary-event .label{
    background-color: #3d97d2 !important;
}

.events-list .card.stationary-event {
    border-bottom-color: #3d97d2 !important;
}

.events-list .card.stationary-event .btn-yellow{
   background-color: #3d97d2 !important;
   border-color: #3d97d2 !important;
}

.events-list .webinarium .label{
    background-color: #21ae4d !important;
}

.events-list .card.webinarium {
    border-bottom-color: #21ae4d !important;
}

.events-list .card.webinarium .btn-yellow{
   background-color: #21ae4d !important;
   border-color: #21ae4d !important;
}

.contact-form-wrapper{
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #fff;
    border-radius: 15px;
}

.contact-form-wrapper .form-header h3{
    margin: 0px;
    display: inline-block;
    background-color: #f9d905;
    padding: 6px 30px;
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-form-wrapper .form-content{
    margin-top: 30px;
    padding: 0 30px;
}

.contact-form-wrapper .form-content label{
    margin-bottom: 10px;
}

.contact-form-wrapper .form-content .form-control{
    border: 2px solid #ccc;
    border-radius: 15px;
}

.contact-form-wrapper .form-content .form-group{
    margin-bottom: 20px;
}

.contact-page .logo-wrapper img.logo{
    max-height: 80px;
}

.contact-page .logo-wrapper img.logo-ue{
    max-height: 45px;
}

.contact-page .logo-wrapper{
    margin-top: 80px;
}

.contact-page .contact-info{
    padding-left: 20px;
    margin-top: 30px;
}

.contact-page .header-shapes{
    margin-top: 50px;
}

.flags-fiche{
    z-index: 1000;
    position: fixed;
    top: 20%;
    right: 0;
}

.flags-fiche li{
    margin: 0;
     background-color: #f9d905;
    padding: 5px;
}

.flags-fiche img{
    max-height: 35px;
    max-width: 50px;

}

.gallery-content li{
    margin-bottom: 10px;
}

.gallery-content li img{
    max-height: 200px;
}

.text-with-image img.float-left {
    float: left;          /* obrazek po lewej */
    margin-right: 25px;   /* odstęp między obrazkiem a tekstem */
    margin-bottom: 10px;  /* odstęp poniżej obrazka */
    width: 500px;         /* szerokość obrazka */
    height: auto;
}

.top-bar {
    width: 100%;
    background-color: #f9d905; /* kolor tła paska */
    color: black;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    padding: 6px 0;
}

.top-bar .marquee {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 40s linear infinite;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Opcjonalnie zmniejsz padding w mobile */
@media (max-width: 768px) {
    .top-bar .marquee {
        animation-duration: 30s;
        font-size: 0.9rem;
    }
}