*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* background-color: linear-gradient(to right, #0f2027, #203a43, #2c5364);
     */
     background-color: rgb(11, 91, 91);
    color: white;
    text-align: center;
    min-height: 100vh;
}

nav{
    padding: 30px;
}


.text{
    text-align: center;
    font-size: 20px;
}


.searchbar{
    display: flex;
    justify-content: center;
    margin-top: 22px;
}


.searchbar input::placeholder{
    color: darkslategray;
    font-weight: bold;
}

.searchbar input{
    width: 300px;
    padding: 10px;
    font-size: 18px;
    border: none;
    outline: none;
    border-radius: 4px;
    background-color: lightgray;
    margin-right: 4px;
}

.searchbar button{
    width: 90px;
    height: 40px;
    border: none;
    background-color: rgb(3, 108, 108);
    color: white;
    font-size: 20px;
    border-radius: 4px;
    cursor: pointer;
}

.searchbar button:hover{
    background-color: #008c9e;
}


.showdata{
    display: grid;
    justify-content: center;
    align-items: center;
    width: 80%;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    margin-left: 150px;

}
 
.card a{
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: large;
}

.card:hover{
    transform: scale(1.05);
    box-shadow: 0px 5px 15px rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 6px;
    transition-delay: 2;
}

.card a:hover{
    border-bottom: solid 2px white;
    color: #00adb5;
}

.showdata img{
    width: 100%;
    height: 300px;
    border-radius: 3px;
}

.card{
    margin-inline: 18px;
    margin-top: 30px;
}

.loadmore{
    text-align: center;
    padding: 22px;
    display: none;
}

#morebtn{
    width: 140px;
    height: 40px;
    color: white;
    background-color: rgb(3, 108, 108);
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

#morebtn:hover{
    background-color: #008c9e ;
}



.darkmode{
    background-color: #121212;
    color: #E0E0E0;
}


.darkmodebtn{
    cursor: pointer;
}