@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Poppins", sans-serif;
    z-index: 0;
}
h2{
    color: #000000;
    text-align: center;
}
p{
    color: #000000;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: none;
    width: 100%;
    margin: auto;
    background-color: white;
    box-shadow: 0 2px 4px rgb(146 161 176 / 15%);
    z-index: 7;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.navbar .menu-items {
    display: flex;
}

.navbar .nav-container li {
    list-style: none;
}

.navbar .nav-container a {
    text-decoration: none;
    color: #0e2431;
    font-weight: 500;
    font-size: 1.65rem;
    padding: 0.7rem;
}

.navbar .nav-container a:hover{
    font-weight: bolder;
}

.nav-container {
    display: block;
    position: relative;
    height: 60px;

}

.nav-container .checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
}

.nav-container .hamburger-lines {
    height: 26px;
    width: 32px;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #0e2431;
}

.nav-container .hamburger-lines .line1 {
    transform-origin: 0 0;
    transition: transform 0.4s ease-in-out;
}

.nav-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
}

.nav-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
}

.navbar .menu-items {
    padding-top: 120px;
    /*box-shadow: inset 0 0 2000px rgba(255, 255, 255, .5);*/
    height: 100vh;
    width: 100%;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    /*margin-left: -40px;*/
    /*padding-left: 50px;*/
    transition: transform 0.5s ease-in-out;
    text-align: center;
    /*background-color: black;*/
    /*opacity: 0.5;*/
}

.navbar .menu-items li {
    margin-bottom: 1.8rem;
    font-size: 1.5rem;
    font-weight: 480;

}
.navbar .menu-items li a {
    color: black;
    opacity: 1;
}
.name {
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    color: #000000;
    z-index: 10;
}

.nav-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
}

.nav-container input[type="checkbox"]:checked ~ #overlay{
    opacity: 0.5;
}
#overlay {
    padding-top: 65px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    backdrop-filter: blur(5px);
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}


#about_me, #studies, #experience, #job, #videoedit, #projects, #pdf_cv{
    margin-left: 8%;
    margin-right: 8%;
    padding-left: 8%;
    padding-right: 8%;
    padding-bottom: 7rem;
}
#about_me{
    margin-top: 100px;
    column-count: 2;
    display: flex;
    flex-direction: row;
    column-gap: 20px;
}
/*#my_foto, #my_text{*/
/*    max-width: 40%;*/
/*}*/
#my_foto {
    text-align: right;
    display: flex;
    height: 25rem;
    width: 18rem;
}

#my_text h2{
    /*flex: 1; !* Rozťahuje textový blok tak, aby zapĺňal voľné miesto vedľa obrázka *!*/
    /*margin-top: 0; !* Odstráni nadbytočný horný okraj *!*/
    /*width: 70%;*/
    text-align: left;
}
#my_text p{
    font-size: 1.05rem;
    text-align: justify;
    padding-bottom: 10px;
}
.name-date{
    display: flex;
    flex-direction: column;
}
.name-date h3{
    padding-right: 3rem;
    padding-top: 2rem;
}
.from-to{
    color: #838383;
    display: flex;
    font-size: 0.9rem;
    align-items: center;
}
.type-of-job{
    display: flex;
    flex-direction: row;
}
.type-of-job p:nth-child(1){
    font-weight: bold;
    padding-right: 5px;
}
.description{
margin-top: 1rem;
}
.description p{
    padding-bottom: 8px;
}

iframe{
    width: 68vw;
    height: 38.25vw;
    /*width: 60vw;*/
    /*height: 33.75vw;*/
    border: none;
    padding-bottom: 0;
}
.note{
    font-size: 0.8rem;
    color: #838383;
    text-align: left;
    padding-top: 0.5rem;
    padding-bottom: 2rem;
}
#videoedit h3{
    padding-bottom: 1rem;
    padding-top: 1rem;
}
#projects{
    padding-bottom: 4rem;
}
#projects h2{
    padding-bottom: 20px;
}
#projects h3{
    padding-bottom: 10px;
    font-weight: bolder;
}
#projects h4{
    padding-bottom: 5px;
}
#projects p{
    padding-bottom: 5px;
}
.grupe-line{
    display: flex;
    flex-direction: row;
}
.grupe-line p{
    margin-right: 7px;
}
#kontakt{
    background-color: black;
    padding-left: 16%;
    padding-right: 16%;
    margin-bottom: 0;
    color: white;
    padding-bottom: 1rem;
}

#kontakt h2{
    padding-top: 1rem;
    padding-bottom: 1rem;
}
#social-media a{
    text-decoration: none;
    color: white;
    font-size: 2.5rem;
    letter-spacing: 5px;
    text-align: center;
}
#social-media{
    text-align: center;
}
#kontakt p, #kontakt h2{
    color: white;
    font-family: "Poppins", monospace;
    font-weight: 400;
    font-style: normal;
}
#kontakt p{
    padding-bottom: 5px;
}
.emails{
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}
.tels{
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}
#pdf_cv h2{
    text-align: left;
}
#pdf_cv{
    padding-bottom: 1rem;
}
footer{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    padding: 1rem 16%;
    color: white;
    background-color: black;


}
footer p{
    color: white;
}

#end-note{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    padding: 1rem 16%;
    color: white;
    background-color: black;
    border-top: white 1px solid;

}
#end-note p{
    color: white;
}

#slim-frame{
    display: none;
}


@media (max-width: 1720px) {
    #about_me{
        margin-right: 4%;
        margin-left: 4%;
    }
    #studies, #experience, #job, #videoedit, #projects, #pdf_cv{
        margin-left: 4%;
        margin-right: 4%;
    }
    #kontakt, footer{
        padding-left: 12%;
        padding-right: 12%;
    }
    iframe{
        width: 76vw;
        height: 42.75vw;

    }
    
}
@media (max-width: 1450px) {
    #about_me{
        margin-right: 0;
        margin-left: 0;
    }
    #studies, #experience, #job, #videoedit, #projects, #pdf_cv{
        margin-left: 0;
        margin-right: 0;
    }
    #kontakt, footer{
        padding-left: 8%;
        padding-right: 8%;
    }
    iframe{
        width: 84vw;
        height: 47.25vw;

    }
}
@media (max-width: 1310px) {
    #about_me{
        padding-left: 4%;
        padding-right: 4%;
    }
    #studies, #experience, #job, #videoedit, #projects, #pdf_cv{
        padding-left: 4%;
        padding-right: 4%;
    }
    #kontakt, footer{
        padding-left: 4%;
        padding-right: 4%;
    }
    iframe{
        width: 92vw;
        height: 51.75vw;

    }
}
@media (max-width: 1190px) {
    #my_foto {
        height: 30rem;
        width: 22rem;
    }
}
@media (max-width: 1100px) {
    #about_me {
        flex-direction: column;
        /*padding-left: 8%;*/
        /*padding-right: 8%;*/
        /*margin-right: 8%;*/
        /*margin-left: 8%;*/
    }
    #my_foto {
        display: flex;
        justify-content: center; /* Zarovnanie na stred vodorovne */
        align-items: center; /* Zarovnanie na stred zvisle */
        height: 18rem;
        width: 100%;
        overflow: hidden; /* Skryje časti obrázka, ktoré by mohli presahovať */
    }

    #my_foto img {
        max-height: 100%; /* Zabezpečí, aby sa obrázok nepresahoval za hranice kontajnera */
        max-width: 100%; /* Zabezpečí, aby sa obrázok nepresahoval za hranice kontajnera */
        display: block; /* Uistí sa, že obrázok sa zobrazí ako blokový element */
        margin: auto; /* Zarovná obrázok na strede */
    }
}
@media (max-width: 900px) {
    h2{
        font-size: 1.75rem;
    }
    h3{
        font-size: 1.4rem;
    }
    h4{
        font-size: 1.3rem;
    }
    p{
        font-size: 1.25rem;
    }
    a{
        font-size: 1.25rem;
    }
    #my_text h2{
        font-size: 1.75rem;
    }
    #my_text p{
        font-size: 1.25rem;
    }
    #my_foto{
        margin-bottom: 2rem;
    }
    .nav-container{
        height: 80px;
    }
    .name h1{
        font-size: 2.25rem;
    }
    .from-to{
        font-size: 1rem;
    }
    .note{
        font-size: 1rem;
    }

    .nav-container .hamburger-lines {
        /* display: block; */
        height: 40px;
        width: 52px;

    }
    .nav-container .checkbox{
        height: 40px;
        width: 52px;
        top: 20px;
        left: 20px;
    }
    #about_me, #studies, #experience, #job, #videoedit, #projects, #pdf_cv{
        margin-right: 0;
        margin-left: 0;
    }
    #about_me{
        margin-top: 120px;
    }
    iframe{
        width: 92vw;
        height: 51.75vw;

    }
    #kontakt{
        padding-left: 8%;
        padding-right: 8%;
    }
    footer{
        padding: 1rem 8%;
    }
    #end-note{
        padding: 1rem 8%;
    }
    #slim-frame{
        display: flex;
        flex-direction: column;
    }
    #wide-frame{
        display: none;
    }
    .emails p{
        text-align: center;
    }
    .tels p{
        text-align: center;
    }
    .emails{
        flex-direction: column;
    }
    .tels{
        flex-direction: column;
    }
    .navbar .nav-container a{
        font-size: 1.85rem;

    }

}
@media (max-width: 700px) {
    .grupe-line{
        flex-direction: column;
    }
    .name{
        width: 295px;
    }
    .navbar .nav-container a {
        font-size: 2rem;
    }
    .navbar .menu-items li {
        margin-bottom: 1.5rem;
    }

}
@media (max-width: 550px) {
    .name {
        transform: none;
        top: 0.8rem;
        left: unset;
        right: 1rem;
    }


}
