/* Hlavní styly pro web KOCKA */
body {
  margin: 0;
  padding: 0;
  padding-top: 30px;
  padding-bottom: 30px;
  font-family: 'Courier Prime', monospace;
  background: #fff;
  color: #000000;
}

.main_container{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 45px;
}

header {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  padding: 0px;
}

.header-logo {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 0px;
}

.about {
  max-width: 630px;
  padding: 0 1em;
  font-size: 1em;
  line-height: 1.6;
  border-left: 4px solid #000000;
  padding-left: 16px;
}

.intro {
  font-size: 1em;
  line-height: 1.6;
  text-align: left;
  max-width: 680px;
  font-style: italic;
  margin: 0px;
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4em;
  max-width: 800px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.projects div {
  display: block;
  padding: 0.5em;
  outline: 2px dotted #000000;
  outline-offset: 0px;
  transition: outline-style 0.2s ease;
  cursor: pointer;
  align-items: center;
}

.projects div:hover {
  outline-style: solid;
  outline-width: 8px;
  outline-color: #000000;
  transform: scale(1.05);
}

.projects div.active {
  outline-width: 8px;
  outline-style: solid;
  outline-color: #000000;
}

.projects img {
  max-width: 100%;
  display: block;
  transition: filter 0.3s, opacity 0.3s;
}

.project-text {
  width: 630px;
  padding: 0 1em;
  border-left: 4px solid #000000;
  padding-left: 16px;
  font-style: normal;
  line-height: 1.6;
  display: flex;
  align-items: center;
}

.project-text div {
  display: none;
}

.project-text div.active {
  display: block;
}

footer {
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  font-size: 0.8em;
  color: #000000;
  flex-wrap: wrap;
  max-width: 100%;
  box-sizing: border-box;
}

.donate-logos {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.donate-logos img {
  height: 32px;
  transition: 0.1s ease-in-out;
  cursor: pointer;
}

.hover-color {
  filter: grayscale(100%);
}

.hover-color:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.footer-meta-block {
  width: 100%;
  max-width: 630px;
  border-left: none !important;
  padding-left: 16px;
  padding-right: 16px;
  text-align: left;
  font-family: 'Courier Prime';
  font-size: 0.8rem;
  line-height: 1.6;
  font-style: normal;
  color: #000000;
}

.footer-meta-block .donate-logos {
  margin: 0.5em 0 1.5em 0 !important;
}

.button {
  display: inline-block;
  background-color: #000000;
  color: #fff;
  padding: 0.0em 0.5em;
  font-family: 'Courier Prime';
  font-weight: bold;
  font-size: 0.9em;
  text-decoration: none;
  transition: transform 0.1s ease-in-out;
}

.button:hover {
  transform: scale(1.1);
  background-color: #000000;
  color: #FFFFFF;
}

/* Dotted horizontal line for footer separation */
.footer-dotted-hr {
  border: none;
  border-top: 2px dotted #000000;
  margin: 1.5em 0 1.5em 0;
  width: 100%;
  max-width: 600px;
  background: none;
}

.footer-strong {
  display: block;
  margin-bottom: 0.15em;
}

@media screen and (max-width: 768px) {
  footer {
    flex-direction: column;
    padding: 1.5rem 1rem;
    gap: 1rem;
  }
  .donate-logos {
    gap: 1rem;
    justify-content: center;
  }
}

@media screen and (max-width: 656px) {
  .project-text{
    width: calc(100% - 30px) !important;
    margin-left: 6px;
  }
  .footer-meta-block{
    width: calc(100% - 30px) !important;
    margin-left: 6px;
  }
}


