body{
    color: white;
    /* background:
    linear-gradient(red, transparent),
    linear-gradient(to top left, lime, transparent),
    linear-gradient(to top right, blue, transparent);
background-blend-mode: screen; */
overflow: hidden;
background: radial-gradient(circle at 10% 20%, rgb(0, 0, 0) 0%, rgb(64, 64, 64) 90.2%);
}

.container {
    width: 80%;
    margin: auto;
    text-align: center;
    /* border: 2px solid black; */
    width: 90vw;
    display: block;
}

.container h5{
    margin-top: -20px;
}

input[type="text"] {
    width: 50%;
    padding: 10px;
    margin-bottom: 20px;
    background-color: black;
    border: none;
    outline-style: none;
    border-radius: 5px;
    border-bottom: 1px white solid;
    color: white;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.5s ease, transform 0.5s ease;
}

button:hover {
    background-color: black;
    color: white;
    transform: scale(1.18); 
    border: none;
    border-radius: 2px;
}
#imagecontainer {
    display: flex;
    justify-content: space-around;
    margin-top: -6px;
    text-align: center;
    /* border: 2px solid yellow; */
  
}

#resultsbox {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    /* border: 2px solid yellow; */
}



.headingimg {
    width: 20vw;
    height: 5vh; /* Adjust height as needed */
    border: .5px solid #676464;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px;
    position: relative;
    overflow: hidden; /* Hide overflow content */
}

#resultimg1 {
    background-image: url('https://w7.pngwing.com/pngs/640/947/png-transparent-leetcode-button-icon.png'); /* Replace with actual URL */
}


#resultimg2 {
    background-image: url('https://media.geeksforgeeks.org/wp-content/cdn-uploads/20210419113249/gfg-new-logo-min.png'); /* Replace with actual URL */
}

#resultimg3 {
    background-image: url('https://entrackr.com/storage/2023/10/Codingninjas-800x400.jpg'); /* Replace with actual URL */
}

.headingimg2{
    display: none;
}

.card {
    width: 30%;
    border: 1px solid #ccc;
    height: 400px;
    min-height: 63vh;
    overflow-wrap: break-word;
    overflow-y: scroll;
    border-radius: 5px;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.3); 
    background-color: black;
    backdrop-filter: blur(10px);
    padding: 10px;
    
    
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative; 
}
/* Styling the scrollbar */
.card::-webkit-scrollbar {
    width: 8px; /* Width of vertical scrollbar */
}

.card::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1); /* Track color */
    border-radius: 10px;
}

.card::-webkit-scrollbar-thumb {
    background-color: #d7e0ea; /* Thumb color */
    border-radius: 10px;
}

.card::-webkit-scrollbar-thumb:hover {
    background-color: #8095ac; /* Thumb color on hover */
}
.card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
    
}


.card h2 {
   
    font-size: 18px;
    margin-bottom: 10px;
}

.card p {
    
    font-size: 16px;
    margin-bottom: 10px;
}

.card a {
    font-style: italic;
    color: blue;
    color: red;
    text-decoration: none;
    font-size: 14px;
}


@media (max-width: 768px) {


    .container {
        padding: 5px;
    }

    input[type="text"] {
        width: 50vw;
    }

    #imagecontainer {
        display: none; /* Hide imagecontainer on mobile */
    }

    .headingimg2 {
            width:  200px;
            height: 20px;
            object-fit: contain;
            display:inline-block;
           border: 0.5px white solid;
    }

    #resultsbox {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: calc(100% - 20px);
        max-width: 90%;
        margin-bottom: 10px;
    }

    .card.active {
        display: block;
    }

    .headingimg {
        width: 50px;
        height: 50px;
    }
    body{
        overflow-y: scroll;
    }
}