.dceer{
    border: 1px solid red;
    margin: 4px;
}

body{
    background-color: rgb(252, 245, 234);
    font-size: 20px;
    padding: 0px;
    margin: 0px;
}
#loader {
  position: fixed;
  top: 15%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 8; /* Ensure it stays on top */
}
.spinner{
    border: 4px solid rgb(62, 12, 66);
    display: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border-left-color: rgb(246, 49, 72);
    animation: spinner 1s ease-in-out infinite;
}
@keyframes spinner{
    0%{
        transform: rotate((0deg));
    }
    100%{
        transform: rotate(360deg);
    }
}

.app{
    background-color: rgb(229, 248, 248ddf);
    max-width: 800px;
    margin: auto;
    padding:1px;
    
}
button{
    font-size: 0.95rem;
    padding: 3px;
}
.buttons{
    margin-left: 20px;
}
h1{
    margin: 20px;
    color: rgb(38, 8, 51);
}
h4{
    margin: 1px;
}
h5{
    margin: 2px;
}
h6{
    margin-top: 50pxx;
}
.tophead{
    background-color:rgb(213, 234, 215);
    box-shadow: 1px 1px 10px black;
    padding-bottom: 5px;
}
.top{
    
    display: flex;
    justify-content: space-between;
    height: 120px;
    margin-bottom: 10px;
    padding: 6px;
}
.personal{
    height: fit-content;
    display: none;
    margin-right: 20px;
    text-align: end;
}
.userpict{
    margin-top: 20px;
    height: 80px;
 
}
.personal >.userpict > img{
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    padding: 2px;
    border: 1px solid blue;
    background-color:antiquewhite;
}

#logout, #uploadpic, #reqmembbtn{
    display: none;
}
.signupdiv, .logindiv, .uploadprofiles, .memberreqdiv{
    background-color: rgb(250, 242, 232);
    max-width: 360px;
    padding: 8px;
    margin: 5px;
    display: none;
    position: absolute;
    box-shadow: 1px 1px 8px darkblue;
}
label{
    min-width:80px;
    font-size: 0.95rem;
}
li{
    display: flex;
    list-style-type: none;
    margin: 8px;
    justify-content: space-between;
}
input{
    width: 230px;
}
#requestauth, #requestmember{
    width: auto;
}
.intro{
    margin-top: 10px;
    line-height: 1.2;
}
.intro >p{
    font-size: 1rem;
    margin: 5px;
    padding: 10px;
}
.linktoblog{
    display: none;
    font-size: 0.9rem;
    margin: 10px;
    background-color: rgb(179, 250, 226);
}
.authorslist{
    margin: 10px;
    padding: 10px;
    display: none;
    background-image: url('picture/travelgreece.jpg')mm;
    background-color: cadetblue;
    background-position:bottom;
    background-size: cover;
}
.authorsheader{
    display: flexc;
    justify-content: space-between;
}
.authorsheader > p{
    font-size: 0.9rem;
    margin: 2px;
    background-color: rgb(247, 232, 214);
    max-width: 500px;
    padding: 4px;
}
.authorsheader >h2{
    margin: 2px;
}
.users{
    display: flex;
    max-width: 650px;
    flex-wrap: wrap;
}
.author{
    width: 130px;
    min-height: 180px;
    margin: 10px;
    background-color: rgba(0, 0, 0, 0.634);
    padding: 4px;
    color: aliceblue;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.author > div{
    width: 90px;
    height: 90px;
}
.author > h6{
    margin-top: 20px;
    margin-bottom: 2px;
    font-size: 0.8rem;
    background-color: rgb(255, 47, 47);
}
.author > img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
}
.author >p {
    margin: 1px;
    font-size: 0.8rem;
}
.postslist{
    width: 100%d;
}
.post{
    max-width: 600px;
    height: fit-content;
    font-size: 0.9rem;
    position: relative;
    background-color: rgb(231, 248, 249);
    padding: 10px;
    margin: auto;
    margin-top: 25px;
    margin-bottom: 1px;
    display: flex;
    flex-direction: column;
    justify-content: space-betweend;
    flex-wrap: wrap;
    box-shadow: 2px 2px 15px black;
}

.postcontent{
    padding: 5px;
    max-width: auto;
    min-height:100pxx;
    position: relative;
    height: fit-content;
    padding: 1px;
}

.postcontent > img{
    max-width: 300px;
    max-height: 300px;
    float: left;
    margin-right: 20px;
    margin-bottom: 5px;
}
.post > p{
    margin: 5px;
    margin-left: 30px;
    font-size: 0.95rem;
}
.post > h5{
    text-align: end;
    margin: 3px;
}
.authdate{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.pdate{
    font-size: 0.85rem;
}
.postbuttons{
    text-align: end;
    margin: 10px;
}


.comments{
    display: none;
    text-align: end;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: end;
    position:absolute;
    justify-content:right;
    right: 0;
    margin-right: 10px;
    top: 100%;
    z-index: 1;
}
.commentx{
    background-color: rgba(25, 14, 46, 0.634);
    border: 1px solid black;
    color: white;
    max-width: 400px;
    margin: 5px;
    min-width: 340px;
    border-radius: 10px;
    padding: 5px;
    min-height: 50px;
}
.commentx  h5{
    margin: 5px;
}
.commentx > .authanddate{
    display: flex;
    background-color: rgb(40, 81, 81)dd;
    justify-content: space-between;
    align-items: baseline;
}
.commentx .msgdate{
    font-size: 0.70rem;
}
.commentx .formcontainer{
    display: block;
    position: relative;
    min-width: 380px;
}
.commentform{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    position: absolute;
    z-index: 2;
    background-color: white;
    right:2%;
    padding: 5px;
    border: 2px solid grey;
    border-radius: 10px;
}
#commenttext{
    background-color: white;
    padding: 5px;
    border: none;

}

.submitcom{
    width: 60px;
}
.delcomment{
    display: none;
}

.message{
    border: 1px solid black;
    max-width: 400px;
    padding: 5px;
    margin: 10px;
}
.food{
    margin: 2px;
    max-width: 900px;
}
.food >h2{
    margin-left: 20px;
}
.itm{
    margin: 1px;
    display: flex;
    padding: 2px;

}
.text{
    font-size: 0.9rem;
}

.item{
    margin-top: 1px;
    height: auto;
    max-width: 600px;
    padding: 5px;
    font-size: 1rem;
    margin: 5px;
}
.text img{
    margin-right: 10px;
    margin-bottom: 5px;
    max-height: 250px;
}
.whattoeat{
    font-size: 0.95rem;
}
footer{
    font-size: 0.9rem;
    text-align: center;
    background-color: rgb(181, 181, 185);
}
footer p{
    width: fit-content;
    margin: auto;
}
@media (max-width: 450px) {
    .app{
        width: 100vwd;
        margin: 0px;
    }
  .pict {
    width: calc(100% - 20px);
  }
}