html, body {
    overflow-x: hidden;
    width: 100vw;
}

body {
    margin: 0;
    font-family: "Arial", sans-serif;
    background-color: #121212;
    color: #ddd;
    position: relative;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
    color: white;
    text-align: center;
    height: 100vh;
    
}

.background {
    background: linear-gradient(
            135deg,
            rgba(24, 24, 24, 0.9),
            rgba(0, 0, 0, 0.85)
          ),
          url("vps-background.jpg");
        background-size: cover;
        min-height: 100vh;
}

/* Logo */
.logo img{
    padding-left: 80px;
    width: 80px;
    height: auto;
}

.logo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
    border-right: white 1px solid;
    z-index: 100000;
}

/* Navigation bar */
.navbar {
    position: absolute;
    top: 0;
    width: 100vw;
    display: flex;
    align-items: center;
    padding: 15px 50px;
    z-index: 1000;
    margin-right: 130px;
}

nav {
    display: flex;
    justify-content: left;
    flex-grow: 0;
    flex: 1;
}

nav a {
    margin: 0 34px;
    color: rgb(5, 132, 235);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    transition: transform 0.3s ease;
}

nav a:hover {
    color: #035ca1;
    transform: scale(1.1);
}

header {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.velcord {
    color: white;
    font-weight: bold;
    cursor: pointer;
}

nav .velcord:hover {
    color: white;
}

.admin-btn {
    background-color: #00aaff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-left: auto;
    transition: 0.3s;
}

.admin-btn:hover {
    background-color: #0b68b4;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.icon1 {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-left: auto;
}

.icon1 span {
    width: 30px;
    height: 3px;
    background-color: white;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: rgba(45, 45, 45, 0.95);
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
    z-index: 1000;
}

.mobile-menu a {
    display: block;
    padding: 10px;
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s;
}


.mobile-menu.active {
    display: flex;
}

.icon1.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.icon1.active span:nth-child(2) {
    opacity: 0;
}

.icon1.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1060px) {
    nav, .admin-btn, .navpc {
        display: none;
    }

    .icon1 {
        display: flex;
        margin-left: auto;
        margin-right: 10px;
    }

    .mobile-menu {
        margin-top: 1.5rem;
    }

    .navbar {
        padding: 10px 30px 0 0;
        margin-right: 0;
    }

    .admin-btn {
        margin-left: 0;
        margin: 0 50px;
        color: white;
        text-decoration: none;
        font-size: 1.2rem; 
    }

    .logo img {
        padding-left: 20px;
    }

}

@media (min-width: 1060px) {
    .mobile-menu a {
        display: none;
    }

    .mobile-menu.active {
        display: none;
    }
}

/* Main */

main h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #1e90ff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.1);
}

main p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #bbb;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hover {
    transition: transform 0.5s ease-in-out;
}

.hover:hover {
    transform: translateY(-5px);
}

.switch-container {
    display: flex;
    align-items: center;
    background: #222;
    border-radius: 30px;
    padding: 5px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    width: 200px;
  }
.switch {
    position: relative;
    display: flex;
    cursor: pointer;
    width: 200px;
    height: 40px;
    background: #333;
    border-radius: 20px;
    overflow: hidden;
  }
.switch span {
    flex: 1;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    z-index: 2;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
  }
.slider {
    position: absolute;
    width: 50%;
    height: 100%;
    background: #007bff;
    border-radius: 20px;
    transition: 0.3s;
  }
.content {
    text-align: center;
    font-size: 1.2em;
  }
.hidden {
    display: none;
  }

.karta {
    background: linear-gradient(145deg, #0d1b2a, #1b263b);
    color: #00e6ff;
    padding: 20px;
    border-radius: 15px;
    width: 320px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 230, 255, 0.3);
    border: 2px solid #00e6ff;
  }
.karta h2 {
    font-size: 24px;
    margin-bottom: 15px;
    text-transform: uppercase;
  }
.karta ul {
    list-style: none;
    padding: 0;
    text-align: left;
  }
.karta ul li {
    margin: 10px 0;
    display: flex;
    align-items: center;
  }
.karta ul li img {
    width: 20px;
    margin-right: 10px;
  }

.cena {
    background-color: #00e6ff;
    color: #0a0f1e;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin: 15px 0;
    box-shadow: 0 0 10px rgba(0, 230, 255, 0.8);
  }
.button {
    display: block;
    padding: 10px;
    border: 2px solid #00e6ff;
    border-radius: 5px;
    color: #00e6ff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
  }
.button:hover {
    background-color: #00e6ff;
    color: #0a0f1e;
    box-shadow: 0 0 15px rgba(0, 230, 255, 0.8);
  }

.balicky {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    width: 80%; 
    margin: 100px 0;
}

/* Footer */
.footer {
    box-shadow: 0 0.5px 4px rgba(218, 218, 218, 0.5);
    color: white;
    padding: 40px 0;
    text-align: left;
    width: 100%;
    margin-top: 100px;
    background-color: #100d0d;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer h3 {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 2rem;
    margin-top: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 16px;
    font-weight: bold;
}

.footer-column ul li p,
.footer-column ul li a {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: #03c0ff;
}

.footer p {
    color: #03c0ff;
    font-weight: bold;
}

.footer-slogan {
    white-space: nowrap;
    overflow: visible;
    color: rgb(0, 242, 255) !important;
}

@media (min-width: 520px) and (max-width: 800px) {
    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
    }

    .footer-logo {
        grid-column: 1 / span 2;
        grid-row: 1;
    }

    .zdroje {
        grid-column: 2 / span 3;
        grid-row: 1;
    }

    .informace {
        grid-column: 2 / span 3;
        grid-row: 2;
    }

    .kontakt {
        grid-column: 1 / span 2;
        grid-row: 2;
    }
}

@media (max-width: 520px) {
    .footer-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        text-align: left;
        gap: 15px;
        padding-left: 20px;
    }

    .footer-column,
    .footer-logo {
        width: 100%;
    }

    .footer-column ul {
        padding: 0;
        list-style: none;
    }
}

@media (max-width: 600px) {
    .footer {
        margin-top: 100px;
    }
}

.contact h2 {
    text-align: center;
    font-size: 2.3rem;
    margin-top: 0px;
    padding-top: 20px;
    letter-spacing: 2px;
    font-family: "Arial", sans-serif;
    color: transparent;
    background-image: linear-gradient(45deg, #01b3ff, #0f50f4);
    -webkit-background-clip: text;
    background-clip: text;
}

.contact p {
    letter-spacing: 2px;
    color: rgb(176, 176, 176);
    font-size: 1.3rem;
    padding-bottom: 40px;
}

  
.btn {
    background-image: linear-gradient(45deg, #01b3ff, #0f50f4);
    color: white;
    margin-top: 50px;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2rem;
  
    transition: 0.3s;
    font-weight: bold;
    cursor: pointer;
    max-width: 200px;
    margin: 0 auto;

    display: block;
    text-align: center;
}
  
.btn:hover {
    transform: translateY(-3px);
    color: white;
}

.contact {
    padding: 25px;
}

@media (max-width: 450px) {
    .contact h2 {
        white-space: nowrap;
        font-size: 1.8rem;
    }
    .contact p {
        font-size: 1rem;
    }
}

a {
    transition: color 0.3s ease;
    color: rgb(176, 176, 176);
    text-decoration: none;
}

a:hover {
    color: #035ca1;
}

@media (max-width: 700px) {
    .hover h1 {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .hover h1 {
        font-size: 2.5rem;
    }

    .hover p {
        font-size: 1.2rem;
    }
}

@media (max-width: 500px) {
    .hover h1 {
        font-size: 2rem;
    }

    .hover p {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .hover h1 {
        font-size: 1.5rem;
    }

}

@media (max-width: 300px) {
    .hover h1 {
        font-size: 1rem;
    }
}

@media (max-width: 900px) {
    .hover p {
        margin: 15px;
        margin-bottom: 30px;
    }
    
}

.break-850 {
    display: none;
}

@media (max-width: 850px) {
    .break-850 {
        display: block;
    }
}

@media (max-width: 620px) {
    .content p {
        font-size: 1.2rem;
    }
}

.break-570 {
    display: none;
}

@media (max-width: 570px) {
    .break-570 {
        display: block;
    }

    .break-850 {
        display: none;
    }
}

@media (max-width: 410px) {
    .content p {
        font-size: 1rem;
    }
}

@media (max-width: 1600px) {
    .balicky {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
}

@media (max-width: 800px) {
    .balicky {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100vw;
    }
}

.hover h1, .hover p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
  }
  
body.loaded .hover h1, body.loaded .hover p {
    opacity: 1;
    transform: translateY(0);
  }
  
.switch-container, .content {
    opacity: 0;
    transition: opacity 1s ease-out;
  }
  
body.loaded .switch-container, body.loaded .content {
    opacity: 1;
  }
  
.karta {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
.karta.show {
    opacity: 1;
    transform: translateY(0);
  }
  
.karta.show:nth-child(1) {
    transition-delay: 0.2s;
  }
  
.karta.show:nth-child(2) {
    transition-delay: 0.4s;
  }
  
.karta.show:nth-child(3) {
    transition-delay: 0.6s;
  }
  
.karta.show:nth-child(4) {
    transition-delay: 0.8s;
  }

.contact {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.contact.show {
    opacity: 1;
    transform: translateY(0);
}


@media (min-width: 3000px) {
    .hover h1 {
        font-size: 8rem;
    }

    .hover p {
        font-size: 2rem;
    }

    .hover {
        margin-bottom: 2rem;
    }

    .switch-container {
        border-radius: 50px;
        padding: 8px;
        width: 350px;
      }
    .switch {
        width: 3500px;
        height: 65px;
        border-radius: 50px;
      }
    .switch span {
        line-height: 65px;
        font-size: 1.8rem;
      }
    .slider {
        border-radius: 50px;
      }
    .content {
        font-size: 2.5em;
      }

    .karta {
        width: 500px;
      }
    .karta h2 {
        font-size: 3rem;
      }

    .content p {
        font-size: 2rem;
    }

    .contact h2 {
        font-size: 5rem;
    }

    .contact p {
        letter-spacing: 3px;
        font-size: 2rem;
    }

    .btn {
        margin-top: 50px;
        padding: 20px 40px;
        border-radius: 15px;
        font-size: 3rem;
        max-width: 400px;
    }

    footer a {
        font-size: 1.8rem;
    }
    
    footer p {
        font-size: 1.8rem;
    }

    .footer-logo h3 {
        font-size: 4rem;
    }

    .lokalita img {
        width: 150px;
        height: auto;
    }

    .bezpecnost img {
        width: 150px;
        height: auto;
    }

    .lokalita {
        margin-right: 50px;
    }

    .footer-container {
        max-width: 2000px;
    }

    
}

@media (min-width: 2500px) {
    .logo img{
        width: 120px;
        height: auto;
    }

    nav a {
        font-size: 1.8rem;
        margin: 0 45px;
    }
    
    .admin-btn {
        font-size: 1.6rem;
        padding: 0.8rem 1.3rem;
        border-radius: 10px;
    }

    header h1 {
        font-size: 4rem;
    }
}

@media (min-width: 3800px) {
    .logo img{
        width: 160px;
        height: auto;
    }

    nav a {
        font-size: 3rem;
        margin: 0 70px;
    }
    
    .admin-btn {
        font-size: 2.5rem;
        padding: 1rem 1.5rem;
        border-radius: 20px;
    }

    header h1 {
        font-size: 8rem;
    }
}

@media (max-width: 400px) {
    .karta {
        width: 250px;
      }
    .karta h2 {
        font-size: 2rem;
      }

    .content p {
        font-size: 1rem;
    }
}