* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(180deg, #233233 36.98%, #2B4E4D 69.27%, #3F978F 100%);
}

#container {
    color: aliceblue;
    min-height: 100vh;
    display: grid;
    grid-column: auto;
    justify-items: center;
    align-items: center;
}

.logo {
    width: 100%;
    height: 100%;
    margin-top: 50%;
    margin-bottom: 30px;
}

.title {
    text-align: center;
    font-size: 3rem;
    letter-spacing: 0.305em;
    width: fit-content;
}

footer {
    width: fit-content;
    text-align: center;
    font-size: 1rem;
    align-self: flex-end;
}

.divButtons,
.divSignUp,
.divSignIn {
    background-color: #233233;
    border-radius: 10px;
    box-shadow: rgba(61, 144, 136, 0.5) 1px 1px 4px 4px;
    text-align: center;
    width: 400px;
    height: 600px;
}

.Nave {
    margin-top: 20%;
    width: 240px;
}

.branding {
    margin-top: 5%;
    font-size: larger;
    letter-spacing: 2px;
    margin-bottom: -20px;
}

.initView {
    display: flex;
    flex-direction: column;
    align-items: center;
}

a {
    text-decoration: none;
}

.signUp,
.signIn,
.buttonGoogle,
.submitSignUp,
.submitSignIn {
    width: 300px;
    height: 40px;
    margin: 15px;
    background: #627477;
    border-radius: 30px;
    font-size: medium;
    font-weight: bold;
    letter-spacing: 1px;
    border-style: none;
    font-size: medium;
    color: aliceblue;
}

.signUp:hover,
.signIn:hover,
.buttonGoogle:hover,
.submitSignUp:hover,
.submitSignIn:hover,
#logout:hover,
#btn-task-save:hover,
#btn-edit:hover,
#btn-like:hover {
    background: rgba(61, 144, 136, 1);
}

.signIn:active,
.signUp:active,
.buttonGoogle:active,
.submitSignUp:active,
.submitSignIn:active,
#logout:active,
#btn-task-save:active,
#btn-edit:active,
#btn-like:active {
    background-color: #1691a1;
}

.containerForm h1 {
    letter-spacing: 15px;
}

.Icono {
    margin: 10%;
    margin-bottom: 5%;
}

.nickname,
#email,
#password,
#emailSignUp,
#passwordSignUp {
    width: 80%;
    border: 100rem;
    border-bottom: 2px solid rgb(47, 151, 151);
    border-radius: 1px;
    outline: none;
    background-color: transparent;
    font-size: 1rem;
    margin: 7% 5%;
    color: aliceblue;
}

::placeholder {
    text-align: left;
    color: aliceblue;
}


h6 {
    line-height: 20px;
    font-size: 10px;
    margin-bottom: 5%;
}

.errorEmail,
.errorM,
.errorZ, 
.errorMessage{
    color: yellow;
    font-weight: bold;
}

h4 {
    margin: 30px;
}

.containerForm h6 {
    font-size: 10px;
}

.like__btn {
    padding: 10px 15px;
    background: #627477;
    font-size: 18px;
    border: none;
    outline: none;
    color: aliceblue;
    border-radius: 5px;
    cursor: pointer;
}

.taskContainer {
    width: 1000px;
    background-color: #233233;
    box-shadow: rgba(61, 144, 136, 0.5) 1px 1px 4px 4px;
    text-align: center;
    min-height: 100vh;
    padding-bottom: 3%;
}

.navPost {
    display: flex;
    justify-content: space-between;
    height: 100px;
    padding: 0 25px;
}

.headerPost {
    display: flex;
    justify-content: space-between;
}

.titlePost {
    width: fit-content;
    align-self: center;
}

#logout {
    background: transparent;
    letter-spacing: 1px;
    border-style: none;
    color: aliceblue;
    width: 100px;
    border-radius: 25px;
    height: 50px;
    align-self: center;
    font-size: 15px;
}

.postContainer {
    display: grid;
    grid-template-columns: 1fr;
}

#commentText {
    width: fit-content;
    justify-content: right;
    margin-top: 30px;
    margin-left: 4.5%;
    margin-bottom: 30px;
}

#task-comment {
    width: 92%;
    background: rgba(61, 144, 136, 0.72);
    border-radius: 8px;
    justify-self: center;
    padding: 10px;
    color: aliceblue;
    font-weight: 800;
    letter-spacing: 1px;
}

#btn-task-save {
    justify-self: right;
    background: #627477;
    letter-spacing: 1px;
    border-style: none;
    color: aliceblue;
    height: 40px;
    width: 100px;
    margin-top: 30px;
    margin-right: 4.5%;
    border-radius: 25px;
}

#comments-container{
    display: grid;
    grid-template-columns: 1fr;
}
.commentCreated {
    justify-self: center;
    margin-top: 5%;
    width: 92%;
    background: rgba(59, 71, 73, 1);
    border-radius: 2px;
    position: relative;
}
#btn-delete{
    position:absolute;
    right: 10px;
    font-size:22px;
    font-weight:500;
    margin-top: 10px;
    background-color: transparent;
    color: rgb(47, 151, 151);
    border-style: none;
}
#btn-delete:hover{
    color: aliceblue;
}
#btn-delete:active{
    color: #1691a1;
}
.postText{
    margin: 15px 20px 20px 20px;
    min-height: 30px;
    text-align: left;
    font-size: 15px;
}

.userName{
    font-size: 15px;
    align-self: center;
    margin: 15px;
    letter-spacing: 1px;
}
.commentBtns{
    display: flex;
    justify-content: space-between;
}
#btn-edit, #btn-like{
    width: 49.9%;
    padding: 5px;
    border-radius: 2px;
    border-style: none;
    background-color: rgba(61, 144, 136, 0.72);
    color: aliceblue;
}
.userInfo{
    display: flex;
}

.photoUrl{
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 30px;
    align-self: center;
}

.commentCreated .userInfo{
    margin-left: 15px;
}
.commentCreated .photoUrl{
    width: 30px;
    height: 30px;
}

@media screen and (max-width: 768px){
    body{
        justify-content: center;
        align-content: center;
    }
    .mainHeader{
        text-align: center;
    }
    .title{
        font-size: 2.5rem;
    }
    .logo {
        width: 60%;
        height: 60%;
    }
    #container {
        min-height: none;
    }
    .divButtons,
    .divSignUp,
    .divSignIn {
        text-align: center;
        background: linear-gradient(180deg, #233233 36.98%, #2B4E4D 69.27%, #3F978F 100%);
        width: 100%;
        height: 100%;
    }
    .taskContainer{
        width: 100%;
        height: 100%;
        padding-bottom: 10%;
    }

    .divSignUp,
    .divSignIn{
        padding-top: 10%;
    }
    .commentCreated {
        width: 100%;
        margin-top: 10%;
    }
    .commentCreated .userName{
        font-size: 13px;
    }
    
}