.parent {
  display: grid;
  grid-template-columns: repeat(2, 1fr) .8fr repeat(2, 1fr) 1.1fr .5fr repeat(2, 1fr);
  grid-template-rows: .5fr 1.2fr 1.2fr 1.2fr 1.2fr 1.2fr 1fr 1fr 1fr;
  grid-column-gap: 5px;
  grid-row-gap: 1%;
  height: 100vh;
  position:relative;
}

.div1 { grid-area: 2 / 7 / 3 / 9; }
.div2 { grid-area: 3 / 7 / 4 / 9; }
.div3 { grid-area: 2 / 2 / 4 / 7; }
.div4 { grid-area: 4 / 2 / 7 / 3; }
.div5 { grid-area: 4 / 3 / 6 / 6; }
.div6 { grid-area: 4 / 6 / 5 / 8; }
.div7 { grid-area: 5 / 6 / 6 / 7; }
.div8 { grid-area: 4 / 8 / 6 / 9; }
.div9 { grid-area: 6 / 6 / 8 / 8; }
.div10 { grid-area: 6 / 4 / 9 / 6; }
.div10 { grid-area: 6 / 4 / 9 / 6; }
.div11 { grid-area: 6 / 3 / 9 / 4; }
.div12 { grid-area: 6 / 8 / 8 / 9; } 
.div13 { grid-area: 8 / 6 / 9 / 9; } 
.div14 { grid-area: 7 / 2 / 7 / 2; }

.div1 > *, .div2 > *, .div3 > *, .div4 > *, .div5 > *, 
.div6 > *, .div7 > *, .div8 > *, .div9 > *, .div10 > * {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.div12 {
  position: absolute;
  right: 20px; /* Ajustá según quieras */
  bottom: 20px; /* Ajustá según quieras */
  z-index: 9999;
  pointer-events: none; /* Opcional: para que no bloquee clics */
} 
  
  :root {
    --brown: #7b7253; 
  }

  ::-webkit-scrollbar {
    width: 10px;
  }

  ::-webkit-scrollbar-track {
    background: transparent;
  }

  ::-webkit-scrollbar-thumb {
    background: var(--brown);
    border-radius: 10px;
  }

  body {
    scrollbar-width: thin;
    scrollbar-color: var(--brown) transparent;
  }

  body, input, textarea, select {
  cursor: url('resources/general/cursor.png'), auto;
  }

  a, button, .contentBorders div {
  cursor: url('resources/general/handcursor.png'), pointer;
  }


  /*    Intro   */

  .contentBorders.intro{
    padding: 0%;
    max-height: 89%;
  }

  .introContainer{
    max-height: 100%;
    margin: 0%;
    overflow: scroll;
    overflow-x: hidden;
  }

  /*    Update Log  */
  .updateLogContainer{
    max-height: 78px; 
    overflow: scroll;
     overflow-x: hidden;
  }

  /*    Featured Post   */

  .contentBorders.fP{
    max-height: 84%;
  }

  .featuredPostContainer{
    max-height: 100%;
    overflow: scroll; 
    overflow-x: hidden;
  }

/*  My Button   */
  .myButtonText{
    text-align:center;
    font-size: small;
  }

  .buttonClose.copyHTML{
    float:inherit;
    position: relative;
    transform: none;
  }

  /*    iPod    */

  .contentBorders.iPod{
    position: relative; 
    overflow: hidden;
  }

  .motherboardBGiPod{
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    opacity: 0.6; 
    z-index: 0; 
    object-fit: cover;
  }

  .iPodBlackScreen{
    position: relative;
    z-index: 1;
    padding: 3%; 
    background-color: black;
    border-radius: 6px;
    height: 55%;
  }

  .iPodTitle{
    height: 15%; 
    background: linear-gradient(to bottom, #e1f0f7, #a2bbc0); 
    border: 1px grey solid; 
    display: flex; 
    justify-content: center; 
    align-items: center;
  }

  .iPodTitle p{
    color: black;
    font-size: xx-small;
  }

  .iPodWhiteScreen{
    display: flex;
    width: 100%;
    height: 82%;
    background-color: white;
  }

  .iPodContentContainer{
    width: 40%;
    height: 80%;
    margin-top: 6%;
    margin-left: 5%;
  }

  #albumCover{
    width: 35%; 
    position: absolute;
    z-index: 2; 	
    transform: rotateX(12deg) rotateY(-20deg);
  }

  #albumReflection{
    height: 50%;
    width: 35%;
    transform: scaleY(-1) rotateX(12deg) rotateY(20deg);
    opacity: 50%;
    position: absolute;top: 40%;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
  }

  .iPodTitleContainer{
    width: 45%;
    margin-right: 6%;
    margin-top: 6%;
  }

  #albumTitle, #albumArtist{
    color: black;
    font-size: small;
  }

  .iPodController{
    position: relative;
    z-index: 1;
    padding: 47%;
    background-color: #1b1b1b;
    border-radius: 50%;
    margin: -9% 1% 1% 1%;
  }

  #iPodBack{
    position: absolute;
    top: 40%;
    left: 13%;
    transform: translate(-50%, -50%);
    width: 17%;
  }

  #iPodPlay{
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25%;
  }

  #iPodForward{
    position: absolute;
    top: 40%;
    right: 13%;
    transform: translate(50%, -50%);
    width: 17%;
  }

/*    Latest Journal  */
.thoughtsBorders.journal{
  max-height: 98%;
}

.thoughtContainer.journal{
  align-items: normal;
  max-height: 100%;
}

.lastJournalContainer{
    overflow-y: scroll;
    padding: 2%;
    margin: 0%;
    width: 100%;
}

.lastJournalContainer p{
  margin: 0%;
}

/*  Shin-chan   */

.div12.shinChanContainer{
    max-width:235px;
}

.shinChan{
    max-height: 110%;
    max-width: 125%;
    margin-left: -11%;
    margin-bottom: -25%;
}

/*  tv  */

.thoughtsBorders.tv{
    height: 90%;
}

.tvContainer{
    position: relative;
    width: 100%; 
    height: 100%;
    display: flex;
}

.watching-class{
  position: absolute;
  z-index: 2; 
  background-color: rgba(0, 0, 0, 0.6); 
  width: 50%;
  display: flex;
  align-self: end;
}

.watching-class::after {
    content: '';
    position: absolute;
    right: -10px; 
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 31px solid transparent;
    border-left: 10px solid rgba(0, 0, 0, 0.6); 
  }

  .watching-class marquee{
    padding: 0% 2%;
    margin: 2%;
  }

  #tvImageLabel{
    display: inline;
  }

  #tvMainImage{
    width: 100%; 
    height: 100%; 
    position: relative; 
    z-index: 1;
  }

  #tvdist{
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 2; 
    opacity: 20%;
  }

  /*  Toro  */
  .plant1{
    position: relative;
    max-width: 100%;
    margin-left: -20%;
    margin-top: -5%;
  }

  .toro{
    max-height: 35%;
    position: absolute;
    left: 25%;
    max-width: 100%;
  }

  /*  Cool People */

  .peopleMainContainer{
    position: relative;
  }

  .peopleBorder{
    width: 100%;
    display: block;
  }

  .peopleSecondaryContainer{
    position: absolute;
    top: 15%;
    left: 0;
    width: 98%;
    /*height: 72%;*/
    z-index: 1;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    max-width: 100%;
    height: auto;
  }

  .peopleSecondaryContainer p{
    margin: 1%;
  }
  
  #group1, #group2 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; 
    justify-content: center;
  }

  #group1 a img,
  #group2 a img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }


  /*  Title */
  .titleContainer{
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 100%;
  }

  .titleImg{
    height: auto;
    max-width: 100%;
    margin: 0 auto;

  }


  /*  Media  Queries  */

  @media (max-width: 1440px) {
    /* iPod*/
    .div8{
      height: 80%;
    }

    .contentBorders.fP{
      max-height: 88%;
    }
  
    /* Cool People */
    .div13{
      width: 120%;
    }

    /* Nav */
    .div4{
      height: 95%;
    }

    /*Toro*/
    .toro{
      max-height: 30%;
    }

    /*Shin chan*/
    .shinChan{
      max-width: 145%;
      margin-left: -18%;
    }
}

/* Tablets grandes en horizontal (1024x768) */
@media (max-width: 1280px) {
     /* iPod*/
    .div8 {
      margin-left: -35%;
      width: 135%;
      height: 80%;
    }


    /*Shin chan*/
    .shinChan {
      max-width: 160%;
      margin-left: -45%;
      margin-bottom: 45%;
    }

    /*Screen*/
    .div9{
      width: 140%;
    }

    /*R&T*/
    .div6{      
      width: 78%;
      font-size: x-small;
    }

    /*Toro*/
    .toro {
        max-height: 25%;
    }

    /*Cool People*/
    .div13 {
      width: 100%;
    }

    #group1 a img,
    #group2 a img {
      max-width: 60px;
      height: auto;
      object-fit: contain;
    }

    /*Message*/
    .thoughtContainer.nav{
      font-size: small;
    }

    /*FP*/
    .contentBorders.fP {
      max-height: 87%;
    }
}

/* Tablets en vertical y phablets */
@media (max-width: 1024px) {
 
}

/* Celulares grandes (Galaxy S20, iPhone 12 Pro Max) */
@media (max-width: 768px) {
 
 
}

/* Celulares chicos (iPhone SE, Android compactos) */
@media (max-width: 480px) {
 

 

  
}