/* Estilos para desktop */
@media screen and (min-width: 768px) {
  body {
    font-size: 1.5rem;
  }

  #root {
    display: grid;
    grid-template-areas:
      "header header"
      "aside-left aside-left"
      "main aside-right"
      "footer footer";
    grid-template-columns: 75% 25%;
    grid-template-rows: 20vh 40vh 1fr 10vh;  /*usar vh con fr para mantener dimensiones de header y footer (solo 1fr es variable)*/
    overflow-x: visible;
    z-index: 0;
  }
  /*iconos del header*/
  .space1 {
    display: flex;
    width: 20%;
  }
  .one {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 15%;
  }
  
  .two {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 45%;
  }
  
  .logo {
    width: 180px;
    height: 120px;
  }
  .space2 {
    display: flex;
    width: 20%;
  }


.top {
  grid-area: header;
  background: #81D2CB;
  display: flex;
  align-items: center;  
  z-index: 5;
  height: 20vh;
}
header{
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  height: 80px;
}

.middle-left {
  grid-area: aside-left;
  background:#B3CD12;
  height: 50vh;
  padding-top: 3rem;
}

.middle-center {
  grid-area: main;
  background: #C9B09C;
}

.middle-right {
  grid-area: aside-right;
  background: white;
}

.bottom {
  grid-area: footer;
  background: #81D2CB;
}
.mobile-hidden-component {
  display: block;
  opacity: 1;
}

/* HOME POSTS */
/*orden*/
.partDad {
  display: flex;
  justify-content: stretch;
}
.partOne {
  display: flex;
  justify-content: flex-start;
  /*display:inline-block
  align-items: center;*/
  height: 100%;
  width: 80%;
}
.partTwo {
  display: flex;
  justify-content: flex-end;
  /*align-items: center;*/
  height: 100%;
  width: 20%;
}
#home-post-container {
  /* border: 2px solid blue; */
  width: 40vw;
  margin: 3rem auto;

}
.home-post {
  background-color: #F6F9FA;
  color: black;
  padding-left: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 4rem;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25),
  0 10px 10px rgba(0, 0, 0, 0.22);
  
}

.post-actions {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 4rem;
  margin-top: 0.5rem;
}

.trigger-comment-form-btn,
.share-comment-btn,
.publish-comment-btn {
  background-color: #81D2CB;
  padding: 1rem;
  border-radius: 1rem;
  outline: none;
  margin-top: 1rem;
  font-size: 1.5rem;
}

.trigger-comment-form-btn:hover,
.share-comment-btn:hover,
.publish-comment-btn:hover {
  background-color: #77B1AC;
  cursor: pointer;
}

.trigger-comment-form-btn:active,
.share-comment-btn:active,
.publish-comment-btn:active {
  transform: scale(0.95);
}

div.post-comment-form {
  /* border: 1px solid red; */
  text-align: center;
  margin-top: 2rem;
}

textarea.comment-content {
  height: 5vh;
  min-width: 20vw;
  resize: none;
  font-family: 'Manjari', sans-serif;
  padding: 1rem;
  border-radius: 5px;
}

/*Category AboutUs */
.about {
  background-color: #81D2CB;
  color: black;
  padding-left: 1.5rem;
  padding-bottom: 4rem;
  border-radius: 10px;
  margin: 0 3rem;
  text-align: center;
  
}

.about-heading {
  margin-top: 2rem;
}

#about-container {
  width: 39vw;
  margin: 120rem 72rem 45rem 75rem;
  top: 12rem;
}
/* PaW de publicación*/

.pawBtn {
  display: inline-block;
  color: black;
  margin: 5px;
}

.pawEdit:hover .pawBtn:hover {
  background-color: #77B1AC;
  border-radius: 4px;
}

.pawEdit {
  display: inline-block;
}

.paw-content {
  display: none;
  position: absolute;
  background-color: #F6F9FA;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 10px;
}

.paw-content {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  text-align: left;
}

.paw-content li:hover {
  background-color: #CBCCCC;
}

.pawEdit:hover .paw-content {
  display: block;
}
.modal-container {
  min-height: 90%;
  width: 50vw;
  transform: translateX(50%) translateY(5%);
}

#close-modal {
  top: 0;
  left: 75%;
  font-size: 5rem;
}


/*Form publi*/
#new-post-container {
  margin: 3rem auto;
  width: 40vw;
}


.new-post {
  background-color: #81D2CB;
  color: #F6F9FA;
  padding-left: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 4rem;
  border-radius: 10px;
  width: 39vw;
}

#form-post-title {
  width: 60%;
  padding: 12px 12px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 3px solid #cbcccc;
  border-radius: 10px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  outline: none;
}
#form-post-content {
  width: 90%;
  padding: 12px 12px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 3px solid #cbcccc;
  border-radius: 10px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  outline: none;
}

#form-post-title:focus {
  border: 3px solid #5B5B5C;
}

.new-post-btn {
  background-color: #81D2CB;
  padding: 1rem;
  border-radius: 1rem;
  outline: none;
  margin-top: 1rem;
}

#new-post-btn {
  display: inline-block;
  background-color:#F6F9FA;
  padding: 1rem;
  border-radius: 1rem;
  outline: none;
  margin-top: 1rem;
  outline: none;
  border: none;
  font-family: 'Manjari', sans-serif;;
}


/* SPINNER */
#loading_container {
  background-color: rgba(250, 240, 245, 0.9);
  height: 100%;
  width: 100%;
  position: fixed;
  -webkit-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
  z-index: 0;
}

#loading {
   border: 5px solid #ccc;
   border-top-color: #B3CD12;
   border-top-style: groove;
   height: 40px;
   width: 40px;
   border-radius: 100%;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   margin: auto;
   -webkit-animation: spin 1.5s linear infinite;
   -o-animation: spin 1.5s linear infinite;
   animation: spin 1.5 linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg);}
}

/*Modal Edit*/
.modale {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.301);
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
}
.editp{
  font-weight: 700;
}
.modalEdit-container {
  background-color: #B3CD12;
  font-family: 'Manjari', sans-serif; 
  width: 60vw;
  min-height: 35%;
  padding-top: 1.5rem;
  transform: translateX(20%) translateY(75%);
  border-radius: 10px;
}
#title-post-edit {
  width: 60%;
  padding: 12px 12px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 3px solid #cbcccc;
  border-radius: 10px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  outline: none;
}
#content-post-edit {
  width: 90%;
  height: 50%;
  padding: 12px 12px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 3px solid #cbcccc;
  border-radius: 10px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  outline: none;
}
.accept {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 4rem;
  margin-top: 0.5rem; 
}
#accept {
  background-color:#F6F9FA;
  padding: 2rem;
  border-radius: 1rem;
  outline: none;
  margin-top: 1rem;
  outline: none;
  border: none;
  font-family: 'Manjari', sans-serif;
}
.accept:hover {
  background-color: #CBCCCC;
  cursor: pointer;
}
.closeEdit {
  background-color: rgba(128, 128, 128, 0.26);
  width: 5rem;
  height: 5rem;
  text-align: center;
  position: absolute;
  top: 28%;
  left: 67%;
  font-size: 3rem;
  margin-top: -1px;
  z-index: 1;
  cursor: pointer;
}
.modalEdit-content {
  position: relative;
  display: flex;
  justify-content: center;
}

/*Like*/
.like-btn {
  background: url('./images/iconos/heartPL.png');
  background-repeat:no-repeat;
  height:100px;
  width:100px;
  background-position:center;
  border: none;
  text-align: center;
  font-family: 'Manjari', sans-serif;
  margin: 0;
  cursor: pointer;
}
.like-btn:active {
  background: url('./images/iconos/disLike.png');
  background-repeat:no-repeat;
  height:100px;
  width:100px;
  background-position:center;
  border: none;
  font-family: 'Manjari', sans-serif;
  margin: 0;
}

.grupLike {
  display: flex;
  justify-content: flex-start;
  height: 100%;
  align-items: center;
}
.counter-text{
  font-size: 1.2em;
  font-family: 'Manjari', sans-serif;
}

li{
  list-style: none;
}

.slick a img {
  height: 165px;
  width: 100%;
}

.category-content, .burguer-content {
  right: 14rem;
}

.burguer-content {
  right: 25rem;
}
.blue {
  background: #81D2CB;
  border-radius: 10px;
  width: 200px;
  height: 40px;
  text-align: center;
}
.green {
  background: #B3CD12;
  border-radius: 10px;
  width: 200px;
  height: 40px;
  text-align: center;
}

.brown {
  background: #C9B09C;
  border-radius: 10px;
  width: 200px;
  height: 40px;
  text-align: center;
}

/*Fotos-Concurso*/

.thumb {
  width:200px;
  height:150px;
  border: 10px;
}

.foto {
  width:33.33%;
  border:0px dotted lightgrey;
  padding:0px;
  margin:0px;
}

.principal {
  display: flex;
  flex-wrap: wrap;

  margin-top:50px;
}

.ganador {
  max-width:200px;
  max-height:200px;
  margin:10px;
  float:left;
}


.photo {
  border:1px ;
  margin:-45px;
  padding:10px;
  margin-left:20px; ;
}

.clear {
  clear:both;
}

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