* {
    padding: 0px;
    margin: 0px;
    background-color: #fffbfb;
  }
  
  body{
      cursor: url(/iconos/11.webp), auto;
   }
  
   a {
      cursor: url(/iconos/12.webp), auto;
   }
  
   header {
    position: sticky;
    top: 0;
  }
  .loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('/ovillo.gif') 50% 50% no-repeat rgb(254,222,222);
  }
  
 
  .principal{
      display: flex;
      justify-content: center;
      align-items: center;
  }
  
  .contenedor {
      display: grid;
      justify-items: center;
      justify-content: center;
      width: 50%;
      margin: 0px auto;
      padding-top: 10px;
      grid-template-columns: repeat(3, auto);
      grid-template-rows: repeat(3, auto);
      grid-template-areas: "logo home work illus anim art about contact";  
      grid-column-gap: 0px;
      grid-row-gap: 0px;
  }

  .logo {
    grid-area: logo;
    background: url(/iconos/sebastiangallegocopia.svg) no-repeat;
    width: 150px;
    height: 150px; 
}

  .home {
      grid-area: home;
      background: url(/iconos/home.svg) no-repeat;
      width: 150px;
      height: 150px;
  }
  
  .work {
          grid-area: work;
          background: url(/iconos/work2.svg) no-repeat;
          width: 150px;
          height: 150px;
  }
  
  
  .illus {
      grid-area: illus;
      background: url(/iconos/illustrations.svg) no-repeat;
      width: 150px;
      height: 150px;
  }
  
  
  .anim {
      grid-area: anim;
      background: url(/iconos/animation.svg) no-repeat;
      width: 150px;
      height: 150px;
  }
  
  
  .art {
          grid-area: art;
          background: url(/iconos/art.svg) no-repeat;
          width: 150px;
          height: 150px;
  }
  
  
  .about {
      grid-area: about;
      background: url(/iconos/about.svg) no-repeat;
      width: 150px;
      height: 150px;
  }
  
  .contact {
    grid-area: contact;
    background: url(/iconos/contact.svg) no-repeat;
    width: 150px;
    height: 150px;
}
@media (min-width: 1000px) {
  
  .home:hover {
    grid-area: home;
    background: url(/iconos/home2.svg) no-repeat;
}

    .illus:hover {
    grid-area: illus;
    background: url(/iconos/illustrations2.svg) no-repeat;
    width: 150px;
    height: 150px;
  }

  .anim:hover {
    grid-area: anim;
    background: url(/iconos/animation2.svg) no-repeat;
    width: 150px;
    height: 150px;
}

  .art:hover {
    grid-area: art;
    background: url(/iconos/art2.svg) no-repeat;
    width: 150px;
    height: 150px;
}
  .about:hover {
    grid-area: about;
    background: url(/iconos/about2.svg) no-repeat;
    width: 150px;
    height: 150px;
}

  .contact:hover {
    grid-area: contact;
    background: url(/iconos/contact2.svg) no-repeat;
    width: 150px;
    height: 150px;
}

.work:hover {
  grid-area: work;
  background: url(/iconos/work.svg) no-repeat;
  width: 150px;
  height: 150px;
}

}
  
  @media only screen and (max-width: 900px) {
  
    header {
      position:inherit ;
      top: 0;
    }
    iframe {
        width: auto;
        height: auto;
    }
      .contenedor {
          top: 0;
          width: 90%;
          grid-template-columns: repeat(2, 1fr);
          grid-template-rows: repeat(7, auto);
          grid-template-areas: 
              "logo logo"
              "home home"
              "work work"
              "illus illus"
              "anim anim"
              "art art"
              "about about"
              "contact contact";
          gap: 0.7px;
      } 

      .logo {
        grid-area: logo;
        background: url(/iconos/sebastiangallegocopia.svg) no-repeat;
        transform: translate(0px, 0px);        
      }
      
      .home {
          grid-area: home;
          background: url(/iconos/home2.svg) no-repeat;
          transform: translate(0px, 0px);
      }
      
      
      .work {
              grid-area: work;
              background: url(/iconos/work.svg) no-repeat;
      }
      
      
      .illus {
          grid-area: illus;
          background: url(/iconos/illustrations2.svg) no-repeat;
          transform: translate(0px, 0px);
      }
      
      
      .anim {
          grid-area: anim;
          background: url(/iconos/animation2.svg) no-repeat;
  
          transform: translate(0px, 0px);
      }
      
      .art {
              grid-area: art;
              background: url(/iconos/art2.svg) no-repeat;
      }
      
      .about {
          grid-area: about;
          background: url(/iconos/about2.svg) no-repeat;
          transform: translate(0px, 0px);
      }

      .contact {
        grid-area: contact;
        background: url(/iconos/contact2.svg) no-repeat;
        transform: translate(0px, 0px);
    }
   }

.gallery{
    padding: 10px;
}

 .video{
    width: 100%;
}
.imagen img{
    width: 100%;
}
.galeria{
    width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(1,1fr);
    column-gap: 1rem;
    row-gap: 1rem;
    align-content: center;
    justify-content: center;
    align-items: center;
    justify-items: center;
}

.info{
    
    align-content: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
    color: #000000;
}




.footer{
    width: 90%;
	margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
	grid-template-rows: repeat(1, auto);
    grid-template-areas: 
        "back";
    gap: 10px;
}


footer {
    color: blanchedalmond;
    padding: 20px
}

.back{
    grid-area: back;
}

.desarrollo{
    grid-area: desarrollo;
}

@media (min-width:100px){
    .galeria{
        grid-template-columns: repeat(1, 1fr);
    }


}
@media (min-width:520px){
    .galeria{
        grid-template-columns: repeat(1, 1fr);
    }
}
@media (min-width:728px){
    .galeria{
        grid-template-columns: repeat(1, 1fr);
    }
}
@media (min-width:1024px){
    .galeria{
        grid-template-columns: repeat(1, 1fr);
    }
}


#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #000000; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
  }
  
  #myBtn:hover {
    background-color: #555; /* Add a dark-grey background on hover */
  }

.contenedor-gif{
    display: flex;
    justify-content: center;
    padding-top: 4rem;
    flex-wrap: wrap;
}

.gifs{
    list-style: none;
}

.gifrectangular{
    width: 300px;
    height: 285px;
}