/*** General ***/
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Space+Grotesk:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap'); /* Techno font */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
@import url(variables.css);

body {
    background-color: var(--bg-white);
    color: var(--text-black);
    font-family: "Poppins", sans-serif;
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
    min-height: 100vh;
    display: flex;
    flex-direction: column;

}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

section *:not(.ignore):not(.ignore *) {
  translate: 0 100px;
  opacity: 0;
  transition: translate 0.8s ease-out, opacity 0.8s ease-out;
}
section *:not(.ignore):not(.ignore *).active {
  translate: 0;
  opacity: 1;
}

.container {
    max-width: 900px;
}

.btn-custom {
    background: var(--primary-gradient);
    border: none;
    padding: 12px 30px;
    transition: all 0.3s ease !important;
    color: rgba(255, 255, 255, 0.95);
}

.border-custom {
    border: 2px solid var(--primary-color) !important;
    padding: 12px 30px;
    transition: all 0.3s ease;

}

.btn-custom:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
    color: white;
}

.contact-input.form-control:focus,
.input-group .form-control:focus {
    transition: all .3s ease !important;
    background-color: rgba(0, 0, 0, 0.4) !important;
    box-shadow: none;
}

.form-control {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
}

.form-control::placeholder {
    color: rgba(0, 0, 0, 0.4);
}


.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    cursor: pointer;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-header {
    padding: 2rem;
    padding-bottom: 1rem;
}

.modal-header .modal-title {
    font-size: 1.75rem; 
}


.modal-content {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
}

.modal-body {
    padding: 2rem;
    padding-top: 0;
}



.btn-border-custom {
    border: 2px solid var(--primary-color) !important;
    padding: 12px 30px;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #1f1a23, #342f38);
    color: black;
}

.btn-border-custom:hover {    
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}


/* terms and privacy and license */
.goHome:hover {
  background-color: #ffffff;
  color: #000000;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  transition: all .3s ease !important;
}
/* terms and privacy and license END */


.grid-background {
  background-image: 
    /* Radial gradient overlay für Fade-out */
    radial-gradient(circle,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%),
    /* Horizontale Linien */
    linear-gradient(to bottom, transparent 0px, transparent 19px, rgba(0, 0, 0, 0.1) 20px, transparent 21px),
    /* Vertikale Linien */
    linear-gradient(to right, transparent 0px, transparent 19px, rgba(0, 0, 0, 0.1) 20px, transparent 21px);
  
  background-size: 
    100% 100%,
    20px 20px,
    20px 20px;
    
  min-height: 100vh;
  position: relative;
}

.pointed-grid-background {
 background-size: 40px 40px;
  background-image: radial-gradient(circle, #000000 1.5px, rgba(0, 0, 0, 0) 1.5px);
  mask: radial-gradient(ellipse at center, black 0%, black 30%, transparent 70%);
  -webkit-mask: radial-gradient(ellipse at center, black 0%, black 30%, transparent 70%);
  background: #ffffff;
background: radial-gradient(circle, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

@media (max-width: 768px) {
    .container {
        padding-right: var(--container-padding-mobile);
        padding-left: var(--container-padding-mobile);
    }

    section *:not(.ignore):not(.ignore *) {
        translate: 0 50px;
    }

    body {
        font-size: 14px;
    }

     .btn-custom, .border-custom, .btn-border-custom {
        padding: 8px 20px;
        /* width: 100%; */
    }
        
    .card-custom {
        padding: 1rem;
        margin: 0 var(--container-padding-mobile);
    }

    .btn-custom, .border-custom, .btn-border-custom {
        padding: 8px 20px;
        /* width: 100%; */
    }

    
    .form-control {
        font-size: 1rem;
    }

}

/* Grid adjustments */
@media (max-width: 576px) {
    .grid-2, .grid-4 {
        grid-template-columns: 1fr;
        grid-gap: 1.5rem;
    }
}


/*** General End***/



/*** Navbar  ***/

.navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px 0 rgba(0,0,0, 0.07), 0 2px 4px rgba(0,0,0, 0.05);
    transition: all 0.5s ease-in-out;
}

/* Color of the links BEFORE scroll */
.navbar-scroll .nav-link,
.navbar-scroll .navbar-brand,
.navbar-scroll .navbar-toggler .fa-bars {
    color: #000;
}

/* Color of the navbar AFTER scroll */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* An optional height of the navbar AFTER scroll */
.navbar.navbar-scroll.navbar-scrolled {
    padding-top: 5px;
    padding-bottom: 5px;
}


.navbar-nav .nav-link.active {
  background-image: linear-gradient(45deg, #5466f0, #007cc2); 
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text; /* Safari support */
  text-decoration-color: #5466f0;
}


.dropdown-menu {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    box-shadow: rgba(50, 50, 50, 0.56) 0px 22px 70px 4px;
    right: 1px !important;  
    left: auto !important; 
}

.dropdown-item {
    border-radius: 10px;
}

.dropdown-item:hover {
   background-color: rgba(93, 93, 93, 0.5);
   color: #fff;
}

.navbar-nav .nav-link.show {
    color: #000;
}

.nav-item {
    position: relative;
    text-decoration: none;
    display: inline-block;
}

.nav-item::after {
content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--animation-underline);
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out;
}

.nav-item:hover::after {
    width: 80%;
}

.register-outline {
    border: var(--animation-underline) 2px solid; 
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease ;
}

.register-outline:hover {
    background: var(--animation-underline);
}

/*** Navbar END ***/


/*** Flash Messages ***/
.flash-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 2000;
    width: auto;
    max-width: 400px;
}

.flash-container-custom {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 2000;
    width: auto;
    max-width: 400px;
}

.alert-message,
.flash-message {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
}



.alert {
    position: relative;
    border: none;
    margin-bottom: 10px;
    overflow: hidden;
}

.flash-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #5466f0, #007cc2);
}

.threeSeconds{
    animation: progress 3s linear forwards;

}

.tenSeconds{
    animation: progress 10s linear forwards;

}

@keyframes progress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}
/*** FLASH END ***/

main {
    flex: 1 0 auto;
}

/*** FOOTER ***/


footer {
    margin-top: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.4);
    padding: 45px 0 20px;
    font-size: 15px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.7);
}

footer h6 {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 2px;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-links {
    padding-left: 0;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: #fff;
}

.text-gradient{
    background: var(--primary-gradient); 
    color: transparent;
    background-clip: text;
}

.social-icons a {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: rgba(255, 255, 255, 0.7);
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

footer hr {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width:991px) {
    footer [class^=col-] {
        margin-bottom: 30px
    }
}

@media (max-width:767px) {
    footer {
        padding-bottom: 0
    }

    footer .copyright-text,
    footer .social-icons {
        text-align: center
    }
}

.social-icons {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none
}

.social-icons li {
    display: inline-block;
    margin-bottom: 4px
}

.social-icons li.title {
    margin-right: 15px;
    text-transform: uppercase;
    color: #96a2b2;
    font-weight: 700;
    font-size: 13px
}

.social-icons a {
    background-color: #eceeef;
    color: #818a91;
    font-size: 16px;
    display: inline-block;
    line-height: 44px;
    width: 44px;
    height: 44px;
    text-align: center;
    margin-right: 8px;
    border-radius: 100%;
    -webkit-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear
}

.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
    color: #fff;
    background-color: #29aafe
}

.social-icons.size-sm a {
    line-height: 34px;
    height: 34px;
    width: 34px;
    font-size: 14px
}

.social-icons a.facebook:hover {
    background-color: #3b5998
}

.social-icons a.twitter:hover {
    background-color: #00aced
}

.social-icons a.linkedin:hover {
    background-color: #007bb6
}

.social-icons a.dribbble:hover {
    background-color: #ea4c89
}

@media (max-width:767px) {
    .social-icons li.title {
        display: block;
        margin-right: 0;
        font-weight: 600
    }
}

/* Responsive Navbar Styles */
/* @media (max-width: 768px) { */
@media (max-width: 991px) {
    .navbar {
        padding: 0.5rem var(--container-padding-mobile);
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }

    .navbar-nav {
        padding: 1rem 0;
    }

    .nav-item::after {
        display: none;
    }

    .dropdown-toggle {
        pointer-events: none;
        text-align: center;
    }

    .dropdown-menu {
        border-radius: 10px;
        margin-top: 0.5rem;
        display: flex;
        justify-content: space-around;

    }

    /* Navigation Links in Grid anordnen */
    .mobile-nav-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        width: 100%;
        margin-bottom: 1rem !important;
    }

    .mobile-nav-grid .nav-item {
        text-align: center;
    }

    .mobile-nav-grid .nav-link {
        padding: 0.75rem;
        border-radius: 8px;
        background: rgba(0, 0, 0, 0.05);
    }

    .mobile-nav-grid .nav-link.active {
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    /* Auth Buttons nebeneinander */
    .mobile-auth-buttons {
        display: flex !important;
        gap: 0.5rem;
        width: 100%;
        margin: 0 !important;
    }

    .mobile-auth-item {
        flex: 1;
    }

    .mobile-auth-item .nav-link {
        text-align: center;
        display: block;
        padding: 0.75rem;
    }

    .register-outline {
        margin-top: 0;
    }
}

/*** FOOTER END ***/
