@media screen and (max-width: 1023px){
    /* UNIVERSAL */
    h1{
        font-size: 1.88rem;
        font-family: LexendPeta;
        font-weight: 200;
        text-align: center;
        width: max-content;
        user-select: none;
        line-height: 2.25rem;
    }

    .h1-gradient{
        background: linear-gradient(to right, var(--green), var(--blue));
        -webkit-background-clip: text;
        color: transparent;
    }

    .h1-gradient::after {
        content: '|';
        animation: blink 1s infinite;
        display: inline-block;
        background: linear-gradient(to right, var(--green), var(--blue));
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        transform: translate(-0.5rem,-0.25rem);
    }
    
    @keyframes blink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0; }
    }

    h2{
        font-size: 2rem;
        font-family: LexendPeta;
        text-align: center;
        width: max-content;
        font-weight: 300;
        position: relative;
    }

    h3{
        font-size: 2rem;
        font-family: Lexend;
        width: max-content;
        font-weight: 700;
        text-align: left;
    }

    .button-main{
        background-image: linear-gradient(var(--green),var(--blue));
        border-radius: 0.25rem;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: LexendExa;
        font-weight: 300;
        width: 20rem;
        height: 4rem;
        position: relative;
        z-index: 2;
        color: black;
    }

    .button-main div{
        width: calc(100% - 0.25rem);
        height: calc(100% - 0.25rem);
        background-color: white;
        border-radius: 0.25rem;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0.875rem 1.5rem;
        box-sizing: border-box;
        transition: background-color 0.25s;
    }
    .button-main div:hover{
        background-color: linear-gradient(var(--green),var(--blue));
        color: white;
    }

    /* HEADER */
    header{
        position: fixed;
        top: 0;
        z-index: 10;
        width: 100vw;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        height: 100vh;
        pointer-events: none;
    }

    
    /* HERO SECTION */
    .section-hero{
        display: flex;
        justify-content: center;
        width: 100%;
        height: 40rem !important;
    }

    .hero{
        display: flex;
        justify-content: center;
        padding: 0 1.25rem;
        width: 100%;
        left: 50%;
        top: 52%;
        transform: translate(-50%, -50%);
        position: absolute;
        box-sizing: border-box;
        pointer-events: none;
        z-index: 2;
    }

    #particles-js{
        position: relative !important;
    }

    .hero-tint{
        width: 100%;
        height: 100%;
        background-image: linear-gradient(to bottom, #161616a8,#161616a8,#161616a8,var(--black) 99.999999999%);
        position: absolute;
        pointer-events: none;
        top: 0;
    }

    /* SERVICES SECTION*/
    .section-services{
        display: flex;
        justify-content: center;
        padding-top: 5rem;
    }

    .services{
        display: flex;
        align-items: center;
        gap: 5rem;
        flex-direction: column;
        width: 100%;
        padding: 0 1.25rem;
        box-sizing: border-box;
    }

    .services-wrapper{
        display: flex;
        flex-direction: column;
        gap: 6rem;
        width: 100%;
        font-weight: bold;
        font-size: 1rem;
    }

    .service-program{
        display: flex;
        background-image: linear-gradient(to bottom right, var(--green), var(--blue));
        border-radius: 2.5rem;
        /* justify-content: center; */
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        flex-direction: column;
    }

    .service-program .info{
        display: flex;
        justify-content: center;
        background-image: linear-gradient(var(--green), var(--blue));
        border-bottom-right-radius: 2.5rem;
        border-bottom-left-radius: 2.5rem;
        width: 100%;
        box-sizing: border-box;

        order: 2;
    } 

    .service-program .info .wrapper{
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: flex-start;
        border-bottom-right-radius: 2.375rem;
        border-bottom-left-radius: 2.375rem;
        width: calc(100% - 0.33rem);
        height: calc(100% - 0.25rem);
        background-color: #000000bb;
        padding: 2.5rem 1.5rem 3rem 1.5rem;
        box-sizing: border-box;
        gap: 3rem;
    }

    .row-upper{
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .row-upper p{
        opacity: 60%;
    }

    .service-program .info .wrapper .row-upper p{
        gap: 2rem;
        width: 70vw;
        max-width: 25rem;
    }

    .row-bottom{
        display: flex;
        flex-direction: column;
        gap: 2.25rem;
    }

    .bullet-point{
        display: flex;
        align-items: center;
        width: max-content;
        gap: 1rem;
    }

    .bullet-point p{
        font-size: 0.875rem;
        width: 60vw;
        max-width: 17rem;
    }

    .phone-animation-wrapper{
        display: flex;
        align-items: flex-end;
        justify-content: center;
        width: 100%;
        height: 100%;
        position: relative;
    }

    .phone-animation-wrapper img{
        position: relative;
        z-index: 2;
        width: 15rem;
        padding-top: 3rem;
    }

    .phone-animation-tint{
        background-image: linear-gradient(to bottom right, var(--green), var(--blue));
        opacity: 80%;
        position: absolute;
        width: 100%;
        height: 100%;
        border-top-right-radius: 2.5rem;
        border-top-left-radius: 2.5rem;
    }
    
    .service-design{
        display: flex;
        background-image: linear-gradient(to bottom right, var(--green), var(--blue));
        border-radius: 2.5rem;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        flex-direction: column;
    }

    .service-design .info{
        display: flex;
        justify-content: center;
        background-image: linear-gradient(var(--green), var(--blue));
        border-bottom-left-radius: 2.5rem;
        border-bottom-right-radius: 2.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .service-design .info .wrapper{
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: flex-start;
        border-bottom-left-radius: 2.375rem;
        border-bottom-right-radius: 2.375rem;
        width: calc(100% - 0.33rem);
        height: calc(100% - 0.25rem);
        background-color: #000000bb;
        padding: 2.5rem 1.5rem 3rem 1.5rem;
        box-sizing: border-box;
        gap: 4rem;
    }

    .service-design .info .wrapper .row-upper{
        gap: 2rem;
    }

    .service-design .info .wrapper .row-upper p{
        gap: 2rem;
        width: 70vw;
        max-width: 25rem;
    }

    .design-animation-wrapper{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        position: relative;
    }

    .design-animation-wrapper img{
        position: relative;
        z-index: 2;
        width: 17rem;
        padding-top: 3rem;
        padding-bottom: 2rem;
    }

    .design-animation-tint{
        background-image: linear-gradient(to bottom right, var(--green), var(--blue));
        opacity: 80%;
        position: absolute;
        width: 100%;
        height: 100%;
        border-top-left-radius: 2.5rem;
        border-top-right-radius: 2.5rem;
    }


    
    /* PORTFOLIO SECTION */
    .section-portfolio{
        width: 100%;
        display: flex;
        justify-content: center;
        padding-top: 8rem;
        margin-bottom: 6rem;
    }

    .portfolio{
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 1.25rem;
        box-sizing: border-box;
        gap: 10rem;
    }

    .portfolio h2 span{
        position: absolute;
        bottom: -1rem;
        right: 30%;
        font-size: 0.4375em;
        color: #00bfbf;
        font-weight: bold;
    }

    .selection{
        display: flex;
        flex-direction: column;
        gap: 10rem;
        width: 100%;
    }

    .project{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        text-align: center;
        width: 100%;
    }

    .project .desc{
        display: flex;
        flex-direction: column;
        gap: 3rem;
        align-items: center;
        width: 100%;
        order: 2;
        position: relative;
        z-index: 3;
    }

    .project .heading{
        display: flex;
        background-image: linear-gradient(var(--green),var(--blue));
        border-radius: 0.25rem;
        width: max-content;
        position: relative;
    }
    
    .project .heading .inner{
        display: flex;
        background-image: linear-gradient(var(--green),var(--blue));
        border-radius: 0.25rem;
        width: 100%;
        transform: translate(-1rem, -1rem);
        justify-content: center;
        align-items: center;
    }
    .project .heading .inner div{
        display: flex;
        background-color: var(--black);
        border-radius: 0.25rem;
        width: calc(100% - 0.25rem);
        height: calc(100% - 0.25rem);
        align-items: center;
    }

    .project.left .inner{
        transform: translate(1rem, -1rem);
    }

    .project h4{
        padding: 1rem 0;
        font-size: 1.375rem;
        line-height: 2rem;
    }

    .project .voderady h4{
        width: 16rem;
    }
    .project .levice-vr h4{
        width: 19.5rem;
    }
    .project .dropie h4{
        width: 17rem;
    }
    .project .hrad-spis h4{
        width: 11.5rem;
    }
    .project .gng h4{
        width: 14rem;
    }
    .project .onrails h4{
        width: 8rem;
    }
    .project .web3 h4{
        width: 18rem;
    }
    .project .wus h4{
        width: 15.5rem;
    }
    .project .doggyspa h4{
        width: 11.5rem;
    }
    .project .vdobrom h4{
        width: 11.5rem;
    }
    .project .marmell h4{
        width: 11.5rem;
    }
    .project .more4view h4{
        width: 11rem;
    }
    .project p{
        font-size: 1rem;
    }

    .button-project{
        background-image: linear-gradient(var(--green),var(--blue));
        border-radius: 0.25rem;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: LexendExa;
        font-weight: 300;
        width: max-content;
        position: relative;
        z-index: 2;
    }

    .button-project div{
        width: calc(100% - 0.125rem);
        height: calc(100% - 0.125rem);
        background-color: var(--black);
        border-radius: 0.25rem;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0.875rem 1.5rem;
        box-sizing: border-box;
        transition: background-color 0.25s;
        gap: 1rem;
    }
    .button-project div:hover{
        background-color: linear-gradient(var(--green),var(--blue));
    }

    .project img.right{
        width: 100%;
        transform: translate(0rem, -3rem) perspective(800px) rotateY(-25deg) scale(.8) rotateX(10deg);
        -webkit-transform: translate(0rem, -3rem) perspective(800px) rotateY(-25deg) scale(.8) rotateX(10deg);
        transition: all 0.5s ease;
        box-shadow: 0 3.75rem 7.75rem -1.5rem hsla(191, 73%, 45%, 0.4), 0 35px 75px -35px hsla(225,2%,62%,.08);
        -webkit-filter: blur(0);
        filter: blur(0);
        border-radius: 2rem;
    }

    .project img.right:hover{
        transform: perspective(800px) rotateY(15deg) translate(0rem, -5rem) rotateX(10deg) scale(1);
        -webkit-transform: perspective(800px) rotateY(15deg) translate(0rem, -5rem) rotateX(10deg) scale(1);
        box-shadow: 0 3.75rem 7.75rem -1.5rem hsla(151, 67%, 35%, 0.8);
        -webkit-filter: blur(0.2px);
        filter: blur(0.2px);
    }


    .project img.left{
        width: 100%;
        -webkit-transform: translate(0rem, -3rem) perspective(800px) rotateY(25deg) scale(.8) rotateX(10deg);
        transform: translate(0rem, -3rem) perspective(800px) rotateY(25deg) scale(0.8) rotateX(10deg);
        transition: all 0.5s ease;
        box-shadow: 0 3.75rem 7.75rem -1.5rem hsla(191, 73%, 45%, 0.4), 0 35px 75px -35px hsla(225,2%,62%,.08);
        -webkit-filter: blur(0);
        filter: blur(0);
        border-radius: 2rem;
    }

    .project img.left:hover{
        transform: perspective(800px) rotateY(-15deg) translate(0rem, -5rem) rotateX(10deg) scale(1);
        -webkit-transform: perspective(800px) rotateY(-15deg) translate(0rem, -5rem) rotateX(10deg) scale(1);
        box-shadow: 0 3.75rem 7.75rem -1.5rem hsla(151, 67%, 35%, 0.8);
        -webkit-filter: blur(0.2px);
        filter: blur(0.2px);
    }


    /* CONTACT SECTION & FOOTER */
    footer{
        display: flex;
        justify-content: center;
        width: 100%;

        padding-top: 10rem;
        margin-bottom: 6rem;
    }

    footer .inner{
        display: flex;
        width: 100%;
        gap: 0rem;
        flex-direction: column;
        box-sizing: border-box;
    }

    footer .top{
        display: flex;
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    footer h2{
        font-family: Lexend;
        font-weight: 700;
    }
    
    footer .info{
        display: flex;
        flex-direction: column;
        gap: 4rem;
        padding: 0 1.25rem;
    }

    footer .top .texts{
        display: flex;
        flex-direction: column;
        gap: 2rem;
        font-size: 1.125rem;
        font-family: LexendExa;
    }

    .mobile-contact-info{
        display: flex;
        flex-direction: column;
    }

    .mobile-contact-info hr{
        color: #616161;
        background-color: #616161;
        width: 99.5%;
        margin-bottom: 4rem;
        margin-top: 4rem;
    }

    .firm-info{
        display: flex;
        flex-direction: column;
        gap: 3rem;
        font-family: LexendExa;
        font-weight: 200;
        padding: 0 1.25rem;
    }

    .firm-info .text{
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    footer .mobile-contact-info img{
        width: 12rem;
    }

    footer .form{
        width: 100%;
    }

    form{
        font-weight: 700;
        font-family: Lexend;
        flex-direction: column;
        align-items: center;
        display: flex;
        background-color: #191919;
        padding: 3rem 1.5rem;
        box-sizing: border-box;
        gap: 3rem;
        border-radius: 1rem;
    }

    form .row{
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.375rem;
    }
    
    label{
        color: #A0A0A0;
    }

    .client-info{
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;

    }

    .client-info input{
        height: 2.5rem;
        border-radius: 0.25rem;
        background-color: transparent;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        background-color: #191919;
        font-family: Lexend;
        color: white;
    }

    .client-info input:-webkit-autofill,
    .client-info input:-webkit-autofill:hover,
    .client-info input:-webkit-autofill:focus {
        -webkit-box-shadow: 0 0 0px 300px #191919 inset;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        font-family: Lexend;
    }

    .client-info input:-webkit-autofill {
        -webkit-text-fill-color: white !important;
    }

    fieldset{
        display: flex;
        flex-direction: column;
        width: 100%;
        border: none;
    }

    legend.fieldset{
        padding-bottom: 1rem;
        color: #A0A0A0
    }

    .radio-answers{
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    input[type="radio"] {
        cursor: pointer;
        border-radius: 50%;
        width: 1rem;
        height: 1rem;
        position: relative;
        border: none;
        transition: all 0.15s;
        background: #171717
    }

    .radio-answers .answer{
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    
    input[type="radio"]:checked {
        position: relative;
        background: linear-gradient(white, white) padding-box, 
                    linear-gradient(to right, var(--green), var(--blue)) border-box;
        border: 0.313rem solid transparent; /* Nastavte hrúbku rámečka */
        transition: all 0.15s;
    }
    
    
    .radio-answers .answer label {
        color: #A0A0A0;
        cursor: pointer;
        transition: color 0.2s;
    }

    .radio-answers .answer label:hover {
        color: white;
    }
    
    .radio-answers .answer input[type="radio"]:checked + label {
        color: white;
    }

    .client-problem{
        width: 100%;
    }

    .client-problem .row{
        gap: 1rem;
        width: 100%;
    }

    .required{
        background-image: linear-gradient(to right, var(--green), var(--blue));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent; 
        -webkit-text-fill-color: transparent;
    }

    textarea{
        background-color: transparent;
        border-radius: 0.25rem;
        resize: none;
        color: white;
        font-family: Lexend;
        padding: 0.5rem;
        font-size: 1.125rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"],
    textarea {
        border: 0.0625rem solid #a0a0a077;

    }
    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="password"]:focus,
    textarea:focus {
        border: 0.0625rem solid #ffffff9c; /* New border color when the input is focused */
    }

    form button {
        width: 100%;
        font-size: 1.25rem;
        font-weight: 700;
        background-image: linear-gradient(to right, var(--green), var(--blue), var(--green), var(--blue));
        color: white;
        padding: 1.25rem 0;
        border: none;
        border-radius: 0.5rem;
        transition: background-position 0.5s ease, background-image 0.5s ease;
        background-size: 400% 100%;
        background-position: right;
    }
    
    form button:hover {
        transition: background-position 0.5s ease-in;
        background-position: 12%;
    }
}

@media screen and (min-width: 0px) and (max-width: 640px) {
    /* UNIVERSAL */
    .container {
        max-width: 640px;
    }
}

@media screen and (min-width: 640px) and (max-width: 768px) {
    /* UNIVERSAL */
    h3{
        font-size: 2.5rem;
    }

    .container {
        max-width: 640px;
    }

    /* HERO SECTION */
    h1.tablet{
        display: none;
    }

    /* SERVICES SECTION */
    .services-wrapper{
        font-size: 1.25rem;
    }

    .service-program .info .wrapper{
        padding: 4.438rem 3rem 6.438rem 3rem;
    }

    .service-design .info .wrapper{
        padding: 4.438rem 3rem 6.438rem 3rem;
    }

    .bullet-point{
        gap: 2rem;
    }

    .bullet-point p{
        font-size: 1.25rem;
        width: 25rem;
        max-width: none;
    }

    .bullet-point img{
        width: 4rem;
    }

    .design-animation-wrapper img{
        width: 23rem;
    }

    .service-design .info .wrapper .row-upper p, .service-program .info .wrapper .row-upper p{
        width: 32rem;
        max-width: none;
    }

    /* CONTACT SECTION & FOOTER */
    footer .inner{
        padding: 0 1.25rem;
    }

    form{
        padding: 3rem 2rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    /* UNIVERSAL */
    h3{
        font-size: 2.75rem;
    }

    .container {
        max-width: 768px;
    }

    /* HERO SECTION */
    h1.tablet{
        display: none;
    }

    /* SERVICES SECTION */
    
    .services-wrapper{
        font-size: 1.5rem;
    }

    .service-program .info .wrapper{
        padding: 4.438rem 3rem 6.438rem 3rem;
    }

    .service-design .info .wrapper{
        padding: 4.438rem 3rem 6.438rem 3rem;
    }

    .bullet-point{
        gap: 3rem;
    }

    .bullet-point p{
        font-size: 1.5rem;
        width: 30rem;
        max-width: none;
    }

    .bullet-point img{
        width: 4rem;
    }

    .design-animation-wrapper img{
        width: 23rem;
    }

    .phone-animation-wrapper img{
        width: 18rem;
    }
    .design-animation-wrapper img{
        width: 28rem;
    }

    .service-design .info .wrapper .row-upper p, .service-program .info .wrapper .row-upper p{
        width: 37rem;
        max-width: none;
    }
    /* CONTACT SECTION & FOOTER */
    footer .inner{
        padding: 0 1.25rem;
    }

    form{
        padding: 3rem 2rem;
    }
}