body {
    background-image: url('/UfoDisclosureBulgaria/images/space_img.jpg');
    background-size: cover;       
    background-repeat: no-repeat; 
    background-attachment: fixed; 
    background-position: center;  
    margin: 0;                    
    min-height: 100vh; 
    overflow-y: auto; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1 {
	color: #744769;
    margin-bottom: 40px;
    padding-top: 20px;
    font-size: 2.2rem;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
	font-family: 'Jura', sans-serif;
    font-weight: 700;
    -webkit-text-stroke: 1.5px #744769;
	text-align: center;
	border-bottom: 2px solid #744769;
    padding-bottom: 5px;
}

h3 {
	color: #d23100;
	font-style: italic;
	font-weight: 200;
	position: fixed;
	left: 50%;
	transform: translate(-50%, -50%);
    font-size: 1.5rem;
	top: 25%;
	z-index: 1;
}

h2 {
	color: black;
	font-weight: 0.2rem;
	text-align: center;
    font-size: 1.1rem;
	z-index: 1;
    margin-bottom: 50px;
    border: 2px solid #744769;
    background-color: white;
    border-radius: 8px;
}

.error-message {
	color: #d23100;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    margin: -25px 0;
	margin-bottom: 10px;
    border-radius: 4px;
	font-size: 1.5rem;
	font-style: italic;
    font-family: 'Jura', sans-serif;
    font-weight: 700;
}

#card-errors {
	color: #d23100;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    margin: -25px 0;
	margin-bottom: 10px;
    border-radius: 4px;
	font-size: 1.5rem;
	font-style: italic;
    font-family: 'Jura', sans-serif;
    font-weight: 700;
}

#success-donation {
	color: #2e7d32; 
    background-color: #c8e6c9; 
    border: 1px solid #388e3c;
    padding: 10px;
    margin: -25px 0;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 1.5rem;
    font-style: italic;
    font-family: 'Jura', sans-serif;
    font-weight: 700;
}

.donation-amount {
	width: 30%;
	text-align: center;
	padding: 10px;
}

.payment-form {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(116, 71, 105, 0.15);
    width: 700px;
    left: 50%;
    top: max(10px, 50vh - 50%);
    transform: translateX(-50%);
    padding: 20px;
    min-height: min-content;
}

.input-container {
    position: relative;
    width: 100%;
    max-width: 100%;
	text-align: center;
}

label {
    display: block;
    margin-bottom: 4%;
	margin-top: 4%;
    text-align: center;
    color: #333;
    font-weight: bold;
	font-size: 1.5rem;
    font-family: 'Jura', sans-serif;
    font-weight: 700;
    -webkit-text-stroke: 0.5px;
}

input {
    width: 55%;
    padding: 15px 10px;
	margin: 0 auto 20px auto;
    display: block;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Jura', sans-serif;
    font-weight: 700;
}

input:focus {
    outline: none; 
    border: 2px solid #744769 !important;  
    box-shadow: 0 0 10px rgba(116, 71, 105, 0.2);
    transform: translateY(-2px);
}

form {
    padding: 2%;
    font-size: 1rem;
}

.donate-btn {
    background-color: #744769;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px;
    width: 200px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Jura', sans-serif;
    font-weight: 700;
    margin-bottom: -10%;
    white-space: nowrap
}

.donate-btn:hover {
    background-color: #5a3651;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 54, 81, 0.3);
}

.back-btn {
    position: absolute;
    left: 1px;
    padding: 5px 5px;
    padding-left: 32px;
    background-color: #744769;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Jura', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.back-btn::before {
    content: '←';
    position: absolute;
    left: 15px;
    transition: transform 0.3s ease;
}

.back-btn:hover {
    background-color: #5a3651;
    box-shadow: 0 2px 8px rgba(116, 71, 105, 0.3);
}

.back-btn:hover::before {
    transform: translateX(-3px);
}

.StripeElement {
	width: 55%;
    padding: 15px 10px;
	margin: 0 auto 20px auto;
    display: block;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
	background: rgba(255, 255, 255, 0.95);
}

.StripeElement--focus {
    outline: none; 
    border: 2px solid #744769 !important;  
    box-shadow: 0 0 10px rgba(116, 71, 105, 0.2);
    transform: translateY(-2px);
}

.logo_img {
	position: absolute;
	left: 1%;
	top: 3%;
	height: 80%;
	max-width: 100%
}

.ribbon {
	margin-top: 1%;
    position: relative;
    top: 0%;
    left: 50%;
	width: 90%;
    transform: translateX(-50%); 
    background-color: #744769; 
    color: white;
    padding: 1.5%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 10;
	text-align: center;
}

.content-board {
    width: 90%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin: auto;
    margin-bottom: 20px;
    flex: 1; 
    overflow: visible !important;
    max-height: none !important; 
    height: auto !important;
    opacity: 0;
    transition: opacity 1s ease-out;
}

.content-board.loaded {
    opacity: 1;
}

.navbar {
    background-color: #744769;
    padding: 1% 0;
	font-weight: bold;
}

.nav-list {
    list-style-type: none;
    display: flex;
    justify-content: center;
}

.nav-item {
    position: relative;
    width: 10%;
	margin: 1%;
}

.nav-item a {
    text-decoration: none;
    color: white;
    display: block;
    font-size: 90%;
	font-family: 'Jura', sans-serif;
    font-weight: 700;
    -webkit-text-stroke: 0.5px white;
}

.nav-item a:hover {
    background-color: #5a3651;
}

.dropdown-menu {
	list-style: none;
    display: none;
    position: absolute;
    background-color: #5a3651;
    top: 100%; 
    width: 140%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.dropdown-menu li {
    border-bottom: 1px solid #744769;
}

.dropdown-menu li a {
    padding: 5%;
    color: white;
}

.dropdown-menu li a:hover {
    background-color: #442538;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.fa-container {
  position: fixed; 
  top: 40%;        
  right: 10%;
  display: flex;   
  flex-direction: row; 
  gap: 45%;     
  
}

.fa {
  padding: 10%;       
  width: auto;         
  height: auto;        
  text-align: center;
  text-decoration: none;
}

.fa-brands {
  text-decoration: none;
}

.fa-patreon,
.fa-facebook,
.fa-youtube,
.fa-instagram {
  background: #744769;
  color: white;
  border-radius: 5%;
  font-size: 1.3rem;
}

.checkbox-label {
    display: flex;
    align-items: center; 
    margin: 10px auto;      
    cursor: pointer;
    width: fit-content;
    -webkit-text-stroke: 0.5px;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    position: relative;      
    top: 10px;           
}

.checkbox-label span {
    line-height: 16px;
}


.language-switch {
	margin-left: 88%;
}

.language-switch a {
	color: #744769;
    font-weight: 200;
    font-family: 'Jura', sans-serif;
    font-weight: 700;
	text-decoration: none;
}

.language-switch a:hover {
    color: #5a3651;
    transform: translateY(-1px);
}

.thank-you-note {
    color: black;
    font-weight: 0.2rem;
    text-align: left;
    font-size: 1.1rem;
    z-index: 1;
    margin-bottom: 50px;
    border: 2px solid #744769;
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    font-family: 'Jura', sans-serif;
    font-weight: 700;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 25px;
    left: 20px;
    z-index: 200;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.4s;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.menu-overlay.active {
    display: block;
}

.dropdown-arrow {
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.dropdown-arrow.rotate {
    transform: rotate(90deg);
}

@media screen and (max-width: 768px) {
    body {
        transform: none;
        width: 100%;
        margin: 0 auto;
        height: auto;
        overflow: auto;
    }

    .ribbon {
        margin-top: 0;
        width: 100%;
        padding: 10px;
        position: relative;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .logo_img {
        position: relative;
        left: 0;
        top: 0;
        height: 60px;
        display: block;
        margin: 0;
        margin-left: 50px;
    }

    .fa-container {
        position: relative;
        top: auto;
        right: auto;
        flex-direction: row;
        gap: 10px;
        margin: 0;
    }

    .fa-patreon,
    .fa-facebook,
    .fa-youtube,
    .fa-instagram {
        font-size: 0.9rem;
        padding: 6px;
    }

    .navbar {
        padding: 0;
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 100;
    }

    .navbar.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 0;
    }

    .nav-item {
        width: 100%;
        margin: 0;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-item a {
        padding: 25px 20px;
        font-size: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        display: none;
        background-color: rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown-menu li {
        border-bottom: 1px solid #744769;
    }

    .dropdown-menu li:last-child {
        border-bottom: none;
    }

    .dropdown-menu li a {
        padding: 12px 20px 12px 35px;
        font-size: 14px;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        display: none;
    }

    .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }

    .content-board {
        width: 100%;
        overflow: auto;
        max-height: none;
        padding-bottom: 100px;
        margin-bottom: 0px;
    }

    h1 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        padding-top: 15px;
    }

    .payment-form h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }

    .payment-form label {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .hamburger-menu {
        display: block;
    }

    .dropdown-arrow {
        margin-left: 8px;
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .dropdown-arrow.rotate {
        transform: rotate(90deg);
    }

    .donors-table {
        font-size: 12px;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        display: block;
    }

    .donors-table th, .donors-table td {
        padding: 8px 10px;
    }

    .profile-photo {
        width: 40px;
        height: 40px;
    }

    .donor-badge {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    .payment-form {
        width: 90%;
        margin: 0 auto;
        padding: 10px;
    }

    input {
        width: 90%;
        font-size: 0.9rem;
        padding: 10px;
        margin-bottom: 15px;
    }

    .input-container {
        padding: 15px;
    }

    input, .StripeElement {
        width: 80%;
        padding: 12px 8px;
    }

    .donate-btn {
        width: 160px;
        font-size: 0.9rem;
        padding: 8px 20px;
        padding-bottom: -20px;
        
    }

    .error-message, #card-errors, #success-donation {
        font-size: 1rem;
        padding: 8px;
        margin: -15px 0 10px 0;
    }

    .thank-you-note {
        font-size: 0.8rem;
        margin-bottom: 20px;
    }

    .language-switch {
        margin-left: 80%;
        font-size: 0.8rem;
    }

    .back-btn {
        font-size: 0.7rem;
        padding: 3px 3px 3px 23px;
        left: 5px;
    }

    .back-btn::before {
        left: 12px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1132px) {
    body {
        transform: scale(1, 1.15);
        transform-origin: top center;
        width: 100%;
        margin: 0 auto;
    }

    .thank-you-note {
        margin-bottom: 20px;
        font-size: 1rem;
    }

    .payment-form {
        top: 40%;
        padding: 20px;
    }

    .payment-form label {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .nav-item a {
        font-size: 65%;
    }

    .nav-item.dropdown {
        font-size: 90%;
    }

    .fa-brands {
        font-size: 0.8rem;
        padding: 4px;
    }

    .fa-container {
        gap: 15px;
        right: 2%;
        top: 35%;
    }

    .content-board {
        width: 98%;
    }

    .ribbon {
        width: 98%;
    }

    .nav-list {
        flex-direction: row;
    }
}

@media screen and (min-width: 1133px) and (max-width: 1320px) {
    body {
        transform: scale(0.9, 1);
        transform-origin: top center;
        width: 100%;
        margin: 0 auto;
    }

    .nav-item a {
        font-size: 75%;
    }

    .nav-item.dropdown {
        font-size: 90%;
    }

    .fa-brands {
        font-size: 1rem;
        padding: 5px;
    }

    .fa-container {
        gap: 15px;
        right: 2%;
        top: 35%;
    }

    .content-board {
        width: 90%;
    }

    .ribbon {
        width: 90%;
    }

    .nav-list {
        flex-direction: row;
    }
}

@media (hover: none) {
    .nav-item.dropdown .dropdown-menu {
        display: none;
    }

    .nav-item.dropdown:active .dropdown-menu {
        display: block;
    }
}