/* ==========================================================================
   CUSTOM.CSS – nadpisania dla Inter Cars
   ========================================================================== */
a{
    color: #e20613;
    font-family:"Zuume";
    font-size: 1.2em;
}
/* ============================= */
/* BANNER: usuń listę punktów     */
/* ============================= */
#banner .highlights {
    display: none !important;
}

/* ============================= */
/* BANNER: tekst nad licznikiem   */
/* ============================= */
#banner .countdown-intro {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 2.5vh;
    color: #fff;
    margin: 2vh 0 1vh;
}

/* ============================= */
/* BANNER: przywróć normalny flow */
/* ============================= */
#banner .content {
    /*display: block !important;*/
    text-align: center;
    padding: 3vh 2vw;
}

/* ============================= */
/* BANNER: licznik w jednej linii */
/* ============================= */
#banner .countdown.inline {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    gap: 4vw;
    margin: 0 auto 3vh;
    width: auto;
}

/* pojedynczy element licznika */
#banner .count-item {
    text-align: center;
    line-height: 1.2;
}

/* duże cyfry */
#banner .count-number {
    font-size: 6vh;
    font-weight: bold;
    display: block;
    color:white;
}

/* opisy cyfr */
#banner .count-label {
    font-size: 2vh;
    opacity: 0.8;
    color:white;
}

/* --------------------------------------------------------------------------
   Tu mogą iść kolejne nadpisania dla innych sekcji
   -------------------------------------------------------------------------- */




/* ============================= */
/* Header – tło paska nagłówka  */
/* ============================= */
body.landing #header {
    background: #0F2033;
}

/* ============================= */
/* 1. Statyczne tło strony       */
/*    kolor + obraz up-07.png    */
/* ============================= */
html {
    background-color: #EEEEEE;
}

/* ============================= */
/* 1. Statyczne tło strony       */
/*    kolor + obraz up-07.png    */
/* ============================= */
html {
    background-color: #EEEEEE;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background:
        url('images/up-07.png') no-repeat
        center top / contain
        fixed;
    position: relative;  /* tworzy stacking context */
    z-index: 0;          /* baza dla pseudo */
    /*overflow: hidden;*/
}





header.major:after {
    background: linear-gradient(90deg,rgba(0, 27, 51, 1) 10%, rgba(67, 197, 241, 1) 37%, rgba(67, 197, 241, 1) 64%, rgba(226, 6, 19, 1) 90%);
}

h1, h2, h3, h4, h5, h6 {
    color: #e20613;

}
h4{
    font-size:1.8em;
}

h2 {
    color: #43C5F1;
    font-weight:700;
    margin: 0;
}

/* Wymuszamy pogrubienie tylko godzin w agendzie */
li strong {
    font-weight: 700;
}

section {
    color: #0F2033;
}

header p {
    color: #0F2033;
}

#logo{
    color: #fff;
}

strong, b {
    color: #0F2033;
    font-weight:700;
}

#banner {
    background-color: #272833;
    box-shadow: 0 0.25em 0.5em 0 rgba(0, 0, 0, 0.25);
    min-height: 100vh;
    position: relative;
    text-align: center;
    z-index: 21;
    overflow: hidden;
}
#banner video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
}
#banner:after {
    background-image:
        -moz-linear-gradient(top, rgba(23, 24, 32, 0.95), rgba(23, 24, 32, 0.6)),
        url("images/overlay.png");
    background-image:
        -webkit-linear-gradient(top, rgba(23, 24, 32, 0.95), rgba(23, 24, 32, 0.6)),
        url("images/overlay.png");
    background-image:
        linear-gradient(to bottom, rgba(23, 24, 32, 0.95), rgba(23, 24, 32, 0.6)),
        url("images/overlay.png");
}

@keyframes glow {
    0% {
        text-shadow: 0 0 4px currentColor;
    }
    50% {
        text-shadow: 0 0 12px currentColor;
    }
    100% {
        text-shadow: 0 0 4px currentColor;
    }
}

.blink {
    display: inline-block;
    /* dowolny kolor tekstu: */
    /*color: #e91e63;*/
    animation: glow 1.2s ease-in-out infinite;
}


.feature-text p {
    display: inline-block;
    transform: scale(1);
    animation: highlight 10s ease-in-out infinite;
}

/* delay co 2s dla kolejnych <p> */
.feature-text p:nth-of-type(1) {
    animation-delay: 0s;
}
.feature-text p:nth-of-type(2) {
    animation-delay: 2s;
}
.feature-text p:nth-of-type(3) {
    animation-delay: 4s;
}
.feature-text p:nth-of-type(4) {
    animation-delay: 6s;
}
.feature-text p:nth-of-type(5) {
    animation-delay: 8s;
}

@keyframes highlight {
    0%, 20%, 100% {
        transform: scale(1);


    }

    10%          {
        transform: scale(1.5);


    }
}

.wrapper.style2 {
    background: #fff;
}
h3{
    font-size: 2.35em;
    font-weight: 700;
    font-style: italic;
}

ul li::marker {
    font-size: 1.5em;
    color: #e20613;
    list-style: square;
}

.row h4
{
    background: linear-gradient(90deg,rgba(0, 27, 51, 1) 60%, rgba(67, 197, 241, 1) 83%, rgba(67, 197, 241, 1) 100%);
    color: white;
    font-style: italic;
    padding-left: 1em;
    transition: transform 0.3s ease;

}

.row h4:hover{
    transform: scale(1.1)
}


/*.speakers span.image.fit{
    border-bottom: solid #e20613 4px;

}*/


.speakers span.image.fit {
    --c: #e20613; /* the border color */
    --b: 10px;    /* the border thickness*/
    --g: 5px;     /* the gap on hover */

    padding: calc(var(--g) + var(--b));
    --_g: #0000 25%,var(--c) 0;
    background:
        conic-gradient(from 180deg at top    var(--b) right var(--b),var(--_g))
        var(--_i,200%) 0  /200% var(--_i,var(--b))  no-repeat,
        conic-gradient(            at bottom var(--b) left  var(--b),var(--_g))
        0   var(--_i,200%)/var(--_i,var(--b)) 200%  no-repeat;
    transition: .3s, background-position .3s .3s;
    cursor: pointer;
}
.speakers span.image.fit:hover {
    --_i: 100%;
    transition: .3s, background-size .3s .3s;
}

.ramka{
    --c: #e20613; /* the border color */
    --b: 2px;    /* the border thickness*/
    --g: 2px;     /* the gap on hover */

    padding: calc(var(--g) + var(--b));
    --_g: #0000 25%,var(--c) 0;
    background:
        conic-gradient(from 180deg at top    var(--b) right var(--b),var(--_g))
        var(--_i,200%) 0  /200% var(--_i,var(--b))  no-repeat,
        conic-gradient(            at bottom var(--b) left  var(--b),var(--_g))
        0   var(--_i,200%)/var(--_i,var(--b)) 200%  no-repeat;
    transition: .3s, background-position .3s .3s;
    cursor: pointer;
}
.ramka:hover {
    --_i: 100%;
    transition: .3s, background-size .3s .3s;
}


/* ============================= */
/* Wrapper z animowaną ramką i nakładką */
/* ============================= */
.ramka2 {
    position: relative;
    display: inline-block;
    width: 15vw;              /* zdjęcie zajmuje 20% szerokości ekranu */
    overflow: hidden;

    /* obwódka animowana */
    --c: #e20613;             /* kolor ramki */
    --b: 2px;                 /* grubość ramki */
    --g: 2px;                 /* odstęp przy hover */
    padding: calc(var(--g) + var(--b));
    --_g: #0000 25%, var(--c) 0;
    background:
        conic-gradient(
        from 180deg at top    var(--b) right var(--b),
        var(--_g)
        ) var(--_i,200%) 0 / 200% var(--_i,var(--b)) no-repeat,
        conic-gradient(
        at bottom var(--b) left var(--b),
        var(--_g)
        ) 0 var(--_i,200%) / var(--_i,var(--b)) 200% no-repeat;
    transition: .3s, background-position .3s .3s;
    cursor: pointer;
}

.ramka2 img {
    display: block;
    width: 100%;
    height: auto;
}

.ramka2:hover {
    --_i: 100%;
    transition: .3s, background-size .3s .3s;
}

/* ============================= */
/* Nakładka z podpisem (zawsze widoczna) */
/* ============================= */
.ramka2::after {
    content: attr(data-caption);
    position: absolute;
    bottom: 2%;
     left: 50%;                   /* punkt wyjścia – środek rodzica */
    transform: translateX(-50%); 
    width: calc(100% - 8px);
    background: linear-gradient(
        90deg,
        rgba(0, 27, 51, 1)   60%,
        rgba(67, 197, 241, 1)83%,
        rgba(67, 197, 241, 1)100%
        );
    color: white;
    font-style: italic;
    padding: 0.1em 1em;
    box-sizing: border-box;
    line-height: 1.4em;
    z-index: 1;
    font-size: 0.8em;
}





.naglowek2 {
    position: relative;
    background-color: #001b33;
    color: #e20613;
    padding: 0.7em 2.2em;
    overflow: hidden;
    /* tworzymy stacking context */
    z-index: 0;
    /*border: solid white 2px;*/
    border-radius: 20px;
    font-size: 2.35em;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 0.6em;
}

/* oba paski muszą być niżej */
.naglowek2::before,
.naglowek2::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    transform: skewX(-14deg);
    transform-origin: top left;

    /* poniżej tekstu */
    z-index: -1;
}

/* czerwony */
.naglowek2::before {
    left: -50px;
    width: 200px;
    background-color: #e20613;
}

/* biały pasek */
.naglowek2::after {
    left: 80px;
    width: 40%;
    background-color: #fff;

    /* dodajemy przejście na zmianę szerokości */
    transition: width 0.4s ease;
}

/* najechanie na całe .naglowek2 */
.naglowek2:hover::after {
    width: 60%;
}

p,li{
    font-family: Roboto;
}

.lightblue{
    color:#43C5F1;
}
.italic{
    font-style:italic;
}

.red{
    color:#e20613;
}


@media screen and (max-width: 1184px) {
    .ramka2::after {
        display: none;
    }
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 100;              /* domyślnie niewidoczne */
    transition: opacity 0.3s ease;
}

.overlay.visible {
    visibility: visible;
    opacity: 1;
}

.video-container {
    background-color: #fff;
    border: 2px solid red;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

#videoPlayer {
    max-width: 90vw;
    max-height: 80vh;
}

.guziczek{
    background: #e20613;
    color: white;
    padding: 0.5em 2em;
    font-family: 'Zuume';
    border-radius: 0.5em;
    margin-left: 1em;
    margin-right: 1em;
}
.guziczki{
    margin-bottom: 2em;
    display: flex;
    justify-content: center;
}

#scrollToBottom {
    position: fixed;      /* przyklejony do viewportu */
    bottom: 20px;         /* 20px od dołu */
    right: 20px;          /* 20px od prawej */
    padding: 10px 15px;
    font-size: 14px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 1000;        /* nad innymi elementami */
}
#scrollToBottom:hover {
    background: #0056b3;
}
.ikony {
  display: flex;
  justify-content: center;  /* wyśrodkuj wiersz ikonek */
  flex-wrap: wrap;          /* zawijaj przy małej szerokości */
  gap: 1rem;                /* odstęp między ikonami */
}

.ikonka {
  display: flex;
  flex-direction: column;   /* obrazek nad podpisem */
  align-items: center;      /* wyśrodkuj poziomo zawartość */
  max-width: 10vw;           /* ten sam limit co img */
}

.ikonka img {
  width: 100%;              /* wypełnij szerokość kontenera */
  height: auto;
}

.ikonka figcaption {
  width: 100%;              /* nie szersze niż obrazek */
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.9rem;        /* dostosuj wg potrzeb */
  line-height: 1.2;
}
.ikonka a {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
