.regtitle{
    text-align: center;
    border: 2px, solid, black;
    font-size: 32px;
}

.logtitle{
    text-align: center;
    border: 2px, solid, black;
    font-size: 32px;
}

.login{
    text-align: center;
}

.register{
    text-align: center;
}

#gomb{
    /* ezt igazitsd feljebb */
    width: 99px;
    border: 1px, solid, black;
    margin-left: 30%;
}


/* Form Container */
.form-container {
    width: 320px;
    background-color: rgba(26, 26, 26, 0.95) !important;
    padding: 2rem;
    color: rgba(243, 244, 246, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.form-container .form-label {
    color: rgba(156, 163, 175, 1);
}

.form-container .form-control {
    border: 1px solid rgba(60, 60, 60, 1);
    background-color: rgba(18, 18, 18, 1);
    color: rgba(243, 244, 246, 1);
}

.form-container .form-control:focus {
    border-color: rgba(167, 139, 250);
    background-color: rgba(30, 30, 30, 1);
    box-shadow: none;
    color: rgba(243, 244, 246, 1);
}

.form-container .btn-primary {
    background-color: rgba(167, 139, 250, 1);
    border: none;
    color: rgba(17, 24, 39, 1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.form-container .btn-primary:hover {
    background-color: rgba(147, 119, 230, 1);
    transform: translateY(-2px);
    color: rgba(17, 24, 39, 1);
}

.form-container .btn-primary:active {
    transform: translateY(0);
}

.form-container .text-muted {
    color: rgba(156, 163, 175, 1) !important;
}

.form-container .text-muted:hover {
    text-decoration: underline rgba(167, 139, 250, 1) !important;
}
  
  
  .line {
    height: 1px;
    flex: 1 1 0%;
    background-color: rgba(55, 65, 81, 1);
  }

/* From Uiverse.io by jeremyssocial */ 
.background {
    /* Basic dimensions and centering */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  
    /* Dark mode colors and gradient */
    background: #121212; /* Fallback for browsers that don't support gradients */
    background: linear-gradient(
      135deg,
      #121212 25%,
      #1a1a1a 25%,
      #1a1a1a 50%,
      #121212 50%,
      #121212 75%,
      #1a1a1a 75%,
      #1a1a1a
    );
    background-size: 40px 40px;
  
    /* Animation */
    animation: move 4s linear infinite;
  }
  
  @keyframes move {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: 40px 40px;
    }
  }
  
/* Ad styles */
/* Top Navigation Bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    display: flex;
    align-items: center;
}

.top-bar .logo-container {
    display: flex;
    align-items: center;
}

.top-bar .logo {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.top-bar .logo:hover {
    transform: scale(1.1);
}

.ad-container {
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(40, 40, 40, 0.98));
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 320px;
    margin: 0 auto;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    border: none;
}
.ad-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(167, 139, 250, 0.3), rgba(147, 119, 230, 0.3), rgba(100, 180, 255, 0.3));
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.ad-container:hover::before {
    opacity: 0;
}
.ad-container:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}
.ad-container .close-btn {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 8px;
    right: 8px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    filter: brightness(0) invert(1);
    z-index: 10;
}
.ad-container .close-btn:hover {
    opacity: 1;
}
.ad-container img:not(.close-btn) {
    width: 100%;
    max-width: 280px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: none;
    outline: none;
}
.ad-container:hover img:not(.close-btn) {
    transform: scale(1.05);
}
.ad-container a {
    text-decoration: none;
    color: inherit;
    display: block;
}
.ad-container p {
    color: rgba(243, 244, 246, 1);
    font-weight: 600;
    font-size: 15px;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ad-top-right {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}
.ad-top-left {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}
.ad-bottom-right {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
.ad-bottom-left {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}
