.logo{
    width: 20%;
    margin-left: 40%;
    transition: all ease-out 0.3s;
}
.logo:hover{
    scale: 110%;
}

.topnav {
  overflow: hidden;
  background-color: #343534;
  float: left;
  width: 100%;
  box-shadow: #282928 0 0 0.4em;
}

.topnav a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 1%  2% 1% 2%;
  text-decoration: none;
  font-size: 20px;
  transition: all ease-in 0.3s;
}

.topnav a:hover {
  background-color: #646765;
  letter-spacing: 2px;
  box-shadow: #646765 0 0 0.4em;
}

.topnav a.active {
  background-color: #080808;
  color: white;
}

.topnav .icon {
  display: none;
}

body{
    margin: 0px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
header{
    width: 100%;
}
.cards{
    width: 100%;
    float: left;
}
article{
    float: left;
    background-color: #B19CD9;
    background-position: center;
    background-image: linear-gradient(180deg, rgba(230, 230, 230, 0) 0%, rgba(231, 231, 231, 0) 53%, rgba(213, 213, 213, 0) 100%),url('fim.jpg');
    color: rgb(0, 0, 0);
    width: 30%;
    height: 400px;
    margin-left: 2%;
    text-align: center;
    font-weight: 600;
    text-shadow: 2px 2px 4px #ffffff;
    padding: 0.5%;
    text-align: center;
    border-radius: 5%;
    margin-top: 2%;
    box-shadow: #282928 0 0 0.4em;
}
article:hover{
    letter-spacing: 2px;
    font-size: 140%;
}
.top h1{
    text-align: center;
    height: 10%;
    margin-top: 30%;
}
.bottom p{
    font-size: 30px;
    text-align: center;
    height: 10%;
    margin-top: 10%;
}
.top, .bottom{
    transition: all ease-in 0.4s;
    overflow: hidden;
}
.size{
    font-size: 60px;
    color: rgb(0, 119, 255);
}
.f{
    float: left;
}
h1{
    font-size: 200%;
}
p{
    font-size: 120%;
}
article a{
    text-decoration: none;
    color: black;
    transition: all ease-in 0 0.2s;
}
article a:hover{
    color: blue;
}
i{
    color: black;
}
footer{
    width: 100%;
    float: left;
    padding-top: 1%;
    padding-bottom: 1%;
    background-color: #282928;
    box-shadow: #282928 0 0 0.4em;
}
footer a{
    text-decoration: none;
    color: white;
    font-size: 24px;
    margin-left: 22%;
}
.card{
    overflow: hidden;
    width: 25%;
    height: 400px;
    box-shadow: #282928 0 0 0.4em;
    border-radius: 10%;
    margin-left: 5%;
    margin-top: 5%;
    position: relative;
    background-color: white;
    z-index: 10;
    float: left;
    transition: all ease-in 0.3s;
}
.card_text{
    width: 50%;
    float: left;
}
.card h1{
    position: relative;
    float: left;
    margin-top: 0px;
    margin-left: 2px;
}
.card_p{
    margin-top: -25px;
    float: left;
    margin-left: 2px;
}
.tophead{
    text-align: center;
    width: 100%;
    margin-top: 2%;
    float: left;
    box-shadow: #282928 0 0 0.4em ;
    background-color: #343534;
    color: white;
}
.crd_img{
    width: 100%;
    float: left;
}
.card_desc{
    width: 50%;
    float: left;
    margin-top: 5%;
    position: relative;
    left: -1.7%;
    height: 400px;
    box-shadow: #282928 0 0 0.4em;
    overflow: hidden;
    background-color: white;
    z-index: 2;
}
.card_desc h1, .card_desc p{
    margin-left: 5%;
}
.folder{
    margin-left: 10%;
}
.backward{
    float: left;
    left: -2%;
}
.backward_t{
    left: 4.7%;
}
.backward_t h1, .backward_t p{
    margin-left: 2%;
    margin-right: 3%
}
.card:hover{
    transform: scale(110%);
}
table{
    width: 25%;
    background-color: #343534;
    color: white;
    margin-top: 5%;
    margin-left: 6%;
    float: left;
    text-align: center;
    box-shadow: #080808 0 0 0.4em;
    border-radius: 10%;
    overflow: hidden;
}
td{
    background-color: white;
    color: black;
    width: 98%;
    box-shadow: #080808 0 0 0.4em;
    font-size: 20px;
    font-weight: 600;
    transition: all ease-out 0.3s;
}
th{
    width: 20%;
    height: 100px;
    box-shadow: #080808 0 0 0.4em;
    font-size: 25px;
    text-shadow: #080808 2px 2px 10px;
    transition: all ease-out 0.3s;

}
th:hover{
    letter-spacing: 4px;
}
.ft{
    margin-top: 5%;
}
.cs{
    background-color: white;
    width: 100%;
    padding-bottom: 5%;
    float: left;
    background-image: linear-gradient(180deg, rgba(230, 230, 230, 0) 0%, rgba(231, 231, 231, 0) 53%, rgba(213, 213, 213, 0) 100%),url('fim.jpg');
}
#ostatni{
    margin-left: 37%;
}
td:hover{
    font-size: 35px;
    letter-spacing: 2px;
    background-color: #B19CD9;
}
.round{
    border-radius: 100px;
    overflow: hidden;
    margin-left: 5%;
    box-shadow: #080808 0 0 0.8em;
    background-image: linear-gradient(180deg, rgba(230, 230, 230, 0) 0%, rgba(231, 231, 231, 0) 53%, rgba(213, 213, 213, 0) 100%),url('fim.jpg');
    width: 87%;
    height: 600px;
    float: left;
}
#overlay, #overlay1{
    margin-top: 15%;
    float: left;
    background-color: transparent;
    color: white;
    text-shadow: #080808 2px 2px 10px;
    font-size: 40px;
    transition: all ease-in 0.2s;
}
.obrazek{
    width: 100%;
    border-radius: 50%;
    filter: grayscale(100%);
    box-shadow: #080808 0 0 0.8em;
    transition: all ease-in 0.4s;
}
.obrazek:hover{
    filter: grayscale(0%);
}
.kadra_k{
    width: 25%;
    margin-left: 5%;
    overflow: hidden;
    display: block;
    box-shadow: #080808 0 0 0.3em;
    border-bottom-left-radius: 25%;
    border-bottom-right-radius: 25%;
    text-align: center;
    float: left;
    margin-top: 2%;
}
h3{
    color: orangered;
    margin-top: 0px;
}
#kimtext, #czymtext{
    float: left;
    width: 80%;
    margin-left: 8%;
    margin-top: -30%;
    border-radius: 10%;
    background-color: white;
    box-shadow: #080808 0 0 0.3em;
    padding-bottom: 10%;
}
#kimtext h1, #kimtext p, #czymtext h1, #czymtext p{
    width: 80%;
    float: left;
    margin-left: 10%;
}
#kimtext h1{
    text-align: center;
}
.blok1{
    width: 50%;
    float: left;
    margin-top: 5%;
}
#overlay:hover, #overlay1:hover{
    letter-spacing: 2px;
    font-size: 44px;
}
#czymtext, #kimtext, #overlay, #overlay1{
    transition: all ease-in 0.4s;
}

.round div{
    width: 80%;
    border-radius: 20px;
    margin-left: 10%;
    text-align: center;
    background-color: white;
}
.round h1{
    margin-top: 15%;
}
.cardgaler{
    width: 80%;
    margin-left: 10%;
    margin-top: 5%;
    box-shadow: #080808 0 0  0.4em;
    float: left;
    transition: all ease-in 0.4s;
}
#hds{
    margin-top: 2%;
    float: left;
    width: 100%;
    box-shadow: #080808 0 0 0.4em;
    text-align: center;
    padding-top: 4%;
    padding-bottom: 6%;
    font-size: 80px;
    text-shadow: #080808 2px 2px 8px;
}
.ob1{
    width: 100%;
}
@media screen and (max-width: 1200px) {
    table{
        width: 40%;
    }
    #ostatni{
        margin-left: 6%;
    }
    .kadra_k{
        width: 45%;
    }
    .blok1{
        width: 100%;
    }
}


@media screen and (max-width: 900px){

    .logo{
        width: 50%;
        margin-left: 25%;

    }
    article{
        width: 90%;
        float: left;
        margin-left: 5%;
    }
    .bottom p{
        margin-top: 7.5%;
    }
    .top h1{
        margin-top: 20%;
    }
    .card{
        width: 70%;
        margin-left: 15%;
    }
    .card_desc{
        margin-top: 1%;
        width: 70%;
        margin-left: 16.6%;
    }
    .backward_t h1{
        display: none;
    }
    .backward_t{
        float: left;
        margin-top: 5%;
        margin-left: 10%;
    }
    .backward{
        margin-top: 1%;
        margin-left: 16.7%;
    }
    table{
        width: 80%;
        margin-left: 10%;
    }
    #ostatni{
        margin-left: 10%;
    }
}

@media screen and (max-width: 650px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
  .top h1{
    margin-top: 40%;
  }
  .kadra_k{
      width: 90%;
  }
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
}
}
