body{
    margin: 0px;
    background-color: beige;
    box-sizing: border-box;
}

/* Header */

.container{
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

header{
    width: 100%;
    padding: 15px 0px;
    background-color: rgb(122, 227, 236);
    display: flex;
    justify-content: space-between;
    align-items: center; 
    z-index: 2;
}
.top{
    width:100%;
    padding: 0px 15px;
    background-color: rgb(122, 227, 236);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-container{
    width: 140px;
    height: 60px;
    overflow: hidden;
    background-color: rgb(227, 7, 7);
    border-radius: 50%;
    
}

.logo-img{
    width: 100%;
    height: 100%;
    object-position: center;
}

.buttons{
    display: flex;
    gap:10
}
.btn{
    margin-left: 10px;
    padding: 10px ;
    background-color: green;
    color: white;
    border: none;
    font-size: 15px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.rgr{
    background-color: black;
}

.blg-btn{
    background-color: rgba(47, 47, 244, 0.54);
}

.btn-red{
    background-color: crimson;
}

a{
    text-decoration: none;
    color: white;
}

/* Centre */
.main{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    padding: 10px 30px 50px;
    position: relative;
}

.box{
    background-color: rgba(0, 255, 179, 0.643);
    padding: 20px;
}

.title{
    text-align: center;
}

.form{
    padding: 0px 40px;
}

.item{
    padding: 10px;
}

input, select{
    border: none;
    background-color: white;
    padding: 5px;
    width: inherit;
}

input:focus, select:focus{
    outline: none;
}

.width{
    width: 100%;
    padding: 2px;
}

.submit{
    display: flex;
    justify-content: center;
    padding: 20px;
}

.error{
    padding-left: 2px;
    font-size: 14px;
    color: red;
}

.box2{
    display: flex;
    flex-direction: column;
    column-gap: 10px;
    padding: 25px 0px;
}

.blog{
    background-color: rgb(193, 217, 236, 0.6);
    padding: 5px;
    border-radius: 15px;
    display: flex;
}

.image{
    padding: 10px;
    min-width: 300px;
}

.content{
    padding: 10px;
}

.img-blog{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.edit-blog{
    display: flex;
    gap:10px;
}

.btn-del{
    background-color: red;
}

.btm{
    padding-bottom: 20px;
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap : 15px;
}

.pagination{
    padding: 5px 10px;
    background-color: rgb(141, 141, 233);
    color: white;
    font-weight: bold;
    cursor: pointer;
    border: 0;
}

.active{
    background-color: black;
}
.search-bar{
    display: flex;
}

#search{
    border:3px solid rgb(238, 238, 168);
    padding: 8px;
    border-radius: 5px;
}


/* Footer */

footer{
    position: fixed;
    bottom: 0;
    margin: 0px;
    width: 100%;
    padding: 20px 0px;
    background-color: gray;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Media Queries */

@media screen and (max-width:786px){

    .blog{
        flex-direction: column;
    }

    .image{
        min-width: auto !important;
    }

    .img-blog{
    width: 50%;
    height: 50%;
    object-fit: contain;
    }
    
}

@media screen and (max-width: 445px) {
  
    .top{
        flex-direction: column;
        align-items: flex-start;
    }
    .buttons{
        flex-direction: column;
      
    }
    .btn{
          margin-top: 5px;
    }
    
}
