@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Quicksand:wght@300;400;700&display=swap');

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

body {
  background: #4D2A7E;
  background-image: url(img/fondo.png); 
  background-position: center; 
}

p {
  font-weight: 700;
  text-align: center;
}
/* -------------  Pantalla de bienvenida ------------- */

.screen-welcome {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 80px;
  align-content: center;
}

.title {
  font-family: 'Press Start 2P',  cursive;
  font-weight: 400;
  font-size: 34px;
  line-height: 40px;
  text-align: center;
  color: #FFFFFF;
  text-shadow: 0px 4px 7px #000000;
}

.focus-in-contract {
	-webkit-animation: focus-in-contract 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: focus-in-contract 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

 @-webkit-keyframes focus-in-contract {
  0% {
    letter-spacing: 1em;
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
@keyframes focus-in-contract {
  0% {
    letter-spacing: 1em;
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}

.cont-logo {
  display: flex;
  justify-content: center;
  height: auto;
}
/* -----------VIBRACIÓN MANDO LOGIN / REGISTER -----------------*/
.vibrate-3 {
	-webkit-animation: vibrate-3 0.5s linear 1.5 both;
	        animation: vibrate-3 0.5s linear 1.5 both;
}

 @-webkit-keyframes vibrate-3 {
  0% {
    -webkit-transform: translate(0);
            transform: translate(0);
  }
  10% {
    -webkit-transform: translate(-2px, -2px);
            transform: translate(-2px, -2px);
  }
  20% {
    -webkit-transform: translate(2px, -2px);
            transform: translate(2px, -2px);
  }
  30% {
    -webkit-transform: translate(-2px, 2px);
            transform: translate(-2px, 2px);
  }
  40% {
    -webkit-transform: translate(2px, 2px);
            transform: translate(2px, 2px);
  }
  50% {
    -webkit-transform: translate(-2px, -2px);
            transform: translate(-2px, -2px);
  }
  60% {
    -webkit-transform: translate(2px, -2px);
            transform: translate(2px, -2px);
  }
  70% {
    -webkit-transform: translate(-2px, 2px);
            transform: translate(-2px, 2px);
  }
  80% {
    -webkit-transform: translate(-2px, -2px);
            transform: translate(-2px, -2px);
  }
  90% {
    -webkit-transform: translate(2px, -2px);
            transform: translate(2px, -2px);
  }
  100% {
    -webkit-transform: translate(0);
            transform: translate(0);
  }
}
@keyframes vibrate-3 {
  0% {
    -webkit-transform: translate(0);
            transform: translate(0);
  }
  10% {
    -webkit-transform: translate(-2px, -2px);
            transform: translate(-2px, -2px);
  }
  20% {
    -webkit-transform: translate(2px, -2px);
            transform: translate(2px, -2px);
  }
  30% {
    -webkit-transform: translate(-2px, 2px);
            transform: translate(-2px, 2px);
  }
  40% {
    -webkit-transform: translate(2px, 2px);
            transform: translate(2px, 2px);
  }
  50% {
    -webkit-transform: translate(-2px, -2px);
            transform: translate(-2px, -2px);
  }
  60% {
    -webkit-transform: translate(2px, -2px);
            transform: translate(2px, -2px);
  }
  70% {
    -webkit-transform: translate(-2px, 2px);
            transform: translate(-2px, 2px);
  }
  80% {
    -webkit-transform: translate(-2px, -2px);
            transform: translate(-2px, -2px);
  }
  90% {
    -webkit-transform: translate(2px, -2px);
            transform: translate(2px, -2px);
  }
  100% {
    -webkit-transform: translate(0);
            transform: translate(0);
  }
}
/* -----------ROTACIÓN MANDO WELCOME------------- */
.rotate-scale-up-diag-1 {
	-webkit-animation: rotate-scale-up-diag-1 0.7s linear both;
	        animation: rotate-scale-up-diag-1 0.7s linear both;
}

 @-webkit-keyframes rotate-scale-up-diag-1 {
  0% {
    -webkit-transform: scale(1) rotate3d(1, 1, 0, 0deg);
            transform: scale(1) rotate3d(1, 1, 0, 0deg);
  }
  50% {
    -webkit-transform: scale(2) rotate3d(1, 1, 0, -180deg);
            transform: scale(2) rotate3d(1, 1, 0, -180deg);
  }
  100% {
    -webkit-transform: scale(1) rotate3d(1, 1, 0, -360deg);
            transform: scale(1) rotate3d(1, 1, 0, -360deg);
  }
}
@keyframes rotate-scale-up-diag-1 {
  0% {
    -webkit-transform: scale(1) rotate3d(1, 1, 0, 0deg);
            transform: scale(1) rotate3d(1, 1, 0, 0deg);
  }
  50% {
    -webkit-transform: scale(2) rotate3d(1, 1, 0, -180deg);
            transform: scale(2) rotate3d(1, 1, 0, -180deg);
  }
  100% {
    -webkit-transform: scale(1) rotate3d(1, 1, 0, -360deg);
            transform: scale(1) rotate3d(1, 1, 0, -360deg);
  }
}

.logo {
  height: 220px;
  width: auto;
}


.slogan {
  font-size: 34px;
  text-align: center;
  color: #FFFFFF;
  padding: 0px 30px;
}

.group-btn {
  align-items: center;
  display: flex;
  flex-direction: column;
  row-gap: 15px;
}

.btn-general {
  /* pointer-events: none; */
  font-weight: 700;
  font-size: 20px;
  width: 150px;
  height: 50px;
  border-radius: 8px;
  border: none;
  filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.5));
  background: #FFFFFF;
  cursor: pointer;
}

.btn-login {
  background: #1D9BF0;
  color: #FFFFFF;
}

/* -------------  Login ------------- */

.screen-login {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: flex-start;
  padding-top: 75px;
}

.hidden {
  display: none;
}
.hidden-btn {
  display: none;
}

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

.form-login {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin-top: 50px;
}

.cont-inputs-login {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 250px;
  row-gap: 10px;
}

.input-login, .input-register {
  width: 350px;
  height: 60px;
  border-radius: 8px;
  border: none;
  background-color: #EEE9E9;
  margin: auto;
  padding: 0 20px;
  font-weight: 700;
}

#message-error{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  height: 60px;
  width: 85%;
  font-size: 17px ;
  color: #FFFFFF;
  padding: 10px 40px;
  border-radius: 10px;
}

.background-message-error{
  background-color: rgba(0, 0, 0, 0.5);
}
.separator {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.hr {
  width: 150px;
  height: 1px;
  margin: 20px;
}

.google-icon {
  height: 100%;
}

.btn-google {
  display: flex;
  width: 350px;
  background: #EEE9E9;
  align-items: center;
  justify-content: space-evenly;
}

.links-redirect {
  color: #FFFFFF;
  font-weight: 300px;
}

/* -------------  Register ------------- */

.screen-register {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
}

.form-register {
  display: flex;
  flex-direction: column;
  row-gap: 17px;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding-top: 40px;
}

/* -------------  Aquí empieza el MODAL ------------- */

.modal-cont{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  background-color:#fff;
  width:350px;
  padding: 30px 20px;
  margin: 75% auto;
  position: relative;
  border-radius: 10px;
}
.modal{
  background-color: rgba(0,0,0,.8);
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  left:0;
  opacity:0;
  pointer-events: none;
  transition: all 0.3s;
}
.modal-visible{
  opacity:1;
  pointer-events:auto;
}
.btn-redirect {
  background-color: #1D9BF0;
  color: #FFFFFF;
  width: auto;
  padding: 0 30px;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.5));
}

/* -------------  Aquí termina el MODAL ------------- */

.slogan-register {
  font-size: 20px;
}

.cont-inputs-register {
  display: flex;
  flex-direction: column;
  height: 300px;
  row-gap: 20px;
}

/* -------------  Pantalla de Home ------------- */
.home-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100vw;
  background-color: #FFFFFF;
}

.container-profile {
  display: none;
}

/* -------------  Aquí empieza el HEADER ------------- */
header {
  position: fixed;
  background-color: #4D2A7E;
  width: 100vw;
  height: 40px;
}

.nav-menu {
  display: flex;
  padding: 0 10px;
  height: 100%;
  border-bottom: rgba(0, 0, 0, 0.5) solid 1px; 
}

.menu-left {
  list-style: none;
  display: flex;
  width: 50%;
  align-items: center;
}

.menu-right {
  width: 50%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
}

.img-profile {
  width: auto;
  height: 25px;
}

.nav-toggle {
  color: #FFFFFF;
  background: none;
  border: none;
  font-size: 25px;
}

.nav-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
  text-decoration: none;
  position: fixed;
  top: 40px;
  width: 100%;
  background-color: #4D2A7E;
  right: 100%;
  transition: left  0.5s;
}

.nav-options_visible {
  right: 0%;
}

.nav-options-item {
  font-size: 15px;
  line-height: 25px;
}

.nav-options-link {
  text-decoration: none;
  color: #FFFFFF;
  display: block;
  padding: 20px;
  width: 167px;
  text-align: center;
}

.title-home {
  color: white;
  font-family: 'Press Start 2P',  cursive;
  transform: translate(50%);
  text-shadow: 0px 4px 7px #000000;
}

.btn-logOut {
  display: none;
}

/* -------------  Aquí termina el HEADER ------------- */

.container-main, .container-post { 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  row-gap: 5px;
}
.container-post {
  width: 100%;
  margin-top: 0;
}
.container-input-post, .container-publicated {
  display: flex;
  flex-direction: column;
  background: rgba(238, 233, 233, 0.6);
  border-radius: 10px;
  height: auto;
  width: 90%;
  justify-content: space-between;
  padding: 10px 10px ;
}

.cont-btns-edit-delete{
  display: none;
  flex-direction: column;
  font-size: smaller;
  list-style: none;
  background: rgba(238, 233, 233);
  padding: 10px 20px;
  border-radius: 10px ;
  position: absolute;
  margin-left: -90px;
  gap: 5px;
  pointer-events: all;
}

.menu-three-dots{
  cursor: pointer;
  background-color: transparent;
  border: none;
  width: 90px;
}
.three-dots-visible{
  display: flex;
}

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

.span-text {
  font-size: 12px;
  font-weight: 400;
}

.container-input-post > .cont-descriptions-post {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-bottom: 7px;
}

.container-input-post > div > .span-text {
  font-size: 15px;
  margin-bottom: 10px;
  font-weight: 700;
}

.cont-post {
  margin-top: 15px; 
  background-color: #FFFFFF;
  text-align: justify;
}

.cont-btn-save{
  display: flex;
  justify-content: flex-end;
}

#create-post, .post-publicated {
  min-width: 100%;
  height: auto;
  border: none;
  border-radius: 5px;
  justify-self: center;
  padding: 15px;
  resize: none;
  word-wrap: break-word;
  background-color: #FFFFFF;
}

.post-publicated {
  display: flex;
  flex-direction: column;
}

#create-post {
  min-height: 80px;
  text-align: left;
}

.container-share-btn{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.share-img {
  display: flex;
  align-items: center;
  column-gap: 5px;

}

.bi-size {
  font-size: 30px;
}

#btn-share-post, .btn-save {
  cursor: pointer;
  width: 90px;
  border: none;
  border-radius: 8px;
  background-color: #1D9BF0;
  color: #FFFFFF;
  font-weight: 700;
  padding: 7px;
}

.info-post {
  display: flex;
  column-gap: 7px;
}

.photo-perfil-post > img {
  width: auto;
  height: 33px;
  border-radius: 33px;
}

.container-like-comment {
  display: flex;
  justify-content: space-between;
  width: 65%;
  padding: 5px 10px;
}

.bi {
  cursor: pointer;
  font-size: 25px;
}

.active-like {
  color: #fff;
	text-shadow:
		0 0 5px rgba(0,178,255,1),
		0 0 10px rgba(0,178,255,1),
		0 0 20px rgba(0,178,255,1),
		0 0 40px rgba(38,104,127,1),
		0 0 80px rgba(38,104,127,1),
		0 0 90px rgba(38,104,127,1),
		0 0 100px rgba(38,104,127,1),
		0 0 140px rgba(38,104,127,1),
		0 0 180px rgba(38,104,127,1);
}

.mando-img, .comment-img {
  display: flex;
  align-items: center;
  column-gap: 5px;
  margin-top: 5px;
}


/* -------------  Pantalla de Error 404 ------------- */

.error-style {
display:flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
margin: auto;
text-align: center;
background-color: #fcf9fc;
padding: 10px;
}

.error-style > h1 {
font-family: 'Press Start 2P',  cursive;
color: #000000;
font-size: 20px;
}

.error-style > img {
  width: 90%;
  height: auto;
}


@media (min-width: 768px) {

  #message-error{
    width: 70%;
  }
  /* -------------  Pantalla de bienvenida ------------- */
  .slogan-welcome{
    padding: 0 150px;
  }  

  .logo {
    height: 320px;
    width: auto;
  }
  
  /* -------------  Login ------------- */
  .cont-form{
    margin: auto;
    height: 80%;
    background-color: #FFFFFF;
    border-radius: 20px;
    width: 65%;
  }
  
  .form-login, .form-register {
    padding: 10px;
    margin: auto;
  }
  
  .slogan-desktop, .separator, .links-redirect {
    color:#000000;
  }
  
  .btn-enter {
    background-color: #1D9BF0;
    color: #FFFFFF;
    
  }
  
  .btn-google{
    background-color: #483B3B;
    color: #FFFFFF;
  }
  
  .links-redirect {
    margin-top: 10px;
    font-weight: 700;
  }
  
  /* -------------  Register ------------- */
  .screen-register{
    padding-top: 60px;
  }

  .form-register {
  row-gap: 0;
  justify-content: space-around;
  }

  .slogan-register {
  color: #000000;
  width: 350px;
  }
  
  .cont-inputs-register {
    height: 330px;
  }
  
  .input-register {
    margin: 0;
  }

  .modal-cont{
    margin: 50% auto;
  }

  /* -------------  Pantalla de Home ------------- */
  .nav-options {
    width: 25%;
  }

  .container-like-comment {
    width: 60%;
  }

  .menu-left {
    justify-content: space-between;
  }
  /* -------------  Pantalla de Error 404 ------------- */
  .error-style > img {
    width: auto;
  }

  }
  
@media (min-width: 1260px) {
/* -------------  Pantalla de bienvenida ------------- */
.group-btn {
  flex-direction: row;
  justify-content: center;
  column-gap: 30px;
}

.btn-login {
  background-color: #FFFFFF;
  color: #000000;
}

.btn-login:hover, .btn-singup:hover {
  background-color: #1D9BF0;
  color: #FFFFFF;
  transition: 0.3s;
}

.logo {
  height: 420px;
  width: auto;
}

.hidden {
  display: flex;
  font-size: 38px;
}

.main-slogan {
  width: 600px;
}

/* -------------  Login ------------- */

.screen-login {
  height: 100vh;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.cont-title{
  width: 50%;
  height: 80%;
  justify-self: center;
  justify-content: space-between;
  margin: auto;
  padding: auto;
}

.title {
  font-size: 50px;
  padding: 10px;
}

.cont-form{
  display: flex;
  justify-content: center;
  align-content: center;
  margin: auto;
  width: 25%;
  height: 80%;
}

.form-login, .form-register {
  background-color: #FFFFFF;
  border-radius: 20px;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 10px;
  margin: auto;
}

.slogan-desktop, .separator, .links-redirect {
  color:#000000;
}

.btn-enter {
  background-color: #1D9BF0;
  color: #FFFFFF;
  
}

.btn-google{
  background-color: #483B3B;
  color: #FFFFFF;
}

.links-redirect {
  margin-top: 10px;
  font-weight: 700;
}

/* -------------  Register ------------- */

.screen-register {
flex-direction: row;
}

.form-register {
width: auto;
row-gap: 0;
justify-content: space-around;
padding-bottom: 20px;

}

.slogan-register {
color: #000000;
width: 350px;
}

.cont-inputs-register {
  height: 330px;
}

.input-register {
  margin: 0;
}

.modal-cont{
  margin: 15% auto;
}

/* -------------  Pantalla de Home ------------- */
/* ---  Aquí comienza el Header --- */
.nav-options {
  padding: 0;
  width: 20%;
  height: 100%;
}

.nav-options-link {
  display: block;
  padding: 20px;
  width: 190px;
  text-align: center;
}
.nav-options-link:hover {
  background-color: rgba(0, 0, 0, 0.5);
  transition: 0.5s;
 }

 .nav-toggle {
   cursor: pointer;
 }

 .menu-right {
  column-gap: 80px;
}

.go-top{
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 3px;
}

.bi-chevron-double-up {
  color: #FFFFFF;
}

.go-top > span{
  color: #FFFFFF;
  font-size: 13px;
}

#searchBar {
  border-radius: 8px;
  width: 250px;
  height: auto;
  text-align: center;
  border: #4D2A7E solid 1px;

}

.version-page {
font-size: 12px;
color: #FFFFFF;
margin-right: 20px;
}

/* ---  Aquí Termina el Header --- */

 .container-like-comment {
  width: 55%;
}

.home-page {
  flex-direction: row;
  padding: 70px 100px;
  align-content: center;
}

.container-profile {
  display:flex;
  flex-direction: column;
  align-items: flex-start;
  width: 40%;
  row-gap: 20px;
}

.profile-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 200px;
  background: linear-gradient(0deg, rgba(238,233,233,1) 70%, rgba(77,42,126,1) 72%);
  border-radius: 10px;
}

.container-main { 
  justify-content: flex-start;
  row-gap: 5px;
  width: 40%;
  margin-top: 0;
}

.img-card-profile {
  display: flex;
  background-color: #4D2A7E;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: #EEE9E9 solid 2px;
  overflow: hidden;
}

.img-card-profile > img {
  width: 100%;
  height: auto;
}

.user-name > h5 {
  font-family: 'Press Start 2P',  cursive;
  line-height: 40px;
}

.user-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.info-dev {
  display: flex;
  width: 50%;
  height: 80px;
  justify-content: space-around;
  align-items: center;
  background-color: #EEE9E9;
  border-radius: 10px;
  padding: 15px;
}

.menu-info-dev {
  display: flex;
  list-style: none;
  column-gap: 10px; 
}

.menu-info-dev > li {
  font-size: 20px;
}

.bi-github {
  color: #4D2A7E;
}

}


