@font-face {
  font-family: 'Font1';
  src: url("/assets/letter1.d4d008b5.ttf") format('truetype');
}

@font-face {
  font-family: 'Font2';
  src: url("/assets/KGBlankSpaceSolid.94ad11f0.ttf") format('truetype');
}

* {
  font-family: 'Font1', sans-serif;
  margin: 0;
  padding: 0;
}

html {
  background-size: 100% 100%;
  min-width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* height: 100%; */
  /* align-items: center;
  justify-content: center; */
  background: linear-gradient(#FBFFF3, #AFCD74);
}

body {
  /* background-size: 100% 100%; */
  min-width: 100%;
  min-height: 100vh;
  display: flex;
  /* background: linear-gradient(#FBFFF3, #AFCD74); */

  /* height: 100%; */
  /* height: 100%; */
  /* align-items: center;
  justify-content: center; */
}

.root {
  align-items: center;
  display: flex;
  flex-direction: column;
  place-content: center;
  width: 100%;
  min-height: 100%;
  /* height: 100%; */
}

.back_button {
  width: 50px;
  height: 50px;
  border-radius: 50px;
  border: none;
  box-sizing: border-box;
  background-color: #6F584B;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 8%;
  left: 3%;
}

.back_button:hover {
  background-color: #2c231f;
}

/* .login {
  display: flex;
  flex-direction: column;
  width: 80%;
}

.success,
.error {
  font-weight: bolder;
  font-size: 20px;
}

.success {
  color: green;
}

.error {
  color: red;
} */

/*MOBILE FIRST VISTA PRINCIPAL*/



/* 
.login {
  text-align: center;
} */

/* Estilos para pantallas de escritorio */
/* @media only screen and (min-width: 920px) {
  html {
    height: auto;
    min-height: 100%;
  }

  body {
    height: auto;
    min-width: 100%;
    min-height: 100%;
  }
} *//* mobile first */
.mainHomeContainer {
    width: 100%;
    height: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
    place-content: center;
    gap: 10px
}

.welcome_container {
    align-items: center;
    display: flex;
    flex-direction: column;
    place-content: center;
    text-align: center;
    width: 90%;
    gap: 20px
}

.home_image {
    display: flex;
    transition: transform 0.3s;
    width: 40%;
}

.home_image:hover {
    transform: rotate(10deg);
}

.homeWelcomeAndText {
    align-items: center;
    display: flex;
    flex-direction: column;
    place-content: center;
    width: 100%;
    height: auto;
}

.homeSubtitle {
    font-size: 25px;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: black;
}

.homeTitle {
    font-family: 'Font2', sans-serif;
    font-size: 30px;
    text-align: center;
    color: #6F584B;
}

.buttons_container {
    align-items: center;
    display: flex;
    flex-direction: column;
    place-content: center;
    font-size: 25px;
    gap: 15px;
}

.home_button {
    /* letter-spacing: 2px; */
    display: inline-block;
    padding: 6px 25px;
    background-color: #FFFFFF;
    color: #6F584B;
    /* text-decoration: none; */
    border: none;
    border-radius: 20px;
    /* Espacio entre los botones */
    cursor: pointer;
    transition: background-color 0.3s;
    justify-content: space-around;
    height: auto;
    width: auto;
    font-size: 90%;
    font-family: 'Font2', sans-serif;
}

.home_button:hover {
    background-color: #6F584B;
    color: #FFFFFF;
}

/* .wordsHome {
    text-align: center;
    font-size: 150%;

} */

/* Estilos para celulares (pantallas menores a 600px) */
@media only screen and (min-width: 361px) and (max-width: 599px) {}

/* Estilos para tablets (pantallas entre 600px y 919px) */
@media only screen and (min-width: 600px) and (max-width: 919px) {
    .home_image {
        width: 20%;
    }

    .homeTitle {
        font-size: 40px;
    }


    .homeSubtitle {
        font-size: 35px;
    }
}

/* computer */
@media only screen and (min-width: 920px) {
    .mainHomeContainer {
        flex-direction: row;
        gap: 1%;
    }

    .welcome_container {
        width: 50%;
        gap: 30px;
    }

    .home_image {
        width: 20%;
    }

    .homeTitle {
        font-size: 50px;
    }


    .homeSubtitle {
        font-size: 35px;
    }


}.homepageLogin {
    align-items: center;
    width: 100%;
    height: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
    place-content: center;
}

.imageAndTextlogin {
    width: 196.86px;
    align-items: center;
    display: flex;
    flex-direction: column;
    place-content: center;
    font-size: 20px;
    font-weight: 600;
    gap: 10px;
    text-align: center;
}

#input-login-container>div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 90%;
    text-align: left;
}

#input-login-container>div label {
    width: 100%;
    font-size: 20px;
}

#input-login-container>div input {
    font-size: 20px;
    width: 100%;
    height: 1.8em;
    border-radius: 0.4em;
    border: none;
    box-shadow: 3px 3px 2px rgb(144, 143, 143);
    text-align: center;
}

#input-login-container>button {
    font-family: 'Font2', sans-serif;
    border: none;
    box-shadow: none;
    /* width: 90%; */
    /* height: 2em; */
    border-radius: 20px;
    transition: background-color 0.3s;
    background-color: #6F584B;
    color: #FFFF;
    width: 80%;
    height: 2.5em;
    font-size: 0.8em;
    display: flex;
    flex-direction: row;
    place-content: center;
    align-items: center;
    gap: 10px;
}

#input-login-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    place-content: center;
    width: 90%;
    font-weight: bolder;
    text-align: center;
    gap: 10px;
}

#input-login-container>button:hover {
    background-color: #FFFF;
    color: #6F584B;
}

.imgGoogle {
    width: 10%;
}

.image_login1_ {
    width: 60%;
    height: auto;
}

/* Estilos para tablets (pantallas entre 600px y 919px) */
@media only screen and (min-width: 600px) and (max-width: 919px) {
    #input-login-container>button {
        width: 45%;
        font-size: 1.1em;
    }

    #input-login-container>div label {
        font-size: 1.5em;
    }

    .imageAndTextlogin {
        font-size: 30px;
        width: 40%;
    }
}

@media only screen and (min-width: 920px) {
    .homepageLogin {
        flex-direction: row;
        gap: 5%;
    }

    .imageAndTextlogin {
        font-size: 30px;
        width: 20%;

    }

    #input-login-container {
        width: 37%;
        gap: 10px;
    }

    #input-login-container>div label {
        font-size: 1.5em;
    }

    #input-login-container>button {
        width: 60%;
        height: 2.5em;
        font-size: 1.1em;
    }

    .imgGoogle {
        width: 1.3em;
    }

    .image_login1_ {
        width: 70%;
    }

    #input-login-container>button {
        font-size: 85%;
    }
}.mainModal {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Content/Box */
.modal_content_profile {
    background-color: #D9D9D9;
    border-radius: 15px;
    width: 80%;
    height: min-content;
    padding: 30px 10px;
    font-size: 25px;
    letter-spacing: 1px;
    color: rgb(0, 0, 0);
    font-weight: bolder;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px
}

.header_modal_profile {
    display: flex;
    width: 92%;
    flex-direction: row;
    justify-content: space-between;
}

.profile_edit_form {
    display: flex;
    width: 92%;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.input_edit_1 {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input_edit_1>label {
    font-family: "Hammersmith One", serif;
    font-size: 17px;
    font-weight: 100;
}

.input_edit_1>input {
    font-family: "Hammersmith One", serif;
    font-size: 15px;
    font-weight: 100;
    width: 95%;
}

.input_username_edit {
    border: none;
    background-color: rgb(255, 255, 255);
    border-radius: 0.3em;
    padding: 1% 2%;
}

.editProfileTitle {
    font-size: 20px;
    font-weight: 100;
    font-family: "Konkhmer Sleokchher", serif;
}

.container_modal_buttons_profile {
    display: flex;
    width: 100%;
    /* width: 92%; */
    flex-direction: row;
    align-items: center;
    justify-content: end;
    gap: 10px;
    margin-top: 20px;
}

.saveEditPButton,
.cancelEditPButton {
    border-radius: 5px;
    border: none;
    width: 100px;
    height: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.save_text_b,
.cance_text_b {
    color: white;
    font-size: 15px;
    font-family: "Konkhmer Sleokchher", serif;
}

.saveEditPButton {
    background: #677E62;
}

.cancelEditPButton {
    background: #9C5050;
}

.saveEditPButton:hover,
.cancelEditPButton:hover,
.cancel_button:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

/* Estilos para tablets (pantallas entre 600px y 919px) */
@media only screen and (min-width: 600px) and (max-width: 919px) {

    /* Modal Content/Box */
    .modal_content_profile {
        width: 70%;
    }

    .editProfileTitle {
        font-size: 22px;
    }

    .container_modal_buttons_profile {
        gap: 20px;
    }

    .saveEditPButton,
    .cancelEditPButton {
        width: 130px;
        height: 30px;
    }

    .save_text_b,
    .cance_text_b {

        font-size: 17px;
    }
}

/* pc */
@media only screen and (min-width: 920px) {
    .modal_content_profile {
        width: 50%;
    }

    .editProfileTitle {
        font-size: 22px;
    }

    .saveEditPButton,
    .cancelEditPButton {
        width: 130px;
        height: 30px;
    }

    .save_text_b,
    .cance_text_b {
        font-size: 17px;
    }

    .container_modal_buttons_profile {
        gap: 20px;
    }
}.mainModal {
    /* display: none; */
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.5);
    /* Black w/ opacity */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Content/Box */
.modal_content {
    background-color: #D9D9D9;
    border-radius: 15px;
    width: 80%;
    height: 50%;
    padding: 30px 10px;
    font-size: 25px;
    letter-spacing: 1px;
    color: rgb(0, 0, 0);
    font-weight: bolder;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header_modal {
    display: flex;
    width: 92%;
    flex-direction: row;
    justify-content: space-between;
}

.cancel_button {
    background-color: transparent;
    border: none;
    font-size: 20px;
    font-family: 'Font2', sans-serif;
}

.container_modal_buttons {
    display: flex;
    width: 92%;
    flex-direction: row;
    align-items: center;
    justify-content: end;
    gap: 10px;
}

.editPublic {
    font-size: 20px;
    font-weight: 100;
    font-family: "Konkhmer Sleokchher", serif;
}

.editContentTextarea {
    border-radius: 5px;
    border-style: none;
    padding: 1%;
    width: 90%;
    height: 70%;
    font-size: 15px;
    margin: 13px 0 20px 0;
    font-family: "Hammersmith One", serif;
}


.saveEditButton,
.cancelEditButton {
    border-radius: 5px;
    border: none;
    width: 100px;
    height: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.save_text_b_EP,
.cance_text_b_EP {
    color: white;
    font-size: 15px;
    font-family: "Konkhmer Sleokchher", serif;
}


.saveEditButton {
    background: #677E62;
}

.cancelEditButton {
    background: #9C5050;
}

.saveEditButton:hover,
.cancelEditButton:hover,
.cancel_button:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

/* Estilos para tablets (pantallas entre 600px y 919px) */
@media only screen and (min-width: 600px) and (max-width: 919px) {

    /* Modal Content/Box */
    .modal_content {
        width: 70%;
        height: 50%;
    }

    .editPublic {
        font-size: 22px;
    }

    .container_modal_buttons {
        gap: 20px;
    }

    .saveEditButton,
    .cancelEditButton {
        width: 130px;
        height: 30px;
    }

    .save_text_b_EP,
    .cance_text_b_EP {
        font-size: 17px;
    }
}

/* pc */
@media only screen and (min-width: 920px) {
    .modal_content {
        width: 50%;
        height: 65%;
    }

    .editPublic {
        font-size: 22px;
    }

    .container_modal_buttons {
        gap: 20px;
    }

    .saveEditButton,
    .cancelEditButton {
        width: 130px;
        height: 30px;
    }

    .save_text_b_EP,
    .cance_text_b_EP {
        font-size: 17px;
    }
}.mainModalConfirm {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.container_main_modal {
    background-color: #D9D9D9;
    border-radius: 15px;
    width: 80%;
    /* height: 20%;   */
    height: fit-content;
    padding: 30px 10px;
    font-size: 25px;
    color: rgb(0, 0, 0);
    font-weight: bolder;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header_modal_confirm {

    display: flex;
    width: 92%;
    flex-direction: row;
    justify-content: space-between;
}

.body_modal_confirm {
    display: flex;
    height: 80%;
    padding-bottom: 10px;
    width: 92%;
}

.modal_title {
    font-family: "Konkhmer Sleokchher", serif;
    font-size: 20px;
}

.body_modal_confirm>p {
    font-family: "Hammersmith One", serif;
    font-size: 15px;
    font-weight: 100;
}

.container_modal_buttons_confirm {
    display: flex;
    width: 92%;
    flex-direction: row;
    align-items: center;
    justify-content: end;
    gap: 10px;
}

.saveModalButton,
.cancelModalButton {
    border-radius: 5px;
    border: none;
    width: 100px;
    height: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.continue_text_b_MC,
.cancel_text_b_MC {
    color: white;
    font-size: 15px;
    font-family: "Konkhmer Sleokchher", serif;
}

.saveModalButton {
    background: #677E62;
}

.cancelModalButton {
    background: #9C5050;
}

.saveModalButton:hover,
.cancelModalButton:hover,
.cancel_button:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

/* Estilos para celulares (pantallas menores a 600px) */
@media only screen and (min-width: 361px) and (max-width: 599px) {
    .container_main_modal {
        width: 80%;
    }

}

@media only screen and (min-width: 600px) and (max-width: 919px) {
    .container_main_modal {
        width: 60%;
    }

    .container_modal_buttons_confirm {
        gap: 20px;
    }

    .saveModalButton,
    .cancelModalButton {
        width: 130px;
        height: 30px;
    }

    .continue_text_b_MC,
    .cancel_text_b_MC {
        font-size: 17px;
    }
}

@media only screen and (min-width: 920px) {
    .container_main_modal {
        width: 50%;
    }

    .container_modal_buttons_confirm {
        gap: 20px;
    }

    .saveModalButton,
    .cancelModalButton {
        width: 130px;
        height: 30px;
    }

    .continue_text_b_MC,
    .cancel_text_b_MC {
        font-size: 17px;
    }
}.ListGroupItem {
    border: solid #00000062 1.5px;
    background-color: #ffffffe5;
    border-radius: 0.5em;
    width: 85%;
    /* gap: 1px; */
    display: flex;
    flex-direction: column;
    place-content: center;
    padding: 10px 0;
    align-items: center;
}

.postDescription {
    padding: 0 1%;
    width: 95%;
    font-size: 15px;
    border-radius: 0.2em;
    word-wrap: break-word;
    font-family: "Hammersmith One", serif;
}

.header_post {
    display: flex;
    padding: 7px 0;
    width: 95%;
    justify-content: space-between;

}

.post_info_container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.profile_image_container {
    background-color: #838282;
    width: 25px;
    height: 25px;
    border-radius: 20px;
}

.profile_image {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

/* .post_button_container {
    display: flex;
    gap: 5px;
    align-items: center;
} */

/* 
.name_date_container {
    display: flex;
    flex-direction: column;
    gap: 2px
} */

.post-contain {
    width: 100%;
    /* padding: 5px 0; */
    align-items: center;
    display: flex;
    flex-direction: column;
    place-content: center;
    gap: 5px;
}

.container_likes_comments {
    width: 95%;
    padding: 5px 0;
    display: flex;
    flex-direction: row;
    gap: 25px;
}

.container_first {
    height: 35px;
    /* width: 95%; */
    display: flex;
    place-content: left;
    align-items: center;
    gap: 5px;
    font-weight: bolder;
    font-size: 20px;
    margin-bottom: 1.5%;
}

/* Estilo inicial del botón de "like" */
.button_first {
    display: flex;
    place-content: center;
    align-items: center;
    background-color: transparent;
    width: 30px;
    height: 30px;
    border-style: none;
    /* border-radius: 40px; */
    /* margin-left: 3%; */
    transition: transform 0.1s ease;
}

.button_first:hover {
    transform: rotate(5deg) scale(1.1);
    /* background-color: #92695f; */

}

.imgLike,
.imgChat {
    width: auto;
    height: 75%;
}

/* #likedButtonAndPostByUSer {
    background-color: #92695f;
} */

.imgPostPublication {
    width: 95%;
    /* height: 465px; */
    align-self: center;
}

.userName_post {
    font-family: 'Font2';
    font-size: 12px;
}

.date_post {
    font-family: 'Font2';
    color: #686868;
    font-size: 10px;
}

#menu-btn {
    background-color: transparent;
    border: none;
    border-radius: 30px;
    width: 25px;
    height: 25px;
    transition: background-color 0.3s;
}

#menu-btn:hover {
    background-color: #677E62;
    color: white;
}

.menu-container {
    position: relative;
    display: inline-block;
}

.menu {
    display: none;
    position: absolute;
    top: 30px;
    right: 0;
    background: white;
    border: 1px solid #b8b8b8;
    width: 100px;
}

.menu.active {
    display: block;
}

.menu button {
    display: block;
    width: 100%;
    padding: 8px;
    border: none;
    background: white;
    text-align: left;
    cursor: pointer;
}

.menu button:hover {
    background: #f0f0f0;
}

/* tablet */
@media only screen and (min-width: 600px) and (max-width: 919px) {
    .userName_post {
        font-size: 14px;
    }

    .postDescription {
        font-size: 15px;
    }
}

@media only screen and (min-width: 920px) {
    .ListGroupItem {
        width: 60%;
    }

    .userName_post {
        font-size: 14px;
    }

    .postDescription {
        font-size: 15px;
    }
}.mainCommentModal {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal_comment_content {
    background-color: #D9D9D9;
    border-radius: 15px;

    width: 85%;
    height: 70%;

    padding: 30px 10px;
    font-size: 25px;
    letter-spacing: 1px;
    color: rgb(0, 0, 0);
    font-weight: bolder;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.header_comment_modal {
    display: flex;
    width: 92%;
    flex-direction: row;
    justify-content: space-between;
}

.title_post_by {
    font-family: "Konkhmer Sleokchher", serif;
    font-size: 18px;
    font-weight: 100;
    -webkit-text-stroke-width: 0.3px;
}

.post_contain {
    font-family: "Hammersmith One", serif;
    font-size: 15px;
    font-weight: 100;
    -webkit-text-stroke-width: 0.2px;
    display: flex;
    align-items: center;
}

.content_post_C {
    display: flex;
    width: 84%;
    height: 7%;
    border-radius: 5px;
    background-color: #FFFFFF;
    padding: 7px 20px;
}

.container_comments_main {
    width: 98%;
    height: 81%;

    border-radius: 5px;
    display: flex;
    flex-direction: column;
}

.container_comments {
    background-color: #ffffff;
    border-radius: 5px 5px 0 0;
    padding: 7px 10px;
    height: 90%;
    overflow-y: scroll;
}

.comment_user_container {
    background-color: #9FA89D;
    height: 10%;
    padding: 7px 10px;
    border-radius: 0 0 5px 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.container_image_profile_user,
.comment_image_container {
    width: 30px;
    height: 30px;
}

.user_profile_photo,
.profile_image_comment {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.input_to_comment {
    width: 72%;
    background-color: #D9D9D9;
    border: none;
    font-family: "Hammersmith One", serif;
    height: 70%;
    border-radius: 5px;
    font-size: 13px;
    padding: 0 5px;
}

.send_comment {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min-content;
    height: 52%;
    border: none;
    background-color: transparent;
}


.send_comment:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

.image_button_comment {
    height: 100%;
    width: auto;
}

.container_comments {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main_comment_container,
.comment_user_info {
    display: flex;
    flex-direction: row;
}

.main_comment_container {
    align-items: center;
    justify-content: center;
    gap: 5px
}

.comment_user_info {
    gap: 6px;
    align-items: center;
}

.comment_contain {
    background-color: #D9D9D9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 81%;
    border-radius: 5px;
    padding: 6px 8px;
    justify-content: center;
}

.userName_comm {
    font-family: "Konkhmer Sleokchher", serif;
    font-size: 15px;
    font-weight: 100;
    -webkit-text-stroke-width: 0.2px;
}

.date_comm {
    font-family: "Konkhmer Sleokchher", serif;
    font-size: 11px;
    font-weight: 100;
    -webkit-text-stroke-width: 0.1px;
    color: #686868;
}

.comm_user_content {
    font-family: "Hammersmith One", serif;
    font-size: 13px;
    font-weight: 100;
    /* -webkit-text-stroke-width: 0.2px; */
}

.no_comments {
    font-family: "Hammersmith One", serif;
    font-size: 15px;
    font-weight: 100;
    -webkit-text-stroke-width: 0.2px;
    color: #686868;
    padding: 5px 8px;
}

/* Estilos para celulares (pantallas menores a 600px) */
@media only screen and (min-width: 361px) and (max-width: 599px) {

    /* Tus estilos para celulares aquí */
    .container_comments_main {
        width: 98%;
        height: 85%;
    }

    .content_post_C {
        width: 85%;
    }


}

/* Estilos para tablets (pantallas entre 600px y 919px) */
@media only screen and (min-width: 600px) and (max-width: 919px) {
    .modal_comment_content {
        width: 80%;
        height: 70%;
    }

    .content_post_C {
        height: 5%;
    }

    .container_comments_main {
        height: 85%;
        width: 92.6%;
    }

    .post_contain {
        font-size: 17px;
    }

    .comment_contain {
        width: 95%;
    }

    .input_to_comment {
        width: 86%;
    }

    .container_image_profile_user,
    .comment_image_container {
        width: 35px;
        height: 35px;
    }

    .send_comment {
        width: min-content;
        height: 60%;
    }

    .content_post_C {
        width: 87%;
        height: 5%;
    }
}


/* pc */
@media only screen and (min-width: 920px) {

    .modal_comment_content {
        width: 59%;
        height: 75%;
    }

    .content_post_C {
        width: 87%;
        height: 7%;
    }

    .container_comments_main {
        height: 80%;
        width: 92.4%;
    }

    .post_contain {
        font-size: 18px;
    }

    .comment_contain {

        width: 95%;
    }

    .input_to_comment {
        width: 86%;
    }

    .container_image_profile_user,
    .comment_image_container {
        width: 35px;
        height: 35px;
    }

    .send_comment {
        width: min-content;
        height: 60%;
    }
}@keyframes fadeOut {
    0% {
        border: solid;
        border-width: 1.5px;
        border-color: rgb(255, 45, 45);
    }

    50% {
        border: solid;
        border-width: 1.5px;
        border-color: rgb(253, 129, 129);
    }

    100% {
        border: none;
        border-color: transparent;
    }
}

@keyframes fadeOutGreen {
    0% {
        color: rgb(0, 165, 19);
    }

    50% {
        color: rgb(0, 165, 19);
    }

    100% {
        color: transparent;
    }
}

.headerPost {
    width: 100%;
    height: 60px;
    padding-left: 20px;
    background-color: #A7B884;
    place-content: start;
    align-items: center;
    display: flex;
    gap: 7px;
}

.header_title {
    font-family: 'Font2', sans-serif;
    font-size: 25px;
    color: white;
    -webkit-text-stroke: 0.8px black;
}

.logoImage {
    width: 30px;
    height: auto;
    transition: transform 0.3s;
}

.logoImage:hover {
    transform: rotate(10deg);
}


.logOutButton img {
    width: auto;
    height: 100%;
}

.logOutButton {
    margin-left: 82%;
    z-index: 3;
    position: absolute;
    width: 20px;
    height: 20px;
    display: flex;
    place-content: center;
    align-items: center;
    background-color: transparent;
    border: none;
    transition: transform 0.2s ease;
}

.logOutButton:hover {
    transform: scale(1.2);
}

.containerPublication {
    width: 100%;
    display: flex;
    place-content: center;
    align-self: center;
    justify-content: center;
    flex-direction: row;
    gap: 5px;
}

.pictureAndUsername {
    gap: 4px;
    background-color: #ffffff;
    width: fit-content;
    border-radius: 1em;
    height: fit-content;
    padding: 10px;
    align-items: center;
    display: flex;
    flex-direction: column;
    place-content: center;
    text-align: center;
}

.container_image {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    border-radius: 0.5em;
    align-items: center;
    background-color: #D9D9D9;
}

.imagePublication {
    height: 90%;
    width: 90%;
    border-radius: 0.5em;
}

.username {
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px
}

.username,
.saveEditProfileButton,
.email {
    font-family: 'Font2', sans-serif;
}

.email {
    display: none;
    color: #A1A1A1;
    font-weight: lighter;
    font-size: 8px;
}

.editProfileButton,
.saveEditProfileButton {
    border-radius: 0.5em;
    background-color: #57403A;
    border: none;
    color: white;
    padding: 3px 10px;
    font-size: 15px;
    font-weight: bolder;
    letter-spacing: 1px;
}

.editProfileButton:hover,
.saveEditProfileButton:hover {
    transform: scale(1.1);
}

#task-form {
    align-items: center;
    display: flex;
    flex-direction: column;
    place-content: center;
    background-color: #A7B884;
    width: 70%;
    height: 180px;
    border: solid #0000007e 1.3px;
    border-radius: 0.7em;
    gap: 7px;
}

#inputDescription {
    height: 65%;
    padding: 1% 2%;
    width: 87%;
    border: none;
    font-size: 18px;
    border-radius: 0.3em;

}

.fadeOut {
    animation: fadeOut 2s linear forwards;
}

.publication-alert-and-input-image {
    display: flex;
    flex-direction: row;
    width: 95%;
    justify-content: end;
}

.image_and_post_container {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 10px;
    align-items: center;
    justify-content: end;
}

.alert-post-edited {
    display: none;
    animation: fadeOutGreen 1s linear forwards;
}

#file-name {
    font-size: 13px;
}

.buttonSave {
    border-radius: 0.4em;
    width: 48px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    /* padding: 4px 4%; */
    transition: background-color 0.3s;
    background-color: #677E62;
    color: #FFFFFF;
}

.buttonSave:hover {
    background-color: #313a2e;
    /* color: #D09080; */
}

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.5);
    /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #cfddcc;
    border-radius: 20px;
    margin: 4% auto;
    padding: 20px;
    font-size: 25px;
    letter-spacing: 1px;
    color: rgb(0, 0, 0);
    font-weight: bolder;
    border: 5px solid #649565;
    width: 30%;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.editPublicContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3%;
    padding: 0 0 2% 0;
}

.TitleEditProfile {
    font-family: 'Font2', sans-serif;
    font-size: 30px;
    text-align: center;
}

.editTextarea {
    font-size: 120%;
    height: 20%;
}

.contentEditForm {
    gap: 5px;
    width: 100%;
}

.homepagePosts,
.contentEditForm {
    display: flex;
    flex-direction: column;
}

.homepagePosts {
    gap: 20px;
    width: 100%;
    height: 100%;

}

.camera-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    cursor: pointer;
    position: relative;
}

.camera-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.camera-icon input {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.postView {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* height: 100%; */
    gap: 20px;
    margin-bottom: 20px;
}

.post-text {
    font-size: 0.9em;
    font-family: 'Font2', sans-serif;
}

.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    width: 6px;
    height: 6px;
    animation: spin 1s linear infinite;
    display: inline-block;
    /* margin-left: 8px; */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Oculta el spinner por defecto */
.hidden {
    display: none;
}

.edit_button_profile {
    height: 16px;
    width: auto;
}

.edit_button_profile:hover {
    transform: rotate(5deg) scale(1.1);
}

/* Estilos para celulares (pantallas menores a 600px) */
@media only screen and (min-width: 361px) and (max-width: 599px) {

    #file-name {
        font-size: 15px;
    }

    .headerPost {
        height: 80px;
        padding-left: 25px;
    }

    .logOutButton {
        margin-left: 80%;
    }

    .header_title {
        font-size: 30px;
    }

}

@media only screen and (min-width: 600px) and (max-width: 919px) {

    .header_title {
        font-size: 40px;
        -webkit-text-stroke: 1.3px black;
    }

    .logoImage {
        width: 40px;
        height: auto;
    }

    .email {
        display: block;
    }

    .username {
        font-size: 16px;
    }

    .pictureAndUsername {
        gap: 7px;
    }

    #task-form {
        width: 70%;
        height: 190px;
    }

    #inputDescription {
        height: 60%;
        font-size: 20px;
        width: 91%;
    }

    .buttonSave {
        padding: 2px 3%;
        font-size: 1.2em;
        width: 70px;
        height: 30px;
    }

    .spinner {
        width: 10px;
        height: 10px;
    }

    .camera-icon {
        width: 25px;
        height: 25px;
    }

    #file-name {
        font-size: 19px;
    }

    .headerPost {
        place-content: center;
        height: 80px;
        padding-left: 0px;
        gap: 10px;
    }

    .logOutButton {
        margin-left: 85%;
        width: 25px;
        height: 25px;
    }
}

@media only screen and (min-width: 920px) {
    .username {
        font-size: 16px;
    }

    .email {
        display: block;
    }

    .headerPost {
        height: 80px;
        place-content: center;
        padding-left: 0px;
        gap: 10px;
    }

    .header_title {
        font-size: 40px;
        -webkit-text-stroke: 1.3px black;
    }

    .logoImage {
        width: 50px;
        height: auto;
    }

    .logOutButton {
        margin-left: 90%;
        width: 25px;
        height: 25px;
    }

    .containerPublication {
        gap: 15px;
    }

    .container_image {
        width: 70px;
        height: 70px;
    }

    #task-form {
        width: 60%;
        height: 170px;
    }

    #inputDescription {
        height: 50%;
        font-size: 20px;
        width: 92%;
    }

    .buttonSave {
        padding: 2px 3%;
        width: 80px;
        height: 25px;
        font-size: 1.2em;
    }

    .pictureAndUsername {
        gap: 7px;
    }

    .camera-icon {
        width: 25px;
        height: 25px;
    }

    #file-name {
        font-size: 19px;
    }

    .spinner {
        width: 10px;
        height: 10px;
    }


}.homePageRegister {
    align-items: center;
    width: 100%;
    height: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
    place-content: center;
}

.imageAndTextRegister {
    width: 196.86px;
    align-items: center;
    display: flex;
    flex-direction: column;
    place-content: center;
    font-size: 20px;
    font-weight: 600;
    gap: 10px;
    text-align: center;
}

#input-container>div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 90%;
    text-align: left;
}

#input-container>div label {
    width: 100%;
    font-size: 20px;
}

#input-container>div input {
    font-size: 20px;
    width: 100%;
    height: 1.8em;
    border-radius: 0.4em;
    border: none;
    box-shadow: 3px 3px 2px rgb(144, 143, 143);
    text-align: center;
}

#input-container>button {
    font-family: 'Font2', sans-serif;
    border: none;
    box-shadow: none;
    /* width: 90%; */
    /* height: 2em; */
    border-radius: 20px;
    transition: background-color 0.3s;
    background-color: #6F584B;
    color: #FFFF;
    width: 80%;
    height: 2.5em;
    font-size: 0.8em;
    display: flex;
    flex-direction: row;
    place-content: center;
    align-items: center;
    gap: 10px;
}

#input-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    place-content: center;
    width: 90%;
    font-weight: bolder;
    text-align: center;
    gap: 10px;
}

#input-container>button:hover {
    background-color: #FFFF;
    color: #6F584B;
}

.imgGoogle {
    width: 10%;
}

.image_register_ {
    width: 60%;
    height: auto;
}

/* Estilos para tablets (pantallas entre 600px y 919px) */
@media only screen and (min-width: 600px) and (max-width: 919px) {
    #input-container>button {
        width: 45%;
        font-size: 1.1em;
    }

    #input-container>div label {
        font-size: 1.5em;
    }

    .imageAndTextRegister {
        font-size: 30px;
        width: 40%;
    }

}

/* Estilos para pantallas de escritorio */
@media only screen and (min-width: 920px) {

    /*VISTA PRINCIPAL*/
    .homePageRegister {
        flex-direction: row;
        gap: 5%;
    }

    .imageAndTextRegister {
        font-size: 30px;
        width: 20%;
    }

    #input-container {
        width: 37%;
        /* margin: 0 0 0 30px; */
        gap: 10px;
    }

    #input-container>div label {
        font-size: 1.5em;
    }

    #input-container>button {
        width: 60%;
        height: 2.5em;
        /* border-radius: 0.6em; */
        font-size: 1.1em;
    }

    .imgGoogle {
        width: 1.3em;
    }

    .image_register_ {
        width: 70%;
    }
}