/*ogólne*/


/*menu*/


/*landing page*/


/*grid*/


/* mobile */


/* 2 strona */


/* 2 strona - container */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Coda&family=Poppins:wght@400;700&display=swap');

/*ogólne*/

* {
    margin: 0;
    padding: 0;
    transition: .5s;
    font-family: 'Poppins';
    color: #fff;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background: #0b1374;
    overflow-x: hidden;
    border: none;
    background-repeat: no-repeat;
}

.landing-page {
    position: relative;
    width: auto;
    min-height: 70vh;
    padding: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgb(8, 70, 115);
    background: linear-gradient(220deg, #084673 0%, rgba(22, 0, 112, 1) 100%);
    margin: 20px;
    border-radius: 50px;
}


/*menu*/

li {
    list-style-type: none;
    padding-bottom: 25px;
}

li a::before {
    content: '';
    position: absolute;
    margin-left: -10px;
    width: 5px;
    height: 0px;
    background: #77C66E;
    transition: all .2s ease-in-out;
}

li a:hover::before {
    height: 30px;
    transition: .2s ease-in-out;
}

a {
    color: #fff;
    text-decoration: none;
    font-size: 150%;
}

.primary-navigation {
    position: fixed;
    inset: 0 0 0 70%;
    background: #120045;
    flex-direction: column;
    padding: min(30vh, 10rem) 2rem;
    z-index: 1000;
    transform: translateX(100%);
}

.primary-navigation[data-visible="true"] {
    transform: translateX(0%);
    position: fixed;
}


/* .toggle.active .primary-navigation {
    transform: translateX(-100%);
} */

.toggle {
    position: fixed;
    display: flex;
    background: none;
    justify-content: center;
    align-items: center;
    border: none;
    width: 50px;
    height: 40px;
    /* aspect-ratio: 1; */
    top: 50px;
    right: 50px;
    z-index: 999999;
    cursor: pointer;
    overflow: hidden;
}

.burger {
    position: absolute;
    width: 40px;
    height: 4px;
    background: rgb(255, 255, 255);
    border-radius: 4px;
}

.burger:nth-child(1) {
    transform: translateY(15px);
    width: 25px;
    left: 15px;
}

.burger:nth-child(2) {
    transform: translateY(-15px);
    width: 25px;
    left: 15px;
}

.toggle.active .burger:nth-child(3) {
    transform: translateX(60px);
}

.toggle.active .burger:nth-child(1) {
    transform: translateY(0px) rotate(45deg);
    width: 40px;
    transition-delay: .0125s;
}

.toggle.active .burger:nth-child(2) {
    transform: translateY(0) rotate(315deg);
    width: 40px;
    transition-delay: .0125s;
}


/*landing page*/

.tagcloud {
    display: inline-block;
    font-weight: bold;
    letter-spacing: 1px;
    font-family: 'Bebas Neue', cursive;
    font-size: 20px;
}

.content {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.content .textbox {
    position: relative;
    max-width: 600px;
    visibility: hidden;
}

.content .textbox h2 {
    font-size: 4em;
    line-height: 1.4em;
    font-family: 'Coda';
}

.next {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

.gradient {
    background-image: linear-gradient(to right, #00F260, #f79d00, #0575E6, #64f38c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 300%;
    background-position: -100%;
    animation: animatedText 5s infinite alternate-reverse;
}

@keyframes animatedText {
    to {
        background-position: 100%;
    }
}

.content .textbox p {
    padding: 30px 0 30px 0;
}

.content .textbox a {
    position: relative;
    padding: 15px 30px;
    border: #B62550 solid 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    z-index: 1;
    overflow: hidden;
    transition: transform 2s ease-in-out;
    font-size: 20px;
    height: 60px;
    inset: 0;
}

.content .textbox a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #B62550;
    transform: scaleX(0);
    z-index: -1;
    transition: transform .5s ease-in-out;
    transform-origin: right;
}

.content .textbox a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}


/*grid*/

.grid {
    width: 100vw;
    min-height: 100vh;
    padding-top: 200px;
}


/* .grid-col-span-2 {
    grid-column: span 2;
} */

.grid-header {
    margin-left: 10%;
    font-size: 250%;
    font-family: 'Bebas Neue';
    letter-spacing: 3px;
}


/* 
.testimonial-grid {
    padding-block: 2rem;
    width: min(80%);
    margin-inline: auto;
    display: grid;
    gap: 10px;
} */


/* @media (max-width: 850px) {
    .testimonial-grid {
        display: flex;
        flex-direction: column;
    }
     .testimonial:last-child {
        grid-column-start: 3;
        grid-row: 1 / span 2;
    } */


/* @media (min-width: 50em) {
    .testimonial-grid {
        grid-template-areas: 'one one two five' 'three four four five'
    }
} */


/* .testimonial {
    padding: 2rem;
    border-radius: 30px;
    background: #192838;
    height: auto;
} */

.testimonial:nth-child(2) {
    background: #1EB870;
    display: grid;
    grid-row: span 2;
}

.testimonial:nth-child(3) {
    background: #31A2F5;
}

.testimonial:nth-child(4) {
    background: #0B46EB;
}

.testimonial:nth-child(5) {
    background: #6259C0;
    display: grid;
    grid-column: 3;
}

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

.flex i {
    margin-top: 30px;
    font-size: 40px;
}

.testimonial-bg,
.testimonial-bg2,
.testimonial-bg3,
.testimonial-bg4,
.testimonial-bg5 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.706);
    z-index: 1000000;
    transform: translateY(-300%);
}

.testimonial-content {
    position: fixed;
    width: 70%;
    height: 70%;
    background: #1EB870;
    top: 15%;
    left: 15%;
    border-radius: 30px;
    overflow: auto;
}

.testimonial-content2 {
    background: #192838;
    top: 15%;
    left: 15%;
    border-radius: 30px;
    position: fixed;
    width: 70%;
    height: 70%;
    overflow: auto;
}

.testimonial-content3 {
    position: fixed;
    width: 70%;
    height: 70%;
    background: #31A2F5;
    top: 15%;
    left: 15%;
    border-radius: 30px;
    overflow: auto;
}

.testimonial-content4 {
    position: fixed;
    width: 70%;
    height: 70%;
    background: #0B46EB;
    top: 15%;
    left: 15%;
    border-radius: 30px;
    overflow: auto;
}

.testimonial-content5 {
    position: fixed;
    width: 70%;
    height: 70%;
    background: #6259C0;
    top: 15%;
    left: 15%;
    border-radius: 30px;
    overflow: auto;
}

.testimonial-bg[test-visible="true"] {
    transform: translateY(0%);
}

.testimonial-bg2[testy-visible="true"] {
    transform: translateY(0%);
}

.testimonial-bg3[testp-visible="true"] {
    transform: translateY(0%);
}

.testimonial-bg4[testlb-visible="true"] {
    transform: translateY(0);
}

.testimonial-bg5[testb-visible="true"] {
    transform: translateY(0);
}

.test-content {
    padding: 30px;
}

.test-content li {
    list-style-type: disc;
}

.flex-content {
    width: 100%;
    height: 100%;
}

.button.shake {
    animation: onclick 1s;
    animation-delay: 1s;
}

.button2.shake2 {
    animation: onclick 1s;
    animation-delay: 1s;
}

.button3.shake3 {
    animation: onclick 1s;
    animation-delay: 1s;
}

.button4.shake4 {
    animation: onclick 1s;
    animation-delay: 1s;
}

.button5.shake5 {
    animation: onclick 1s;
    animation-delay: 1s;
}

button {
    position: relative;
    width: 170px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    font-size: 1.25em;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: .2em;
    gap: 10px;
    margin-top: 20px;
    border-radius: 10px;
}

button i {
    position: relative;
    display: inline-block;
    width: 2px;
    height: 30px;
    background: #fff;
    top: -15px;
    transition: .25s, width 0.25s, height .25s;
    transition-delay: 0s, .25s, .5s;
}

button:hover i {
    width: 30px;
    height: 2px;
    transition-delay: 0s, .5s, .25s;
}

button i::before {
    content: '';
    position: absolute;
    top: .5px;
    right: 0;
    width: 50%;
    height: 2px;
    background: transparent;
    rotate: 0;
    transition: .25s;
    transform-origin: right;
}

button:hover i::before {
    background: #fff;
    rotate: 45deg;
    transition-delay: .7s;
}

button i::after {
    content: '';
    position: absolute;
    top: .5px;
    right: 0;
    width: 50%;
    height: 2px;
    background: transparent;
    rotate: 0;
    transition: .25s;
    transform-origin: right;
}

button:hover i::after {
    background: #fff;
    rotate: -45deg;
    transition-delay: .7s;
}

.wyjscie {
    display: flex;
    justify-content: left;
    align-items: flex-start;
    left: 10px;
    width: 40px;
    height: 40px;
}

.wyjscie i.icon2 {
    position: absolute;
    width: 30px;
    height: 3px;
    background: #fff;
    transform: translateY(0px) rotate(315deg);
}

.wyjscie i.icon3 {
    position: absolute;
    width: 30px;
    height: 3px;
    background: #fff;
    transform: translateY(0px) rotate(45deg);
}

.wyjscie:hover i.icon2,
.wyjscie:hover i.icon3 {
    content: '';
    transform: translateY(0px) rotate(90deg);
}


/* mobile */

@media (max-width: 991px) {
    .testimonial-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-row: span 2;
    }
    /* .testimonial:last-child {
        grid-column-start: 3;
        grid-row: 1 / span 2;
    } */
    .grid-header {
        font-size: 150%;
    }
    body {
        background: #161158;
    }
    .wrapper {
        flex-direction: column;
        width: 150%;
    }
    .container {
        margin: 20px;
        width: 70%!important;
    }
    .primary-navigation {
        inset: 0 0 0 0;
    }
}

.testimonial-grid {
    display: grid;
    gap: 1.5rem;
    grid-auto-columns: 1fr;
    grid-template-areas: 'one' 'two' 'three' 'four' 'five';
    padding-block: 2rem;
    width: min(95%, 70rem);
    margin: auto;
    margin-inline: auto;
}

.testimonial {
    padding: 2rem;
    border-radius: 0.5rem;
}

.testimonial:nth-child(1) {
    grid-area: one;
    background: #192838;
}

.testimonial:nth-child(2) {
    grid-area: two;
}

.testimonial:nth-child(3) {
    grid-area: three;
}

.testimonial:nth-child(4) {
    grid-area: four;
}

.testimonial:nth-child(5) {
    grid-area: five;
}

@media (min-width: 30em) {
    .testimonial-grid {
        grid-template-areas: 'one one' 'two five' 'three five' 'four four'
    }
}

@media (min-width: 50em) {
    .testimonial-grid {
        grid-template-areas: 'one one two five' 'three four four five'
    }
}

@media (max-width: 850px) {
    .landing-page {
        padding: 20px;
        border-radius: 0;
    }
    .content {
        display: flex;
        flex-direction: row;
    }
    .content img {
        height: 300px;
    }
    .content .textbox p {
        font-size: 70%;
        max-width: 70%;
    }
    .content .textbox h2 {
        font-size: 50px;
    }
    .content .textbox a {
        font-size: 70%;
        width: 150px;
        padding: 7.5px 15px;
        height: 70%;
    }
    .landing-page {
        margin: 0;
    }
    .option {
        width: 90%!important;
    }
    .html.resize,
    .css.resize2,
    .sql.resize5,
    .php.resize4,
    .js.resize3 {
        height: 50%;
        color: #fff;
        opacity: 1;
        border-radius: 10px;
    }
    .option-content p {
        font-size: 70%;
    }
}

@media (max-width: 650px) {
    .primary-navigation {
        inset: 0 0 0 0;
    }
    .content .textbox h2 {
        font-size: 40px;
    }
    .content .textbox a {
        font-size: 100%;
        width: 200px;
        height: 60px;
        padding: 7.5px 15px;
    }
    .landing-page {
        margin: 0;
        border-radius: 0;
        padding: 20px;
    }
    .content {
        display: flex;
        flex-direction: column;
    }
    .content img {
        height: 300px;
    }
    .toggle {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 400px) {
    .tagcloud {
        display: none;
    }
    .wrapper2,
    .wrapper {
        margin: 0!important;
        top: 0!important;
        left: 0!important;
        padding: 0!important;
    }
    .container {
        width: 90%!important;
    }
    .container p {
        font-size: 110%;
    }
    .html.resize,
    .css.resize2,
    .sql.resize5,
    .php.resize4,
    .js.resize3 {
        height: 40%!important;
        color: #fff;
        opacity: 1;
        border-radius: 10px;
        transition: .5s ease-in-out;
    }
    .python.resize7 {
        height: 40%!important;
    }
    .cpp.resize8 {
        height: 50%!important;
    }
}


/* animacje */

ul.transition {
    display: flex;
    position: absolute;
    z-index: 1000000000000;
    height: 100vh;
    width: 100%;
    top: 0;
    left: 0;
    margin: 0;
    pointer-events: none;
}

ul.transition li {
    transform: scaleY(0);
    background: rgb(170, 47, 47);
    width: 20%;
}

.loading-screen {
    position: relative;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    background-color: #4BEDC2;
    width: 100%;
    height: 100%;
    transform: scaleY(0) skewX(0);
    transform-origin: top left;
}

.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 10;
    pointer-events: none;
}

@keyframes onclick {
    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }
    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}


/* 2 strona */


/* 2 strona - container */

.wrapper2,
.wrapper3 {
    background: linear-gradient(220deg, rgb(10, 97, 160) 0%, rgb(28, 0, 138) 100%);
}

.wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    visibility: hidden;
}

.container {
    width: 30%;
    height: 70vh;
    background: #5b779c;
    position: relative;
    border-radius: 15px;
}

.more {
    width: 200px;
    height: 60px;
    border: 3px solid #0097FB;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 2;
    border-radius: 0;
    color: #000000;
}

.more::before {
    content: '';
    position: absolute;
    width: 210px;
    height: 70px;
    background: #0097FB;
    transform: translateX(-100%);
    top: 0;
    left: 0;
    transition: transform .5s ease-in-out;
    z-index: -1;
}

.more:hover::before {
    content: '';
    position: absolute;
    transform: translateX(0);
}

.more:hover {
    color: #fff;
}


/* .more:hover h3 {
    font-size: 40px;
    background: #000;
} */

.button-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.container p {
    text-align: justify;
    color: #000;
}

h3 {
    color: #000;
    text-align: center;
    width: 100%;
}

.content-hover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #1EB870;
    padding: 0;
    margin: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}

.container:hover .content-hover {
    transform: scale(0);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    transform-origin: top;
    transition: .5s ease-out;
}

.content-2 {
    opacity: 0;
    padding: 30px;
}

.container:hover .content-2 {
    opacity: 1;
    transition-delay: .4s;
}

.container .content-2 h3,
.container .content-2 p {
    color: rgba(51, 51, 51, 0.5);
}

.container:hover .content-2 h3,
.container:hover .content-2 p {
    color: rgb(255, 255, 255);
    transition-delay: .9s;
    transition: color 1.5s ease-in;
}

.back {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8%;
    background: rgb(30, 78, 161);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    opacity: .2;
    cursor: pointer;
    z-index: 1000;
}

.back:hover {
    opacity: 1;
    height: 10%;
}

.button-container a {
    font-size: 15px;
}


/* inf03 */

.wrapper3 {
    height: 95vh;
}

.options-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    height: 100%;
    position: absolute;
    visibility: hidden;
}

.option {
    height: 10%;
    width: 80%;
    border-radius: 70px;
    opacity: .7;
    cursor: pointer;
}

.option-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.option-content h1 {
    text-align: center;
    padding-top: 10px;
}

.option-content p {
    color: transparent;
    padding: 10px;
    text-align: justify;
}

.option-content .option-button {
    opacity: 0;
    width: auto;
    margin: auto;
}

.option .icon {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    font-size: 30px;
    padding-bottom: 10px;
}

.option .icon i {
    color: #fff;
}

.fa-html5 {
    position: absolute;
    display: block;
}

.html {
    background: rgb(227, 76, 38);
    background: linear-gradient(90deg, rgba(227, 76, 38, 1) 0%, rgba(240, 101, 41, 1) 100%);
}

.css {
    background: rgb(38, 77, 228);
    background: linear-gradient(90deg, rgba(38, 77, 228, 1) 0%, rgba(41, 101, 241, 1) 100%);
}

.js {
    background: #f0db4f;
}

.php {
    background: #8993be;
}

.sql {
    background: #00758f;
}

.java {
    background: #f89820;
}

.python {
    background: #ffde57;
}

.cpp {
    background: #3d91d1;
}

.html.resize,
.css.resize2,
.sql.resize5,
.php.resize4,
.js.resize3,
.java.resize6,
.python.resize7,
.cpp.resize8 {
    height: 30%;
    color: #fff;
    opacity: 1;
    border-radius: 10px;
}

.html.resize .option-content p,
.css.resize2 .option-content p,
.js.resize3 .option-content p,
.php.resize4 .option-content p,
.sql.resize5 .option-content p,
.java.resize6 .option-content p,
.python.resize7 .option-content p,
.cpp.resize8 .option-content p {
    color: rgb(255, 255, 255);
}

.html.resize .option-content .option-button,
.css.resize2 .option-content .option-button,
.js.resize3 .option-content .option-button,
.php.resize4 .option-content .option-button,
.sql.resize5 .option-content .option-button,
.java.resize6 .option-content .option-button,
.python.resize7 .option-content .option-button,
.cpp.resize8 .option-content .option-button {
    color: #333;
    opacity: .6;
    text-align: center;
}

.html.resize .option-content .option-button:hover,
.css.resize2 .option-content .option-button:hover,
.js.resize3 .option-content .option-button:hover,
.php.resize4 .option-content .option-button:hover,
.sql.resize5 .option-content .option-button:hover,
.java.resize6 .option-content .option-button:hover,
.python.resize7 .option-content .option-button:hover,
.cpp.resize8 .option-content .option-button:hover {
    color: #ffffff;
    opacity: 1;
    text-align: center;
}

.icon {
    color: #fff;
}

.option:hover {
    opacity: 1;
}

.page-container__animate {
    transition: -webkit-transform .45s cubic-bezier(.215, .61, .355, 1);
    transition: transform .45s cubic-bezier(.215, .61, .355, 1);
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}


/* footer */

.footer {
    position: relative;
    margin: auto;
    width: 100%;
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
}

footer {
    width: 100%;
    padding: 10px;
    text-align: center;
    position: absolute;
    bottom: 0;
}