body {
    background-image: url("img/gato-cachorro.PNG");
    max-width: 100vw;
    max-height: 100vh;
    background-size: cover;
    background-position: top center;
    color: rgb(107, 58, 58);
}

#topo, #footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
  
.item-topo {
    display: flex;
}
  
#logo {
    max-width: 5em;
    margin: 0 2px;
}
  
.login, .register {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    align-content: center;
}
  
.title, .title-login, .title-home {
    color: rgb(4, 4, 7);
}
  
.petlovers{
    align-content: center;
}

.title {
    font-family: cursive;
    text-align: center;
    padding-left: 30px;
}
  
#edit {
    display: none;
    visibility: hidden;
}
  
.like-btn {
    cursor: pointer;
}
  
#header, #footer{
    background-color: #0CBECC;
    width: 100%;
}
  
#footer {
    text-align: center;
    font-weight: 600;
 
}
  
#footer a {
    color: #fff;
    text-shadow: #000 1px 1px 1px;
    font-weight: bold;
    transition: 0.3s ease-in-out;
    text-align: center;
}
  
#footer a:hover {
    color: #073673;
    text-shadow: #fff 1px 1px 0.5px;
}
  
.container-log, .container-reg {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
} 
  
.form, .main-publications {
    border: 2px solid hsl(49, 65%, 3%);
    padding: 20px;
    background: #f5f4f2;
    border-radius: 6px;
    width: 83%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 30px;
}
  
.home{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
  
.img-logo {
    width: 40vw;
}
  
#sign-out-btn{
    padding-right: 30px;
}

.post-container, #publish-area {
    border-radius: 15px;
    border: 2px solid hsl(49, 65%, 3%); 
}

.post-container {
    padding: 5px;
    background-color: #ffffff;
    margin-bottom: 20px;;
    height: 300px;
    width: 300px;
    text-align: center;
    transition: all 0.4s;
}

.login-btn,
.google-btn,
.like-btn,
.sign-out-btn,
.edit-post-btn,
.delete-post-btn,
.publish-btn,
.save-edit-btn  {
  cursor: pointer;
}

.item-edit {
    display: none;
}
  
.item-edit.display {
    display: block;
}
  
.editing-area {
    display: none;
}
  
.editing-area.display {
    display: block;
}

.post-item {
    display: flex;
	flex-wrap: wrap-reverse;
    justify-content: space-around;
}

.navbar{
    display: none;
}

@media (min-width: 410px) {
    .one-line {
        display: none;
    }
}

@media(max-width:640px) {
    .post-container {
        height: 300px;
        width: 200px;
    }
}
   
@media(max-width:640px) {
    #publish-area {
        width: 280px;
    }
}
    
@media(max-width:640px) {
    form {
        width: 180px;
        height: 300px;
        justify-content: center;
        align-items: center;
    }
}
      
@media(max-width:640px) {
    .container-reg, .container-log{
        width: 280px;
        height: 400px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: space-around;
    }
}

@media(max-width:640px) {
    .img-logo{
        display: none;
    }
}
           
@media(max-width:640px) {
    #footer{
        width: 320px;
        height: 200px;
    }
}
  
@media(max-width:640px) {
    #root{
         width: 320px;
         
    }
}

