@import url("https://fonts.googleapis.com/css?family=Rajdhani:400,600,700");
@import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700");

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

body {
    background: linear-gradient(135deg, #1a55ba, #d99b21);
    transition: background 0.3s ease;
    backdrop-filter: blur(5px);
    color: white;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::-webkit-scrollbar {
    display: none; 
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a55ba, #d99b21, #1a55ba, #d99b21);
    background-size: 800% 800%;
    animation: gradientAnimation 30s ease infinite;
    z-index: -1;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.navbar {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.desktop-logo {
    display: none; 
    height: 50px;
    width: 50px;
    margin-right: 15px; 
    object-fit: cover; 
    order: -1; 
    border-radius: 50%; 
    border: 1px solid 797979; 
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.desktop-logo:hover {
    transform: scale(1.1); 
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); 
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-color: white;
}

.nav-title {
    font-weight: bold;
    margin-right: 3rem;
    flex-shrink: 0;
    z-index: 100;
}

.nav-title .title-full {
    display: none;
}

.nav-title .title-short {
    display: inline-block;
}

.navbar-nav {
    display: flex;
    gap: 1rem;
}

.navbar-nav .nav-item .nav-link {
    color: white;
    text-decoration: none;
}

.navbar .navbar-collapse {
    justify-content: flex-end;
}

.navbar a i {
    display: none;
    transition: opacity 0.3s ease;
}

@media screen and (min-width: 768px) {
    .navbar-nav {
        display: flex;
        flex-direction: row;
    }

    .desktop-logo {
        display: block;
    }

    .navbar a i {
        display: inline-block;
        opacity: 1;
    }

    .nav-title .title-full {
        display: inline-block;
    }
    .nav-title .title-short {
        display: none;
    }
}

.footer {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    position: relative;
    border-radius: 10px;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    text-align: center;
}

.footer::after {
    display: none !important;
}

.footer::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: white;
    top: 0;
}

.navbar, .footer {
    font-family: 'Rajdhani', sans-serif;
}

.container {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 10px;
    font-family: 'Roboto', sans-serif;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    word-wrap: break-word;
    text-align: center;
}

.row {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.container h1 {
    font-size: 2rem;
}

.container p {
    font-size: 1rem;
}

.hamburger {
    display: block;
    cursor: pointer;
    padding: 10px;
    z-index: 100;
    margin-left: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.navbar-links {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 1rem;
    border-radius: 0 0 10px 10px;
    z-index: 99;
}

.navbar-links.active {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: max-height 0.3s ease;
    max-height: 500px;
    overflow: hidden;
}

.mobile-logo {
    display: none; 
    height: 50px; 
    width: 50px; 
    position: absolute; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 99; 
    border-radius: 50%; 
}

@media screen and (max-width: 767px) {
    .desktop-logo {
        display: none; 
    }
    .mobile-logo {
        display: block; 
    }
}

@media screen and (min-width: 768px) {
    .hamburger {
        display: none;
    }
    
    .mobile-logo {
        display: none;
    }

    .navbar-links {
        display: flex;
        position: static;
        width: auto;
        background-color: transparent;
        padding: 0;
        flex-direction: row;
        gap: 1rem;
    }

    .desktop-logo {
        display: block;
    }
}

.navbar a i {
    display: none;
    transition: opacity 0.3s ease;
}

@media screen and (min-width: 768px) {
    .navbar a i {
        display: inline-block;
        opacity: 1;
    }
}

.navbar a {
    color: white;
    text-decoration: none;
    margin-right: 1rem;
}

.navbar::after {
     content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: white;
}

.footer {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    position: relative;
    border-radius: 10px;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    text-align: center;
}

.footer::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: white;
    top: 0;
}

.footer::after {
    display: none !important;
}

.navbar, .footer {
    font-family: 'Rajdhani', sans-serif;
}

.container {
    font-family: 'Roboto', sans-serif;
}

.welcome {
    background-color: rgba(255, 0, 60, 0.406);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 10px;
    font-family: 'Roboto', sans-serif;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    word-wrap: break-word;
    text-align: center;
}

.welcome {
    flex: 1 1 300px;
    margin: 10px;
}

.container {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 10px;
    font-family: 'Roboto', sans-serif;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    word-wrap: break-word;
    text-align: center;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.container {
    flex: 1 1 300px;
    margin: 10px;
}

.dropdown {
    font-family: 'Rajdhani', sans-serif;
}

.dropdown-content a {
    display: flex;
    align-items: center;
}

.dropdown-content i {
    margin-right: 8px;
    font-size: 16px;
}

.hamburger-menu {
    position: relative;
}

.menu-content {
    display: none; 
    flex-direction: column; 
    background-color: white; 
    border: 1px solid #ccc; 
    padding: 10px; 
    position: absolute; 
    z-index: 1000; 
}

.hamburger-menu.active .menu-content {
    display: flex; 
}

.menu-content a {
    display: flex; 
    align-items: center; 
    padding: 8px 10px; 
    text-decoration: none; 
    color: black; 
}

.menu-content i {
    margin-right: 8px; 
    font-size: 16px; 
}

.nav-link.active {
    color: red; 
}
/* Animation for hamburger menu */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}
iframe {
    background-color: #800000;
}

.link {
    color:blue;
    text-decoration: none;
}
.scarlet-img {
    width:50%;
    height:50%;
}
.delta-img {
    width:50%;
    height:50%;
}
.logo-img {
    width:10%;
    height:15%;
    position: relative;
    align-items: center;
    border-radius: 25px;
}
.codex-img {
    width:50%;
    height:50%;
}
.ca-img {
    width:50%;
    height:50%;
}
    /* download carousel beware */
.carousel {
    position: relative;
    max-width: 600px; 
    margin: 0 auto; 
}

.carousel-inner {
    display: flex; 
}

.carousel-item {
    min-width: 100%; 
    box-sizing: border-box; 
    display: none; 
}

.carousel-item.active {
    display: block; 
}

.download-buttons {
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.carousel-control {
    background-color: rgba(21, 90, 0, 0.8); 
    border: none;
    cursor: pointer;
    padding: 10px; 
    border-radius: 5px; 
    font-size: 18px; 
    color: #000000; 
    transition: background-color 0.3s ease; 
    margin: 0 10px; 
}

.carousel-control:hover {
    background-color: rgb(241, 7, 46);
}

.download-button {
    margin: 0 5px; 
    text-decoration: none; 
    padding: 10px 15px;
    background-color: #00a800; 
    border-radius: 5px; 
    color: #ffffff;
    transition: background-color 0.3s; 
}

.download-button:hover {
    background-color: #094900; 
}
