.uvod-logo{
    font-family: Outfit, sans-serif;
    font-weight: 500;
    font-size: 80px;
    padding: 20vh 0 10vh 0;
    letter-spacing: 10px;
    animation-name: logo-intro;
    animation-duration: 4s;
    color: #161616;
    margin-bottom: 120px;
}

.uvod-logo span{
    animation: intro-span-v1 5s linear forwards, logo-intro-web 5s linear infinite;
    background-image: linear-gradient(
            66deg,
            #3fb7b7 0%,
            #3fb7b7 5%,
            #04CF8D 29%,
            #04CF8D 67%,
            #3fb7b7 80%,
            #3fb7b7 100%
    );
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

@keyframes logo-intro-web {
    to {
        background-position: 200% center;
    }
/*    0%{
        color: #252525;

        background: -webkit-linear-gradient(#eee, #333);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    45%{
        color: #252525;

        background: -webkit-linear-gradient(#b90000, #620000);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    50%{
        color: #04CF8D;
    }
    80%{
        color: #04CF8D;
    }
    100%{
        color: #252525;
    }
    100%{
        color: #252525;
    }*/
}

@keyframes intro-span-v1 {
    0%{
        background: none;
        color: #161313;

        background-clip: unset;
        text-fill-color: unset;
        -webkit-background-clip: unset;
        -webkit-text-fill-color: unset;
        filter: blur(0px);
    }
    15%{
        color: #161313;
        filter: blur(0px);
    }
    30%{
        color: #2e99b9;
    }
    70%{
       color: #04CF8D;
        filter: blur(8px);
    }
    100%{
        filter: blur(0px);
    }
}

@keyframes logo-intro {
    0%{
        letter-spacing: 100px;
    }
    50%{
    }
    60%{
        letter-spacing: 8px;
    }
    80%{
        font-size: 80px;
    }
    100%{
        letter-spacing: 10px;
    }
}

@media screen and (max-width: 1180px) and (min-width: 550px) {
    .uvod-logo{
        font-size: 60px;
    }

    @keyframes logo-intro {
        0%{
            letter-spacing: 30px;
        }
        50%{
        }
        60%{
            letter-spacing: 8px;
        }
        80%{
            font-size: 60px;
        }
        100%{
            letter-spacing: 10px;
        }
    }
}
@media screen and (max-width: 549px) and (min-width: 370px) {
    .uvod-logo{
        font-size: 48px;
    }

    @keyframes logo-intro {
        0%{
            letter-spacing: 20px;
        }
        80%{
            font-size: 48px;
        }
        100%{
            letter-spacing: 10px;
        }
    }
}

@media screen and (max-width: 369px) and (min-width: 290px) {
    .uvod-logo{
        font-size: 40px;
    }

    @keyframes logo-intro {
        0%{
            letter-spacing: 15px;
            position: relative;
            top: -20px;
        }
        80%{
            font-size: 40px;
        }
        100%{
            position: relative;
            top: 0px;
            letter-spacing: 10px;
        }
    }
}

@media screen and (max-width: 289px) and (min-width: 0px) {
    .uvod-logo{
        font-size: 30px;
    }

    @keyframes logo-intro {
        0%{
            letter-spacing: 15px;
            position: relative;
            top: -20px;
        }
        80%{
            font-size: 30px;
        }
        100%{
            position: relative;
            top: 0px;
            letter-spacing: 8px;
        }
    }
    .uvod-logo{
        letter-spacing: 8px;
    }
}


.info-box-uvod{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 4rem;
    padding: 20px;
    margin-bottom: 100px;
    display: none;
}


.info-box{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 2rem;
    padding: 40px;
    margin-bottom: 100px;
    width: 60%;
}
.info-box h3{
    margin: 0px;
    width: fit-content !important;
}
.info-box-direction:nth-child(2n) .info-box{
    margin-left: auto;
}

.o-nas-ico{
    width: fit-content;
    margin: auto;
}
.o-nas-ico a:not(:first-child){
    font-weight: 600;
}


@media only screen and (min-width: 680px) and (max-width: 767px) {
    .info-box-direction {
        width: 64vw !important;
        margin-left: 18vw !important;
    }

}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .info-box-direction {
        font-size: 18px !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1100px){

    .info-box-direction {
        width: 60vw !important;
        margin-left: 20vw !important;
    }x

}
@media only screen and (min-width: 1101px) {

    .info-box-direction {
        width: 50vw !important;
        margin-left: 25vw !important;
    }

}
.info-box-direction {
    width: 80vw;
    margin-left: 10vw;
    text-align: left;
}
.info-box-direction p{

    font-size: 16px !important;
}

@media screen and (min-width: 1200px) {
    .info-box-direction {
        font-size: 19px !important;
    }
}






#counter {
    display: flex;
    justify-content: center;
    padding: 130px 0;
    color: #FFFFFF;
    text-align: center;

    gap: 30px;
    transition: .5s;
}

#counter div {
    min-width: 150px;
}

#counter > div > div p {
    margin: 0;
}

#counter > div > p:first-child, #counter #projects, #counter #lines, #counter #days {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 0px;
}


/**/
#counter div {
    min-width: 200px !important;
}

#counter > div > p:first-child {
    background: #04CF8D;
    border-radius: 0.5em;
    padding: 4px 10px;
    margin-bottom: 10px;
}


/*counter technology*/
@property --num {
    syntax: "<integer>";
    initial-value: 0;
    inherits: false;
}
@media screen and (max-width: 480px) {

    @property --num {
        syntax: "<integer>";
        initial-value: 20;
        inherits: false;
    }
}


#counter #projects {
    transition: --num 5s;
    counter-set: num var(--num);
    /*font: 800 40px system-ui;*/
}

#counter #projects::after {
    content: counter(num);
}

/*#counter #projects:hover {
    --num: 40000;
}*/

.show-count {
    --num: 20;
}

/*counter 2*/
@property --numB {
    syntax: "<integer>";
    initial-value: 0;
    inherits: false;
}
@media screen and (max-width: 480px) {
    @property --numB {
        syntax: "<integer>";
        initial-value: 200000;
        inherits: false;
    }
}

#counter #lines {
    transition: --numB 5s;
    counter-set: numB var(--numB);
    /*font: 800 40px system-ui;*/
}

#counter #lines::after {
    content: counter(numB);
}

.show-count-lines {
    --numB: 200000;
}


/*counter 3*/
@property --numC {
    syntax: "<integer>";
    initial-value: 200;
    inherits: false;
}
@media screen and (max-width: 480px) {
    @property --numC {
        syntax: "<integer>";
        initial-value: 57;
        inherits: false;
    }
}

#counter #days {
    transition: --numC 5s;
    counter-set: numC var(--numC);
    /*font: 800 40px system-ui;*/
}

#counter #days::after {
    content: counter(numC);
}

.show-count-days {
    --numC: 57;
}


#counter>div:nth-child(2)>p:first-child {
    background: -webkit-linear-gradient(130deg, #23cc95 30%, #30ceff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/*Mozna dat i na pc, vypada to libove ten text*/


@media screen and (max-width: 419px) {
    #counter > div:first-child > p:first-child {
        background-image: linear-gradient(40deg, #00cf8d 30%, #1ca1ca 100%);
    }

    #counter > div:nth-child(3) > p:first-child {
        background-image: linear-gradient(220deg, #00cf8d 50%, #1ca1ca 100%);
    }

    #counter > div:nth-child(2) > p:first-child {
        background: -webkit-linear-gradient(130deg, #23cc95 30%, #30ceff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

@media screen and (min-width: 420px) {
    /*Mozna odstranit media 420, na mobilu to vypada taky libove*/
    #counter > div:first-child > p:first-child, #counter > div:nth-child(3) > p:first-child {
        width: fit-content;
        margin: 10px auto;
        min-width: 80px;
    }

    #counter > div:nth-child(2) > p:first-child {
        margin: 10px auto;
    }
}


@media screen and (max-width: 760px) {
    #counter {
        flex-direction: column;
    }

    #counter div {
        margin: auto;
        max-width: 220px;
    }

}
.info-box-image-container{
    width: 150Px;
    height: 150px;
    margin: auto;
    background: #00cf8d;
    border-radius: 100Rem;
    display: flex;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 15px;

}
.info-box-image-container>svg{
    margin: auto;
    width: 100%;
    height: 85Px;
}

.info-box-image-container-end {
    position: relative; /* Add position relative to create stacking context */
    display: flex;
    justify-content: center;
    background-color: #fff;
}

.info-box>div:first-child{
    margin: 50px 0 70px 0;
}


@media screen and (max-width: 620px) {
    .info-box-direction{
        margin: auto;
    }
    .info-box{
        margin: 50px auto;
        box-shadow: none;
        width: 75%;
    }
    hr{width: 75%; display: block !important; margin-bottom: -40px}
    .info-box h3{
        margin: 2rem 0;
    }
}


@media screen and (max-width: 480px) {
    .info-box{
        margin: 60px auto !important;
        width: 90%;
        padding: 20px 0;
    }
    hr{width: 90%; }

}

hr{
    display: none;
}

.first-info>.info-box, .first-info>.info-box>h3{
    margin-top: 0px !important;
}


#napsat {
    background-color: #1ca1ca;
    background-color: #23b5af;
    margin-top: -7px;
    padding-bottom: 5rem;
    margin-bottom: -3rem;
}

#napsat form {
    display: flex;
    flex-direction: column;
    width: 400px;
    margin: auto;
    padding: 40px;

    background-color: #fff;
    border-radius: 2em;
    padding: 25px;

    box-shadow: 10px 10px 20px rgba(33, 119, 150, 0.6), -10px 10px 20px rgba(33, 119, 150, 0.6);

}

#napsat input, #napsat textarea {
    font-family: 'Nunito', sans-serif;
    background-color: white;
    border: 2px solid #fff;
    border-radius: .9em;
    padding: 14px 14px;
    font-size: 1.1em;
    margin-top: 15px;
    box-shadow: 3px 10px 40px #ddd, -3px 10px 40px #eee;
}

@media screen and (max-width: 550px) {
    #napsat form {
        background: #F6F6F6;
    }
}

#napsat input:focus, #napsat textarea:focus {
    outline: none;
    border: 2px solid #1ca1ca;
}

#napsat input:focus, #napsat input {
    transition: .5s;
}

/*#napsat textarea{
    transition: 0s  !important;}*/

#napsat textarea {
    min-height: 5em
}

#napsat button {

    font-size: 1em;

    /*
    box-shadow: 3px 10px 40px #ddd, -3px 10px 40px #eee;
    */
}

#napsat input::placeholder, #napsat textarea::placeholder {
    opacity: .4;
}

.more-link{
    font-size: 16px !important; background: #00cf8d !important;

}

.more-link:hover{
    background: #13ab7c !important;
}



:root {
    --num: 20;
    --numB: 200000;
    --numC: 57;
}
@media screen and (max-width: 480px) {
    #counter #projects::after {
        content: '20';
    }
    #counter #days::after {
        content: '57';
    }
    #counter #lines::after {
        content: '200000';
    }
}

@media screen and (max-width: 480px) {
    #napsat form{
        margin: 0 15px;
    }
}
