body{
    padding: 0;
    margin: 0;
    background: #fff;
    font-family: 'Raleway', sans-serif;
}


::-moz-selection { /* Code for Firefox */
    background: #47f5ff;
    color: #000000;
}

::selection {
    background: #47f5ff;
    color: #000000;
}

/*
nav{
    text-align: center;
    width: 100%;
    background: #fff;
    height: max-content;
}

nav a{
    text-decoration: none;
    color: #000;
    font-size: 20px;
    padding: 5px;
    margin: 10px;
    background-color: #f0f0f0;
     background-image: none; 
    border-radius: 20px;
    display: inline-block;
    cursor: pointer;
}
nav a:hover{
    background-color: #c7c7c7;
    transition: .5s;
}
*/

.next a{
    background-color: #f0f0f0;
    cursor: pointer;
    padding: 8px 16px;
}
.next a:hover{
    background-color: #c7c7c7;
}

.selected{
    background-color: #52d7ff;
    background: linear-gradient(to right, rgb(0 236 175) 0%, rgb(0 222 188) 20%, rgb(0 189 219) 80%, rgb(0 170 237) 100%)  no-repeat;
    background-attachment: fixed;
}
.selected:hover{
    background-color: #3ca8c9;
}

#logo{
    width: 100%;
    text-align: center;
    padding: 10px 0 0;
}
#logo img{
    max-width: 400px;
    width: 90%;
}

.content{
    margin: 0 auto;
}

.mySlides {
/*
    display:none;
    transition: transform 0.3s ease-out;
*/
    transform: translateX(0);
    background-image: linear-gradient(to right, #fff, #ddd, #fff);
    margin: auto;
    text-align: center;
    padding: 10px 0;
}
nav{
    position: relative;
    z-index: 200;
}

/**FOOTER***/
footer{
    text-align: center;
    position: relative;
}
.odkazFoto{
    display: inline-block;
    padding: 5px;
}

.odkazFoto a{
    padding: 10px;
}


.odkazFoto a:nth-child(1):hover img{
  content: url(foto/email-colored.svg);
}
.odkazFoto a:nth-child(2):hover img{
  content: url(foto/discord-colored.svg);
}
.odkazFoto a:nth-child(3):hover img{
  content: url(foto/instagram-colored.png);
}

h2 span{
    position: relative;
    padding-bottom: 5px;
    font-size: 40px;
}

h2 span::after{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-bottom: transparent solid 2px;
    border-image: linear-gradient(0.25turn, rgba(0, 146, 64, 0), rgb(0 236 175), rgb(0 170 237), rgba(0, 147, 221, 0));
    border-image-slice: 1;
    content: "";
}

p{
    font-size: 20px;
}

nav::after{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-bottom: transparent solid 2px;
    border-image: linear-gradient(0.25turn, rgba(0, 146, 64, 0), rgb(0 236 175), rgb(0 170 237), rgba(0, 147, 221, 0));
    border-image-slice: 1;
    content: "";
}
footer::before{
    
    position: absolute;
    left: 0;
    top: -23px;
    width: 100%;
    height: 2px;
    border-bottom: transparent solid 2px;
    border-image: linear-gradient(0.25turn, rgba(0, 146, 64, 0), rgb(0 236 175), rgb(0 170 237), rgba(0, 147, 221, 0));
    border-image-slice: 1;
    content: "";
}

@media screen and (max-width: 480px){
    nav a{
        margin: 10px 0px;
    }
}
/************************************************Úvod****************************************************/

p.jmena-role {
    margin: 0 0 40px;
    font-size: 12px;
}

p.jmena-1 {
    margin: 0px 0 0 0;
}
.jmena-img{
    height: 100px;
    border-radius: 10px;
}
#nasTym{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
/*    grid-template-rows: repeat(2, 1fr);*/
/*    max-width: 600px;*/
    margin: auto; 
}

.jmena{
/*
    background: #dddddd;
    border-radius: 10px;
    margin: 10px;
*/
/*    background: radial-gradient(circle, rgb(19 176 238 / 41%) 0%, rgb(21 176 237 / 28%) 9%, rgb(21 176 237 / 9%) 29%, rgb(255 255 255 / 0%) 57%);*/
}

@media screen and (max-width: 650px){
    #nasTym {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    .jmena:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .jmena:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .jmena:nth-child(3) {
        grid-column: 2;
        grid-row: 1;
    }

    .jmena:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }

}
/************************************************HISTORIE************************************************/

.timeline{
    position: relative;
    max-width: 1200px;
    margin: 100px auto;
}
.timeline .container{
    padding: 10px 50px;
    position: relative;
    width: calc(50% - 100px);
/*    animation: movedown 1s linear forwards;*/
    opacity: 0;
}
.animate-timeline .container{
    animation: movedown 1s linear forwards;
/*    animation-delay: 1s;*/
}
@keyframes movedown{
    0%{
        opacity: 1;
        transform: translate(-30px);
    }
    100%{
        opacity: 1;
        transform: translate(0px);
    }
}
.timeline .container img{
    position: absolute;
    width: 40px;
/*    border-radius: 50%;*/
    right: -20px;
    top: 32px;
    z-index: 10;
}
.timeline .text-box{
    padding: 20px 30px;
    background: #fff;
    position: relative;
    border-radius: 6px;
    font-size: 15px;
}
.timeline .text-box h2{
    font-weight: 600;
}
.timeline .text-box small{
    display: inline-block;
    margin-bottom: 15x;
}
.left-container{
    left: 0;
}
.right-container{
    left: 50%;
}
.right-container img{
    left: -20px;
}
.animate-timeline::after{
    content: '';
    position: absolute;
    width: 6px;
    height: 100%;
    background: #fff;
    top: 0;
    left: 50%;
    margin-left: -3px;
    z-index: -1;
    animation: moveline 6s linear forwards;
    border-radius: 20px;
}
.show-timeline::after{
    content: '';
    position: absolute;
    width: 6px;
    height: 100%;
    background: #fff;
    top: 0;
    left: 50%;
    margin-left: -3px;
    z-index: -1;
/*    animation: moveline 6s linear forwards;*/
    border-radius: 20px;
}
@keyframes moveline{
    0%{
        height: 0;
    }
    100%{
        height: 100%;
    }
}
.left-container-arrow{
    height: 0;
    width: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #fff;
    right: -15px;
}
.right-container-arrow{
    height: 0;
    width: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #fff;
    left: -15px;
}

.text-box p{
    font-size: 18px;
}
@media screen and (max-width: 730px){
    .timeline{
        margin: 50px auto;
    }
    .timeline::after{
        left: 31px;
        background: #d3d3d3;
    }
    .timeline .container{
        width: calc(100% - 105px);
        padding-left: 80px;
        padding-right: 25px;
    }
    .timeline .text-box{
        font-size: 13px;
    }
    .timeline .text-box small{
        margin-bottom: 10px;
    }
    .right-container{
        left: 0;
    }
    .left-container img, .right-container img{
        left: 10px;
    }
    .left-container-arrow, .right-container-arrow{
        border-right: 15px solid #fff;
        border-left: 0;
        left: -15px;
    }
}


/************************************************NAPSALI O NÁS*******************************************/



/*
.web-odkaz{
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgb(0 0 0 / 10%);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 200px;
    height: 200px;
    display: inline-block;
    margin: 10px 4%;
    
}
*/
/*

.web-odkaz img{
    width: 100%;
    display: none;
}

.web-odkaz-logo{
    color: #000;
    width: 200px;
    height: 200px;
    display: inline-block;
    border-radius: 16px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.web-odk{
    width: 200px;
    height: 200px;
    display: inline-block;
    margin: 10px 4%;
    position: relative;
}

.web-text{
    position: absolute;
    top: calc(50% - 24px);
    width: 100%;
    z-index: 10;
    color: #fff;
    background: rgba(0,0,0,0.5);
}

.web-odkaz{
    visibility: visible;
    opacity: 1;
    transition: visibility 0.5s, opacity 0.5s linear;
}

.web-odk:hover .web-odkaz{
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.5s, opacity 0.5s linear;
}



@media screen and (max-width: 500px){
    .web-odkaz{
        width: 150px;
        height: 150px;
    }
    .web-odkaz-logo{
        width: 150px;
        height: 150px;
    }
    .web-odk{
        width: 150px;
        height: 150px;
    }
    .web-text{
        font-size: 15px;
    }
}

*/

/************************************************PROJEKTY************************************************/


/*souteze - soutez - soutez-obrazek (img), soutez-text - soutez-nazev, soutez-aplikace*/

.souteze{
    max-width: 600px;
    margin: auto;
}

.soutez{
    display: grid;
    grid-template-columns: 25% 75%;
    grid-template-areas:
        'obrazek nazev'
        'obrazek aplikace';
    padding: 10px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    transition: .5s;
    cursor: pointer;
}

.soutez:hover{
/*    border: 1px solid #767676;*/
}

.soutez-obrazek img{
    height: 50px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.soutez-obrazek { 
    grid-area: obrazek; 
    position: relative;
}
.soutez-nazev { 
    grid-area: nazev; 
    text-align: left;
    padding: 5px 0;
}
.soutez-nazev p { 
    margin: 0;
    font-weight: bold;
}
.soutez-aplikace { 
    grid-area: aplikace; 
    text-align: left;
    padding: 5px 0;
}

/*overlay*/
#o-hackathon{
    position: relative;
    font-size: 25px;
    text-align: center;
}
#o-hackathon::after{
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    border-bottom: transparent solid 2px;
    border-image: linear-gradient(0.25turn, rgba(0, 146, 64, 0), rgb(0 236 175), rgb(0 170 237), rgba(0, 147, 221, 0));
    border-image-slice: 1;
    content: "";
}
#o-aplikace{
    margin-top: 40px;
}
#overlay-text{
    position: fixed;
    z-index: 1000;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 50px 20px 20px;
    width: 500px;
    max-width: calc(100vw - 40px);
    max-height: calc(90vh - 40px); /* Přidáno: omezuje maximální výšku */
    overflow-y: auto; /* Přidáno: povolí skrolování, pokud obsah přesahuje */
    border-radius: 10px;
    box-shadow: #fff 0px 0px 100px;

}
/* Stylování scrollbar pro WebKit prohlížeče */
#overlay-text::-webkit-scrollbar {
    width: 10px;
}

#overlay-text::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#overlay-text::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

#overlay-text::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Stylování pro Firefox */
#overlay-text {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}
#overlay-text a{
    color: #00afe8;
}
#overlay-text ul{
    font-size: 18px;
}
#overlay-background{
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 999;
    background: rgba(0, 0, 0, 0.75);
    top: 0;
    left: 0;
}
#close{
    position: absolute;
    right: 30px;
    font-size: 90px;
    top: 20px;
    font-weight: bold;
    cursor: pointer;
}
#close:hover{
    color: #f00;
}
#close p{
    font-size: 30px;
    margin: 0;
}


/* ========================================
   NAVBAR VARIANTA 7 - Logo v centru, menu pod ním
   Přidej tento kód na konec style.css
   ======================================== */

/* Logo wrapper */
#logo {
    width: 100%;
    text-align: center;
    padding: 20px 0 0;
}

#logo img {
    max-width: 300px;
    width: 90%;
    margin: 0 auto 15px;
}

/* Navigace */
nav {
    display: flex;
    justify-content: center;
    gap: 35px;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    z-index: 200;
    background: #fff;
}

/* Odstraníme původní gradient border a necháme jen horní a dolní čáru */
nav::after {
    display: none;
}

nav a {
    text-decoration: none;
    color: #666;
    font-size: 17px;
    font-weight: 500;
    position: relative;
    padding: 10px 0;
    transition: color 0.3s;
    background: none !important; /* Zrušíme zaoblené pozadí */
    border-radius: 0;
    margin: 0;
}

nav a:hover {
    color: #000;
    background: none !important;
}

/* Aktivní stav */
nav a.selected {
    color: #000;
    font-weight: 600;
    background: none !important;
    background-attachment: unset;
}

/* Podtržení gradient při hover a u aktivního */
nav a::after {
    content: '';
    position: absolute;
    bottom: -21px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, rgb(0 236 175), rgb(0 170 237));
    transition: width 0.3s;
}

nav a:hover::after,
nav a.selected::after {
    width: 100%;
}

/* Responsive */
@media screen and (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        gap: 20px;
        padding: 15px 10px;
    }
    
    nav a {
        font-size: 16px;
    }
    
    nav a::after {
        bottom: -17px;
    }
    
    #logo img {
        max-width: 250px;
    }
}

@media screen and (max-width: 480px) {
    nav {
        gap: 15px;
    }
    
    nav a {
        font-size: 15px;
        padding: 8px 0;
    }
    
    nav a::after {
        bottom: 0px;
    }
}

/* ======================================== */

/* ========================================
   STYLY PRO VŠECHNY PODSTRÁNKY
   Přidej na konec style.css
   ======================================== */

/* Společný nadpis stránek */
.page-header {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(135deg, rgba(0, 236, 175, 0.05) 0%, rgba(0, 170, 237, 0.05) 100%);
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(to right, rgb(0 236 175), rgb(0 170 237));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   HISTORIE - Vylepšený timeline
   ======================================== */

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
}

.timeline .container {
    padding: 10px 50px;
    position: relative;
    width: calc(50% - 100px);
    opacity: 0;
}

.animate-timeline .container {
    animation: movedown 1s linear forwards;
}

@keyframes movedown {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.timeline .container img {
    position: absolute;
    width: 50px;
    height: 50px;
    right: -25px;
    top: 32px;
    z-index: 10;
    border-radius: 20%;
/*    border-radius: 50%;*/
    border: 3px solid #fff;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline .text-box {
    padding: 25px 30px;
    background: #fff;
    position: relative;
    border-radius: 12px;
    font-size: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
    transition: all 0.3s;
}

.timeline .text-box:hover {
    border-color: rgb(0 170 237);
    box-shadow: 0 6px 25px rgba(0, 170, 237, 0.15);
    transform: translateY(-3px);
}

.timeline .text-box h2 {
    font-weight: 600;
    font-size: 22px;
    margin: 0 0 8px;
    color: #000;
}

.timeline .text-box small {
    display: inline-block;
    margin-bottom: 15px;
    color: rgb(0 170 237);
    font-weight: 600;
    font-size: 14px;
}

.timeline .text-box p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.left-container {
    left: 0;
}

.right-container {
    left: 50%;
}

.right-container img {
    left: -25px;
}

.animate-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, rgb(0 236 175), rgb(0 170 237));
    top: 0;
    left: 50%;
    margin-left: -2px;
    z-index: -1;
    animation: moveline 6s linear forwards;
    border-radius: 20px;
}

.show-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, rgb(0 236 175), rgb(0 170 237));
    top: 0;
    left: 50%;
    margin-left: -2px;
    z-index: -1;
    border-radius: 20px;
}

@keyframes moveline {
    0% {
        height: 0;
    }
    100% {
        height: 100%;
    }
}

.left-container-arrow {
    height: 0;
    width: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #fff;
    right: -15px;
}

.right-container-arrow {
    height: 0;
    width: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #fff;
    left: -15px;
}

@media screen and (max-width: 730px) {
    .timeline {
        margin: 50px auto;
    }
    
    .timeline::after,
    .animate-timeline::after,
    .show-timeline::after {
        left: 53px !important;
    }
    
    .timeline .container {
        width: calc(100% - 105px);
        padding-left: 80px;
        padding-right: 25px;
    }
    
    .timeline .text-box {
        font-size: 14px;
    }
    
    .timeline .text-box small {
        margin-bottom: 10px;
    }
    
    .right-container {
        left: 0;
    }
    
    .left-container img, .right-container img {
        left: 6px;
        width: 40px;
        height: 40px;
    }
    
    .left-container-arrow, .right-container-arrow {
        border-right: 15px solid #fff;
        border-left: 0;
        left: -15px;
    }
}

/* ========================================
   NAPSALI O NÁS - Moderní media grid
   ======================================== */

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 60px auto;
    padding: 20px;
}

.web-odk {
    width: 100%;
    height: 200px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.web-odk:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 170, 237, 0.15);
}

.web-odkaz-a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.web-odkaz-logo {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s;
}

.web-odk:hover .web-odkaz-logo {
    transform: scale(1.05);
}

.web-odkaz {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s;
}

.web-odk:hover .web-odkaz {
    opacity: 0.3;
}

.web-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    z-index: 10;
/*    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));*/
}

@media screen and (max-width: 500px) {
    .media-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .web-odk {
        height: 150px;
    }
    
    .web-text {
        font-size: 14px;
        padding: 10px;
    }
}

/* ========================================
   PROJEKTY - Moderní seznam
   ======================================== */

.souteze {
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
}

.soutez {
    display: grid;
    grid-template-columns: 80px 1fr;
    grid-template-areas:
        'obrazek nazev'
        'obrazek aplikace';
    padding: 20px;
    margin: 15px 0;
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.soutez:hover {
    border-color: rgb(0 170 237);
    box-shadow: 0 6px 20px rgba(0, 170, 237, 0.15);
    transform: translateY(-3px);
}

.soutez-obrazek {
    grid-area: obrazek;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.soutez-obrazek img {
    height: 60px;
    width: auto;
    max-width: 100%;
    position: static;
    transform: none;
}

.soutez-nazev {
    grid-area: nazev;
    text-align: left;
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.soutez-nazev p {
    margin: 0;
    font-weight: 700;
    font-size: 20px;
    color: #000;
}

.soutez-aplikace {
    grid-area: aplikace;
    text-align: left;
    padding: 5px 0;
    color: #666;
    font-size: 16px;
}

/* Overlay detail projektu */
#overlay-text {
    position: fixed;
    z-index: 1000;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 60px 30px 30px;
    width: 600px;
    max-width: calc(100vw - 40px);
    max-height: calc(90vh - 40px);
    overflow-y: auto;
    border-radius: 16px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

#overlay-text::-webkit-scrollbar {
    width: 8px;
}

#overlay-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#overlay-text::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, rgb(0 236 175), rgb(0 170 237));
    border-radius: 10px;
}

#overlay-text::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, rgb(0 222 188), rgb(0 189 219));
}

#o-hackathon {
    position: relative;
    font-size: 28px;
    text-align: center;
    margin: 0 0 20px;
    font-weight: 700;
}

#o-hackathon::after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, rgb(0 236 175), rgb(0 170 237));
    content: "";
}

#o-aplikace {
    margin-top: 40px;
    font-size: 24px;
    font-weight: 600;
    color: #000;
}

#overlay-text ul {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    padding-left: 20px;
}

#overlay-text li {
    margin-bottom: 10px;
}

#overlay-text a {
    color: rgb(0 170 237);
    text-decoration: none;
    font-weight: 600;
}

#overlay-text a:hover {
    text-decoration: underline;
}

#overlay-background {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 999;
    background: rgba(0, 0, 0, 0.8);
    top: 0;
    left: 0;
    backdrop-filter: blur(5px);
}

#close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#close:hover {
    color: #f00;
    background: #f5f5f5;
}

#close p {
    font-size: 30px;
    margin: 0;
    line-height: 1;
}

/* Slideshow v overlay */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: 20px auto;
    border-radius: 12px;
    overflow: hidden;
}

.mySlides2 {
    display: none;
}

.mySlides2 img {
    width: 100%;
    border-radius: 8px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 50%;
    user-select: none;
    background: rgba(0, 0, 0, 0.5);
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.next {
    right: 10px;
}

.prev {
    left: 10px;
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 0 0 8px 0;
}

.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

/* Responsive */
@media screen and (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }
    
    .soutez {
        grid-template-columns: 60px 1fr;
        padding: 15px;
    }
    
    .soutez-obrazek img {
        height: 45px;
    }
    
    .soutez-nazev p {
        font-size: 18px;
    }
    
    .soutez-aplikace {
        font-size: 14px;
    }
    
    #overlay-text {
        padding: 50px 20px 20px;
    }
    
    #o-hackathon {
        font-size: 24px;
    }
}

/* ======================================== */