html{
    background-color:bisque;
}

.navbar{
    overflow: hidden;
    background-color: rgb(2, 117, 2);
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 50px;
}

.navbar a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 16px;    
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
    background-color: coral;
}

.dropdown-content{
    display: none;
    position: absolute;
    background-color: coral;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a{
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover{
    background-color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.center-img {
  display: block;
  margin: 0 auto;
  border-radius: 30px;
}

.center-img1 {
  display: block;
  margin: 0 auto;
  border-radius: 30px;
}

.center-img2 {
  display: block;
  margin: 0 auto;
}

.center{
    text-align: center;
    color: black;
}

.invisible{
    color:rgb(171, 2, 2);
}

* {box-sizing:border-box}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.mySlides {
    display: none;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 3s;
  animation-name: fade;
  animation-duration: 3s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@media all and (max-width: 500px) {
    .for_phone{
        visibility: hidden;
    }

    .center-img{
        width:200px
    }

    .center-img1 {
        width: 250px;
}
}

.footer{
    background-color: black;
    text-align: center;
    color:white;
    border-radius: 100px;
}

.invisiblef{
    color:black;
}

.white{
  color: black;
  text-align: center;
}

.te{
  background-color: bisque;
}

.text1{
  text-align: center;
}

.animbtn:hover{
  transform: translateY(-5px);
}

@keyframes slideInLeft{
  from {
    transform: translateX(-300px);
  }

  to{
    transform: translateX(0);
  }
}

.centeranim{
  animation-name: slideInLeft;
  animation-duration: 1s;
  animation-timing-function: ease-in;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: none;
  text-align: center;
  color: black;
}

.footer-basic {
  padding:40px 0;
  background-color:darkblue;
  color:white;
  border-radius: 100px;
}

.footer-basic ul {
  padding:0;
  list-style:none;
  text-align:center;
  font-size:18px;
  line-height:1.6;
  margin-bottom:0;
}

.footer-basic li {
  padding:0 10px;
}

.footer-basic ul a {
  color:inherit;
  text-decoration:none;
  opacity:0.8;
}

.footer-basic ul a:hover {
  opacity:1;
}

.footer-basic .social {
  text-align:center;
  padding-bottom:5px;
  color:white;
}

.footer-basic .social > a {
  font-size:24px;
  width:40px;
  height:40px;
  line-height:40px;
  display:inline-block;
  text-align:center;
  border-radius:50%;
  border:1px solid #ccc;
  margin:0 8px;
  color:white;
  opacity:0.75;
}

.footer-basic .social > a:hover {
  opacity:0.9;
}

.footer-basic .copyright {
  margin-top:15px;
  text-align:center;
  font-size:13px;
  color:#aaa;
  margin-bottom:0;
}

.footer-basic .centerf{
  text-align: center;
  color:white;
}


#myInput {
  background-image: url('/css/searchicon.png'); 
  background-position: 10px 12px; 
  background-repeat: no-repeat; 
  width: 50%; 
  font-size: 16px; 
  padding: 12px 20px 12px 40px;
  border: 1px solid #ddd; 
  margin-bottom: 12px; 
}

#myTable {
  border-collapse: collapse; 
  width: 100%; 
  font-size: 18px; 
}

#myTable a{
  color: black;
  text-decoration: none;
}

#myTable a:hover{
  color: black;
  text-decoration:underline;
}

#myTable th, #myTable td {
  text-align: left;
  padding: 12px; 
}

#myTable tr {
  border-bottom: 1px solid #ddd;
}

#myTable tr.header, #myTable tr:hover {
  background-color: #f1f1f1;
}

.btna{
  background-color: #04AA6D; /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 10px;
  transition: transform 0.3, background-color 0.3, color 0.3;
  border-radius: 100px;
}

.btna:hover{
  transform: translateY(-10px);
}

.search-box{
  width: 700px;
  margin: 10px auto;
  border-radius: 50px;
}

.row{
  display: flex;
  align-items: center;
  padding: 10px 20px;
}

.inputser{
  height: 25px;
  background: transparent;
  border: 0;
  outline: 0;
}

.btnser{
  background: transparent;
  border: 0;
  outline: 0;
}

.center_g{
  text-align: center;
  color: green
}

.center_h{
  text-align: center;
  color: green;
  font-size: 20px;
}

.mobile-navbar {
  display: none;
}

/* Мобільна адаптація */
@media (max-width: 768px) {
  .navbar{
    display: none;
  }

  .dropdown12{
    display: none;
  }

  .mobile-navbar {
    display: flex;
    flex-direction: column;
    background: rgb(2, 117, 2);
    padding: 1rem;
    border-radius: 50px;
  }

  .hamburger {
    font-size: 2rem;
    color: white;
    cursor: pointer;
  }

  #menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    margin-top: 1rem;
    background: rgb(1,96,1);
    border-radius: 5px;
    padding: 0.5rem;
  }

  .mobile-menu li {
    margin: 0.5rem 0;
  }

  .mobile-menu a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0.5rem;
  }

  #menu-toggle:checked + .hamburger + .mobile-menu {
    display: flex;
  }

  /* Dropdown */
  .dropdown-label {
    color: white;
    cursor: pointer;
    display: block;
    padding: 0.5rem;
  }

  .dropdown-menu {
    display: none;
    background: rgb(1,96,1);
    margin-left: 1rem;
    border-left: 2px solid rgb(0, 64, 0);
  }

  #about-toggle {
    display: none;
  }

  #teachers {
    display: none;
  }

  #about-toggle:checked + .dropdown-label + .dropdown-menu {
    display: block;
  }

  input:checked + .dropdown-label + .dropdown-menu {
  display: block;
  }

  #nayk {
    display: none;
  }

  #naych {
    display: none;
  }

  #concurs {
    display: none;
  }

  .menu-photo-link {
  width: 100px;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  transition: transform 0.2s ease;
}

.menu-photo-link:hover {
  transform: scale(1.05);
}


}

.dropdown12 {
  float: left;
  overflow: hidden;
}

.dropdown12 .dropbtn {
  font-size: 16px;    
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown12:hover .dropbtn {
  background-color: coral;
}

.dropdown-content{
  display: none;
  position: absolute;
  background-color: coral;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a{
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover{
  background-color: white;
}

.dropdown12:hover .dropdown-content {
  display: block;
}

.mini-search-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem 1rem;
}

.mini-search-wrapper input {
  width: 120px;
  padding: 0.3rem 0.6rem;
  font-size: 0.85rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

#searchResults {
  position: absolute;
  top: 100%;
  right: 1rem;
  width: 200px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 5px;
  z-index: 999;
  list-style: none;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

#searchResults li {
  padding: 0.4rem;
  border-bottom: 1px solid #eee;
}

#searchResults li:last-child {
  border-bottom: none;
}

#searchResults li a {
  text-decoration: none;
  color: #044d04;
  display: block;
}

#searchResults li:hover {
  background: #f1fff1;
}

.books img {
  width: 200px; /* or whatever size matches the others */
  height: auto;
  border-radius: 8px; /* optional */
}