body {
    background-color: #060525;
    color: #f0f0f0;
    font-family: "Inter", sans-serif;
    margin: 0;
}

header {
    color: #f0f0f0;
    padding: 30px 0;
    text-align: center;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1450px;
    margin: 0 auto;
    gap: 20px;
    padding: 0 20px;
}

header ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    align-items: center;
    padding: 0;
    gap: 4rem;
    margin: 0 auto;
}

.header__link {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
}

.header__link:hover {
    color: #00ffc9;
}

header img.logo {
    height: 30px;
    margin-right: -5px;
}

.flex-container {
    display: flex;
    max-width: 1450px;
    margin: 0 auto;
    gap: 20px;
    padding: 0 20px;
}

main {
    min-height: 80vh;
    flex: 3;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.heading-container {
    text-align: center;
}

h1 {
    margin: 0;
}

h1, h2, h3, h4, .article__title {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
}

h2.week_id, h3.week_id {
    text-align: center;
}

h3.date_divider {
    padding-top: 5rem;
    /* margin-bottom: 2.5rem; */
}

h3.date_divider:nth-of-type(1) {
    padding-top: 1.5rem;
}

h3.date_divider a {
    color: #00ffc9;
}

p {
    margin: 12px 0;
}

main a, header a, heaer a:hover {
    color: #f0f0f0;
    text-decoration: none;
}

article {
    background: #0e0f2f;
    border-radius: 5px;
    padding: 4px 20px 4px 20px;
    margin-bottom: 15px;
    border: 1px solid #17183c;
}

.article__title {
    color: #f0f0f0;
    font-size: 1.6rem;
    margin: 0.5rem 0 0.5rem 0;
}

.article__title a {
    position: relative;
    display: inline;
    background: -webkit-gradient(linear, left top, right top, from(currentColor), to(currentColor));
    background: -webkit-linear-gradient(left, currentColor 0%, currentColor 100%);
    background: -o-linear-gradient(left, currentColor 0%, currentColor 100%);
    background: linear-gradient(to right, currentColor 0%, currentColor 100%);
    background-size: 0px 2px;
    background-position: 0px 95%;
    -webkit-transition: background-size 0.25s cubic-bezier(0.785, 0.135, 0.15, 0.86) 0s;
    -o-transition: background-size 0.25s cubic-bezier(0.785, 0.135, 0.15, 0.86) 0s;
    transition: background-size 0.25s cubic-bezier(0.785, 0.135, 0.15, 0.86) 0s;
    padding: 0.1% 0px;
    background-repeat: no-repeat;
    color: inherit;
}

.article__title a:hover {
    background-size: 100% 2px;
}

.article__published_at {
    color: #999;
    font-size: 0.8em;
}

.article__content {
    color: #f0f0f0;
    font-size: 1.15rem;
    line-height: 120%;
}

.article__content__read_more a {
    color: #04F3F3;
    font-size: 0.8em;
}

.article__content__read_more a:hover {
    color: #04F3F3;
}

.article__content__read_more{
    position: relative; /* Potřebné pro umístění šipky relativně k textu */
    display: inline-block;
  }

.article__content__read_more i {
    transition: all 0.3s ease; /* Nastavení animace */
}

.article__content__read_more:hover i {
    transform: translateX(5px); /* Pohyb šipky doprava při najetí */
}

.article__meta {
    color: #999;
    font-size: 0.8em;
}

.article__meta .article__category__link {
    color: #04F3F3;
    text-transform: uppercase;
}

.article__meta .article__category__link:hover {
    text-decoration: underline;
} 

.article__meta i.fas {
    color: #04F3F3;
    padding-right: 2px;
}

span.article__domain,
span.article__category {
    display: inline-block;
    padding-left: 10px;
}

aside {
    flex: 1;
}

.aside-categories {
    background: #0e0f2f;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #17183c;
}

.aside-categories ul{
    margin: 0;
    padding: 0;
}

.post-cat {
    text-transform: capitalize;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    background: transparent;
    padding: 1px 0;
    position: relative;
    border-bottom: 1px solid transparent;
}

.post-cat--selected {
    border-bottom: 1px solid #04F3F3;
}

.post-cat:hover {
    border-bottom: 1px solid #04F3F3;
    transition: all 0.3s ease-out 0s;
}

a.post-cat-text {
    color: #04F3F3;
    text-decoration: none;
}

.post-cat-number {
    margin-left: auto;
    line-height: 1.86;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
}

footer {
    color: #f0f0f0;
    text-align: center;
    font-size: 14px;
    padding: 0 20px;
    margin-top: 15px;
}

.footer-inner {
    display: flex;
    max-width: 1450px;
    margin: 0 auto;
    gap: 20px;
    justify-content: space-between; /* Distribute space between items */
    align-items: flex-end; /* Align items to the bottom */
    border-top: 1px solid #2f2c43;
}

footer a {
    text-decoration: none;
    color: #04F3F3;
}

footer a:hover {
    text-decoration: underline;
}

.footer-inner .copyright {
    flex: 0 0 auto; /* Allow copyright to wrap */
    text-align: left; /* Align copyright to the left */
}

.footer-inner .social-media {
    flex: 0 0 auto; /* Allow social media to wrap */
    text-align: right; /* Align social media to the right */
}

#calendar {
    margin: 20px auto;
    font-size: 0.9rem;
    width: auto;
    min-height: 390px;
}

.fc-scroller {
   overflow-y: hidden !important;
}

.fc-direction-ltr .fc-button-group > .fc-button:not(:first-child),
.fc-direction-ltr .fc-button-group > .fc-button:not(:last-child) {
    background: none;
    border: 0;
    padding: 0;
}

.fc .fc-button-primary:focus {
    box-shadow: none;
}

.fc-col-header,
#calendar table,
#calendar tbody,
#calendar tr,
.fc .fc-daygrid-body {
    width: 100% !important;
}

.fc .fc-col-header-cell-cushion{
    padding: 10px 0;
}

.fc .fc-scrollgrid-liquid {
    background: #0e0f2f;
    border: 1px solid #17183c;
    border-radius: 5px;
}

.fc .fc-daygrid-day-top {
    display: block;
    text-align: center;
}

.fc .fc-daygrid-day.fc-day-today {
    background: #0e0f2f;
}

.fc .fc-scrollgrid-liquid, .fc-theme-standard td, .fc-theme-standard th {
    border: 0;
}

.search-container {
    border-radius: 10px;
    width: fit-content;
    margin-left: auto;
}

.search-container label {
    display: none;
}

.search-date-inner {
    display: flex;
    gap: 10px;
}

form {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    width: fit-content;
}

input, input[type="text"], input[type="date"] {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #EFEDFF;
    color: #060525;
    font-size: 12px;
    font-family: "Inter", sans-serif;
}

input[type="text"]::placeholder {
    color: #060525;
    font-family: "Inter", sans-serif;
}

button,
.fc .fc-button-primary,
.btn,
.pagination__link {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #e70898;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.5s ease;
}

.btn:hover,
.pagination__link:hover,
button:hover,
.fc .fc-button-primary:hover {
    background-color: #00ffc9;
    color: #333;
    transition: 0.5s ease;
}

.pagination-container {
    display: flex;
    gap: 10px;
}

.next {
    margin-left: auto;
}

#scroll-shortcuts {
    position: sticky;
    top: 20px;
}

#scroll-shortcuts p {
    text-align: right;
}

#scroll-shortcuts a {
    font-variant: small-caps;
    color: #00ae89;
    cursor: pointer;
    width: 100%;
}

#scroll-shortcuts a:hover {
    color: #00ffc9;
}

#scroll-shortcuts a.current {
    color: #00ffc9;
}

/* Responzivita pro mobilní zařízení */
@media all and (max-width: 992px) {
    .search-container label {
      display: block;
      font-weight: 700;
    }

    .search-date {
      display: flex;
      flex-direction: row;
      align-items: center;
      padding-bottom: 10px;
      gap: 10px;
    }

    .search-date:nth-of-type(2) {
      padding-bottom: 0;
    }

    .search-date-inner {
      display: block;
    }

    input[type="date"] {
      width: 100%;
    }

    .flex-container {
      flex-direction: column;
      gap: 0;
      margin: 0;
    }

    .flex-container,
    .footer-inner,
    .header-container,
    form {
      flex-direction: column;
    }

    .footer-inner {
      display: block;
    }

    .footer-inner .social-media {
      text-align: left;
    }

    main,
    aside {
      flex: 1;
      margin-bottom: 20px;
    }

    .search-container {
      margin: 0 auto;
    }
}

@media all and (max-width: 1200px) {

    form {
      flex-direction: column;
      display: flex;
    }

    form input[type="text"] {
      flex: 1;
  }
}

@media all and (max-width: 768px) {
    header {
      padding: 15px 0;
    }
    span.article__domain,
    span.article__category {
      display: block;
      padding-top: 5px;
      padding-left: 0;
    }
}
