body {
    background-color: black;
    font-size: 1.5vw;
    font-family:'Sans-serif';
    color: white;
    margin-left: 4vw;
}
.header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap; 
    padding: 1rem 0;
    box-sizing: border-box;
}
.name{
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color:white;
    margin-bottom: 0;
}
.name:hover{
    cursor: pointer;
}
.nav {
    display: flex;
    flex-direction: row;
    justify-content: center; 
    margin-left:8vw;
}
.nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    justify-content: center; 
    width: 100%;             
    padding: 0;
    margin: 0;
}
.navLink{
    font-family: "Encode Sans Condensed", sans-serif;
    font-weight: 400;
    font-style: normal;
    color:white;
    text-decoration: none;
    
}
.navLink:hover{
    cursor:pointer;
}
.language{
    font-family: "Encode Sans Condensed", sans-serif;
    font-weight: 400;
    font-style: normal;
    color:white;
    margin-left: 10vw;
    text-decoration: none;
    margin-right: 4vw;
}
.language:hover{
    cursor:pointer;
}
.technologies i {
    font-size: 3.5vw;
    margin-right: 0.5vw; /* Add space between icons */
}

.technologies i:last-child {
    margin-right: 0; /* Remove margin after last icon */
}
.projectsSchool{
    display: flex;
    flex-direction: column;
}
.projectsSchool > .projects-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2vw;
}
.projects{
    display: flex;
    flex-direction: column;
}
.projects > .projects-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2vw;
}
.sectionTitle{
    font-size:1.5vw;
}
.project{
    border:0.5vw white solid;
    border-radius: 1vw;
    width: 41vw;
    box-sizing: border-box;
}
.project:hover{
    cursor:pointer;
}
#projectName{
    padding-left: 1vw;
}
.technologiesProject{
    padding-top: 1vw;
    padding-bottom: 1vw;
    padding-left: 1vw;
}
.technologiesProject i {
    font-size: 5vw;
    margin-right: 0.5vw; /* Add space between icons */
}
.project img{
    width:40vw;
    height: 20vw;
}
.project p {
    padding-left:1vw;
}
.a{
    color: rgb(0, 81, 255);
}
.year p{
    padding-left:1vw;
}
.contacts{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3vw;
    cursor:pointer;
}
.contact i{
    font-size: 3.5vw;
}
.footer {
        width: 100%;
        text-align: center;
        margin-top: 3vw;
        padding: 1vw 0;
        background: black;
        z-index: 100;
}
.contactLink{
    text-decoration:none;
    color:white;
}

@media (max-width: 600px) {
    body {
        font-size: 5vw;
        padding: 0 2vw;
    }

    .header {
        padding: 0.5rem 0;
        align-items: center;
        text-align: center;
        flex-direction: column; /* přidáno, aby se header sloupce zobrazily pod sebou */
    }

    .name {
        text-align: center;
        
    }
    .language,
    .nav{
        margin: 0 0 0 0;
    }
    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .navLink {
        font-size: 4vw;
    }

    .language {
        text-align: center;    
        margin-top:2vh;
    }

    .projectsSchool > .projects-list,
    .projects > .projects-list {
        flex-direction: column;
        gap: 4vw;
    }

    .project {
        width: 100%;
        border-width: 1vw;
        border-radius: 2vw;
    }
    .project img {
        width: 100%;
        height: auto;
        border-radius: 1vw;
    }   
    .technologies i,
    .contact i {
        font-size: 10vw;
    }

    .sectionTitle {
        font-size: 5vw;
        text-align: center;
    }

    .contacts {
        gap: 5vw;
    }

    .footer {
        font-size: 3.5vw;
    }
}