/* cmsms stylesheet: oknl-style modified: pondělí 7. července 2025 19:30:24 */
:root {
  --color-1: #275963;
  --color-2: #e66f5c;
  --color-3: #3f8c9d;
  --color-4: #f0f3f7;
  --black: #000;
  --white: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--color-1);
  background-color: var(--white);
}

p {
  padding: 16px 0;
  font-size: 1em;
}

h2 {
  margin-bottom: 16px;
}

h2,
h3 {
  color: var(--color-2);
}

a {
  color: var(--color-3);
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

img {
  width: 100%;
  height: 100%;
}

ul {
  margin: 16px;
}

li {
  padding: 4px 0;
}

.btn {
  text-align: center;
  margin: 16px;
}

@media (max-width: 980px) {
  h3 {
   font-size: 1.3em;
  }
  p {
   font-size: 1.1em;
  }
}

/* NAVIGATION SECTION */

nav {
  background-color: var(--white);
  width: 100%;
  border-bottom: var(--color-3) solid 8px;
}

.nav-wrapper {
  max-width: 90%;
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

#logo-title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.logo {
  width: 60px;
}

h1 {
  font-size: 1.3em;
  font-weight: 300;
  flex-grow: 4;
  color: var(--black);
}

#h1-second-line {
  font-size: 1rem;
  font-weight: 400;
}

.link-title {
  color: var(--black);
  text-decoration: none;
}

nav ul {
  list-style-type: none;
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  align-items: center;
  margin: 0;
}

nav ul a {
  color: var(--color-1);
  font-size: 1em;
  font-weight: 400;
  text-decoration: none;
}

nav ul a:hover {
  border-bottom: 5px var(--color-2) solid;
  padding-bottom: 2px;
}

.icon-container {
  display: none;
}

.icon-container img {
  width: 100%;
  height: 100%;
}

.nav-icon {
  display: none;
}

@media (max-width: 1000px) {
  .nav-wrapper {
    max-width: 90%;
    display: flex;
    justify-content: flex-between;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 90px;
    left: 0px;
    width: 100%;
    background-color: var(--color-4);
  }

  nav ul a {
   font-size: 1.2em;
   display: block;
  }

  nav li {
    display: block;
    text-align: center;
    padding: 16px 0;
    border-bottom: 1px dotted var(--color-3);
  }

  .icon-container {
    display: block;
    cursor: pointer;
  }

  .nav-icon {
    display: block;
    cursor: pointer;
  }
}

@media (min-width: 1001px) {
  nav ul {
    display: flex !important;
  }
}

/* HEADER SECTION */

header {
  height: 70vh;
}

.header-section-wrapper {
  max-width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.header-section-text {
  width: 30%;
}

.header-section-btn {
  margin: 16px 0;
  padding: 12px;
  border: var(--white) solid 1px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  background-color: var(--color-3);
  color: var(--white);
}

.header-section-btn:hover {
  background-color: var(--color-1);
}

.header-section-btn a {
  color: var(--white);
  text-decoration: none;
}

@media (max-width: 980px) {
  header {
    height: 100%;
    margin: 32px 0;
  }

  .header-section-wrapper {
    flex-direction: column-reverse;
  }
  .header-section-text {
    width: 90%;
  }
}

main {
  margin: 0 auto;
}

section {
  margin: 32px 0;
}

/* BOX SECTION */

#box-section {
  max-width: 80%;
  margin: 0 auto;
}

.box-section-wrapper {
  margin: 32px;
  display: flex;
  justify-content: space-between;
  align-items: first baseline;
}

.box {
  text-align: center;
  width: 24%;
  padding: 8px;
}

.box-img {
  width: 100px;
  padding: 18px 0;
}

h3.box-header {
  color: var(--color-2);
}

.box-text {
  margin: 8px;
}

@media (max-width: 980px) {
  .box-section-wrapper {
    flex-direction: column;
  }
  .box {
    width: 100%;
  }
}

/* NEWS SECTION */

#news-section {
  max-width: 80%;
  margin: 0 auto;
}

.news-item {
  background-color: var(--color-4);
  margin: 32px 0;
  padding: 32px;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 32px;
}

.img-news-item {
  width: 200px;
  max-height: 200px;
  border-radius: 4px;
}

#NewsPostDetailTitle {
  margin: 16px 0;
}

#NewsPostDetailDate {
  margin: 16px 0;
}

#NewsPostDetailReturnLink {
  margin: 16px 0;
  padding: 12px;
  border: var(--white) solid 1px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  background-color: var(--color-3);
  color: var(--white);
}

#NewsPostDetailReturnLink:hover {
  background-color: var(--color-1);
}

#NewsPostDetailReturnLink a {
  color: var(--white);
  text-decoration: none;
}

@media (max-width: 980px) {
  .news-item {
    flex-direction: column;
    gap: 8px;
  }
  .img-news-item {
    width: 100%;
  }
}

/* ARTICLE */

article {
  margin: 32px auto;
  max-width: 80%;
}

.partner-item {
  text-align: center;
  margin: 16px 0;
}

.partner-logo {
  width: 150px;
}

/* FAQ SECTION */

.faq {
  margin: 16px 0;
}

details {
  padding: 10px;
  background-color: var(--color-4);
  border-radius: 4px;
}

summary {
  cursor: pointer;
}

summary:hover {
  font-weight: bolder;
}

/* CONTACT SECTION */

#contact-section {
  max-width: 80%;
  margin: 0 auto;
}

.contact-item {
  background-color: var(--color-4);
  margin: 32px 0;
  padding: 32px;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  justify-content: fles-start;
  align-items: center;
  gap: 32px;
}

.img-contact-item {
  width: 200px;
  border-radius: 4px;
}

@media (max-width: 980px) {
  .contact-item {
    flex-direction: column;
  }
  .img-contact-item {
    width: 100%;
  }
}

/* FOOTER */

footer {
  background-color: var(--color-1);
  color: var(--color-4);
  padding: 32px;
}

footer a {
  color: var(--color-4);
}

.footer-wrapper {
  max-width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 32px;
}

.footer-item {
  width: 60%;
}

@media (max-width: 980px) {
  .footer-wrapper {
    flex-direction: column;
  }

  .footer-item {
    width: 100%;
  }
}

/* SCROLL BUTTON */

#scrollbtn {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--color-1);
  background-color: var(--color-4);
  text-decoration: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  font-size: 2.5em;
}
