* {
    padding: 0px;
    margin: 0px;
    background-color: #fffbfb;
}



body{
    cursor: url(/iconos/11.webp), auto;
 }

 a {
    cursor: url(/iconos/12.webp), auto;
 }


 
.principal{
    display: flex;
    height: 99vh;
    justify-content: center;
    align-items: center;
}

.contenedor {
    display: grid;
    justify-items: center;
    width: 50%;
	margin: 0px auto;
    padding-top: 10px;
    grid-template-columns: repeat(3, auto);
    grid-template-rows: repeat(3, auto);
    grid-template-areas: "illus work anim"
                         "icon4 icon4 icon4"
                         "art about contact";
                        
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
.illus {
    grid-area: illus;
    background: url(./iconos/illustrations.svg) no-repeat;
    width: 195px;
    height: 195px;
    transform: translate(0px, 165px);
}

.illus:hover {
    background: url(./iconos/illustrations2.svg) no-repeat;
}

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

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

.anim {
    grid-area: anim;
    background: url(./iconos/animation.svg) no-repeat;
    width: 195px;
    height: 195px;
    transform: translate(0px, 165px);
}

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

.icon4 {
        grid-area: icon4;
        
}

.art {
    grid-area: art;
    background: url(./iconos/art.svg) no-repeat;
    width: 195px;
    height: 195px;
    transform: translate(0px, -100px);
}


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

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

.about:hover {
    background: url(./iconos/about2.svg) no-repeat;
    width: 195px;
    height: 195px;
}

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

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


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


    .principal{
        display: flex;
        height: 99vh;
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: flex-start;
    
    }

    .contenedor {
        width: 90%;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        grid-template-areas: 
            "icon4 icon4"
            "work work"
            "illus illus"
            "anim anim"
            "art art"
            "about about"
            "contact contact";
        gap: 0.7px;
    }  
    .work {
        grid-area: work;
        background: url(./iconos/work2.svg) no-repeat;
    }

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

    
    
    .anim {
        grid-area: anim;
        background: url(./iconos/animation.svg) no-repeat;
        transform: translate(0px, 0px);
    }
    
    .icon4 {
            grid-area: icon4;
            
    }
    
    .art {
        grid-area: art;
        background: url(./iconos/art.svg) no-repeat;

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