/* inicializace fontu */
@font-face {
  font-family: "CorptaFREE";
  src: url("CorptaFREE.otf") format("opentype");
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #222;
}

.nav {
  background: #242424;
  padding: 12px 20px;
  text-align: center;
  transition: transform 0.2s ease;
}
.nav:hover {
  transform: scale(1.02);
}
.nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 18px;
  font-size: 18px;
}
.nav a:hover{
  color:#45daee;
}
.nav a.aktivni {
  color: #f2fa06;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}


.header {
  max-width: 980px;
  width: 100%;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 12px;
  box-sizing: border-box;
}

.logo {
  width: 120px;
  height: auto;
}
.header h1 {
  font-family: "CorptaFREE";
  margin: 0;
  font-size: 44px;
  color: #111;
}

.pruh {
  width: 98%;
  margin: 12px auto;
  background: transparent;
  color: #000000;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 10px;
  font-family: monospace;
  font-size: 16px;
  text-align: center;
  margin-top:-20px;
}

.main {
  width: 980px;
  margin: 18px auto;
  padding-bottom: 30px;
}


.boxes {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 20px;
  text-align: center;
}

.box {
  position:relative;
  background: #fff;
  width: 310px;
  padding: 16px;
  border: 3px solid #0071c7;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 70px;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.box:hover{
  background: #d1d1d1;
  transform: scale(1.05);
}

.box p {
  font-size: 26px;
  margin: 0;
  line-height: 1.2;
}

.box .hover-text {
  opacity: 0;
  max-height: 0;
  overflow: hidden;      
  transition: opacity 0.3s ease, max-height 0.3s ease;
  margin-top: 8px;
  font-size: 12px;
  color: #555;
}

.box:hover .hover-text {
  opacity: 1;           
  max-height: 200px;
}

.size-adjsut {
  width: 450px;
  height: 250px;
}

.text-block {
  background: #fff;
  padding: 16px;
  border-radius: 6px;
  border: 1px solid #e9e9e9;
  margin-bottom: 14px;
  font-family: sans-serif;
}
.contact-small {
  background: #fff;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #e9e9e9;
}
footer {
  width: 980px;
  margin: 18px auto;
  padding: 12px;
  text-align: center;
  color: #666;
  font-size: 14px;
}

.proklik {
  color:#000000;
  transition: transform 0.2s ease;
  display: inline-block;
  text-decoration: none;
}

.proklik:hover {
  color:#0B66C3;
  transform: scale(1.1);
}

.content-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: -50px;
  color:black;
  text-decoration: none;
}

.kontakt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  max-width: 980px;
  width: 100%;
  padding: 18px;
  background: #f5f5f5;
  border: 2px solid #0071c7;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
  color:black;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.kontakt:hover {
  transform: translateY(-4px);
}

.kontakt img {
  max-width: 220px;
  width: 30%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.texty {
  flex: 1 1 auto;
  min-width: 240px;
  color:black;
  text-decoration: none;
}
.nazev {
  margin: 0;
  font-size: 50px;
  font-weight: 700;
  color:black;
  text-decoration: none;
}

.popis {
  margin: 6px 0 0 0;
  font-size: 25px;
  line-height: 1.3;
  color: #222;
  color:black;
  text-decoration: none;
}

.sekcafull {
  width: 98%;
  padding: 40px 0;
  background-color: #f0f8ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.sekcafull li {
  text-align: left;
}

.sekcafull .boxes {
  width: 100%;
  max-width: 1200px;
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.formmove {
  margin-right: 1000px
}

.formulare {
  display: flex;
  justify-content: center;
  align-items: center;
}

.boxformulare {
  padding: 20px;      
  width: 700px;       
  border: 2px solid #ccc;
  border-radius: 15px;
  background: #f9f9f9;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.formularinput {
  width: 100%;
  padding: 14px;      
  margin-top: 10px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 18px;   
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.formulartlacitko {
  margin-top: 15px;
  padding: 15px 30px; 
  border: none;
  border-radius: 10px;
  background: linear-gradient(#0071c7, #104d7b);
  color: white;
  cursor: pointer;
  font-size: 20px;
  border: 2px solid black;
  transition: transform 0.3s ease;
}

.formulartlacitko:hover {
  background: #0071c7;
}

.formularinput2 {
  width: 25%;
  padding: 14px;      
  margin-top: 10px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 18px;   
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

input[type="file"] {
  display: none;
}

input[type="file"] {
  display: none;
}

.custom-file-upload {
  border: 1px solid #ccc;
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
}

.nazev2 {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  color:black;
  text-decoration: none;
}

.texty2 {
  flex: 1 1 auto;
  min-width: 240px;
  color:black;
  text-decoration: none;
}
  .popis2 {
    margin: 6px 0 0 0;
    font-size: 15px;
    line-height: 1.3;
    color: #222;
    color:black;
    text-decoration: none;
  }
 
 .btn {
   display: inline-block;
   text-decoration: none;
   text-align: center;
   background: linear-gradient(90deg, #007BFF, #00CFFF);
   color: white;
   border: none;
   padding: 10px 20px;
   font-size: 16px;
   border-radius: 8px;
   cursor: pointer;
   transition: 0.3s; 
   border: 2px solid black;
}
  
.btn:hover {
  background: linear-gradient(90deg, #005FCC, #00AEEF);
  transform: scale(1.05);
}

.clanek-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
}

.clanek {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 880px;
  width: 100%;
  background: #f5f5f5;
  border: 2px solid #0071c7;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  text-decoration: none;
  color: black;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.clanek:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.2);
}

.clanek img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.texty2 {
  padding: 20px 28px;
}

.nazev2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #0071c7;
}

.popis2 {
  font-size: 1rem;
  color: #333;
  margin-bottom: 16px;
}

.autor {
  font-size: 0.95rem;
  color: #666;
}

.ctxt {
  margin: 0 auto;
  max-width: 950px;
  text-align: center;
}

.clanektxt p {
  margin-left: 250px;
  max-width: 750px;
}

.zpatecka {
  position: fixed;
  top: 10px;
  left: 75px;
  z-index: 10;
}

.scale {
  transition: transform 0.2s ease;
}

.scale:hover {
  transform: scale(1.1);
}

.scalexx {
  transition: transform 0.2s ease;
}

.scalexx:hover {
  transform: scale(1.50);
}

.t1 {
  max-width:350px; 
  outline:2px solid black;
}


.appbox {
    display:flex;
    width: 1000px;
    padding: 15px;
    background: #f5f5f5;
    border: 2px solid #10b9ec;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s ease-in-out;
    align-items:flex-end;
    display: flex;
    justify-content: space-between;

}

.appbox:hover {
    transform: scale(1.05);
    background-color:#16bcfd;
}

.appbox img {
    max-width: 9%;
    border-radius: 10px;
    display:flex;
    padding-right: 10px
}

.appbox p {
    font-family: Arial, sans-serif;
    color: #333;       
    gap: 10px;
}

  .appboxes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: -50px;
}


.banner {
  max-width: 20%;
  padding-left: 20px;    
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
