:root {
    --grey: #d9d9d9;
    --dark_grey:#6e6e6e;
    --green: #00bf63;
    --pink: #fd69ff;
    --dark_pink: #ca53cc;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", serif;
}


@font-face {
    font-family: 'MinecraftTen';
    src: url(/font/MinecraftTen.ttf);
}

@font-face {
    font-family: 'MinecraftRegular';
    src: url(/font/MinecraftRegular.ttf);
}

  


body,section {
background: linear-gradient( white ,var(grey));
background-repeat: no-repeat;
background-attachment: fixed;
}

/* navbar */

nav {
    z-index: 3;
    background-color: var(--pink);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4vh;
    padding: 20px;
    position: fixed;
    width: 100%;
}


#link {
    cursor: pointer;
}

 ul {
    list-style-type: none;
    display: flex;
    width: 45%;
    justify-content: space-around;
}


a {
    color: white;
    text-decoration: none;
    font-size: 25px;
    font-weight: bold;
    position: relative;
    padding: 20px;
    border-radius: 16px;
}

a:hover {
    transition: 0.3s;
    color: var(--grey);
}

/* burger styling */

.burger {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    display: none;
}


.line {
    width: 3em;
    height: .3em;
    background: whitesmoke;
    margin: .7em;
    border-radius: 20px;
    transition: .3s ease-in-out;
}

/* bg video */
.container {
    width: 100%;
    height: 100vh;
    background-color: hsla(0, 0%, 0%, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.content {
    text-align: center;
}

.content h1 {
    font-size: 115px;
    color:white;
    margin-bottom: -25px;
}
.content h3 {
    font-size: 25px;
    color:white;
}

.wave {
    position: relative;
    bottom: 35vh;
    width:auto;
}

.bg-clip{
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
}

@media (min-aspect-ratio:16/9) {
    .bg-clip {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio:16/9) {
    .bg-clip {
        width: auto;
        height: 100%;
    }    
}

/* PORTFIOLO - sec1 */

#sec1 .wave2 {
    position: relative;
    rotate: 180deg;
    bottom: 40vh;
    width:auto;
}

.portfolio {
    position: relative;
    bottom: 40vh;
    display: flex;
    flex-direction: column; /* Ustawia elementy w kolumnie */
    align-items: center;
    text-align: center;
}

.portfolio-title {
    margin-bottom: 20px;
    font-size: 45px; /* Dodaje odstęp między tytułem a projektami */
}

.portfolio-content {
    display: flex;
    gap: 2px; /* Odstęp między iframe */
}

.portfolio-frame {
    height: 316px;
    width: 404px;
}



/* sec2 */
#sec1 .wave {
    position: relative;
    bottom: 35vh;
    width:auto;
    z-index: 1;
}


#sec2 .wave2 {
    position: relative;
    rotate: 180deg;
    bottom: 40vh;
    width:auto;
    z-index: 1;
}

/* social */

#sec2 .pinkbg {
    position: relative;
    bottom: 70vh;
    background-color: var(--dark_pink);
    height: 85vh;
    width: auto;
}

#sec2 {
    height: 550px;
}

#sec2 .social {
    position: relative;
    top: 25vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#sec2 .social h1 {
    color: white;
    font-size: 55px;
    margin: 0 15px;
}

#sec2 .social lite-youtube {
    height: 20%;
    width: 30%;
    border-radius: 26px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .1);
}

@media screen and (max-width: 1024px) {
    .burger {
        display: block;
        transition: .3s ease-in-out;
    }

    .burger.active .line:first-child {
        transform: translateY(-300px);
    }

    .burger.burger.active .line:nth-child(2){
        transform: rotate(-405deg) translateY(8px);
    }
    .burger.burger.active .line:nth-child(3){
        transform: rotate(405deg) translateY(-10px);
    }
    
    ul {
        z-index: -2;
        display: flex;
        position: absolute;
        top: 4.5vh;
        background-color: var(--pink);
        border-radius: 0px;
        height: 25vh;
        flex-direction: column;
        width: 100%;
        justify-content:flex-start;
        text-align: center;
        row-gap: 25px;
        transform: translateY(-100%) ;
        transition: .3s ease-in-out;
    }

    ul.active {
        transform: translateY(0%) ;
    }

    .content h1 {
        font-size: 85px;
        color:white;
        margin-bottom: -25px;
    }
    .content h3 {
        font-size: 25px;
        color:white;
    }

    .bg-clip{
        position: absolute;
        right: 0px;
        bottom: 0;
        z-index: -1;
    }
    .wave {
        position: relative;
        bottom: 11vh;
        width:auto;
    }

    #sec1 .wave2 {
        position: relative;
        rotate: 180deg;
        bottom: 14vh;
        width:auto;
    }

    .portfolio {
        position: relative;
        bottom: 18vh;
        display: flex;
        flex-direction: column; /* Ustawia elementy w kolumnie */
        align-items: center;
        text-align: center;
    }
    
    .portfolio-title {
        margin-bottom: 20px;
        font-size: 45px; /* Dodaje odstęp między tytułem a projektami */
    }
    
    .portfolio-content {
        flex-direction: column; /* Ustawia elementy jeden pod drugim */
        align-items: center; /* Centruje elementy w poziomie */
        gap: 20px; /* Dodaje odstępy między elementami */
    }

    .portfolio-frame {
        width: 90%; /* Dopasowuje szerokość do ekranu */
        height: auto; /* Automatyczna wysokość */
    }


    #sec2 .pinkbg {
        position: relative;
        bottom: 37vh;
        background-color: var(--dark_pink);
        height: 75vh;
        width: auto;
    }
    
    #sec2 {
        height: 550px;
    }
    
    #sec2 .social {
        position: relative;
        top: 15vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #sec2 .social h1 {
        color: white;
        font-size: 35px;
        margin: 0 15px;
    }
    
    #sec2 .social lite-youtube {
        height: 80%;
        width: 70%;
        border-radius: 26px;
        box-shadow: 0 0 20px rgba(0, 0, 0, .1);
    }

    #sec1 .wave {
        position: relative;
        bottom: 22vh;
        width:auto;
        z-index: 1;
    }

    #sec2 .wave2 {
        position: relative;
        rotate: 180deg;
        bottom: 25vh;
        width:auto;
    }

    #sec2 {
        height: 340px;
    }
}


@media screen and (max-width: 760px){
    ul {
        z-index: -2;
        display: flex;
        position: absolute;
        top: 4vh;
        background-color: var(--pink);
        border-radius: 0px;
        height: 30vh;
        flex-direction: column;
        width: 100%;
        justify-content:flex-start;
        text-align: center;
        row-gap: 25px;
        transform: translateY(-100%) ;
        transition: .3s ease-in-out;
    }

    .content h1 {
        font-size: 85px;
        color:white;
        margin-bottom: -25px;
    }
    .content h3 {
        font-size: 25px;
        color:white;
    }

    .bg-clip{
        position: absolute;
        right: 0px;
        bottom: 0;
        z-index: -1;
    }
    .wave {
        position: relative;
        bottom: 11vh;
        width:auto;
    }

    #sec1 .wave2 {
        position: relative;
        rotate: 180deg;
        bottom: 14vh;
        width:auto;
    }

    .portfolio {
        position: relative;
        bottom: 18vh;
        display: flex;
        flex-direction: column; /* Ustawia elementy w kolumnie */
        align-items: center;
        text-align: center;
    }
    
    .portfolio-title {
        margin-bottom: 20px;
        font-size: 45px; /* Dodaje odstęp między tytułem a projektami */
    }
    
    .portfolio-content {
        flex-direction: column; /* Ustawia elementy jeden pod drugim */
        align-items: center; /* Centruje elementy w poziomie */
        gap: 20px; /* Dodaje odstępy między elementami */
    }

    .portfolio-frame {
        width: 90%; /* Dopasowuje szerokość do ekranu */
        height: auto; /* Automatyczna wysokość */
    }


    #sec2 .pinkbg {
        position: relative;
        bottom: 37vh;
        background-color: var(--dark_pink);
        height: 75vh;
        width: auto;
    }
    
    #sec2 {
        height: 550px;
    }
    
    #sec2 .social {
        position: relative;
        top: 15vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #sec2 .social h1 {
        color: white;
        font-size: 35px;
        margin: 0 15px;
    }
    
    #sec2 .social lite-youtube {
        height: 80%;
        width: 70%;
        border-radius: 26px;
        box-shadow: 0 0 20px rgba(0, 0, 0, .1);
    }

    #sec1 .wave {
        position: relative;
        bottom: 22vh;
        width:auto;
        z-index: 1;
    }

    #sec2 .wave2 {
        position: relative;
        rotate: 180deg;
        bottom: 25vh;
        width:auto;
    }

    #sec2 {
        height: 340px;
    }
}
