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

* {
  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;
}

}

.aboutcontenedor{
  padding: 10px;
  display: grid;
  justify-items: center;
  justify-content: center;
  width: 80%;
  margin: 0px auto;
  padding-top: 20px;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: repeat(2, auto);
  grid-template-areas: "acercade foto"
                       "acercade foto";  
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

.acercade {
  grid-area: acercade;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  padding: 20px;
  font-family: 'Montserrat', sans-serif;
  color: #000000;
}

.foto {
  grid-area: foto;
  
}


@media only screen and (max-width: 900px) {

  header {
    position:inherit ;
    top: 0;
  }
    .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);
  }

  .aboutcontenedor{
    display: grid;
    justify-items: center;
    justify-content: center;
    width: 80%;
    padding-top: 20px;
    grid-template-columns: repeat(1, auto);
    grid-template-rows: repeat(2, auto);
    grid-template-areas: "acercade"
                         "foto";  
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    display: flex;
    flex-wrap: wrap;
}

.acercade {
    grid-area: acercade;
    padding: 0px;

}

.foto {
    grid-area: foto;
    margin-top: 30px;
  }

 }






  /* 100% Image Width on Smaller Screens */
  @media only screen and (max-width: 700px){
    .modal-content {
      width: 100%;
    }
  }

.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(2, 1fr);
    }
}
@media (min-width:728px){
    .galeria{
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width:1024px){
    .galeria{
        grid-template-columns: repeat(3, 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 */
  }
