:root {
  --primary: #007bff;
  --dark: #222;
  --light: #f8f9fa;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
}

body {
  background-color: var(--light);
  color: #333;
  font-size: 18px;
  line-height: 1.6;
}

h1, h2, h3 {
  line-height: 1.3;
}


.navbar {
  background: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 2rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin: 0.5rem 1rem;
  font-weight: 500;
  transition: 0.3s;
  font-size: 1.1rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}


.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switch a {
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  color: chartreuse;
}

.lang-switch a:hover {
  transform: scale(1.1);
  opacity: 0.8;
  
}


.intro-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-text {
  flex: 1;
  text-align: left;
}

.intro-photo {
  flex: 0 0 auto;
}

.intro-photo img {
  max-width: 350px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}


.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
  align-items: center;
}

.timeline-item {
  background: white;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--primary);
  border-radius: 6px;
  width: 85%;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}


table {
  width: 90%;
  margin: 2rem auto;
  border-collapse: collapse;
  text-align: center;
  background: white;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

th, td {
  border: 1px solid #ddd;
  padding: 1rem;
  font-size: 1.1rem;
}

th {
  background-color: var(--primary);
  color: white;
}


.future-box, .future ul {
  background: white;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  max-width: 700px;
  margin: 2rem auto;
}

.future ul {
  list-style: disc;
  margin-left: 2rem;
  font-size: 1.1rem;
}


.videos {
  display: flex;
  gap: 1.5rem;            
  flex-wrap: wrap;      
  justify-content: center; 
  margin-top: 2rem;
}

.videos video {
  max-width: 800px;   
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}


html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.site-footer {
  background-color: var(--dark);
  color: white;
  text-align: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  width: 100%;
}


.contact {
  text-align: center;
  padding: 3rem 2rem;
}

.contact-box {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-item {
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  min-width: 300px;
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}


.discord {
  position: relative;
  display: inline-block;
}

.discord-logo {
  width: 100px;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.discord-logo:hover {
  transform: scale(1.1);
}

.tooltip {
  visibility: hidden;
  opacity: 0;
  background-color: var(--dark);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 8px;
  position: absolute;
  z-index: 1;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s ease;
  font-size: 0.85rem;
}

.discord:hover .tooltip {
  visibility: visible;
  opacity: 1;
}


@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery img,
  .gallery video {
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  .intro-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  table {
    width: 95%;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery img,
  .gallery video {
    max-width: 90%;
  }
  .contact-box {
    flex-direction: column;
    align-items: center;
  }
  .discord-logo {
    width: 70px;
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}


.stred {
  text-align: center;
}

.diploma {
  max-width: 500px;   
  width: 50%;        
  height: auto;       
  border-radius: 8px; 
  box-shadow: 0 0 8px rgba(0,0,0,0.2); 
  display: block;
  margin: 1rem auto;  
  }

.vacsie100{
  font-size: 100px;
  width: 50%;
}

.vacsie50{
  font-size: 50px;
}

.vacsie20{
  font-size: 20px;
}

.zvyraznenie{
    font-family: Verdana; 
    font-size: 20px; 
    color: blueviolet;
    }

h1{
  font-size: 50px;
}
 li{
  list-style: none;
  font-size: 20px;
 }

.vacsie30{
  font-size: 30px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr); 
  gap: 1.5rem;
  justify-items: center;
  margin: 3rem auto;
  max-width: 1300px;
}

.gallery img,
.gallery video {
  width: 100%;
  max-width: 250px; 
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

.NEJ{
    width: 40px;
    height: 40px;   
}

.ENG{
    width: 40px;
    height: 40px;
}

.SVK{
    width: 40px;
    height: 40px;
}