h1, h2, h3, h4, h5, h6 {
    font-family: "Times New Roman", Times, serif;
}

body {
    font-family: "Times New Roman", Times, serif;
    background-color: #e6efe8;
    color: #393939;
    position: relative;
    min-height: 100vh;
    padding-bottom: 2.5rem;
    text-align: center;
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-wrap {
  flex: 1;
}

footer {
  height: 2.5rem;
  width: 100%;
  text-align: center;
  padding: 2rem 0;
}

label {
  display: block;
  margin-bottom: 10px;
  font-size: 1.2em;
}

@media (max-width: 768px) {
  h3 {
    font-size: 1.1em; /* можно изменить на нужный вам размер */
  }

  h5 {
    font-size: 0.95em; /* аналогично, подберите подходящий размер */
  }
}

small {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  color: #666;
}

.navbar {
  min-height: 100px;
  font-size: 25px;
  position: relative;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.navbar-brand > img {
  height: 60px;
}

.navbar-title {
  font-size: 25px; 
  white-space: nowrap;
}

@media (max-width: 768px) {
  .navbar-title {
    font-size: 18px; 
  }
}

@media (max-width: 480px) {
  .navbar-title {
    font-size: 16px; 
  }
}

.btn-danger {
  margin-left: auto;
}

#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none; 
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#scrollToTopBtn.show {
  display: flex; 
}

#custom-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

#custom-alert {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fefefe;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  padding: 24px 28px;
  width: 70%;
  max-width: 700px;
  font-family: inherit;
  font-size: 1.2em;
  z-index: 10000;
  text-align: left;
}

@media (max-width: 600px) {
  #custom-alert {
    width: 90%;
    font-size: 1.1em;
    padding: 20px 20px;
  }
}
