@import url(https://fonts.googleapis.com/css?family=Tektur);
* {
  font-family: "Tektur";
  box-sizing: border-box;
  font-size: 15px;
}

html {
height: 100%;

}

body {
  padding: 1px;
   align-items: center;
   flex-direction: column;
   /* background-color: #FFFFFF;
   background-image: url('images/background.jpg');
   background-repeat: no-repeat;
   background-position: center center;
   background-size: cover;
   background-attachment: fixed; */
height: 100%;
}

#logo {
  width: 4.50rem;
  height: auto;
  positon: relative;
  float: left;
  margin-left: 1rem;
  margin-right: 1rem;
}

h1 {
  font-size: 1.5rem;
  text-align: center;
}

h2 {
  font-size: 1.3rem;
  text-align: center;
}

h3 {
  font-size: 1.1rem;
  text-align: center;
}

#wrapper_tresci {
text-align: justify;
top: 0px;
padding-left: 10px;
padding-right: 10px;
padding-bottom: 85px;
}

p.info {
  text-indent: 1.5rem;
}

#guzik_dolny {
  background-color: #bbbbbb;
  border: none;
  color: black;
  position: fixed;
  z-index: 10;
  bottom: 0.8rem;
  right: 1.2rem;
  text-align: center;
  text-decoration: none;
  font-size: 2rem;
  border-style: solid;
  border-width: 1px;
  border-color: #888888;
  border-radius: 50%;
  padding-top: 0.55rem;
  padding-bottom: 0.0rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

#certyfikat {
  position: relative;
  justify-content: center;
  display: inline;
  text-align: center;
  width: 50%;
  max-width: 50%;
  min-width: 50%;
}

img.certyfikat {
  width: 20%;
  max-width: 20%;
  height: auto;
  max-height: auto;
  float: left;
  display: flex;
  margin-left: 10%;
}

img.zeton {
  width: 20%;
  height: auto;
  border-color: #bbbbbb;
  border-style: solid;
  border-width: 2px;
  border-radius: 15px;
}


.form {
  text-align: center;
  width: 100%;
  position: relative;
  height: 60px;
  overflow: hidden;
}

.form input {
  width: 100%;
  height: 100%;
  color: #444444;
  font-size:  2rem;
  padding-top: 20px;
  border-left: 1px solid #000000;
  border-top: 1px solid #000000;
  border-right: 1px solid #000000;
  background-color: #FFFFFF;
    text-align: center;
}
.form label {
  position: absolute;
  font-size: 2rem;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-bottom: 1px solid #000000;
}
.form label::after {
  content: "";
  position: absolute;
    font-size:  2rem;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  border-bottom: 2px solid #0018ff;
  transform: translateX(-100%);
  transition: all 0.3s ease;
}

.content-name {
  position: absolute;
  bottom: 0px;
  left: 0px;
  padding-bottom: 5px;
  transition: all 0.3s ease;
}
.form input:focus {
  outline: none;
}
.form input:focus + .label-name .content-name,
.form input:valid + .label-name .content-name {
  transform: translateY(-150%);
  font-size: 14px;
  left: 0px;
  color: #0018ff;
}
.form input:focus + .label-name::after,
.form input:valid + .label-name::after {
  transform: translateX(0%);
}

.link_w_opisie {
display: block;
font-size: 1.4rem;
color: #000000;
}



@media only screen and (hover: none) and (pointer: coarse) {

  #logo {
    width: 32px;
    positon: relative;
    float: left;
    margin-left: 1rem;
    margin-right: 1rem;
  }

  #certyfikat {
    text-align: center;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
  }

  img.zeton {
    width: 50%;
    height: auto;
    border-color: #bbbbbb;
    border-style: solid;
    border-width: 2px;
    border-radius: 15px;
  }

  img.certyfikat {
    width: 22%;
    max-width: 22%;
    height: auto;
    max-height: auto;
    float: left;
    display: flex;
    margin-left: 0rem;
  }


}
