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

body,
html {
  width: 100%;
  height: auto;
  font-family: Helvetica, Arial, sans-serif;
  background-color: white;
  scroll-behavior: smooth;
}

.header {
  display: flex;
  justify-content: center;
  max-width: 1366px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.header-img {
  width: 100%;
  height: auto;
  transition: box-shadow 0.3s ease;
}

.navbar {
  display: flex;
  justify-content: center;
  max-width: 1000px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.navbar a {
  text-decoration: none;
  text-align: center;
  font-size: 1.2rem;
  margin: 0.2rem 0.2rem;
  padding: 0.5rem 2rem;
  color: black;
  transition: color 0.4s ease, transform 0.5s ease;
  cursor: pointer;
}

.navbar a:hover {
  color: white;
  background-color: #e18c44;
  transition: all.4s ease;
  transition: transform 0.5s ease;
  box-shadow: 0px 0px 1px #000000;
}

.footer {
  display: flex;
  justify-content: center;
  flex-direction: column;
  max-width: 1366px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.footer-img {
  width: 100%;
  height: auto;
}

#copyright {
  display: flex;
  font-size: 1rem;
  justify-content: center;
  align-self: center;
  position: absolute;
  width: 100%;
  height: auto;
}

.iframe {
  display: none;
  position: fixed;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#pdf-viewer {
  border: 1px solid #ccc;
  display: none;
  width: 80vw;
  height: 80vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#close-btn {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  font-size: 0.8rem;
  padding: 0.5rem 0.8rem;
  background-color: #ff4c4c;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  z-index: 1000;
}

#close-btn:hover {
  background-color: #e25a5a;
  box-shadow: 0px 0px 5px #000000;
}

.items {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1316px;
  width: 100%;
  height: auto;
  margin: 2rem auto;
  padding: 1rem;
}

.items p {
  font-size: 1.2rem;
  margin: 1rem auto;
  text-align: center;
  font-weight: bold;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  margin: 2rem 4rem;
  gap: 2rem;
  text-align: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(5%);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.grid.visible {
  opacity: 1;
  transform: translateY(0);
}

#uz,
#carrige,
#reg {
  box-shadow: none;
}
.grid-item img {
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
  border-radius: 5px;
  box-shadow: 0px 0px 10px #00000085;
}

.grid a,
.items a {
  display: inline-block;
  margin: 1rem auto;
  font-size: 1.2rem;
  color: #007bff;
  text-decoration: none;
  cursor: pointer;
}

.grid a:hover,
.items a:hover {
  text-decoration: underline;
}

.dropbtn {
  background-color: white;
  color: #007bff;
  padding: 0.6rem;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 1rem;
  box-shadow: 0px 5px 10px #00000085;
  z-index: 1;
}

.dropdown-content a {
  color: #007bff;
  padding: 0.2rem 0.5rem;
  text-decoration: none;
  display: block;
}

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

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

.dropdown:hover .dropbtn {
  background-color: none;
}

@media (max-width: 450px) {
  #close-btn {
    font-size: 0.5rem;
  }
}
