*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body{
    font-family: Arial, Helvetica, sans-serif;
}
nav{
    background: #ffffff;
    height: 100px;
    width: 100%;
    position:fixed;
    z-index: 100;
}
.logoButton{
    padding: 0;
    margin-left: 192px;
}
img.logo{
    height: 80px;
    margin-top: 10px;
    margin-bottom: 10px;
}
nav ul{
    float: right;
    margin-right: 192px;
    padding: 0;
}
nav ul li{
    display: inline-block;
    line-height: 100px;
}
nav ul li a{
    color: #000000;
    font-size: 21.6px;
    padding: 0 1.25vw;
    font-weight: 750;
    transition: 0.5s;
}
#získatNabídku{
    color: #ffffff;
    background: #000000;
    margin-left: 15px;
    padding: 1vh 1vw;
    border-radius: 10px;
}
.active, nav ul li a:hover{
    color: #ffffff;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 10px;
    background: #000000a0;
    transition: .5s;
}
.checkbtn{
    font-size: 3.75vw;
    color: #555555;
    float: right;
    line-height: 5vw;
    margin-right: .5vw;
    padding: 0;
    cursor: pointer;
    display: none;
}
#check{
    display: none;
}
section{
    min-height: fit-content;
    max-height: fit-content;
    top: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5vw;
    background-color: #ffffff;
    color: #ffffff;
    padding-top: 100px;
}
#Kontakt{
    top: 0;
    padding-top: 0px;
    min-height: 100vh;
    max-height: 100vh;
    justify-content: center;
    text-align: start;
    background: #00000015; /*Pozadí Kontakt*/
}
#kontaktForm{
    display: flex;
    align-items: center;
    justify-content: center;
}
.formContainer{
    background: #ffffff;
    margin-right: auto;
    margin-left: auto;
    margin-top: auto;
    margin-bottom: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2vw 4vw;
    width: 500px;
    border-radius: 25px;
}
form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
form input, form textarea{
    width: 400px;
    max-width: 400px;
    min-width: 400px;
    min-height: 50px;
    max-height: 500px;
    height: 50px;
    border: 0;
    border-radius: 25px;
    margin: 10px 0;
    padding: 19.2px;
    outline: none;
    background: #f5f5f5f5;
    font-size: 15.36px;
}
form textarea{
    height: 200px;
    border-bottom-right-radius: 0;
}
form button{
    padding: 14.4px;
    background: #555555;
    color: #ffffff;
    font-size: 17.28px;
    border: 0;
    outline: none;
    cursor: pointer;
    width: 144px;
    margin: 19.2px auto 0;
    border-radius: 28.8px;
}
#response{
    height: fit-content;
    width: fit-content;
    color: #000000;
    font-size: 23px;
    margin-top: 20px;
    text-align: center;
}
#Home{
    background-image: url(Images/background.jpg); /*Pozadí Home*/
    background-repeat: no-repeat;
    background-size:cover;
    min-height: 100vh;
    max-height: 500vh;
}
#Home div{
    width: 100%;
    min-height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
}
H1{
    margin-top: 25px;
    padding-left: 10vw;
    font-size: 150px;
    transition: 0.5s;
}
#Home p{
    font-size: 30px;
    padding-left: 10vw;
    transition: 0.5s;
}
.sluzbyButton{
    font-size: 25px;
    width: fit-content;
    text-decoration: none;
    color: #ffffff;
    background: #0000005b;
    margin-left: 10vw;
    margin-top: 2vh;
    margin-bottom: 4vh;
    padding: 15px 40px;
    border-radius: 10px;
    transition: .5s;
}
.sluzbyButton:hover{
    background: #0000009b;
    transition: .5s;
}
#ONás{
    background: #00000005; /*Pozadí O nás*/
}
#ONás img{
    margin-top: 25px;
    margin-bottom: auto;
    margin-left: 10vw;
    width: 570px;
    transition: .5s;
}
.onasdiv{
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-height: fit-content;
    min-height: fit-content; 
    display: flex;
    flex-direction: column;
}
.sluzbyButton2{
    font-size: 25px;
    width: fit-content;
    text-decoration: none;
    color: #ffffff;
    background: #0000005b;
    margin-left: 10vw;  
    margin-top: 4vh;
    margin-bottom: 4vh;
    padding: 15px 40px;
    border-radius: .5vw;
    transition: .5s;
}
.sluzbyButton2:hover{
    background: #0000009b;
    transition: .5s;
}
.textOnas0{
    margin-top: 25px;
    margin-left: 10vw;
    padding: 0;
    width: 550px;
    font-size: 25px;
    color: #000000;
    transition: .5s;
}
.textOnas1{
    margin-top: 2.315vh;
    margin-left: 10vw;
    width: 550px;
    font-size: 25px;
    color: #000000;
    transition: .5s;
}
.textOnas2{
    margin-top: 5vh;
    margin-left: 10vw;
    width: 700px;
    font-size: 27px;
    font-weight: 750;
    color: #575757;
    transition: .5s;
}
.textOnas3{
    margin-top: 4.63vh;
    margin-left: 10vw;
    width: 650px;
    font-size: 19px;
    padding: 10px 0px;
    padding-left: 25px;
    border-left: 1px solid #666666;
    color: #666666;
    transition: .5s;
}
#NašeSlužby{
    background: #00000010; /*Pozadí Naše Služby*/
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    transition: 0.5s;
    padding-top: 175px;
}
#NašeSlužby H2{
    color: #000000;
    padding-top: 25px;
    font-size: 100px;
}
.CardPack{
    padding-top: 5vh;
    padding-top: 50px;
    margin-bottom: 150px;
    height: 500px;
    width: 1250px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: space-evenly;
    perspective: 50vw;
    transition: 0.5s;
}
.Card-wrap{
    height: 200px;
    width: 400px;
}
.Card{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 200px;
    width: 400px;
    transition: all .7s ease;
    transform-style: preserve-3d;
}
.Card-content{
    transform-style: preserve-3d;
    transform: translateZ(30px);
}
.Card-content img{
    width: 100px;
    margin: 0;
    padding-bottom: 10px;
}
.CardOverlay{
    background-image: linear-gradient(#00000030, #000000);
    height: 200px;
    width: 400px;
    position: absolute;
    padding: 25px;
    border-radius: 10px;
    border-style: solid;
    border-width: 2.5px;
    border-color: #000000;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}
.Back1{
    display: flex;
    height: 200px;
    width: 400px;
    color: #ffffff;
    position: absolute;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 25px;
    font-size: 16px;
    transform: rotateX(-180deg);
    backface-visibility: hidden;
    border-radius: 10px;
    transform-style: preserve-3d;
    background-image: url(Images/techno1.png);
    background-repeat: no-repeat;
    background-size: auto;
    border-style: solid;
    border-width: 2.5px;
    border-color: #000000;
}
.Back2{
    display: flex;
    height: 200px;
    width: 400px;
    color: #ffffff;
    position: absolute;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 25px;
    font-size: 16px;
    transform: rotateX(-180deg);
    backface-visibility: hidden;
    border-radius: 10px;
    transform-style: preserve-3d;
    background-image: url(Images/techno2.png);
    background-repeat: no-repeat;
    background-size: auto;
    border-style: solid;
    border-width: 2.5px;
    border-color: #000000;
}
.Back3{
    display: flex;
    height: 200px;
    width: 400px;
    color: #ffffff;
    position: absolute;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 25px;
    font-size: 16px;
    transform: rotateX(-180deg);
    backface-visibility: hidden;
    border-radius: 10px;
    transform-style: preserve-3d;
    background-image: url(Images/techno3.png);
    background-repeat: no-repeat;
    background-size: auto;
    border-style: solid;
    border-width: 2.5px;
    border-color: #000000;
}
.Back4{
    display: flex;
    height: 200px;
    width: 400px;
    color: #ffffff;
    position: absolute;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 25px;
    font-size: 16px;
    transform: rotateX(-180deg);
    backface-visibility: hidden;
    border-radius: 10px;
    transform-style: preserve-3d;
    background-image: url(Images/techno4.png);
    background-repeat: no-repeat;
    background-size: auto;
    border-style: solid;
    border-width: 2.5px;
    border-color: #000000;
}
.Back5{
    display: flex;
    height: 200px;
    width: 400px;
    color: #ffffff;
    position: absolute;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 25px;
    font-size: 16px;
    transform: rotateX(-180deg);
    backface-visibility: hidden;
    border-radius: 10px;
    transform-style: preserve-3d;
    background-image: url(Images/techno5.png);
    background-repeat: no-repeat;
    background-size: auto;
    border-style: solid;
    border-width: 2.5px;
    border-color: #000000;
}
.Back6{
    display: flex;
    height: 200px;
    width: 400px;
    color: #ffffff;
    position: absolute;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 25px;
    font-size: 16px;
    transform: rotateX(-180deg);
    backface-visibility: hidden;
    border-radius: 10px;
    transform-style: preserve-3d;
    background-image: url(Images/techno6.png);
    background-repeat: no-repeat;
    background-size: auto;
    border-style: solid;
    border-width: 2.5px;
    border-color: #000000;
}
.Front{
    display: flex;
    height: 200px;
    width: 400px;
    background-color: #ffffff;
    color: #000000;
    position: absolute;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    padding: 25px;
    backface-visibility: hidden;
    border-radius: 10px;
    transform-style: preserve-3d;
    border-style: solid;
    border-width: 2.5px;
    border-color: #000000;
}
.Card-wrap:hover .Card{
    transform: rotateX(-180deg);
}
.modal{
    max-width: 64ch;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    border-style: none;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}
.modal::backdrop{
    background: #00000070;
}
.modal2{
    max-width: 64ch;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    border-style: none;
    border-radius: 25px;
}
.modal2::backdrop{
    background: #00000070;
}
.img-fluid{
    max-width: 62ch;
}
#Credentials{
    min-height: fit-content;
    max-height: fit-content;
    height: fit-content;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    background: #00000090; /*Pozadí Credentials*/
}
.mainCD{
    display: flex;
    min-height: 10vh;
    max-height: fit-content;
    height: fit-content;
    gap: 20px;
    width: 80%;
    justify-content: center;
    gap: 250px;
    align-items: start;
    flex-wrap:wrap;
}
.credDiv{
    width: 275px;
    height: 70%;
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: left;
    color: #ffffff;
    font-size: 18px;
}
.credDiv h3{
    font-size: 30px;
}
.credDiv p{
    margin-top: 2.5vh;
    font-size: 18px;
}
.credDiv a{
    margin-top: 2.5vh;
    margin-left: 5px;
    font-size: 18px;
    text-decoration: none;
    color: #ffffff;
}   
.crD2 p{
    font-size: 18px;
    line-height: 1.5;
}
.underLine{
    width: 80%;
    height: 60px;
    margin-top: 50px;
    border-color: #00000000;
    border-top-color: #ffffff;
    border-style: solid;
    border-width: 0.1px;
    font-size: 18px;
}
.underLine p{
    margin-top: 15px;
    margin-left: 15px;
}
.buttonDivModal{
    display: flex;
    width: 100%;
}
.closeModal{
    font-size: 25px;
    text-decoration: none;
    color: #ffffff;
    background: #0000005b;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 10px 25px;
    border-radius: 10px;
    border-style: none;
    cursor: pointer;
}
.closeModal:hover{
    background: #000000bb;
}
.closeModal2{
    font-size: 25px;
    text-decoration: none;
    color: #ffffff;
    background: #0000005b;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 10px 25px;
    border-radius: 10px;
    border-style: none;
    cursor: pointer;
}
.closeModal2:hover{
    background: #000000bb;
}
@media (max-width:1300px){
    .checkbtn{
        display: block;
    }
    nav{
        height: 7vh;
    }
    .checkbtn{
        line-height: 7vh;
        font-size: 5.208vh;
        margin-right: 10vw;
    }
    .logoButton{
        padding: 0;
        margin-left: 10vw;
    }
    img.logo{
        height: 5.556vh;
        margin-top: 0.463vh;
    }
    .navlist{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #000000d0;
        top: 6.76vh;
        left: -100%;
        text-align: center;
        transition: all,.5s;
    }
    nav ul li{
        display: block;
    }
    nav ul li a{
        font-size: 20px;
        color: #ffffff;
    }
    .active, nav ul li a:hover{
        color: #ffffff;
        background: #8a8a8a;
        transition: .5s;
    }
    #check:checked ~ .navlist{
        left: 0;
    }
    #získatNabídku{
        display: none;
    }
    #Home{
        text-align: center;
    }
    #Home H1{
        margin-left: auto;
        margin-right: auto;
        padding: 0;
    }
    #Home p{
        margin-left: auto;
        margin-right: auto;
        padding: 0;
    }
    #Home a{
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width:1264px){
    .CardPack{
        width: 835px;
        height: 750px;
        transition: 0.5s;
    }
    #NašeSlužby{
        min-height: 100vh;
        max-height: 500vh;
        transition: 0.5s;
    }
    #NašeSlužby H2{
        font-size: 74px;
    }
}
@media (max-width:849px){
    .CardPack{
        width: 417px;
        height: 1500px;
        transition: 0.5s;
    }
    #NašeSlužby{
        min-height: 100vh;
        max-height: 500vh;
        transition: 0.5s;
    }
}
@media (max-width:400px){
    .CardPack{
        width: 80vw;
        height: 1500px;
        transition: 0.5s;
    }
    .Card-wrap{
        width: 80vw;
    }
    .Card{
        width: 80vw;

    }
    .Front{
        width: 80vw;

    }
    .Card-content{
        width: 80vw;
        font-size: 13px;

    }
    .CardOverlay{
        width: 80vw;

    }
    .Back1{
        width: 80vw;

    }
    .Back2{
        width: 80vw;
        
    }
    .Back3{
        width: 80vw;
        
    }
    .Back4{
        width: 80vw;
        
    }
    .Back5{
        width: 80vw;
        
    }
    .Back6{
        width: 80vw;
        
    }
}
@media (max-width:1604px){
    .textOnas0{
        margin-left: 5vw;
        transition: .5s;
    }
    .textOnas1{
        margin-left: 5vw;
        transition: .5s;
    }
    .textOnas2{
        margin-left: 5vw;
        transition: .5s;
    }
    .textOnas3{
        margin-left: 5vw;
        transition: .5s;
    }
    .sluzbyButton2{
        margin-left: 5vw;
        transition: .5s;
    }
    #ONás img{
        margin-left: 5vw;
        transition: .5s;
    }
}
@media (max-width:1426px){
    .textOnas0{
        margin-left: 1vw;
        transition: .5s;
    }
    .textOnas1{
        margin-left: 1vw;
        transition: .5s;
    }
    .textOnas2{
        margin-left: 1vw;
        transition: .5s;
    }
    .textOnas3{
        margin-left: 1vw;
        transition: .5s;
    }
    .sluzbyButton2{
        margin-left: 1vw;
        transition: .5s;
    }
    #ONás img{
        margin-left: 1vw;
        transition: .5s;
    }
}
@media (max-width:1310px){
    #ONás{
        width: 100%;
        display: inline-block;
        text-align: center;
        transition: .5s;
    }
    #ONás img{
        margin-top: 5vh;
        transition: .5s;
    }
    .textOnas0{
        text-align: center;
        margin-right: auto;
        margin-left: auto;
        transition: .5s;
    }
    .textOnas1{
        text-align: center;
        margin-right: auto;
        margin-left: auto;
        transition: .5s;
    }
    .textOnas2{
        text-align: center;
        margin-right: auto;
        margin-left: auto;
        transition: .5s;
    }
    .textOnas3{
        text-align: center;
        margin-right: auto;
        margin-left: auto;
        transition: .5s;
    }
    .sluzbyButton2{
        text-align: center;
        margin-right: auto;
        margin-left: auto;
        transition: .5s;
    }
}
@media (max-width:714px){
    #ONás img{
        width: 500px;
        transition: .5s;
    }
    .textOnas0{
        width: 80vw;
        transition: .5s;
    }
    .textOnas1{
        width: 80vw;
        transition: .5s;
    }
    .textOnas2{
        width: 80vw;
        transition: .5s;
    }
    .textOnas3{
        width: 80vw;
        transition: .5s;
    }
    .sluzbyButton2{
        width: 75vw;
        transition: .5s;
    }
}
@media (max-width:520px){
    #ONás img{
        width: 440px;
        transition: .5s;
    }
}
@media (max-width:500px){
    .formContainer{
        width: 100vw;
    }
    form input, form textarea{
        width: 80vw;
        max-width: 80vw;
        min-width: 80vw;
    }
}
@media (max-width:440px){
    #ONás img{
        margin-left: auto;
        margin-right: auto;
        width: 100vw;
        transition: .5s;
    }
}
@media (max-width:685px){
    .modal{
        width: fit-content;
        max-width: 85vw;
    }
    .modal2{
        width: fit-content;
        max-width: 85vw;
    }
    .img-fluid{
        width: 80vw;
    }
}
@media (max-width:1016px){
    .credDiv{
        margin: 0;
        padding: 0;
        justify-content: start;
        text-align: center;
        align-items: center;
    }
    .mainCD{
        align-items: center;
        gap: 50px;
        flex-direction: column;
    }
    .openModal2{
        min-width: 10vw;
        max-width: 90vw;
    }
}
@media (max-width:590px){
    #Home H1{
        font-size: 25vw;
    }
}
@media (max-width:436px){
    #NašeSlužby H2{
        font-size: 15vw;
    }
}