html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
}
#desktopwrapper1{
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}
#desktopwrapper2{
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

#background{
    width: 100%;
    height: 100%;
    grid-column: 1/2;
    grid-row: 1/2;
    object-fit: cover;
}
#desktopicon{
    grid-column: 2;
    grid-row: 1;
}

#wrapper1{
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 10% repeat(5, 1fr) 10%;
    grid-template-rows: repeat(7, 8vh) repeat(3, 12vh) ;

}
#confix{
    grid-column: 1;
    grid-template-columns: 2;
}
#projfix{
    grid-column: 1;
    grid-row: 2;
}

/*Red circle*/
.circle {
    border-radius: 50%;
    width: auto;
    height: auto;
    aspect-ratio: 1;
    background-color: rgba(255,0,0,0.6);
    grid-row-start: 2;
    grid-row-end: 7;
    grid-column: 2/7;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: x-large;
}
/*design home*/
.fire{
    grid-row: 2;
    grid-column: 3;
    img{
        height: 100%;
        width: 100%
    }
    aspect-ratio: 1;
}
.earth{
    grid-row: 2;
    grid-column: 5;
    img{
        height: 100%;
        width: 100%;
    }
    aspect-ratio: 1;
}
.undead{
    grid-row: 4;
    grid-column: 6/8;
    img{
        height: 100%;
        width: 100%;
        object-fit: contain;
    }
    display: flex;
    justify-content: center;
    align-items: center;
}
.water{
    grid-row: 6;
    grid-column: 5;
    img{
        height: 100%;
        width: 100%;
    }
    aspect-ratio: 1;
}
.air{
    grid-row: 6;
    grid-column: 3;
    img{
        height: 100%;
        width: 100%;
    }
    aspect-ratio: 1;
}
.life{
    grid-row: 4;
    grid-column: 1/3;
    img{
        height: 100%;
        width: 100%;
        object-fit: contain;
    }
    display: flex;
    justify-content: center;
    align-items: center;
}

/* text box buttons*/
.box1 {
    border-radius: 20px;
    height: 90%;
    width: 80%;
    margin-left: 10%;
    background-color: white;
    grid-row: 8/9;
    grid-column: 2/7;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: xx-large;
}
.box2 {
    border-radius: 20px;
    height: 90%;
    width: 80%;
    margin-left: 10%;
    background-color: white;
    grid-row: 9/10;
    grid-column: 2/7;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: xx-large;
}
.box3 {
    border-radius: 20px;
    height: 90%;
    width: 80%;
    margin-left: 10%;
    background-color: white;
    grid-row: 10/11;
    grid-column: 2/7;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: xx-large;
}
.tech1{
    grid-row: 8;
    grid-column: 2/4;
    img{
        height: 45%;
        width: 100%;
        object-fit: contain;
    }
    display: flex;
    justify-content: center;
    align-items: center;
}
.tech2{
    grid-row: 8;
    grid-column: 5/7;
    img{
        height: 45%;
        width: 100%;
        object-fit: contain;
    }
    display: flex;
    justify-content: center;
    align-items: center;
}
.magic1{
    grid-row: 9;
    grid-column: 2/4;
    img{
        height: 45%;
        width: 100%;
        object-fit: contain;
    }
    display: flex;
    justify-content: center;
    align-items: center;
}
.magic2{
    grid-row: 9;
    grid-column: 5/7;
    img{
        height: 45%;
        width: 100%;
        object-fit: contain;
    }
    display: flex;
    justify-content: center;
    align-items: center;
}
.light{
    grid-row: 10;
    grid-column: 2/4;
    img{
        height: 45%;
        width: 100%;
        object-fit: contain;
    }
    display: flex;
    justify-content: center;
    align-items: center;
}
.dark{
    grid-row: 10;
    grid-column: 5/7;
    img{
        height: 45%;
        width: 100%;
        object-fit: contain;
    }
    display: flex;
    justify-content: center;
    align-items: center;
}
/*warpper for projects and contact*/
#wrapper2{
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 10% 1fr 20px 1fr 10%;
    grid-template-rows: 5% 1fr 20px repeat(4, 1fr) 10px;
}
/*fillers to align boxes*/
.filler1{
    grid-column: 1;
    grid-row: 2/9;
}
.filler2{
    grid-column: 5;
    grid-row: 1/9;
}
.filler3{
    grid-column: 2/5;
    grid-row: 1;
}
.filler4{
    grid-column: 1/5;
    grid-row: 3;
}
.filler5{
    grid-column: 3;
    grid-row: 4/9;   
}
.filler6{
    grid-column: 2;
    grid-row: 1;
}
.filler7{
    grid-column: 2;
    grid-row: 1;
}

.confiller1{
    grid-column: 2;
    grid-row: 1;
}
.confiller2{
    grid-column: 2;
    grid-row: 1;
}
.confiller3{
    grid-column: 2;
    grid-row: 1;
}
.confiller4{
    grid-column: 2;
    grid-row: 1;
}
.confiller5{
    grid-column: 2;
    grid-row: 1;
}
/*grid for projects*/
.ptitle{
    border-radius: 40px;
    margin: 5px;
    background-color: white;
    grid-column: 2/5;
    grid-row: 2/3;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: xxx-large;
}
.pbox {
    width: 100%;
    height: 95%;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 75% 25%;
    border-radius: 20%;
    background-color: white;
    text-align: center;
    font-size: x-large;
    justify-content: center;
    p {
        margin: 0;
        grid-row: 2;
        grid-column: 1;
    }
    img {
        width: 100%;
        height: 100%;
        border-radius: 20px;
        grid-row: 1;
        grid-column: 1;
    }
}
/*grid for contact*/
.ctitle{ 
    border-radius: 40px;
    margin: 5px;
    background-color: white;
    grid-column: 2/5;
    grid-row: 2/3;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: xxx-large;
}
.cbox1 {
    border-radius: 20%;
    margin: 5px;
    background-color: white;
    text-align: center;
}
/*wrapper for about me*/
#wrapper3{
    grid-row:1;
    grid-column: 1;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 10% 1fr 10%;
    grid-template-rows: 5% 5fr 20px 16fr 5%;

}
/*grid for About*/
.atitle{
    border-radius: 40px;
    margin: 5px;
    background-color: white;
    grid-column: 2/3;
    grid-row: 2/3;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: xxx-large;
}
.textbox{       
    border-radius: 40px;
    margin: 5px;
    background-color: white;
    grid-column: 2/3;
    grid-row: 4/5;
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: xx-large;
}
/*back arrow for mobile*/
.return{
    img{
        width: 100%;
        height: 100%;
    }
    grid-row: 1;
    grid-column: 1;
}

@media (min-width: 900px){

    #desktopwrapper1{
        width: 100vw;
        height: 100vh;
        display: grid;
        grid-template-columns: 30% 65% 5%;
        grid-template-rows: 5% 1fr 5%;
    }
    #desktopwrapper2{
        width: 100vw;
        height: 100vh;
        display: grid;
        grid-template-columns: 30% 65% 5%;
        grid-template-rows: 5% 1fr 5%;
    }

    #wrapper2{
        grid-column: 2;
        grid-row: 2;
        background-color: blue;
        border-radius: 100px;
        grid-template-columns: 5%repeat(5, 1fr) 5%;
        grid-template-rows: 5% 1fr 5% 1fr 5% 1fr 5% ;
    }
        #wrapper3{
        grid-column: 2;
        grid-row: 2;
        background-color: blue;
        border-radius: 100px;
        grid-template-columns: 5% 5% 1fr 10%;
    }
        #wrapper1{
            grid-column: 1;
            grid-row: 1;
    }
        #background{
        width: 100%;
        height: 100%;
        grid-column: 1/4;
        grid-row: 1/4;
        object-fit: cover;
    }
.atitle{
    grid-column: 3/4;
    width: 50%;
    margin-left: 25%;
}
.textbox{       
    grid-column: 3/4;
    width: 100%;
    p{
        width: 60%;
    }
}
.ptitle{
    border-radius: 40px;
    margin: 5px;
    background-color: white;
    grid-column: 3/6;
    grid-row: 2/3;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: xxx-large;
}
.ctitle{ 
    border-radius: 40px;
    margin: 5px;
    background-color: white;
    grid-column: 3/6;
    grid-row: 2/3;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: xxx-large;
}s
.filler1{
    grid-column: 1;
    grid-row: 2/7;
}
.filler2{
    grid-column: 7;
    grid-row: 1/9;
}
.filler3{
    grid-column: 2/8;
    grid-row: 1;
}
.filler4{
    grid-column: 1/8;
    grid-row: 3;
}
.filler5{
    grid-column: 1/8;
    grid-row: 5;   
}
.filler6{
    grid-column: 2;
    grid-row: 2;
}
.filler7{
    grid-column: 6;
    grid-row: 2;
}

.confiller1{
    grid-column: 2;
    grid-row: 6;
}
.confiller2{
    grid-column: 3;
    grid-row: 4;
}
.confiller3{
    grid-column: 4;
    grid-row: 6;
}
.confiller4{
    grid-column: 5;
    grid-row: 4;
}
.confiller5{
    grid-column: 6;
    grid-row: 6;
}
.pbox {
    width: 90%;
    height: 85%;
    margin: 5%;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 75% 25%;
    border-radius: 20%;
    background-color: white;
    text-align: center;
    font-size: x-large;
    justify-content: center;
    p {
        margin: 0;
        grid-row: 2;
        grid-column: 1;
    }
    img {
        width: 100%;
        height: 100%;
        border-radius: 20px;
        grid-row: 1;
        grid-column: 1;
    }
}
}

@media (min-width: 1200px){
    #desktopwrapper1{
        width: 100vw;
        height: 100vh;
        display: grid;
        grid-template-columns:30% 65% 5%;
        grid-template-rows: 5% 1fr 5%;
    }
    #desktopwrapper2{
        width: 100vw;
        height: 100vh;
        display: grid;
        grid-template-columns: 30% 65% 5%;
        grid-template-rows: 5% 1fr 5%;
    }
     #desktopicon{
    grid-column: 1;
    grid-row: 2/3;
    #desktopcon{
    grid-column: 2/3;
    grid-column: 2/3;
    }}

    .circle {
        border-radius: 50%;
        width: auto;
        height: auto;
        aspect-ratio: 1;
        background-color: rgba(255,0,0,0.6);
        grid-row-start: 2;
        grid-row-end: 7;
        grid-column: 2/7;
        margin-top: 2%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: 200%;
}
    .box1 {
        border-radius: 20px;
        height: 90%;
        width: 80%;
        margin-left: 10%;
        background-color: white;
        grid-row: 8/9;
        grid-column: 2/7;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: 200%;
}

    .box2 {
        border-radius: 20px;
        height: 90%;
        width: 80%;
        margin-left: 10%;
        background-color: white;
        grid-row: 9/10;
        grid-column: 2/7;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: 200%;
}

    .box3 {
        border-radius: 20px;
        height: 90%;
        width: 80%;
        margin-left: 10%;
        background-color: white;
        grid-row: 10/11;
        grid-column: 2/7;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: 200%;
}
}
@media (min-width: 1500px){
    #desktopwrapper1{
        width: 100vw;
        height: 100vh;
        display: grid;
        grid-template-columns:25% 70% 5%;
        grid-template-rows: 5% 1fr 5%;
    }
    #desktopwrapper2{
        width: 100vw;
        height: 100vh;
        display: grid;
        grid-template-columns: 25% 70% 5%;
        grid-template-rows: 5% 1fr 5%;
    }
}





@media (max-width: 900px){
    #desktopwrapper2{
        #wrapper1{
            display: none;
        }
    }
}