* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

html,
body {
    height: 100%;
    width: 100%;
}

main {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(30, 47, 72);
    border-bottom: 2px solid rgb(2, 6, 23);
    position: relative;
}

main h1{
    background-image: url(./Assests/BYNv.gif);
    background-size: cover;
    background-clip: text;
    position: absolute;
    color: transparent;
    top: 5%;
    left: 3%;
    font-size: 2.5rem;
    text-transform: uppercase;
    -webkit-text-stroke: 0.5px white;
}

.grid {
    height: 40rem;
    width: 40rem;
    background-color: rgb(2, 6, 23);
    padding: 20px;
    display: grid;
    gap: 20px;
    overflow: hidden;
}

.grid img {
    overflow: hidden;
    height: 100%;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

#grid1{
    grid-template-columns: 1.5fr repeat(2, 1fr);
    grid-template-rows: 1fr 2fr 1fr 1fr;
    grid-template-areas: "a1 b1 c1"
        "a1 b1 d1"
        "a1 f1 f1"
        "e1 f1 f1";
}

#grid2{
    grid-template-columns: 1fr 1.5fr 1fr;
    grid-template-rows: 2fr repeat(3,1fr);
    grid-template-areas: "a2 b2 c2"
        "d2 b2 c2"
        "d2 b2 f2"
        "d2 e2 f2";
}

#grid3{
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 2fr repeat(3,1fr);
    grid-template-areas: "a3 b3 c3"
        "a3 b3 d3"
        "a3 f3 f3"
        "e3 f3 f3";
}

#grid4{
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 2fr repeat(2,1fr) repeat(2,0.5fr);
    grid-template-areas: "a4 b4 b4"
        "a4 c4 d4"
        "a4 c4 e4"
        "f4 c4 e4"
        "f4 g4 g4";
}