/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: #f4f4f9;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Header styles */
header {
    background-color: white;
    color: black;
    padding: 5px 10px;
    font-family: 'Courier New', Courier, monospace;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    padding: 10px 20px;
    color: black;
}

.navbar .hamburger {
    cursor: pointer;
}

.navbar .logo {
    height: 30px;
}

.navbar .blog-btn {
    background-color: transparent; /* Make the background transparent */
    color: black; /* Keep the text color white */
    border: 2px solid #014CEC; /* Add a white border */
    padding: 5px 10px; /* Add padding for better appearance */
    cursor: pointer; /* Change cursor to pointer */
    border-radius: 5px; /* Optional: add some border radius */
}        

.navbar .search-icon {
    cursor: pointer;
}

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #014CEC;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    color: white;
    z-index: 1000; /* Ensure sidebar is on top */
}

.sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 30px;
    color: white;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    background-color: rgb(117, 197, 224);
}

/* Submenu Section Start*/
.sidebar .submenu {
    display: none;
    padding-left: 20px;
}

.sidebar .menu-item:hover .submenu {
    display: block;
}

.sidebar .submenu a {
    font-size: 15px;
}

.submenu a:hover {
    background-color: #444;
}

/*Submenu Section End */

.closebtn {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    cursor: pointer;
}

.search-bar {
    display: none;
    position: absolute;
    top: 10px;
    right: 60px;
    background: white;
    border-color: #014CEC;
    padding: 5px;
    width: 270px;
    height: 26px;
}





/* Crypto prices styles */
.crypto-prices {
    padding: 10px;
    background-color: white;
}

/* Featured airdrops styles */
.featured-airdrops {
    padding: 15px;
    background-color: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow {
    cursor: pointer;
    font-size: 24px;
    padding: 0 10px;
    user-select: none;
}

.scrolling-wrapper {
    display: flex;
    overflow: hidden; /* Prevent horizontal scrolling */
    width: 80%; /* Adjust width to fit within the container */
    position: relative;
}

.featured-airdrop {
    min-width: 100%; /* Display one image at a time */
    max-width: 100%; /* Ensure it takes up the full width */
    height: 200px; /* Set a fixed height, adjust as needed */
    margin: 0 5px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    flex-shrink: 0; /* Prevent shrinking */
}

/* Adjust the image to fit within the container */
.featured-airdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Media query for responsiveness */
@media (max-width: 768px) {
    .featured-airdrop {
        height: 150px; /* Adjust height for smaller screens */
    }
}

.scrolling-wrapper::-webkit-scrollbar {
    display: none;
}

@keyframes scroll-right {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Main content styles */
.main-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    padding: 5px;
    box-sizing: border-box;
    flex: 1;
}

.airdrop-category {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.airdrop-list {
    margin-top: 20px;
}

.airdrop {
    background-color: rgb(117, 197, 224);
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.airdrop-details {
    flex-grow: 1;
}

.airdrop img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.airdrop h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1rem;
}

.airdrop p {
    margin: 2px 0;
    font-size: 0.875rem;
}

.claim-button {
    background-color: #ffcc00;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    align-self: center;
}

.claim-button:hover
{
    background-color: #ffdb4d;
}

.ca-claim-button {
    background-color: green;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.ca-claim-button:hover {
    background-color: rgb(22, 185, 22);
}

.oa-claim-button {
    background-color: #014CEC;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.oa-claim-button:hover {
    background-color: rgb(77, 77, 248);
}

/* Footer styles */
/*
footer {
    background-color: white;
    color: black;
    padding: 5px 0;
    font-family: 'Courier New', Courier, monospace;
    flex-shrink: 0;
    text-align: center;
}
*/
footer {
    background-color: white;
    color: black;
    text-align: center;
    padding: 20px;
    margin-top: auto; /* Push the footer to the bottom */
}


.footer-logo img {
    width: 80%; /* Adjust width as needed */
    max-width: 300px;
    height: auto;
    margin: 0 auto;
}


.about {
    margin: 20px 0;
}

.about p {
    margin: 0;
    padding: 0 10px;
}

.menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the left */
    padding: 0 10px;
}

.main-menu {
    width: 100%;
    margin: 10px 0;
}

.main-menu h3 {
    margin: 0; /* Reset margin */
    text-align: left; /* Align title to the left */
    padding-left: 10px; /* Add padding for better readability */
}

.main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* Display submenus horizontally */
    flex-wrap: wrap;
}

.main-menu ul li {
    margin: 5px 5px 5px 0; /* Small margin between submenus */
}

.main-menu ul li a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    display: block;
    background-color: #1422ee;
    border-radius: 4px;
}

.main-menu ul li a:hover {
    background-color: #555;
}

.credit {
    margin-top: 20px;
}

.credit p {
    margin: 0;
    padding: 0 10px;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .navigation {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-content {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 14px; /* Smaller logo size for smaller screens */
    }
}
