* {
    border-radius: 8px;
    padding: 0;
    box-sizing: border-box;
    font-family:'inter';
    color:#e5e7eb;
    scrollbar-width: thin;
}

#overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10;
    display: none;
    backdrop-filter: blur(5px);
}

html {
    background: #0b1020;
    height: 100%;
}

header {
    margin: 0px 10px 15px 10px;
    justify-self: center;
    height: 70px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background: linear-gradient(180deg, #0f1625,#111e3e,#1d3761); */
    background: rgba(18, 27, 46, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 8px 10px 8px 10px;
    position: sticky;
    z-index: 10;

}

.logo {
    height: 100%;
    width: 60%;
    display: flex;
    justify-content: flex-start;
    box-shadow: 20px 20px 100% rgb(114, 114, 114);
}

.logoImg {
    height: 100%;
    display: flex;
    justify-content: center;
}

.logoImg img {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.nameofLogo {
    height: 100%;
    width: 75%;
    padding: 1px 4px 1px 4px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    
}
.nameofLogo h2{
    font-size: min(6vw, 1.55rem);
    font-family: Arial;
    color: white;
}

main {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #0b1020;
}

.searchbar {
    width: 100%;
    min-height: 45px;
    max-height: 45px;
    border-radius: 8px;
    font-size: large;
    display: flex;
    padding: 10px;
    margin-bottom: 20px;
}

.searchbar img {
    width: 5%;
    height: 45px;
    background:#1f2937 ;
    border: none;
    border-right: none;
    border-radius: 5px 0 0 5px;
    padding: 4px;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.3);
}

.searchbar input {
    width: 95%;
    height: 45px;
    background: #1f2937 ;
    border-radius: 0% 5px 5px 0%;
    border: none;
    border-left: none;
    font-size: large;
    padding-left: 0%;
    box-shadow: 5px 2px 10px rgba(0, 0, 0, 0.3);
    color: rgb(232, 232, 232);

}
input::placeholder{
    color:#9ca3af; 

}

#addResources {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background-color: #2169c6;
    color: #eae8e8;
    width: 20%;
    height: 40px;
    border-radius: 10px;
    font-family:'Inter';
    font-weight: 800;
    min-width: 170px;
    font-size: 15px;
    border: none;
}

#addResources:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: all;
    transform: scale(1.05);

}

.items {
    width: 98%;
    height: 100px;
    background-color: rgb(186, 186, 186);
    border: 1px solid black;
}

#addnew {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background:linear-gradient(160deg, #56aacd, #c567c2); 
    box-shadow: 0 2px 10px rgba(11, 40, 167, 0.4);
    z-index: 20;
    bottom: 20px;
    right: 20px;
    text-align: center;
    border: none;
    color: #dfe1e2;
    font-size: 55px;
    font-weight: 600;
    padding: 5px;
    transition: transform 0.3s ease;

    img {
        height: 100%;
        width: 100%;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

#addnew:hover {
    box-shadow: 0 2px 10px rgba(147, 84, 134, 0.6);
    background:linear-gradient(160deg, #56b4dc, #dc6fd9); 
}






@media screen and (max-width: 768px) {
    header {
        height: 65px;
        font-size: 0.9rem;
    }

    .logoImg {
        width: 19%;
        height: 100%;
    }

    .searchbar {
        max-height: 50px;
        min-height: 45px;
        height: 11.5%;
        padding: 8px;
        padding-top: 13px;

        img {
            width: 6%;
        }

        input {
            padding: 3px;
            font-size: smaller;
            height: 45px;
        }

        img {
            height: 45px;
            width: 9%;

        }
    }

    #addResources {
        width: 35%;
    }

    #addnew {
        width: 55px;
        height: 55px;
        border-radius: 30px;
        font-size: 50px;
        font-weight: 700;
    }
}

@media screen and (max-width: 428px) {
    header {
        height: 60px;
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    .nameofLogo {
        font-size: small;
    }

    .logoImg {
        width: 22%;
    }

    .searchbar {
        height: auto;
        padding-top: 10px;

        img {
            height: 40px;
        }

        input {
            padding: 3px;
            font-size: smaller;
            height: 40px;
        }

        img {
            height: 40px;
            width: 13%;

        }
    }

    #addResources {
        width: 45%;
    }

    #addnew {
        width: 50px;
        height: 50px;
        border-radius: 30px;
        font-size: 50px;
        font-weight: 700;
    }
}