@import url('https://fonts.googleapis.com/css2?family=Fira+Sans+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: 'Fira Sans Condensed', sans-serif;
}

::-webkit-scrollbar {
  background-color: #00000F;
}

::-webkit-scrollbar-thumb {
  background-color: #171925;
  border-radius: 25px;
}

.container-autor-clanku {
  max-width: 50vw;
  font-weight: 300;
  margin-inline: auto;
  color: white;
  margin-top: 20px;
  margin-bottom: 20px;
}

@media screen and (max-width: 1200px) {
  .container-autor-clanku {
    max-width: 75vw;
  }
}

@media screen and (max-width: 1000px) {
  .container-autor-clanku {
    max-width: 90vw;
  }
}

.container-autor-clanku h1 {
  font-weight: 300;
  margin-block: 20px;
}

.container-autor-clanku .tlacitka-autor {
  margin-block: 20px;
  display: flex;
  gap: 20px;
}

.container-autor-clanku .tlacitka-autor button {
  background-color: #171925;
  border-radius: 25px;
  color: white;
  padding: 5px 15px;
}

.container-autor-clanku .autor {
  margin-block: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.container-autor-clanku .autor input {
  background-color: #171925;
  border-radius: 25px;
  width: 50%;
  color: white;
  padding: 5px 15px;
}

.container-autor-clanku .autor input::placeholder {
  color: white;
}

.container-autor-clanku .clanek {
  margin-block: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.container-autor-clanku .clanek input {
  background-color: #171925;
  border-radius: 25px;
  width: 75%;
  color: white;
  padding: 5px 15px;
}

.container-autor-clanku .clanek input::placeholder {
  color: white;
}

.container-autor-clanku .obsah {
  margin-block: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.container-autor-clanku .obsah textarea {
  background-color: #171925;
  border-radius: 25px;
  width: 100%;
  height: 25vh;
  color: white;
  padding: 10px 15px;
  resize: none;
}

.container-autor-clanku .obsah textarea::placeholder {
  color: white;
}

.container-autor-clanku .nahled-obrazek-soubor {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.container-autor-clanku .nahled-obrazek-soubor img {
  max-width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
}

.container-autor-clanku .nahled-obrazek-soubor input {
  display: none;
}

.container-autor-clanku .nahled-obrazek-soubor label {
  max-width: 150px;
  text-align: center;
  background-color: #171925;
  border-radius: 25px;
  color: white;
  padding: 5px 15px;
}

.container-autor-clanku .kategorie {
  margin-block: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.container-autor-clanku .kategorie .dropdown {
  position: relative;
}

.container-autor-clanku .kategorie .dropdown .dropdown-button {
  background-color: #171925;
  border-radius: 25px;
  width: 200px;
  color: white;
  padding: 5px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.container-autor-clanku .kategorie .dropdown .dropdown-button i {
  float: right;
}

.container-autor-clanku .kategorie .dropdown .dropdown-content {
  display: flex;
  flex-direction: column;
  position: absolute;
  width: 100%;
  top: 110%;
  background-color: #171925;
  border-radius: 25px;
  z-index: 999;
  display: none;
}

.container-autor-clanku .kategorie .dropdown .dropdown-content a {
  color: white;
  text-decoration: none;
  text-align: center;
  padding: 8px;
}

.container-autor-clanku .kategorie .dropdown.active .dropdown-content {
  display: flex;
}

.container-autor-clanku .nahled {
  margin-block: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.container-autor-clanku .nahled .karta-nahled {
  background-color: #171925;
  border-radius: 25px;
  width: 50%;
  overflow: hidden;
}

.container-autor-clanku .nahled .karta-nahled .obrazek-nahled {
  width: 100%;
  aspect-ratio: 16/9;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.container-autor-clanku .nahled .karta-nahled .titulek-nahled {
  padding: 20px;
  overflow: hidden;
}

.container-autor-clanku .nahled .karta-nahled .titulek-nahled p {
  margin-bottom: 0;
}

.container-autor-clanku .nahled .karta-nahled .titulek-nahled h5 {
  font-weight: 300;
}

.container-autor-clanku .submit input {
  background-color: #171925;
  border-radius: 25px;
  color: white;
  padding: 5px 15px;
  margin-block: 20px;
}

/* Profil autora - detail */
.container-zobrazit-user .text {
    margin-top: 25vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.container-zobrazit-user .text img {
    border-radius: 50%;
    width: 175px;
    height: 175px;
    object-fit: cover;
    margin-bottom: 25px;
    object-fit: cover;
}

.container-zobrazit-user .text h1 {
    font-weight: 300;
    text-transform: uppercase;
    color: white;
    font-size: 32px;
}

.container-zobrazit-user .text .stats {
    display: flex;
    color: white;
    margin-top: 25px;
}

.container-zobrazit-user .text .stats .pocet {
    padding-right: 50px;
    border-right: 1px solid white;
    padding-block: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-zobrazit-user .text .stats .pocet h2 {
    font-weight: 300;
    font-size: 25px;
    padding: 0;
    margin: 0;
}

.container-zobrazit-user .text .stats .socky {
    padding-left: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 35px;
    padding-block: 15px;
    margin-bottom: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-zobrazit-user .text .stats .socky a {
    display: flex;
    justify-content: center;
    align-items: center;
}
.container-zobrazit-user .text .stats .socky a:hover {
  text-decoration: none;
}

.container-zobrazit-user .text .stats .socky a i {
    color: white;
    transition: 0.2s;
}

.container-zobrazit-user .text .stats .socky a i:hover {
    color: #f1008d;
    transition: 0.2s;
}

.container-zobrazit-user .text .stats .socky i {
    overflow: hidden;
}

.container-zobrazit-user .text .text-editor {
    margin-top: 75px;
    color: white;
    font-size: 18px;
    font-weight: 200;
    width: 60%;
    text-align: center;
}

@media screen and (max-width: 500px) {
    .container-zobrazit-user {
        scale: 0.8;
    }

    .container-zobrazit-user .text {
        margin-top: 10vh;
    }

    .container-zobrazit-user .text .text-editor {
        width: 90%;
    }
}

/* Box s informacemi o autorovi - minimalistická verze */
.container-autor {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.container-autor .text {
    margin-inline: 5%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
    background-color: #f8f9fa;
    color: #333;
    padding: 30px;
    border-radius: 25px;   
    padding-inline: 30px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.container-autor .text .popis p {
    padding-right: 10px;
    max-width: 650px;
    min-width: 650px;
    line-height: 1.5;
    color: #666;
    font-size: 0.95rem;
    margin-top: 10px;
}

.container-autor .text .popis h5 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.container-autor .text .popis h6 a {
    color: #007bff;
    font-weight: 400;
    text-decoration: none;
    font-size: 0.9rem;
}

.container-autor .text .popis h6 a:hover {
    text-decoration: underline;
}

.container-autor .text .image {
    display: flex;
    width: max-content;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.container-autor .text .image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.container-autor .text .odkaz {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: max-content;
}

.container-autor .text .odkaz a {
    padding: 10px 18px;
    border-radius: 25px;
    background-color: #f0f0f0;
    color: #333; 
    display: flex;
    height: max-content;
    gap: 7px;
    align-items: center;
    font-weight: 400;
    text-decoration: none;
    transition: 0.2s;
    font-size: 0.9rem;
}

.container-autor .text .odkaz a:hover {
    background-color: #e0e0e0;
}

.container-autor .text .odkaz a p {
    margin-bottom: 0;
}

/* Mobilní verze */
.container-autor-mobile {
    background-color: #f8f9fa;
    color: #333;
    padding: 25px;
    border-radius: 25px;   
    max-width: 90%;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    display: none;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.container-autor-mobile .text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.container-autor-mobile .text .fotka-text {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.container-autor-mobile .text p {
    padding-right: 10px;
    margin-top: 15px;
    line-height: 1.5;
    color: #666;
    font-size: 0.95rem;
}

.container-autor-mobile .text .popis h5 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.container-autor-mobile .text .popis h6 {
    white-space: normal;
    word-break: break-word;
}

.container-autor-mobile .text .popis h6 a {
    color: #007bff;
    font-weight: 400;
    text-decoration: none;
    font-size: 0.9rem;
}

.container-autor-mobile .text .popis h6 a:hover {
    text-decoration: underline;
}

.container-autor-mobile .text .fotka-text .img {
    width: 90px;
    height: 90px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    border: 2px solid #f0f0f0;
}

.container-autor-mobile .text .odkaz a {
    margin-top: 15px;
    padding: 10px 18px;
    border-radius: 25px;
    background-color: #f0f0f0;
    color: #333;   
    justify-content: space-between;
    display: flex;
    height: max-content;
    align-items: center;
    font-weight: 400;
    text-decoration: none;
    transition: 0.2s;
    font-size: 0.9rem;
}

.container-autor-mobile .text .odkaz a:hover {
    background-color: #e0e0e0;
}

.container-autor-mobile .text .odkaz a p {
    margin-bottom: 0;
    margin-top: 0;
}

@media screen and (max-width: 1250px) {
    .container-autor {
        display: none;
    }

    .container-autor-mobile {
        display: block;
    }
}

.user-articles-button {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem;
}

.btn-view-articles {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: #171925;
  color: #007bff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #007bff;
  text-transform: uppercase;
}

.btn-view-articles:hover {
  background: #171925;
  border-color: #f1008d;
  color: #f1008d;
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-view-articles .icon {
  font-size: 1.2rem;
  color: #007bff;
  transition: all 0.3s ease;
  margin-left: 10px;
}

.btn-view-articles:hover .icon {
  color: #f1008d;
}

.btn-view-articles .text {
  font-size: 1.1rem;
  font-weight: 500;
}

.user-articles-section {
  text-align: center;
  margin: 3rem 0;
  padding: 1.5rem;
}

.user-articles-link {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 2.5rem;
  background: #1a1a1a;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #333;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-articles-link:hover {
  background: #2a2a2a;
  border-color: #444;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.user-articles-icon {
  font-size: 1.2rem;
  color: #888;
  transition: all 0.3s ease;
}

.user-articles-link:hover .user-articles-icon {
  color: #ffffff;
}

.user-articles-label {
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: 0.3px;
} 