*{
    margin: 0;
    padding: 0;
}

#successOverlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 200vh;
    background: rgba(0, 0, 0, .5);
    z-index: 998;
}

#successMessage{
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: azure;
    color: rgba(0, 12, 27, 1);
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: bold;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
    transition: opacity 0.4s ease;
}

body{
    font-family: Arial, sans-serif;
    background-color: rgba(0, 12, 27, 1);
    margin: 0;
    padding: 0;
}

input::placeholder{
    color: grey;
    opacity: 1;
}

nav{
    margin-top: -0.3rem;
}

.bars{
    border-bottom: 5px solid rgba(0, 12, 27, 1);
}

@media (max-width: 480px) {
    .bars{
        max-width: 150%;
        width: 101.3%;
        border-bottom: 2px solid rgba(0, 12, 27, 1);
    }
}

@media (max-width: 375px) {
    .bars{
        max-width: 150%;
        width: 103%;
    }
}


.top{
    margin-bottom: 10rem;
    height: 140px;
    background-color: rgb(255, 123, 0);
    width: 1340px;
    border-radius: 0 0 190px 190px;
}

@media (max-width: 1024px) {
    .top{
        max-width: 100%;
        width: 100%;
        border-radius: 0 0 40px 40px;
        height: 170px;
    }
}

@media (max-width: 768px) {
    .top{
        max-width: 100%;
        width: 100%;
        border-radius: 0 0 40px 40px;
    }
}



@media (max-width: 480px){
    .top{
        height: 120px;
        max-width: 150%;
        width: 101.3%;
        border-radius: 0 0 30px 30px;
    }
}


@media (max-width: 375px) {
    .top{
        max-width: 150%;
        width: 103%;
    }
}


h1{
    text-align: center;
    margin-bottom: 10px;
    padding-top: 10px;
    color: rgba(0, 12, 27, 1);
}

@media(max-width: 768px){
    h1{
        font-size: 25px;
        text-align: center;
        padding-left: 65px;
        max-width: 100%;
        width: 85%;
    }
}




@media(max-width: 480px){
    h1{
        font-size: 18px;
        text-align: center;
        padding-left: 23px;
        max-width: 100%;
        width: 85%;
    }
}

.cta span{
    display: inline-block;
    color: rgba(0, 12, 27, 1);
    animation: waveHighlight 4s steps(1, end) infinite ;
}

@keyframes  waveHighlight{
    0%{ color: rgba(0, 12, 27, 1);}
    10%{ color: white}
    
}
.cta span:nth-child(1){
    animation-delay: 0s;
}
.cta span:nth-child(2){
    animation-delay: 0.5s;
}
.cta span:nth-child(3){
    animation-delay: 1s;
}
.cta span:nth-child(4){
    animation-delay: 1.5s;
}
.cta span:nth-child(5){
    animation-delay: 2s;
}
.cta span:nth-child(6){
    animation-delay: 2.5s;
}
.cta span:nth-child(7){
    animation-delay: 3s;
}


.filters{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .filters{
        margin-top: -2rem;
        
    }
}

@media (max-width: 768px) {
    .filters{
        margin-top: -1rem;
    }
}

@media(max-width: 480px){
    .filters{
        display: flex;
        justify-content: left;
        margin-left: 15px;
        margin-top: -2rem;
        gap: 1px;
    }
}

#searchInput{
    width: 250px;
    padding: 0.5em;
    border-radius: 8px;
    outline: none;
    font-size: 16px;
    border: none;
    color: rgba(0, 12, 27, 1);
    box-shadow: 0px 10px 15px rgba(0, 0, 0, .2);  
}

@media(max-width: 1024px){
    #searchInput{
        transform: scale(1.5);
        width: 210px;
        margin-right: 6rem;
    }
}

@media(max-width: 768px){
    #searchInput{
        transform: scale(1.5);
        width: 210px;
        margin-right: 6rem;
    }
}

@media(max-width: 480px){
    #searchInput{
        transform: scale(0.9);
        width: 210px;
    }
}

#locationFilter{
    width: 250px;
    padding: 0.5em;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    outline: none;
    color: grey;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, .2); 
}

@media(max-width: 1024px) {
    #locationFilter{
        transform: scale(1.5);
        width: 135px;
    }
}

@media(max-width: 768px) {
    #locationFilter{
        transform: scale(1.5);
        width: 135px;
    }
}

@media(max-width: 480px){
    #locationFilter{
        transform: scale(0.9);
        width: 125px;
        margin-left: 14rem;
        margin-top: -2.3rem;
    }
}

.Biz{
    
    margin: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    column-gap: 10px;
    row-gap: 40px;
    padding: 20px;
    border-radius: 20px;
    background-color: rgb(11, 33, 59);
}

@media(max-width: 768px){
    .Biz{
        margin: 15px;
        max-width: 100%;
        width: 85%;
        margin-left: 2rem;
    }
}



@media(max-width: 480px){
    .Biz{
        margin-left: 1.5rem;
        max-width: 100%;
        width: 80%;
    }
}


.business-card{
    border: 3px solid rgb(255, 123, 0);
    width: 280px;
    box-shadow: 0px 5px 2px rgba(0, 0, 0, .2);
    background-color: rgb(235, 136, 44);
    border-radius: 9px;
    height: 101%;
    transition: 300ms;
}

.business-card:hover{
    transform: scale(1.05);
    
}

@media (max-width: 1024px) {
    .business-card{
        margin-left: 1rem;
    }
}

@media (max-width: 768px) {
    .business-card{
        margin-left: 1rem;
    }
}

@media (max-width: 480px) {
    .business-card{
        margin-left: 1rem;
    }
}

@media (max-width: 375px) {
    .business-card{
        margin-left: 2px;
    }
}

img{
    width: 280px;
    height: 250px;
    object-fit: cover;
}
h3{
    padding: 10px;
    color: rgba(0, 12, 27, 1);
    
}

.delete-btn{
    cursor: pointer;
}

p{
    padding: 0.5em;
    color: rgba(0, 12, 27, 1);
    font-weight: 800;

}

.wabtn{
    display: block;
    margin: 0 auto;
    padding: 1em;
    font-size: 15px;
    border-radius: 20px;
    background: rgba(0, 12, 27, 1);
    border: none;
    font-weight: 700;
    color: rgb(255, 123, 0);
    cursor: pointer;
    transition: 200ms;
}

.wabtn:hover{
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 1);
}


#paginationControls{
    display: flex;
    justify-content: center;
    align-items: center;
}


.trash{
    background-color: none;
    border: none;
}