* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ebe8ff;
}

h1 {
    padding: 10px 0px;
    text-align: center;
    font-size: 50px;
    padding: 50px 0px;
}

h1 span {
    color: #6851ff;
}

.main-contianer {
    width: 100%;
    height:100%;
}

.gallery-of-pictures {
    /* max-width: 1200px; */
    height:900px;
    width: 95%;
    margin: 0px auto;
    display: grid;
    grid-template: repeat(14, 1fr) /repeat(12, 1fr);
    gap: 15px;
    padding: 10px;
    overflow: hidden;
    margin-bottom:150px;
}

.pic-box {
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-items: center;
    border-radius: 10px;
    transition: all 1s;
    transform: scale(1);
}

.pic-box:hover {
    transform: scale(1.1);
}


.img-box1 {
    grid-area: 4/1/7/5;
    background: url("./Accests/hiringmine-img1.jpg");
    background-size: cover;
    background-position: center;
}

.img-box2 {
    grid-area: 2/5/5/8;
    background: url("./Accests/hiringmine-img2.jpg");
    background-size: cover;
    background-position: center;
}

.img-box3 {
    grid-area: 1/8/5/12;
    background: url("./Accests/hiringmine-img3.jpg");
    background-size: cover;
    background-position: center;
}

.img-box4 {
    grid-area: 7/1/10/5;
    background: url("./Accests/hiringmine-img4.jpg");
    background-size: cover;
    background-position: center;
}

.img-box5 {
    grid-area: 5/5/10/10;
    background: url("./Accests/hiringmine-img5.jpg");
    background-size: cover;
    background-position: center;
}

.img-box6 {
    grid-area: 5/10/7/12;
    background: url("./Accests/hiringmine-img6.jpg");
    background-size: cover;
    background-position: center;
}

.img-box7 {
    grid-area: 10/3/14/7;
    background: url("./Accests/hiringmine-img7.jpg");
    background-size: cover;
    background-position: center;
}

.img-box8 {
    grid-area: 7/10/12/12;
    background: url("./Accests/hiringmine-img8.jpg");
    background-size: cover;
    background-position: center;
}

.img-box9 {
    grid-area: 10/7/14/10;
    background: url("./Accests/hiringmine-img9.jpg");
    background-size: cover;
    background-position: center;
}

footer {
    position: fixed;
    bottom: 0px;
    width: 100%;
    color: white;
    height: 50px;
    background-color: #6851ff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

footer a {
    color: white;
    font-size: 20px;
    text-decoration: none;
}

footer a:hover {
    font-size: 21px;
    text-decoration: underline;
}

@media only screen and (max-width: 900px) {
    /* .gallery-of-pictures{
        grid-template: repeat(7, 200px) / repeat(2, 1fr) ;
    } */

    .gallery-of-pictures {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(8, 200px);
        height: auto;
    }

    .gallery-of-pictures>div {
        grid-area: auto;
    }

    .img-box1 {
        grid-area: 1/1/2/2 !important;
    }

    .img-box2 {
        grid-area: 1/2/2/3 !important;
    }

    .img-box3 {
        grid-area: 2/1/3/3 !important;
    }

    .img-box4 {
        grid-area: 3/1/4/2 !important;
    }

    .img-box5 {
        grid-area: 3/2/5/3 !important;
    }

    .img-box6 {
        grid-area: 4/1/5/2 !important;
    }

    .img-box8 {
        grid-area: 5/1/6/3 !important;
    }

    .img-box7 {
        grid-area: 6/1/7/2;
    }

    .img-box9 {
        grid-area: 7/2/8/3;
    }


    footer {
        height: 30px;
    }

    footer a {
        font-size: 14px;
    }

    footer a:hover {
        font-size: 16px;
    }

}

@media only screen and (max-width: 600px) {
    .gallery-of-pictures{
        grid-template-columns: 1fr;
        grid-template-rows: repeat(7, 300px);
        height: auto;
    }

    .gallery-of-pictures > div{
        grid-area:auto !important;
    }

       footer {
        height: 20px;
        font-size: 10px;
    }

    footer a {
        font-size: 10px;
    }

    footer a:hover {
        font-size: 14px;
    }
}