*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: Arial; */
}
html {
    scroll-behavior: smooth;
  }
nav{
    width: 1000px;
    margin: auto auto;
    text-align: center;
    height: 100px;
    background-color: rgb(240, 240, 240);
}
nav img{
    height: 100px;
}
.subnav{
    width: 1000px;
    margin: auto auto;
    text-align: center;    
    display: flex;
    justify-content: center;
    position: relative;
}
.subnav button{
    padding: 10px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    background-color: #ca2d36;
    color: white;
    font-weight: bold;
}
.cleartrash{
    position: absolute;
    right: 10px;
}
.mainpage{
    width: 1000px;
    margin: auto auto;
    padding: 15px;
    text-align: center;
    color: black;   
    background-color: rgb(247, 247, 247); 
}




.newbanner{    
    background-color: rgb(247, 247, 247); 
    position: relative;           
}
.bannerimg{
    width: 100vw;    
    margin: auto 50%;
    transform: translate(-50%,0%);
    background-color: rgb(247, 247, 247);
    overflow: hidden;
}
.bannerimg img{
    width: 100%;
    height: 100%;
    animation: slideside 1s;
}
@keyframes slideside{
    0% {
        transform: translate(50%,0);
        visibility: hidden;
    }    
    100% {
        transform: translate(0%,0%);
        visibility: visible;
    }
}
.bannernav .leftarr{
    position: absolute;
    left: 25px;  
    top: 50%;  
    padding: 15px;
    background-color:white;
    border-radius: 50%;
    border: none;
    opacity: 0.25;
}
.bannernav .leftarr:hover{
    opacity: 1;
}
.leftarr img{
    width: 25px;
    height: 25px;
    transform: rotateY(180deg);
}
.bannernav .rightarr{
    position: absolute;
    right: 25px;
    top: 50%;
    padding: 15px;
    background-color:white;
    border-radius: 50%;
    border: none; 
    opacity: 0.25;   
}
.bannernav .rightarr:hover{
    opacity: 1;
}
.rightarr img{
    width: 25px;
    height: 25px;    
}




.adminhomepage{
    width: 1000px;
    margin: auto auto;
    padding: 10px;
    text-align: center;
    background-color: rgb(250, 250, 250);
}
.loginbox{
    padding: 20px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: rgb(240, 240, 240);
    border-radius: 10px;
    border: 2px solid #ca2d36;
}
.loginbox input{
    padding: 10px;
    border-radius: 5px;
    margin: 5px;
    width: 300px;
}
.loginbox button{
    padding: 10px;
    border: none;
    border-radius: 10px;
    background-color: #ca2d36;
    color: white;
    font-weight: bold;
}
.clientlogo{
    width: 99%;
    border: 1px solid #ca2d36;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    position: relative;
    margin-bottom: 20px;
}
.absbtn{
    position: absolute;
    top: 5px;
    right: 5px;   
    padding: 10px;
    font-weight: bold; 
    border-radius: 10px;
    background-color: #ca2d36;
    color: white;
    border: 0.5px solid black;
}
.logoholder{
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    row-gap: 20px;
    column-gap: 10px;
    
    overflow: auto;
    justify-content: space-around;
    margin-top: 10px;
    border: 1px solid #ca2d36;
    padding: 10px;
    border-radius: 10px;
    box-shadow: inset 0 0 5px black;
}
.logos{
    width: 135px;
    height: 170px;
    padding: 10px;
    border: 0.5px solid #ca2d36;
    box-shadow: 0 0 10px lightgray;
    border-radius: 10px;
    position: relative;
}
.logos img{
    width: 100px;
    height: 100px;    
}
.logos button{
    padding: 10px;
    margin: 2px;
    border: none;
    border-radius: 5px;
}
.logos button:hover{
    border: 1px solid #ca2d36;    
}
.logos button img{
    width: 15px;
    height: 15px;
}
.countertxt{
    position: absolute;
    top: 10px;
    left: 10px;
}
.addclient{
    border: 1px solid #ca2d36;
    margin: 10px;
    text-align: left;
    padding: 10px;
    border-radius: 10px;
    display: none;
}
.addclien{
    border: 1px solid #ca2d36;
    margin: 10px;
    text-align: left;
    padding: 10px;
    border-radius: 10px;    
}
.addclient input{
    margin: 5px;
    padding: 5px;
    width: 350px;
    border-radius: 5px;    
}
.addclient textarea{
    padding: 5px;
    margin: 5px;
    margin-left: 30px;
    height: 150px;
    width: 600px;
    border-radius: 5px;
}
.addclient button{
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    border: none;    
    font-weight: bold;
    background-color: #ca2d36;
    color: white;
}
.addclient img{
    width: 100px;
    height: 100px;
}
.addclient .edimg{
    display: none;
}
.testimonialholder{
    padding: 10px;
    height: 80vh;
    overflow: auto;
    border-radius: 10px;
    border: 1px solid #ca2d36;
    overflow: auto;
    margin-top: 20px;
}
.testimonial{
    position: relative;
    text-align: left;
    margin-top: 20px;
    padding: 10px;    
    border: 1px solid #ca2d36;
    border-radius: 10px;
    box-shadow: inset 0 0 5px black;
}
.absbtnhold{
    position: absolute;
    display: flex;
    bottom: 5px;
    right: 5px;   
    padding: 10px;
    
}
.absbtnhold button{
    padding: 5px;
    margin: 5px;
    font-weight: bold; 
    border-radius: 5px;
    background-color: #ca2d36;
    color: white;
    border: 0.5px solid black;
}
.testimonial img{
    width: 100px;
    height: 100px;
    margin: 10px;
}
.momentholder{
    display: grid;
    grid-template-columns: auto auto auto;
    height: 80vh;
    overflow: auto;
    row-gap: 5px;
    column-gap: 5px;     
    margin-top: 20px;   
    justify-content: space-around;
    padding: 10px;
    border: 0.5px solid #ca2d36;
    border-radius: 10px;    
    box-shadow: inset 0 0 5px black;
}
.moment{
    width: 300px;  
    height: 250px;  
    border-radius: 10px;
    overflow: hidden;
    background-color: lightgray;
    position: relative;
}
.moment .countertxt{
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: white;
    padding: 5px;
    border-radius: 10px;
}
.moment img{    
    width: 300px;
    height: 200px;
}
.moment button{
    padding: 10px;
    margin: 5px;
    border: none;
    border-radius: 5px;
}
.moment button:hover{
    border: 1px solid #ca2d36;    
}
.moment button img{
    width: 15px;
    height: 15px;    
}
.bannerholder{
    display: grid;
    grid-template-columns: auto auto;
    height: 80vh;
    overflow: auto;
    row-gap: 10px;
    column-gap: 10px;     
    margin-top: 20px;   
    justify-content: space-around;
    padding: 10px;
    border: 0.5px solid #ca2d36;
    border-radius: 10px;    
    box-shadow: inset 0 0 5px black;
}
.banner{
    width: 450px; 
    height: 300px;   
    border-radius: 10px;
    overflow: hidden;
    background-color: lightgray;
    position: relative;
}
.banner img{    
    width: 100%; 
    height: 100%;      
}
.banner button{
    padding: 10px;
    margin: 5px;
    border: none;
    border-radius: 5px;    
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translate(-50%,0%);
    opacity: 0.5;
}
.banner button:hover{
    opacity: 1;
}
.banner button:hover{
    border: 1px solid #ca2d36;    
}
.banner button img{
    width: 15px;
    height: 15px;    
}










@media only screen and (max-width: 750px){
    .newbanner{    
        background-color: rgb(247, 247, 247); 
        position: relative;           
    }
    .bannerimg{
        width: 100%;    
        margin: auto 50%;
        transform: translate(-50%,0%);
        background-color: rgb(247, 247, 247);
        overflow: hidden;
    }
    .bannerimg img{
        width: 100%;
        height: 100%;
        animation: slideside 1s;
    }
    @keyframes slideside{
        0% {
            transform: translate(50%,0);
            visibility: hidden;
        }    
        100% {
            transform: translate(0%,0%);
            visibility: visible;
        }
    }    
    .bannernav .leftarr{
        position: absolute;
        left: 5px;  
        top: 45%;  
        padding: 10px;
        border-radius: 30px;
        border: none;
        opacity: 0.8;
    }
    .bannernav .leftarr:hover{
        opacity: 1;
    }
    .leftarr img{
        width: 15px;
        height: 15px;
        transform: rotateY(180deg);
    }
    .bannernav .rightarr{
        position: absolute;
        right: 5px;
        top: 45%;
        padding: 10px;
        border-radius: 30px;
        border: none; 
        opacity: 0.8;   
    }
    .bannernav .rightarr:hover{
        opacity: 1;
    }
    .rightarr img{
        width: 15px;
        height: 15px;    
    }
}