

.navbarfixmarginja {
    width: 100%;
    height: 100px;
}

.bg-dark {
    max-width: 85vw !important;
    
    margin-left: auto !important;
    margin-right: auto !important;
    
    margin-top: 5px !important;
    border-radius: 20px !important;
    
    background-color: rgba(0, 0, 0, 0.4) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.offcanvas-backdrop {
    width: 200vw !important;
    height: 200vh !important;
    left: -100px !important;
}


body {
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-image: url("/imgs/bg.svg");
    background-color: rgb(20, 20, 20);
}



.main {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 95vw;
    margin: auto;
}

.kartya {
    display: flex;
    flex-direction: column;
    justify-content: center;

    width: 40%;
    text-align: center;

    padding: 10px;
    margin: 20px;
    border-radius: 20px;

    border: 1px solid white;

    background-color: rgba(0, 0, 0, 0.4) !important;

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.kartya::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
}

.kartya::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    transparent,
    rgba(255, 255, 255, 0.3)
  );
}


.kartya.big {
    width: 80%;
}

.kartya h1 {
    font-weight: bolder;
}


.kartya a {
    margin: 15px auto;
    width: fit-content;
    transition: 0.3s;

    border-radius: 20px;
    padding: 5px 10px;
    border: 1px solid var(--red-theme);
    background-color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
}
.kartya a:hover {
    transform: 0.3s;

    color: var(--red-theme);
    font-size: 1.1rem;
    text-decoration: underline;
    border-color: var(--red-underline);
}

.kartya p {
    text-align: center;
    width: fit-content;
    margin: 10px auto;
}

.kartya p.needtype, .kartya p.typed {
    text-align: center;
    font-size: 1.2rem;
    width: fit-content;
    margin: 15px auto !important;
}









#timeline-kulso {
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;

    position: relative;
    overflow: hidden;
    padding: 20px;
    padding-bottom: 0px;
    height: fit-content !important;
    min-width: 95vw !important;
    max-width: 95vw !important;

    border-radius: 20px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}



#timeline-kulso h2 {
    width: fit-content;
    margin: auto;
    text-decoration: underline;
}




#majelenikmeg {
    text-align: center;
    position: relative;
    max-width: 100% !important;
    margin: 30px auto;
}

#majelenikmeg div div {
    scroll-snap-align: center; /* Can also be 'start', 'center' or 'end' */
}



#idovonal_MA {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: fit-content;
    max-width: 100%;
    overflow: auto hidden;
    margin: auto;

    scroll-snap-type: x mandatory;
}


.NowAiring {
    position: relative;
    text-align: center;
    color: #fff;
    
    z-index: 1;

    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    margin: 30px;
    width: fit-content;
    padding: 5px 15px;

    scroll-snap-align: center;

    transition: 0.3s;
}

.NowAiring:hover {
    scale: 1.1;
    transition: 0.3s;
}


.NowAiring img {
    border: 2px solid white;
    width: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
}


.NowAiring h4 {
    margin: 5px auto !important;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px !important;
}

.NowAiring h5 {
    margin: 5px auto !important;
}


.NowAiring a {
    text-decoration: none;
    background: #ff5252;
    border: none;
    padding: 5px 10px;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-bottom: 10px !important;
}

.NowAiring a:hover {
    background: #ff7979;
}

.NowAiring p {
    margin-bottom: 0px;
}


.NowAiring div {
    height: 10px !important;
    width: 100%;
    margin: auto;
}










.idovonalak {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;

    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;

    position: relative;
    overflow: hidden;
    overflow-x: auto;
    white-space: nowrap;
    padding: 200px 100px;
    height: fit-content !important;

    border-radius: 20px;
}


.idovonal {
    height: 4px;
    background: #888;
    min-width: 3720px; /* 120px per day */
    margin-right: auto !important;
}



.timeline-start {
    left: -90px !important;
    top: -15px !important;
    z-index: 2;
    background-color: rgba(30,30,30);
    border-radius: 20px;
    padding: 5px 10px;
}
.timeline-end {
    left: 3725px;
    top: -45px !important;
    z-index: 2;
    background-color: rgba(30,30,30);
    border-radius: 20px;
    padding: 5px 10px;
}

.timeline-start,
.timeline-end {
    position: relative;
    width: fit-content;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}



.timeline-items {
    position: absolute;
    width: 130px;
    text-align: center;
    z-index: 1;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
    overflow: hidden;
    overflow-y: auto;

    transition: transform 0.3s ease;

    max-height: 300px !important;

    bottom: 50px;
    padding: 0;

    scroll-snap-type: y mandatory;
}

.timeline-items:hover {
    transform: scale(1.3);
    z-index: 10;
}



.tobbdolog {
    font-weight: bolder;
    font-size: 14px;
    width: fit-content;
    margin: 20px auto;
    scroll-snap-align: start;

    text-decoration: underline;
    color: white;
    animation-name: vibralasoscucc;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    animation-direction: alternate;
}


@keyframes vibralasoscucc {
    0% {
        color: white;
        text-decoration: none;
    }
    100% {
        color: var(--red-theme);
        text-decoration: underline;
    }
}


/* Timeline item (show) */
.timeline-item {
    position: relative;
    width: 130px;
    text-align: center;
    color: #fff;
    
    z-index: 1;

    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.9);
    margin-top: 30px;

    scroll-snap-align: start;
}

.timeline-item:first-of-type {
    margin-top: 0;
}


.timeline-item img {
    width: 100px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
}


.timeline-item h4 {
    margin: 5px auto !important;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.timeline-item h5 {
    margin: 5px auto !important;
}

.timeline-item h6 {
    font-size: smaller;
    margin: 0 auto;
}


.timeline-item a {
    text-decoration: none;
    background: #ff5252;
    border: none;
    padding: 5px 10px;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-bottom: 10px !important;
}

.timeline-item a:hover {
    background: #ff7979;
}

.timeline-item p {
    margin-bottom: 0px;
}


.timeline-item div {
    height: 10px !important;
    width: 100%;
    margin: auto;
}




#kijeloloresz {
    margin: 20px auto;
    margin-bottom: 0px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;

    position: relative;
    height: 300px;
    min-width: 100% !important;
    max-width: 100% !important;
}


#evek {
    position: absolute;
    bottom: 0;
    width: 15rem;
    height: 7.5rem;
    border: 3px solid white;
    border-bottom: 0px;
    border-radius: 7.5rem 7.5rem 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(20, 20, 20);
}

#evek span {
    text-align: center;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.3rem;
}





#honapok {
    position: absolute;
    bottom: 0;
    left: 49.5%;
    transform: translate(-50%, 10%);
    width: 400px;         /* Natural width */
    height: 200px;        /* Natural height (half-circle) */
    margin: 20px auto;
    list-style: none;
    padding: 0;
}

#honapok li {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 40px;
    height: 250px;
    transform-origin: bottom center;
    border: 2px solid transparent;
    box-sizing: border-box;
    border-top-color: white;

    transition: 0.3s all;
}



/*
#honapok li:nth-child(1)  { transform: rotate(277.5deg); }
#honapok li:nth-child(2)  { transform: rotate(292.5deg); }
#honapok li:nth-child(3)  { transform: rotate(307.5deg); }
#honapok li:nth-child(4)  { transform: rotate(322.5deg); }
#honapok li:nth-child(5)  { transform: rotate(337.5deg); }
#honapok li:nth-child(6)  { transform: rotate(352.5deg); }
#honapok li:nth-child(7)  { transform: rotate(7.5deg); }
#honapok li:nth-child(8)  { transform: rotate(22.5deg); }
#honapok li:nth-child(9)  { transform: rotate(37.5deg); }
#honapok li:nth-child(10) { transform: rotate(52.5deg); }
#honapok li:nth-child(11) { transform: rotate(67.5deg); }
#honapok li:nth-child(12) { transform: rotate(82.5deg); }
*/

#honapok li:nth-child(1)  { transform: rotate(279deg); }
#honapok li:nth-child(2)  { transform: rotate(297deg); }
#honapok li:nth-child(3)  { transform: rotate(315deg); }
#honapok li:nth-child(4)  { transform: rotate(333deg); }
#honapok li:nth-child(5)  { transform: rotate(351deg); }
#honapok li:nth-child(6)  { transform: rotate(9deg);   }
#honapok li:nth-child(7)  { transform: rotate(27deg);  }
#honapok li:nth-child(8)  { transform: rotate(45deg);  }
#honapok li:nth-child(9)  { transform: rotate(63deg);  }
#honapok li:nth-child(10) { transform: rotate(81deg);  }






#honapok li.selected {
    background-color: rgba(0, 0, 0, 0.5);
    border-color: var(--red-underline);
    box-shadow: 0 0 5px var(--red-theme);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;

    transition: 0.3s all;
}


#honapok li:hover {
    background-color: rgba(111, 111, 111, 0.7);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;

    transition: 0.3s all;
}


#honapok li span {
    position: absolute;
    top: -20px;
    left: 8px;
    transform-origin: bottom center;
    font-size: 12px;
    color: white;
    white-space: nowrap;
    pointer-events: none;
}




#adminPanel {
    width: fit-content;
    margin: auto;
    padding: 5px 10px;
    font-size: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--red-underline);
    border-radius: 20px;

    transition: 0.3s;
}

#adminPanel:hover {
    scale: 1.1;
    transition: 0.3s;
}
