
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-image: url(bg.png);
    cursor:url(kurzor.png), auto ;
}

.navbar {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 20px;
    background-color: #ffffff;
    transform: translateY(-100px); 
    opacity: 0; 
    animation: slideDown 1s ease-out forwards; 
    
}


@keyframes slideDown {
    0% {
        transform: translateY(-100px); 
        opacity: 0; 
    }
    100% {
        transform: translateY(0); 
        opacity: 1; 
    }
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: center; 
    flex-grow: 1; 
    text-align: center; 
    
}


.nav-links li a {
    text-decoration: none;
    color: black;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 10px 15px;
    position: relative;
    transition: all 0.3s ease;
    
}

.nav-links li a:hover {
    color: white;
    background-color: #000000;
    border: 2px solid #000000;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor:url(kurzor2.png), auto ;
}

.obrazek {
    width: 100px;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    cursor:url(kurzor.png), auto ;
    
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background-color: black;
    
}

.obrazek {
    width: 50px;
}

.card {
    position: fixed; 
    bottom: 20px; 
    left: 20px; 
    display: flex;
    flex-direction: row; 
    gap: 15px; 
    z-index: 1000; 
    color: #ffffff;
}

.socialContainer {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgb(44, 44, 44);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition-duration: 1s;
    opacity: 0; 
    transform: translateY(100px); 
    animation: slideUp 1s forwards ease-in-out; 
    cursor:url(kurzor.png), auto ;
}

.containerOne:hover {
    background-color: #d62976;
    transition-duration: 0.3s;
}


.containerTwo:hover {
    background-color: red;
    transition-duration: 0.3s;
}


.containerThree:hover {
    background-color: #7289da;
    transition-duration: 0.3s;
}


.containerFour:hover {
    background-color: rgb(223, 223, 89);
    transition-duration: 0.3s;
}

.socialContainer:active {
    transform: scale(0.9);
    transition-duration: 0.3s;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(100px); 
    }
    100% {
        opacity: 1;
        transform: translateY(0); 
    }
}


.content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    height: 100%;
    background-color: transparent;
    padding: 5px;
    position: relative;
}


.text-left {
    max-width: 300px; 
    position: absolute;
    left: 5%; 
    top: 25%; 
    position: relative;
    opacity: 0; 
    animation: slide-in 1s forwards; 
    
}

@keyframes slide-in {
    from {
        transform: translateX(-100%); 
        opacity: 0; 
    }
    to {
        transform: translateX(0); 
        opacity: 1; 
    }
}

.text-left p {
    font-size: 20px; 
    color: rgb(0, 0, 0);
    margin: 20px 0;
}

.text-left a {
    font-size: 1rem;
    color: #000;
    text-decoration: none;
    border-bottom: 2px solid black;
    padding-bottom: 2px;
    font-weight: 700;
    cursor:url(kurzor.png), auto ;
}

.text-left a:hover {
    color: #2960d6;
    border-color: #2960d6;
}

.name-text {
    position: fixed;
    bottom: 20px; 
    right: 20px; 
    font-size: 1.5rem; 
    color: rgb(0, 0, 0); 
    opacity: 0; 
    animation: fade-in 3s forwards; 
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
}

@keyframes fade-in {
    from {
        opacity: 0; 
    }
    to {
        opacity: 1; 
    }
}

.right-text {
    position: absolute;
    right: 4%; 
    top: 42%;   
    font-size: 4rem; 
    font-weight: 700; 
    color: #33383b; 
    text-shadow: 3px 5px rgb(168, 199, 240);
    line-height: 1.2; 
    opacity: 0; 
    animation: fade-in 4s forwards; 
}
@keyframes fade-in {
    from {
        opacity: 0; 
    }
    to {
        opacity: 1; 
    }
}


.typing-text{
    font-size: 20px;
    font-weight: 600;
    min-width: 280px;
}

.typing-text span{
    position: relative;
}

.typing-text span::before{
    content: "software Developer";
    color: #064a81;
    animation: words 20s infinite;
}

.typing-text span::after{
    content: "";
    background-color: #ffffff;
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid #ffffff;
    right: -8;
    animation: cursor 0.6s infinite;
}




@keyframes cursor{
    to{
        border-left: 3px solid #064a81;
    }
}

@keyframes words{
    0%, 20%{
        content: "Milovník žen!";
    }
    21%, 40%{
        content: "Začínající webař!";
    }
    41%, 60%{
        content: "Designer!";
    }
    61%, 80%{
        content: "Judista!";
    }
    81%, 100%{
        content: "UX Grafik!";
    }
}

@media (max-width: 1000px){
    .home{
        gap: 4rem;
    }
}

@media(max-width:995px){
    .home{
        flex-direction: column;
        margin: 5rem 4rem;
    }

    .home .home-content h3{
        font-size: 2.5rem;
    }

    .home-content h1{
        font-size: 5rem;
    }

    .home-img img{
        width: 70vw;
        margin-top: 4rem;
    }
}

.centered-image-container {
    display: flex;
    justify-content: center; 
    align-items: center;     
    padding-top: 97px;
}

.centered-image {
    width:525px;
    object-fit: contain; 
    opacity: 0; 
    animation: fade-in 2s forwards; 
}

@keyframes fade-in {
    from {
        opacity: 0; 
    }
    to {
        opacity: 1; 
    }
}