* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    text-transform: none;
    text-decoration: none;
    text-align: center;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    
}

html {
    scroll-behavior: smooth;
}

body{
    background-color: black;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.281);
    box-shadow: 0 5px 10px rgba(209, 155, 7, 0.842);
    padding: 0px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

header .logo {
    z-index: 1;
    height: 100% ;
    
}


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

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

header .navbar ul li a {
    font-size: 140%;
    padding: 20px;
    color: #FDC52C;
    display: block;
    
}

header .navbar ul li a:hover {
    color: #fff;
    transition-duration: 0.5s;
}

#menu-bar{
    display: none;
}

.wrapper{
    min-height: 100vh;
    width: 100%;
    background-image: url(4k2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
    background-position: center;
    background-color: #0D0B07;
}
    
.testimonial {
    padding: 30px 100px;
}


article .hlavni1 {
    font-size: 1850%;
    font-weight: 800;
    text-transform: none;
    margin-top: 16%;
    color: rgba(255, 255, 255, 0.671);
    text-align: center;
    font-weight: 600;
    margin-bottom: 9%;
}

.hr{
    background-color: black;
    height: 11px;
    border: none;
    border-radius: 10px;
    width: 75%;
}

article .hlavni2 {
    text-transform: none;
    font-size: 350%;
    margin-top: 10px;
    color: rgba(0, 0, 0, 0.753);
    text-align: center;
    font-weight: bolder;
    padding-bottom: 170px;
    padding-left: 20%;
    padding-right: 20%;
}

.projekty{
    width: 100%;
    background-color: #0d0b07;
}

.best{
    margin-top: 11%;
    color: #fff;
    padding-top: 120px;
    text-align: center;
}


.container{
    display: flex;
}

.card{
    height: 430px;
    margin: 50px;
    box-shadow: 5px 5px 20px black;
    overflow: hidden;
}

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;
}


.card:hover{
    cursor: pointer;
}

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

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

.card:hover img{
    transform: scale(1.1) rotate(-3deg);
}

footer {
    background-color: #F38A00;
}

.footerContainer {
    width: 100%;
    padding: 25px 30px 20px;
}

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

.footerBottom .paticka {
    color: #fff;
    font-size: 110%;
}



