* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: "Poppins", sans-serif;
}

html {
    font-size: 90%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color:  #F8FAFC;
    color: #0F172A;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 9%;

    display: flex;
    justify-content: space-between;
    align-items: center;


    transition: all .35s ease;

    z-index: 1000;
}

header.scrolled {
    z-index: 1000;
    top: 15px;
    left: 5%;

    width: 90%;
    border-radius: 45px;
    background: rgba(255, 255, 255, 0.436);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);


    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.logo {
    font-size: 2rem;
    color: black;
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover {
    transform: scale(1.1);
}

nav a {
    position: relative;
    margin-left: 4rem;
    font-weight: 500;
    font-size: 1.3rem;
    color: black;
    text-decoration: none;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;

    width: 100%;
    height: 3px;

    background: #64748B;

    transform: scaleX(0);
    transform-origin: left;

    transition: transform .3s ease;
}

nav a:hover::after {
    transform: scaleX(1);
}

.home{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 8rem;
    background-color:  #F8FAFC;
    padding: 120px 9% 5rem;
    padding-top: 120px;
}

.home .home-content h1{
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
}

span{
    color: #64748B;
}

.home-content h3{
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-content p{
    font-size: 1rem;
}

.home-content {
    margin-top: 80px;
}

.home-img{
    border-radius: 50%;
}

.home-img img{
    position: relative;
    width: 100%;
    max-width: 350px;
    border-radius: 45px;
    box-shadow: 15px 15px 25px solid #64748B;
    cursor: pointer;
    transition: 0.2s linear;
}

.home-img img:hover {
    cursor: default;
}

.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3.5rem;
    height: 3.5rem;
    background-color: transparent;
    border: 0.2rem solid #64748B;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1rem 2rem 0;
    transition: 0.3s ease;
    color: #64748B;
}

.social-icons a:hover{
    transform: scale(1.3) translateY(-5px);
    color: #e5e7eb;
    background-color: #64748B;
    box-shadow: 0  0 25px #64748B;
}

.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: #64748B;
    border-radius: 45px;
    font-size: 1.2rem;
    color: white;
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid #64748B;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn:hover{
    transform: scale(1.1);
    background-color: #64748B;
    color: white;
    box-shadow: 0 0 25px #64748B;
}

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

.typing-text span{
    position: relative;
}

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

@keyframes cursor{
    to{
        border-left: 2px solid #64748B;
    }
}



.projects-section {
    padding-left: 5%;
    padding-right: 5%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color:  #F8FAFC;
    z-index: 999;
}

.skills-section h1,
.projects-content h1 {
    color: #64748B;
    display: flex;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
}


.projects-content h3 {
    display: flex;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-weight: 700;
}

.skills-section p,
.projects-content p {
    display: flex;
    justify-content: center;
    font-size: 1rem;
}

.skills-section h3,
.project h3 {
    font-size: 1.5rem;
}

.project {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 45px;

    box-shadow: 0 10px 30px rgba(0,0,0,.08);

    text-align: center;
    transition: .3s ease;
}

.project:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.316);
}

.project img {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 200px;
}

.projects-coming,
.projects-ends {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 25px 0;
}

hr {
    border: none;
    height: 1px;
    background-color: #e5e7eb;
    margin: 20px auto;
    width: 80%;
}

.skills-section {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color:  #F8FAFC;
}

.skill {
    margin-top: 2rem;
    padding: 25px;
    flex-direction: column;
    display: flex;
    background-color: #ffffff;
    max-width: 300px;
    width: 100%;
    align-items: center;
    border-radius: 45px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    text-align: center;
    transition: .3s ease;
}

.skill:hover {
    cursor: default;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.316);
}

.skills {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.skill h3 {
    margin-bottom: 15px;
}

.skill i {
    font-size: 6rem;
    margin-bottom: 1rem;
}

.skill:hover i {
    color: #64748B;
}

.skill:hover h3 {
    color: #64748B;
}

footer {
    position: relative;
    margin-top: 5rem;
    background-color: #64748B;
    padding: 25px 0;
}

.collumns {
    display: flex;
    justify-content: center;
    gap: 30rem;
}

.collumn {
    display: flex;
    flex-direction: column;
}

footer h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

footer p {
    font-size: 1.2rem;
    color: white;
}

footer .btn{
    margin-top: 1rem;
    width: 15rem;
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: #F8FAFC;
    border-radius: 45px;
    font-size: 1.2rem;
    color: #64748B;
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid #F8FAFC;
    transition: 0.3s ease;
    cursor: pointer;
}

footer .btn:hover{
    transform: scale(1.1);
    background-color: #F8FAFC;
    color: #64748B;
    box-shadow: 0 0 25px #F8FAFC;
}

footer a {
    font-size: 1.2rem;
    color: white;
}

footer a:hover {
    color: #F8FAFC;
    text-decoration: underline;
}

.custom-shape-divider-top-1784465223 {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1784465223 svg {
    position: relative;
    display: block;
    width: calc(116% + 1.3px);
    height: 30px;
}

.custom-shape-divider-top-1784465223 .shape-fill {
    fill: #F8FAFC;
}

footer h5 {
    color: white;
    display: flex;
    justify-content: center;
    margin-top: 50 px;
    font-size: 1rem;
}

#projects-sec {
    scroll-margin-top: 100px;
}

#skills-sec {
    scroll-margin-top: 100px;
}

.menu-btn{
    display:none;
    font-size:2rem;
    cursor:pointer;
    color:#0F172A;
}

.hideOnPc {
    display: none;
}

@media (max-width:900px){

    .hideOnMobile {
        display: none;
    }

    .home {
        flex-direction:column;
        align-items:center;
        text-align:center;
        margin-bottom: 30px;
    }

    .home .home-content h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .home-img img{
        width: 300px;
        display: flex;
        margin-bottom: -150px;
    }

    .social-icons a{
        margin: 2rem 0;
    }
    
    .menu-btn{
        display:block;
        z-index:1000;
        transition:.3s;
    }

    .menu-btn.active{
        transform:rotate(90deg);
    }

    nav {
        z-index: 1000;
        position: fixed;
        display: flex;
        flex-direction: column;
        gap: 2rem;

        top: 90px;
        right: 0;
        width: 260px;
        padding: 30px;
        border-radius: 45px;

        background: rgba(255, 255, 255, 0.842); 
        
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(20px);

        box-shadow: 0 20px 40px rgba(0,0,0,.08);

        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;

        transition: .35s;
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        right:0;
    }

    nav a{
        margin:0;
        font-size:1.4rem;
    }

    .projects-content h3 {
        text-align: center;
    }
    .collumns {
        display: flex;
        flex-direction: column;
        gap:2rem;
        
    }

    .collumn {
        display: flex;
        align-items: center;
    }

    footer h5 {
        margin-top: 1rem;
    }



    .projects-ends,
    .projects-coming,
    .skills{

        flex-direction:column;
        align-items:center;

    }

    .custom-shape-divider-top-1784465223 svg {
    height: 15px;
}
}


/* 
Pozadí          #F8FAFC
Karty           #FFFFFF
Primární text   #0F172A
Sekundární text #64748B


Akcent          #2563EB
Hover           #1D4ED8
*/
