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

html {
    scroll-behavior: smooth;
}

body{
    background-color: #fff;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 5px 10px #2b3976;
    padding: 0px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}


header .logo {
    z-index: 1;
    width: auto;
    height: auto;
}

header .logoobrazek {
    z-index: 1;
    height: 7%;
    width: 7%;

}

.logotext {
    font-weight: bolder;
    font-size: 25px;
    color: #333;
    margin-right: 70%;
}

header .navbar ul {
    list-style: none;
}

header .navbar ul li {
    position: relative;
    float: left;
}

header .navbar ul li a {
    font-size: 120%;
    padding: 20px;
    color: #2b3976;
    display: block;
    font-weight: bolder;
}

header .navbar ul li a:hover {
    color: gray;
    transition-duration: 1s;
}

#menu-bar{
    display: none;
}

header label{
    font-size: 25px;
    color: #2b3976;
    cursor: pointer;
    display: none;
    padding: 15px;
}

header label:hover{
    color: gray;
    transition-duration: 1s;
    
}

@media(max-width:991px){
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Poppins", sans-serif;
        text-transform: none;
        text-decoration: none;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    header{
        padding: 20px;
    }

    header label{
        display: flex;
        text-align: center;
    }

    header .navbar{
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        border-top: 1px solid rgba(0, 0, 0,.1);
        display: none;
        text-align: center;
    }

    header .navbar ul li{
        width: 100%;
    }

    header .navbar ul li ul{
        position: relative;
        width: 100%;
    }

    header .navbar ul li ul li{
        background: #eee;
    }

    header .navbar ul li ul li ul{
        width: 100%;
        left: 0;
    }

    #menu-bar:checked ~ .navbar{
        display: flex;
        text-align: center;
    }

    h1{
        padding-top: 40%;
    }

}

@media(max-width:740px){
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Poppins", sans-serif;
        text-transform: none;
        text-decoration: none;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    header{
        padding: 20px;
    }

    header label{
        display: flex;
    }

    header .navbar{
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        border-top: 1px solid rgba(0, 0, 0,.1);
        display: none;
    }

    header .navbar ul li{
        width: 100%;
    }

    header .navbar ul li ul{
        position: relative;
        width: 100%;
    }

    header .navbar ul li ul li{
        background: #eee;
    }

    header .navbar ul li ul li ul{
        width: 100%;
        left: 0;
    }

    #menu-bar:checked ~ .navbar{
        display: flex;
    }

    h1{
        padding-top: 40%;
        font-size: 10%;
    }

    h2{
        text-align: center;
    }

    .logo{
        display: none;
    }

}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-10px);
    }
    60% {
      transform: translateY(-5px);
    }
  }
  
  /* Přidání bounce efektu při hover */
  .navbar ul li a:hover {
    animation: bounce 1.3s;
  }

.wrapper {
    min-height: 100vh;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial {
    padding: 30px 100px;
}


article .hlavni1 {
    font-size: 1600%;
    font-weight: 800;
    text-transform: none;
    margin-top: 8%;
    color: #2b3976;
    text-align: left;
    font-weight: 600;
    margin-right: 120%;
}


.hlavni12{
    width: 50%;
    height: 1.5%;
    background-color: #0D0B07;
    height: 8px;
}


article .hlavni2 {
    font-size: 1600%;
    font-weight: 800;
    text-transform: none;
    color: gray;
    text-align: left;
    font-weight: 600;
    margin-right: 120%;
}

@media (max-width: 991px) {
    .testimonial {
        padding: 20px 20px; /* Adjust padding for smaller screens */
    }

    article .hlavni1,
    article .hlavni2 {
        font-size: 1000%; 
        margin-right: 120%; 
        text-align: left; 
    }

    article .hlavni1{
        margin-top: -15%;
    }

    article .hlavni2{
        margin-top: -35%;
    }

    .hlavni12 {
        width: 80%; /* Adjust width */
        height: 4px; /* Adjust height */
        margin: 20px auto; 
    }
}

@media(max-width:740px){
    .testimonial {
        padding: 20px 20px; /* Adjust padding for smaller screens */
    }

    article .hlavni1,
    article .hlavni2 {
        font-size: 300%; 
        margin-right: 120%; 
        text-align: left; 
    }

    article .hlavni1{
        margin-top: -15%;
    }

    article .hlavni2{
        margin-top: -35%;
    }

    .hlavni12 {
        width: 80%; /* Adjust width */
        height: 4px; /* Adjust height */
        margin: 20px auto; 
    }
}

.projekty{
    width: 100%;
    background-color: #fff;
    height: 100%;
}


.container{
    display: flex;
    background-color: #fff;
}

p{
    font-family: 'Rubik', sans-serif;
}

.section1{
    box-shadow: 5px 5px 20px black;
    display: flex;
    justify-content: space-between;
    padding: 40px;
    width: 70%;
    margin-top: 5%;
    text-align: center;
    margin-left: auto ;
    margin-right: auto;
    text-align: justify;
}

.section1 img{
    height: 15em;
    width: 20em;
}

.best1{
    padding-top: 5%;
    color: #2b3976;
    text-align: center;
}

@media(max-width:740px){
    .best1{
        font-size: 250%;
    }
}

.section1 h1{
    color:#2b3976 ;
    text-align: center;
}

.section1 hr{
    width: 40%;
    margin-bottom: 10px;
    height: 1.5%;
    background-color: #0D0B07;
    border:#e97c18;
    text-align: center;
    margin-left: auto ;
    margin-right: auto;
}

.section1 p{
    color: black;
    padding-right: 20px;
}


article h2 {
    text-transform: none;
    font-size: 200%;
    margin-top: 30px;
    color: #2b3976;
    text-align: justify;
    font-weight: bolder;
    padding-bottom: 140px;
    padding-left: 20%;
    padding-right: 20%;
}


@media (max-width: 991px) {
    .section1 {
        flex-direction: column;
        width: 90%;
        padding: 20px;
    }

    .vznik{
        margin-top: -35%;
    }

    .section1 img {
        display: none;
    }

    article h2 {
        font-size: 150%;
        padding-left: 10%;
        padding-right: 10%;
        padding-bottom: 70px;
    }
}

@media(max-width:740px){
    .vznik{
        font-size: 250%;
    }
}



.best2{
    padding-top: 5%;
    color: #2b3976;
    text-align: center;
    padding-bottom: 3%;
}

@media(max-width:740px){
    .best2{
        font-size: 250%;
    }
}

.container{
    display: flex;
}

.karta{
    height: 430px;
    margin: 50px;
    box-shadow: 5px 5px 20px black;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}


img{
    height: 500px;
    width: 350px;
    border-radius: 3px;
}

.intro{
    height: 70px;
    width: 350px;
    padding: 6px;
    box-sizing: border-box;
    position: relative;
    background: rgb(27, 27, 27, .5);
    color: white;
    bottom: 145px;
}

.nadpis{
    margin: 10px;
    font-size: 40px;
    
}

.text{
    font-size: 20px;
    margin: 20px;
    visibility: hidden;
    opacity: 0;
}



.karta:hover{
    cursor: pointer;
}

.karta:hover .intro{
    height: 220px;
    bottom: 250px;
    background: black;
    transition: 1s;
}

.karta:hover .text{
    opacity: 1;
    visibility: visible;
    transition: 1s;
}


@media (max-width: 991px) {
    .best2 {
        padding-top: 10%;
        padding-bottom: 5%;
        text-align: left;
    }

    .container {
        flex-direction: column;
        align-items: center;
    }

    .karta {
        height: auto;
        margin: 20px;
        width: 90%;
        max-width: 350px;
    }

    img {
        height: auto;
        width: 100%;
    }

    .intro {
        width: 100%;
        bottom: 0;
        height: auto;
        padding: 10px;
    }

    .nadpis {
        font-size: 30px;
    }

    .text {
        font-size: 18px;
    }

    .karta:hover {
        cursor: default; 
    }

    .nadpis{
        margin-top: -25%;
    }

    .karta:hover .intro {
        height: 35px;
        bottom: 0;
        background: rgb(27, 27, 27, .5);
        transition: none;
        position: fixed;
    }

    .karta:hover .text {
        opacity: 0;
        visibility: hidden;
        transition: none;
    }
}




.infokontakt{
    padding-top: 5%;
    color: #2b3976;
    text-align: center;
}

@media(max-width:740px){
    .infokontakt{
        font-size: 250%;
    }
}

.contact-info{
    width: 100%;
    align-items: center;
    padding: 0 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 30px;
}



.card{
    background:#2b3976;
    padding: 0 20px;
    margin: 0 10px;
    width: calc(33% - 20px);
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
    cursor: pointer;
    border-radius: 15%;
    margin-bottom: 3%;
}


.card-icon{
    size: 40px;
    background-color: white;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px !important;
    border-radius: 50%;
    transform: 0.3s linear;
}

.card.card:hover{
    background: gray;
    color: #2b3976;
    transform: scale(1.1);
    transition: 1s;
    
}

.card-icon:hover{
    background: white;
}

.card p{
    margin-top: 20px;
    font-weight: 100;
    letter-spacing: 2px;
    max-height: 0;
    opacity: 0;
    transition: 0.3s linear;
}

.card:hover p{
    max-height: 40px;
    opacity: 1;
    transition: 1s;
}

@media(max-width:1400px){
    .contact-info {
        padding: 0 20px; /* Adjust padding for smaller screens */
        flex-direction: column;
    }

    .card {
        width: 80%; /* Make cards take up more width on smaller screens */
        margin: 10px 0; /* Adjust margin for better spacing */
    }
 }


.mapa{
    text-align: center;
}

iframe{
    box-shadow: 5px 5px 20px black;
    background-color: #fff;
    margin-top: 1%;
}

@media(max-width:740px){
    .mapa{
        display: none;
    }
}







#reference{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

.reference-heading{
    letter-spacing: 1px;
    margin: 30px 0px;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.reference-heading .komenty{
    padding-top: 5%;
    color: #2b3976;
    text-align: center;
    padding-bottom: 3%;
    font-size: 32px;
}

.refenrence-heading span{
    font-size: 1.3rem;
    color: #0D0B07;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.reference-box-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.reference-box{
    width: 500px;
    box-shadow: 2px 2px 30px rgba(0, 0, 0,.1);
    background-color: #fff;
    padding: 20px;
    margin: 15px;
    cursor: pointer;
}

.profile-img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
}

.profile-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

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

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

.name-user strong{
    color: #333;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.name-user span{
    color: #eee;
    font-size: 0.8rem;
}

.reviews{
    color: #FDC52C;
}

.box-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.client-comment p{
    font-size: 0.9rem;
    color: #0D0B07;
}

.reference-box:hover{
    transform: translateY(-10px);
    transition: all ease 0.3s;
}









.odpocet{
    background-color: #fff;
}

 .countdown {
    font-family: 'Rubik', sans-serif;
    font-size: 2em;
    text-align: center;
    margin-top: 2%;
    margin-bottom: 3%;
    background-color: #fff;
    padding: 2%;
    margin-right: 15%;
    margin-left: 15%;
    color: black;
  }

  .slevy{
    padding-top: 5%;
    color: #2b3976;
    text-align: center;
  }

  @media(max-width:400px){
    .slevy{
        font-size: 250%;
    }
}




footer {
    background-color: #2b3976;
}

.footerContainer {
    width: 100%;
    padding: 25px 30px 20px;
    box-shadow: 0 10px 20px gray;
}



.footerBottom {
    background-color: #2b3976;
    padding: 20px;
    text-align: center;
}

.footerBottom p {
    color: #fff;
}