* {
    box-sizing: border-box;
    margin: 0;
}
body {
    font-family: "Tektur", sans-serif;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    font-style: italic;
}
.page {
    min-height: 100svh;
    padding: 30px;
    background-color: #A8FBD3;
    display: flex;
    justify-content: center;
    align-items: center;
}
.boxes {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
    gap: 25px;
}
.box {
    background: #833AB4;
    background: linear-gradient(135deg, #4FB7B3, #637AB9);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}
.sixbox {
    grid-column: span 3;
    grid-row: span 2;
}
.twobox {
    grid-column: span 2;
}
.fourbox {
    grid-column: span 2;
    grid-row: span 2;
}
.num {
    width: 60px;
    height: 60px;
    background-color: #31326F;
    color: #A8FBD3;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    font-size: 24px;
    rotate: 45deg;
}
.in {
    rotate: -45deg;
}

@media screen and (max-width: 1400px) {
    .boxes {
        grid-auto-rows: 150px;
    }
    .num {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
}
@media screen and (max-width: 1100px) {
    .boxes {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
    .box {
        grid-area: auto;
    }
}
@media screen and (max-width: 800px) {
    .boxes {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: auto;
    }
    .box {
        padding: 30px 20px;
    }
}
@media screen and (max-width: 600px) {
    .boxes {
        grid-template-columns: repeat(2, 1fr);
    }
    .page {
        padding: 20px;
    }
}
@media screen and (max-width: 400px) {
    .boxes {
        grid-template-columns: 1fr;
    }
}