@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  height: 100vh;
  font-family: 'Poppins', sans-serif;
}

/*Estilos de la pantalla Register*/

.container {
  height: 100vh;
}

.container__splash {
  display: none;
}

.container__singin {
  font-family: 'Poppins', sans-serif;
  font-weight: normal;
  font-size: 26px;
  color: #c9c9c9;
  margin-bottom: 45px;
}

.container__form {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url(/assets/background.e47f3269.png);
  background-size: cover;
  padding: 20px;
  box-sizing: border-box;
}

.container__header {
  display: flex;
  flex-direction: column;
  width: 261px;
}

.container__title {
  width: 100%;
  padding-bottom: 15px;
  text-align: left;
  color: #ffff;
  font-weight: bold;
  font-size: 44px;
  line-height: 3rem;
}

.container__icon {
  display: flex;
  flex-direction: column;
  width: 56px;
  height: 49.22px;
  align-self: self-start;
  padding: .7rem .5rem;
}

.form-register {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-login {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.container-input p {
  color: #757575;
  font-size: 14px;
}

.input {
  font-family: 'Poppins', sans-serif;
  font-weight: normal;
  font-size: 16px;
  width: 261px;
  height: 54px;
  border-radius: 7px;
  border-color: #ffffff;
  background-color: transparent;
  color: #c9c9c9;
  display: flex;
  margin: auto;
  padding: 10px 18px;
}

.input::placeholder {
  color: #848484
}

.button {
  font-family: 'Poppins', sans-serif;
  font-weight: normal;
  font-size: 16px;
  width: 261px;
  color: #ffff;
  border-radius: 20px;
  border: none;
  background-color: #513ba1;
  gap: 2rem;
  display: flex;
  justify-content: center;
  margin: auto;
  padding: 7px 15px;
  cursor: pointer;
}

.button:hover {
  opacity: 0.8;
  background-color: #7B23FE;
}

.container__optional {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.line {
  height: 0px;
  width: 112px;
  border: 1.5px solid #ffff;
}

.or {
  font-family: 'Poppins', sans-serif;
  font-weight: normal;
  font-size: 19px;
  color: #ffff;
}

.button-google {
  display: flex;
  flex-direction: row-reverse;
  width: 261px;
  max-height: 37.33px;
  color: #000000;
  border-radius: 20px;
  border: none;
  background-color: #b8ace3;
  gap: 2rem;
  align-items: center;
  margin: auto;
  padding: 7px 15px;
}

.button-google:hover {
  color: aliceblue
}

.container__text-google {
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: normal;
  text-align: left;
  color: #020202;
  position: relative;
  right: 33px;
}

.container__icon-google {
  float: left;
  margin: 5px 12px 0px 0px;
}

.container__icon-google img {
  filter: brightness(0) saturate(100%) invert(17%) sepia(0%) saturate(0%) hue-rotate(26deg) brightness(97%) contrast(83%);
  width: 34px;
}

.container__redirect {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.container__description {
  font-size: 14px;
  margin-right: 7px;
  color: #ffffff;
}

.text-redirect {
  font-size: 14px;
  font-weight: bold;
  color: #f8f0ff;
  cursor: pointer;
}

.text-redirect:hover {
  text-decoration: underline;
}

/*Estilos de la pantalla Home*/

.div-button {
  display: grid;
  place-items: center;
  position: absolute;
  gap: 2rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/*Estilos de texto de error*/

.failure-text {
  margin: 5px 0 0 5px;
  font-size: 14px;
  text-align: center;
  color: whitesmoke;
}

/*Estilos del Feed*/

.container__feed {
  width: 100%;
}

.homeDiv {
  display: flex;
  flex-direction: column;
  background-color: #E6E6E5
}

.menu {
  width: 100%;
  height: 3.2em;
  background-color: #f8f8f8;
  display: flex;
  justify-content: space-between;
  box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.3);
}

.logo {
  width: 30%;
  padding: 1rem 0rem;
  margin: 0.4rem 0.8rem;
}

.logo img {
  width: 100%;
}

.menu__item {
  display: flex;
  flex-direction: column;
  margin: 0.5em 0.9em;

}

.link {
  text-decoration: none;
  color: #513BA1;
  font-size: 14px;
  padding: 8px 0;
  line-height: 25px;
}

.container__profile {
  width: 21em;
  height: 12rem;
  border-radius: 1.5rem;
  margin: 1.5rem auto 0;
  padding: 2rem;
  background-color: #f8f8f8;
  box-shadow: 5px 3px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.container__picture-profile {
  width: 4em;
}

.container__explorer {
  display: flex;
  align-items: center;
}

.icon-profile {
  color: #513ba1;
  font-size: 3.2em;
}

.explorer {
  margin-left: .2rem;
  display: inline;
  font-size: 1.5rem;
  color: #7261B2;
}

/*Estilos para crear un nuevo post*/

.container__main {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.container__create-post {
  width: 21em;
  height: 12rem;
  border-radius: 1.5rem;
  margin: 1rem auto;
  padding: 1.3rem;
  background-color: #f8f8f8;
  box-shadow: 5px 3px 15px rgba(0, 0, 0, 0.3);
}

/* Estilos para la sección de todos los posts .container__allPost */

.container__all-posts {
  width: 100%;
  margin: 0 auto;
}

div.post {
  width: 100%;
  border-radius: 1.5rem;
  margin: .5rem auto;
  padding: 1.3rem;
  background-color: #f8f8f8;
  box-shadow: 5px 3px 15px rgba(0, 0, 0, 0.3);
}

.delete-icon,
.edit-icon,
.like-icon {
  color: #513ba1;
}

.post-username {
  color: #513ba1;
  font-weight: bold;
}

.icon-planet {
  width: 2rem;
  height: 2rem;
  filter: brightness(0) saturate(100%) invert(28%) sepia(21%) saturate(2877%) hue-rotate(221deg) brightness(93%) contrast(101%);
}

#textarea {
  width: 17rem;
  height: 2.5rem;
  border-radius: 1.2rem;
  padding: .7rem;
  background-color: #efefef;
  border: 1.5px solid #e1e1e1;
  overflow: hidden;
}

#textarea::placeholder {
  text-align: left;
  line-height: 1em;
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  color: #848484;
}

.button-share {
  width: 5rem;
  height: 1.6rem;
  line-height: .6rem;
}

.modal-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
  justify-content: center;
  align-items: center;
}

.modal {
  background-color: white;
  padding: 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 5px 3px 15px rgba(0, 0, 0, 0.3);
  font-family: 'Poppins', sans-serif;
  font-size: 1.0rem;
}

.modal-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.modal-button {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: white;
  margin-left: 10px;
  padding: 8px 16px;
  cursor: pointer;
  border: none;
  border-radius: 20px;
}

.modal-button--cancel {
  background-color: #e74c3c;
}

.modal-button--accept {
  background-color: #513ba1;
}

/*---------------Responsive Desktop-------------*/

@media (min-width: 1024px) and (max-width: 1920px) {
  .container {
    display: flex;
    flex-direction: row;
  }

  .container__splash {
    width: 55%;
    background-image: url(/assets/background.e47f3269.png);
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .container__splash-img {
    width: 100%;
  }

  .planet-img {
    width: 100%;
  }

  .container__brand {
    display: flex;
    justify-content: center;
  }

  .brand {
    width: 40%;
  }

  .slogan {
    color: #ffff;
    padding: 30px 10px;
    font-size: 1rem;
    white-space: pre-wrap;
  }

  .btn-start {
    color: #ffff;
    display: none;
  }

  .container__singin {
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    font-size: 26px;
    color: #757575;
    margin-bottom: 45px;
  }

  .container__form {
    width: 45%;
    background-image: none;
  }

  .container__title {
    width: 100%;
    padding-bottom: 15px;
    text-align: left;
    color: #513ba1;
    font-size: 44px;
    line-height: 3rem;
  }

  .container__icon img {
    filter: brightness(0) saturate(100%) invert(28%) sepia(21%) saturate(2877%) hue-rotate(221deg) brightness(93%) contrast(101%);
  }

  .input {
    border: 1px solid #757575;
    color: #19002A;
    background-color: transparent;
  }

  .input::placeholder {
    color: #919191
  }

  .line {
    height: 0px;
    width: 112px;
    border: 0.5px solid #757575;
  }

  .or {
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    font-size: 19px;
    color: #757575;
  }

  .container__description {
    font-size: 14px;
    margin-right: 7px;
    color: #757575;
  }

  .text-redirect {
    font-size: 14px;
    font-weight: bold;
    color: #513ba1;
    cursor: pointer;
  }

  .text-redirect:hover {
    text-decoration: underline;
  }

  .logo {
    width: 9em;
    padding: .5em 0;
    margin: 0.4rem 0.8rem;
  }

  .logo img {
    width: 100%;
  }

  .link {
    font-size: 1.1rem;
    padding: .3em 0;
    margin-right: 1.5rem;
  }

  .box__aside__main {
    display: flex;
    flex-direction: row;
  }

  /* Estilos para el contenedor de posts */
  .container__main {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  /* Estilos para el perfil */
  .container__profile {
    width: 18rem;
    height: 30rem;
    margin: 2rem;
  }

  .container__picture-profile {
    display: flex;
    align-items: center;
  }

  /* Estilos para el artículo de creación de un nuevo post */
  .container__create-post {
    margin: 2em 2em 0;
    width: 59em;
    height: 10em;
    display: flex;
  }

  .container__icon-feed {
    display: flex;
    align-items: center;
    padding: .7rem .5rem;
    margin-bottom: 2.2em;
    margin-right: .7rem;
  }

  .container__create-new-post {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-top: 1.3em;
  }

  #textarea {
    width: 50rem;
    height: 2.5rem;
    background-color: #efefef;
    border: 1px solid #e1e1e1;
    border-radius: .7rem;
  }

  #textarea::placeholder {
    color: #848484;
    padding: .4em .5rem;
  }

  .container__button_share {
    display: flex;
    flex-direction: column;
    align-self: self-end;
  }

  .button-share {
    width: 7rem;
    text-align: center;
    line-height: .1em;
    padding: 1em;
    letter-spacing: .05em;
  }

  /* Estilos para la sección de todos los posts .container__allPost */
  .container__allPost {
    margin: 1rem;
    flex: 1;
  }

  div.post {
    width: 59rem;
    margin: 1.2rem 2rem;
  }

  /*Styles for failure text*/
  .failure-text {
    margin: 5px 0 0 5px;
    font-size: 14px;
    text-align: center;
    color: #f02849;
  }
}

/*-------- Responsive tablet en modo landscape y desktop----------*/

@media (min-width: 700px) and (max-width: 1023px) {
  .logo img {
    width: 96px;
  }

  .box__aside__main {
    display: flex;
    flex-direction: row;
  }

  /* Estilos para el contenedor principal .container__main */
  .container__main {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  /* Estilos para el aside .container__profile */
  .container__profile {
    display: flex;
    width: 15rem;
    height: 30rem;
    margin: 2rem;
  }

  .container__picture-profile {
    display: flex;
    align-items: center;
  }

  /* Estilos para el artículo de creación de posts .container__create-post */
  .container__create-post {
    margin: 2em .6em 0;
    width: 26rem;
    height: 10em;
    display: flex;
  }

  .container__icon-feed {
    display: flex;
    align-items: center;
    padding: .7rem .5rem;
    margin-bottom: 2.2em;
    margin-right: .7rem;
  }

  .container__create-new-post {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-top: 1.3em;
  }

  #textarea {
    width: 18rem;
    height: 2.5rem;
    background-color: #efefef;
    border: 1px solid #e1e1e1;
    border-radius: .7rem;
  }

  #textarea::placeholder {
    color: #848484;
    padding: .4em .5rem;
  }

  .container__button_share {
    display: flex;
    flex-direction: column;
    align-self: self-end;
  }

  .button-share {
    width: 7rem;
    text-align: center;
    line-height: .1em;
    padding: 1em;
    letter-spacing: .05em;
  }

  /* Estilos para la sección de todos los posts .container__allPost */
  .container__allPost {
    margin: 1rem;
    flex: 1;
  }

  div.post {
    margin: 1.3em .6em 0;
    width: 26rem;
  }
}

/*---------------------------Portatil-------------------------------*/

@media (min-width: 1024px) and (max-width: 1280px) {
  .homeDiv{
    width: 100%
  }

  .container__profile{
    width: 20%
  }

  .container__main{
    width: 80%;
  }

  .container__create-post{
    width: 90%;
  }

  .container__create-new-post{
    width: inherit;
  }

  #textarea {
    width: 100%;
  }

  .container__all-posts{
    width: 90%;
    margin: 0;
  }

  div.post {
    width: 100%;
  }
}