.header-scrolled .header-content {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.navbar-scrolled {
    background-color: #DB4544;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #EEE5E9;
    color: #333;
}

header {
    color: #EEE5E9;
    transition: background-color 0.3s ease;
}

header .header-content {
    text-align: center;
    transition: all 0.3s ease;
    
}
@media (min-width: 824px) {
    header .logo {
        max-width: 600px;
        transition: all 0.3s ease;
    }
}
@media (min-width: 505px) and (max-width: 824px) {
    header .logo {
        max-width: 500px;
        transition: all 0.3s ease;
    }
}

@media (min-width: 405px) and (max-width: 505px) {
    header .logo {
        max-width: 400px;
        transition: all 0.3s ease;
    }
}

@media (min-width: 305px) and (max-width: 405px) {
    header .logo {
        max-width: 300px;
        transition: all 0.3s ease;
    }
}
@media (min-width: 200px) and (max-width: 305px) {
    header .logo {
        max-width: 200px;
        transition: all 0.3s ease;
    }
}

@media (min-width: 550px) and (max-width: 660px) {
    .navbar ul li {
        font-size: 12px;
    }
}

@media (min-width: 525px) and (max-width: 550px)  {
    .navbar ul li {
        font-size: 11px;
    }
}

@media (min-width: 495px) and (max-width: 525px)  {
    .navbar ul li {
        font-size: 10px;
    }
}

@media (min-width: 350px) and (max-width: 495px)  {
    .navbar ul li {
        font-size: 9px;
    }
}
@media (min-width: 325px) and (max-width: 350px)  {
    .navbar ul li {
        font-size: 8px;
    }
}
@media (min-width: 250px) and (max-width: 325px)  {
    .navbar ul li {
        font-size: 6px;
    }
}

header h1 {
    margin: 10px 0 0 0;
    transition: all 0.3s ease;
}

.navbar {
    padding: 20px;  
    position: sticky;
    top: 0;
    background-color: #268C9A;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: #EEE5E9;
    text-decoration: none;
    font-weight: bold;
}

.navbar ul li a:hover {
    text-decoration: underline;
}

main {
    padding: 50px 0;
    align-content: center;
}

.container {
    width: 80%;
    margin: 0 auto;
}

section {
    margin-bottom: 40px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    text-align: block;
}

.about, .news, .gallery {
    text-align: block;
}

.gallery .gallery-img {
    max-width: 45%;
    margin: 10px;
}

footer {
    background-color: #DB4544;
    color: #EEE5E9;
    text-align: center;
    padding: 10px 0;
    bottom: 0;
}

footer .logo {
    max-width: 200px;
}

footer .socials {
    margin: 10px 0;
}

footer .socials a {
    margin: 0 10px;
}

footer .socials img {
    max-width: 30px;
}

footer p {
    padding: 20px;
}

h1 {
    text-align: center;
    text-decoration: underline;
}

h2 {
    color: #DB4544;
}

.cervena {
    color: #DB4544;
    font-weight: bold;
}

.modra {
    color: #268C9A;
    font-weight: bold;
}

.bila {
    color: #EEE5E9;
    font-weight: bold;
}

.cerna {
    color: black;
    font-weight: bold;
}

.btn {
    margin-top: 40px;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.btn-backgroundcervena {
    background-color: #DB4544;
    -webkit-border-radius: 28;
    -moz-border-radius: 28;
    border-radius: 28px;
    -webkit-box-shadow: 0px 1px 3px #666666;
    -moz-box-shadow: 0px 1px 3px #666666;
    box-shadow: 0px 1px 3px #666666;
    color: #EEE5E9;
    font-size: 18px;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    margin-top: 20px;
}

.btn-backgroundmodra {
    background-color: #268C9A;
    -webkit-border-radius: 28;
    -moz-border-radius: 28;
    border-radius: 28px;
    -webkit-box-shadow: 0px 1px 3px #666666;
    -moz-box-shadow: 0px 1px 3px #666666;
    box-shadow: 0px 1px 3px #666666;
    color: #EEE5E9;
    font-size: 18px;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    margin-top: 20px;
}

.btn-backgroundbila {
    background-color: #EEE5E9;
    -webkit-border-radius: 28;
    -moz-border-radius: 28;
    border-radius: 28px;
    -webkit-box-shadow: 0px 1px 3px #666666;
    -moz-box-shadow: 0px 1px 3px #666666;
    box-shadow: 0px 1px 3px #666666;
    color: #EEE5E9;
    font-size: 18px;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    margin-top: 20px;
}

.btn-backgroundcerna {
    background-color: black;
    -webkit-border-radius: 28;
    -moz-border-radius: 28;
    border-radius: 28px;
    -webkit-box-shadow: 0px 1px 3px #666666;
    -moz-box-shadow: 0px 1px 3px #666666;
    box-shadow: 0px 1px 3px #666666;
    color: #EEE5E9;
    font-size: 18px;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    margin-top: 20px;
}

.btn-backgroundcervena:hover {
    background-color: #268C9A;
}

.btn-backgroundmodra:hover {
    background-color: #DB4544;
}

.btn-backgroundbila:hover {
    color: #EEE5E9;
    background-color: black;
}

.btn-backgroundcerna:hover {
    color: black;
    background-color: #EEE5E9;
}

#sponzors {
    margin-right: auto;
    margin-left: auto;
    width: 80%;
    display: block;
    color: #EEE5E9;
    background-color: black;
    padding-top: 30px;
    padding-bottom: 30px;
}

#sponzors-container {
    background-color: black;
}

#blok-loga-sponzors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
}

.loga-sponzors {
    max-width: 300px;
}

.join-form {
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.join-form label {
    margin-top: 10px;
}

.join-form input,
.join-form textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #DB4544;
    border-radius: 5px;
}

.join-form input[type="submit"] {
    background-color: #DB4544;
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.join-form input[type="submit"]:hover {
    background-color: #268C9A;
}

.join-form input:hover {
    border-color: #268C9A;
}

.join-form textarea:hover {
    border-color: #268C9A;
}

.join-form input:focus {
    outline-color: #268C9A; 
}

.join-form textarea:focus {
    outline-color: #268C9A;
}

.training {
    padding: 20px;
    background-color: #FFF;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 20px auto;
}

.training-schedule {
    width: 100%;
    justify-content: space-around;
    border-collapse: collapse;
    margin-top: 20px;
}

.training-schedule th, .training-schedule td {
    border: 1px solid #DB4544;
    padding: 10px;
    text-align: left;
}

.training-schedule th {
    background-color: #DB4544;
    color: white;
}

.training-schedule tbody tr:nth-child(even) {
    background-color: #EEE5E9;
}

#countdown {
    text-align: center;
    color: #EEE5E9;
    font-size: 24px;
    font-weight: bold;
    background-color: #268C9A;
    padding: 10px;
    border-radius: 30px;
    margin: 10px auto;
    width: 80%;
    justify-content: space-around;
}

#none-training {
    text-align: center;
}

.team-section {
    padding: 20px;
}

.player-group {
    margin-bottom: 40px;
}

.player-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.player-card {
    position: relative;
    width: 300px; /* Zvýšení velikosti karty */
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.player-photo {
    width: 100%;
    height: auto;
}

.player-info {
    position: relative;
    padding: 20px; /* Zvýšení paddingu */
    background-color: #f8f8f8;
}

.player-name {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.first-name {
    margin-top: 20px;
    font-size: 0.8em;
}

.last-name {
    font-size: 1.4em;
    font-weight: bold;
}

.player-number {
    position: absolute;
    top: -5px; /* Upravte polohu kruhu */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; /* Zvýšení velikosti kruhu */
    height: 60px;
    background-color: #268C9A;
    border: 2px solid #EEE5E9;
    color:#EEE5E9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em; /* Zvýšení velikosti textu */
    font-weight: bold;
    line-height: 60px; /* Zajištění vertikálního vycentrování textu */
}

#contact-info {
    background-color: #f2f2f2;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    width: fit-content;
    justify-content: space-around;
}

#contact-info ul {
    list-style-type: none;
    padding: 0;
}

#contact-info ul li {
    margin-bottom: 10px;
}

#contact-info ul li strong {
    font-weight: bold;
    color: #268C9A;
    margin-right: 10px;
}

/* Optional: Customize link styles for email */
#contact-info ul li a {
    color: #268C9A;
    text-decoration: none;
    transition: color 0.3s ease;
}

#contact-info ul li a:hover {
    color: #DB4544;
}

