* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', monospace;
}

body {
    background-color: #0a0a0a;
    color: white;
    min-height: 100vh;
}

/* Navigace */
.navbar {
    padding: 20px 10%;
    background-color: rgba(10, 10, 10, 0.9);
    margin-bottom: 30px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-typewriter {
    flex: 1;
}

.typewriter-text {
    font-size: 1.8rem;
    color: #00a8ff;
    border-right: 2px solid #00a8ff;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #00a8ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #00a8ff;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hlavní obsah */
.main-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10%;
    gap: 50px;
}

.left-column {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.right-column {
    width: 60%;
    padding-top: 150px;
}

/* Profilovka */
.profile-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin-left: 50px; /* Posun více doprava */
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.water-ring {
    position: absolute;
    width: 110%;
    height: 110%;
    top: -5%;
    left: -5%;
    border-radius: 50%;
    background: linear-gradient(45deg, #00a8ff, #00ffaa);
    animation: wave 4s ease-in-out infinite;
    z-index: 1;
    opacity: 0.7;
}

@keyframes wave {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Sociální sítě */
.socials {
    display: flex;
    gap: 15px;
    margin: 30px 0 20px 100px; /* Posun doprava */
}

.socials a {
    color: white;
    font-size: 28px;
    transition: all 0.3s;
}

.socials a:hover {
    color: #00a8ff;
    transform: translateY(-5px);
}

/* Ovládání hudby */
.music-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: rgba(20, 20, 20, 0.8);
    padding: 15px;
    border-radius: 10px;
    width: 250px;
    margin-left: 50px; /* Posun doprava */
}

.music-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00a8ff;
}

.music-info i {
    font-size: 24px;
}

.buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

button {
    background: rgba(30, 30, 30, 0.8);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

button:hover {
    background: #00a8ff;
    transform: scale(1.1);
}

button i {
    font-size: 20px;
}

#volumeControl {
    width: 100%;
    height: 5px;
    -webkit-appearance: none;
    background: #333;
    border-radius: 5px;
    outline: none;
    margin-top: 10px;
}

#volumeControl::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: #00a8ff;
    border-radius: 50%;
    cursor: pointer;
}

/* Textový obsah */
.name {
    font-size: 3.5rem;
    color: #00a8ff;
    margin-bottom: 20px;
}

.title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #aaa;
    margin-bottom: 20px;
}

.welcome-text {
    font-size: 1.2rem;
    line-height: 1.2;
}

/* Progress stránka */
.progress-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
}

.progress-title {
    text-align: center;
    font-size: 2.5rem;
    color: #00a8ff;
    margin-bottom: 40px;
}

.skill {
    margin-bottom: 30px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        box-shadow: 
        0 0 15px rgba(0, 168, 255, 0.3),  /* Modrý glow */
        inset 0 2px 5px rgba(0,0,0,0.5);  /* Prohlubeň uvnitř */
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
    position: relative;
    animation: fillAnimation 2s ease-out forwards;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
                rgba(255,255,255,0.1) 0%, 
                rgba(255,255,255,0.3) 50%, 
                rgba(255,255,255,0.1) 100%);
    animation: liquidFlow 3s infinite linear;
    border-radius: 10px;
}

/* Barvy progress barů */
.html {
    background: linear-gradient(90deg, #ff5e5e, #ff0000);
}

.css {
    background: linear-gradient(90deg, #5e8cff, #0066ff);
}

.js {
    background: linear-gradient(90deg, #ffe05e, #ffcc00);
}

.technik {
    background: linear-gradient(90deg, #5eff8c, #00ff66);
}

/* Animace */
@keyframes fillAnimation {
    from { width: 0; }
    to { width: var(--final-width); }
}

@keyframes liquidFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Aktivní link v navbaru */
.nav-link.active {
    color: #00a8ff;
}

.nav-link.active::after {
    width: 100%;
    background-color: #00a8ff;
}
/* Práce - Projects Section */
.work-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.work-title {
    text-align: center;
    font-size: 2.5rem;
    color: #00a8ff;
    margin-bottom: 50px;
    position: relative;
}

.work-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #00a8ff, #00ffaa);
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.project-card {
    width: 350px;
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Glow Efekty */
.appleland {
    border: 2px solid #00ff66;
    animation: appleland-glow 3s infinite alternate;
}

.sebiland {
    border: 2px solid #ff3333;
    animation: sebiland-glow 3s infinite alternate;
}

@keyframes appleland-glow {
    from { box-shadow: 0 0 10px rgba(0, 255, 102, 0.5); }
    to { box-shadow: 0 0 25px rgba(0, 255, 102, 0.8); }
}

@keyframes sebiland-glow {
    from { box-shadow: 0 0 10px rgba(255, 51, 51, 0.5); }
    to { box-shadow: 0 0 25px rgba(255, 51, 51, 0.8); }
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 20px;
}

.card-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
}

.position {
    color: #aaa;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.position span {
    color: #00a8ff;
}

.description {
    color: #ddd;
    margin-bottom: 20px;
    line-height: 1.5;
}

.visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 20px;
    background: #00a8ff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.visit-btn:hover {
    background: #0088cc;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }
    
    .project-card {
        width: 100%;
        max-width: 400px;
    }
}
/* Kontakty */
.contacts-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
}

.contacts-title {
    text-align: center;
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 50px;
}

.highlight {
    color: #00a8ff;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Barvy karet */
.discord {
    border-color: #5865F2;
}
.discord .contact-icon {
    background: rgba(88, 101, 242, 0.2);
}
.discord:hover {
    border-color: #5865F2;
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.3);
}

.youtube {
    border-color: #FF0000;
}
.youtube .contact-icon {
    background: rgba(255, 0, 0, 0.2);
}
.youtube:hover {
    border-color: #FF0000;
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

.instagram {
    border-color: #E1306C;
}
.instagram .contact-icon {
    background: rgba(225, 48, 108, 0.2);
}
.instagram:hover {
    border-color: #E1306C;
    box-shadow: 0 10px 20px rgba(225, 48, 108, 0.3);
}

.web {
    border-color: #00a8ff;
}
.web .contact-icon {
    background: rgba(0, 168, 255, 0.2);
}
.web:hover {
    border-color: #00a8ff;
    box-shadow: 0 10px 20px rgba(0, 168, 255, 0.3);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #fff;
}

.contact-link {
    display: block;
    color: #00a8ff;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #0088cc;
    text-decoration: underline;
}

.contact-desc {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-message {
    text-align: center;
    font-size: 1.2rem;
    color: #ddd;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsivní úpravy */
@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contacts-title {
        font-size: 2.2rem;
    }
}