/* ZÁKLADNÍ STYL */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body, html {
  font-family: 'Lexend', sans-serif;
  scroll-behavior: smooth;
  font-size: 1.3rem;
  line-height: 1.6;
}

/* NADPISY */
h1 {
  font-size: 3rem;
  line-height: 1.3;
}
h2 {
  font-size: 2rem;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 20px;
}

/* SEKCÍ OBSAH */
section {
  padding: 100px 20px;
  min-height: 100vh;
  color: white;
   line-height: 1.4;
}
.section-content {
  max-width: 70%;
  margin: 0 auto;
  text-align: justify;
  padding: 0 20px;
  font-size:1.1rem;
}

/* INDIVIDUÁLNÍ POZADÍ SEKCE */
#about {
  background: url('../images/about-bg.jpg') center/cover no-repeat;
  background-color:white;
  color:black;
  font-family: Poppins;
}

#about a
{
  color: #f64905;
  text-decoration: none;
}

#about a:hover
{
  color: #ff0101;
  text-decoration: underline;
}

#research {
  background: #aee5ff;
  color:black;
  font-family: Poppins;
}

#opportunity {
  background: #003852;
  color:rgb(255, 255, 255);
  font-family: Poppins;
}

#opportunity strong
{
  color:#99e1f7;
}


#legislation {
  background: #aee5ff;
  color:black;
  font-family: Poppins;
  text-decoration: none;
}

#legislation a {
  color:rgb(0, 36, 60);
  text-decoration: none;
  font-weight: 500;
}

#legislation a:hover {
  color:rgb(0, 36, 60);
  text-decoration: underline;
}

#staff {
  background: bisque;
  color:black;
  font-family: Poppins;
}

#projects {
  background:bisque;
  color:black;
  font-family: Poppins;
}

#projects a
{
  color: #f64905;
  text-decoration: none;
}

#projects a:hover
{
  color: #ff0101;
  text-decoration: underline;
}

#education {
 //* background: url('../images/education-bg.jpg') center/cover no-repeat; *//
}



#contact {
  background-color:white;
  color:black;
  font-family: Poppins;
}

#contact a
{
  color: #f64905;
  text-decoration: none;
}

#contact a:hover
{
  color: #ff0101;
  text-decoration: underline;
}


#education {
  background-color:white;
  color:black;
  font-family: Poppins;
}

#education a
{
  color: #f64905;
  text-decoration: none;
}

#education a:hover
{
  color: #ff0101;
  text-decoration: underline;
}

/* VIDEO POZADÍ */
.video-background {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-background .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* 0.5 = 50% ztmavení */
  z-index: 1;
}


#bgVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
}

/* MENU */
.hornimenu {
position: fixed;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999;
    padding: 16px 0;
}
.menu {
  display: flex;
  justify-content: center;
  list-style: none;
}
.menu li {
  position: relative;
  margin: 0 15px;
}
.menu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: normal; /* běžný řez */
  padding: 8px 10px;
  font-size: 0.95rem;  /* menší velikost textu */
  display: block;
  line-height: 1.2;
  text-align: center;
}
.menu li:hover > a {
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  color: #fff;
}


/* SUBMENU */
.submenu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: absolute;
  top: 100%;
  left: 0;
  background: #333;
  list-style: none;
  min-width: 250px;
  z-index: 998;
}
.submenu li a {
  padding: 10px;
  color: white;
  display: block;
}
.menu li:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ÚVOD */
.intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  height: 100vh;
  padding: 20px;
  
}
.intro h1 {
  margin-bottom: 20px;
}
.intro h2 {
  font-size: 1.5em;
  font-weight: normal;
}

/* ANIMACE: fade-in při scrollu */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  will-change: opacity, transform;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


.scientist
{
text-align:center;
width:200px;
display: inline-block;
padding: 10px;
vertical-align: top;
}

.member
{
text-align:center;
width:200px;
display: inline-block;
padding: 10px;
vertical-align: top;
font-weight:600;
}


.circleimg {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 50%;
        border: 2px solid #000000;
    }

    .researchgate
    {
    width: 32px;
    margin-top: 10px;
    border: 1px solid #000000;
    opacity:0.7;
    }

    .researchgate:hover
    {
    width: 32px;
    margin-top: 10px;
    border: 3px solid #000000;
    opacity:1.0;
    }

    .tabulka
{
display:flex;
    
    margin-left: auto;
    margin-right: auto;
}
@media screen and (max-width: 700px) {
  .tabulka {
display:block;
  }
}


.zahlavi
{
display: table-cell;
    padding: 10px;
    border: 1px solid;
    background-color: #dddddd;
    /* font-weight: bold; */
    font-size: 1.1rem;
}

.bunka1, .bunka2, .bunka3, .bunka4
{
display:table-cell;
padding:10px;
border:1px solid;
text-align:left;
background-color: #f0f0f0;
font-size:1.1rem;
}
.bunka1
{
font-weight:bold;
}

/* Thumbnail */
.lightbox-thumb {
  cursor: pointer;
  width: 200px; /* nebo max-width: 100%; */
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.lightbox-thumb:hover {
  transform: scale(1.03);
}

/* Lightbox overlay */
#lightbox-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
   transition: all 0.3s ease-in-out;
}
#lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

.subtitle
{
font-size:1rem;
font-weight:300;
}

.website
{
font-size:0.7rem;
color:#aaaaaa;

}



.toggle-wrapper {
  text-align: center;
  margin: 40px 0 20px;
}

#toggle-button {
  background-color: #004080;
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}
#toggle-button:hover {
  background-color: #0059b3;
}

/* Výchozí sbalená sekce */
.collapsible-section {
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease;
}

.collapsible-content {
  padding: 10px 20px;
}

.quartile
{

  width:32px;
}


/* Tlačítko pro mobilní menu */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  cursor: pointer;
}

/* Mobilní menu výchozí stav */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.95);
  position: fixed;
  top: 60px;
  right: 0;
  width: 70%;
  padding: 20px;
  z-index: 1000;
}

.mobile-menu li {
  margin: 10px 0;
}

/* Zobrazit na mobilu */
@media screen and (max-width: 768px) {
  .menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-menu.show {
    display: flex;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .section-content {
    max-width: 100%;
    padding: 0 10px;
    font-size: 1rem;
    text-align: left;
  }

  .scientist,
  .member {
    width: 100%;
    display: block;
    margin: 0 auto 20px;
  }

  .circleimg {
    width: 120px;
    height: 120px;
  }

  .tabulka {
    display: block;
    overflow-x: auto;
  }

  .bunka1, .bunka2, .bunka3, .bunka4, .zahlavi {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 768px) {
  .video-background {
    display: none;
  }

  body::before {
    content: "";
    background: url('../images/mobile-bg.jpg') center/cover no-repeat;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
}


@media screen and (max-width: 768px) {
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.language-switch {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 1000;
  font-size: 0.9rem;
}

.language-switch a {
  color: white;
  text-decoration: none;
  margin: 0 4px;
}

.language-switch a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .language-switch {
    display: none;
  }
}

.lang-item {
  text-align: center;
  margin-top: 10px;
}

.lang-item a {
  color: white;
  margin: 0 4px;
  font-weight: bold;
  font-size: 0.95rem;
  text-decoration: none;
}

.lang-item a:hover {
  text-decoration: underline;
}

