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

.imagen{
  width: 90%;
  align-self: center;
}
.imagen img{
  width: 100%;
}
  

.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;
  }
    .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);
  }




 }


#myImg {
    border-radius: 5px;
    transition: 0.3s;
  }



  #myImg:hover {opacity: 0.7;}
  
  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (Image) */
  .modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 100%;
  }


  
  /* Caption of Modal Image (Image Text) - Same Width as the Image */

  
  /* Add Animation - Zoom in the Modal */
  .modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #000000;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    padding-right: 8px;
    padding-left: 8px;
  }
  
  .close:hover,
  .close:focus {
    color: #000000;
    text-decoration: none;
    cursor: pointer;
    padding-right: 8px;
    padding-left: 8px;
  }
  
  /* 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 */
  }
  

  :root {
    --black: #3a3a3a;
    --white: #fff;
    --green: #000000;
  }
  
  
  video {
    width: 100%;
  }
  ol {
    list-style: none;
  }
  
  body {
    color: var(--black);
    font: 1rem/1.3 sans-serif;
  }
  
  
  .container {
    max-width: 90%;
    margin: 0 auto;
  }
  
  input[type="radio"] {
    position: absolute;
    left: -9999px;
  }
  
  
  /* FILTERS
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .filters {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .filters * {
    display: inline-block;
  }
  
  .filters label {
    padding: 0.5rem 1rem;
    margin-bottom: 0.25rem;
    border-radius: 2rem;
    min-width: 50px;
    line-height: normal;
    cursor: pointer;
    transition: all 0.1s;
  }
  
  .filters label:hover {
    background: var(--green);
    color: var(--white);
  }
  
  
  /* FILTE#000000 ELEMENTS (POSTS)
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .posts {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
  }
  
  .posts figcaption {
    padding: 1rem;
  }
  
  .posts .post-categories {
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
  }
  
  .posts .post-categories * {
    display: inline-block;
  }
  
  .posts .post-categories li {
    margin-bottom: 0.2rem;
  }
  
  .posts .post-categories a {
    padding: 0.2rem 0.5rem;
    border-radius: 1rem;
    border: 1px solid;
    line-height: normal;
    transition: all 0.1s;
  }
  
  .posts .post-categories a:hover {
    background: var(--green);
    color: var(--white);
  }
  
  
  /* FILTERING RULES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  [value="All"]:checked ~ .filters [for="All"],
  [value="indumentaria"]:checked ~ .filters [for="indumentaria"],
  [value="brand"]:checked ~ .filters [for="brand"],
  [value="merch"]:checked ~ .filters [for="merch"],
  [value="natura"]:checked ~ .filters [for="natura"],
  [value="caribe"]:checked ~ .filters [for="caribe"],
  [value="iconos"]:checked ~ .filters [for="iconos"],
  [value="fullPage.js"]:checked ~ .filters [for="fullPage.js"] {
    background: var(--green);
    color: var(--white);
  }
  
  [value="All"]:checked ~ .posts [data-category] {
    display: block;
  }
  
  [value="indumentaria"]:checked ~ .posts .post:not([data-category~="indumentaria"]),
  [value="brand"]:checked ~ .posts .post:not([data-category~="brand"]),
  [value="merch"]:checked ~ .posts .post:not([data-category~="merch"]),
  [value="natura"]:checked ~ .posts .post:not([data-category~="natura"]),
  [value="caribe"]:checked ~ .posts .post:not([data-category~="caribe"]),
  [value="iconos"]:checked ~ .posts .post:not([data-category~="iconos"]),
  [value="fullPage.js"]:checked ~ .posts .post:not([data-category~="fullPage.js"]) {
    display: none;
  }
  

  
  
  /* MQ
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  @media screen and (max-width: 900px) {
    .posts {
      grid-template-columns: repeat(3, 1fr);
      justify-items: center;
    }
    img {
      width: 90%;
      height: auto;
    }
  }
  
  @media screen and (max-width: 650px) {
    html {
      font-size: 14px;
      justify-items: center;
    }
  
    .posts {
      grid-template-columns: repeat(2, 1fr);
      justify-items: center;
    }
  }

.portada-work{
  border-radius: 8px;
}