/* Big Computer */
@media screen and (min-width: 1024px) {

    h1 {
        display: flex;
        justify-content: center;

        font-family: "Dancing Script", cursive;
        font-optical-sizing: auto;
        font-style: normal;
        font-weight: 515;
        font-size: 96px;
    }

    section > img {
        width:75%;
        border-radius: 10px;
    }

    section > p {
        font-family: "Dancing Script", cursive;
        font-optical-sizing: auto;
        font-style: normal;
        font-weight: 515;
        font-size: 18px;
        width: 75%;
    }

    #mainbox {
        display:grid;
        grid-template-areas: 
        "area1 area2 area3 area4 area5"
        "area6 area7 area8 area9 area10";
        gap: 20px;
        margin-left: 5%;
    }

    #mainbox > section {
        display: flex;
        flex-direction: column;
        align-items: center;
        border: 3px solid black;
        border-radius: 10px;
        width: 75%;
    }

}



/* small phone */
@media screen and (max-width: 411px) {

    h1 {
        display: flex;
        justify-content: center;

        font-family: "Dancing Script", cursive;
        font-optical-sizing: auto;
        font-style: normal;
        font-weight: 515;
        font-size: 96px;
    }

    section > img {
        width:50%;
        border-radius: 10px;
    }

    section > p {
        font-family: "Dancing Script", cursive;
        font-optical-sizing: auto;
        font-style: normal;
        font-weight: 515;
        font-size: 18px;
        width: 75%;
    }

    #mainbox {
        display:grid;
        grid-template-areas: 
        "area1"
        "area2"
        "area3"
        "area4"
        "area5"
        "area6"
        "area7"
        "area8"
        "area9"
        "area10";
        gap: 20px; 
        margin-left: 10%;
    }

    #mainbox > section {
        display: flex;
        flex-direction: column;
        align-items: center;
        border: 3px solid black;
        border-radius: 10px;
        width: 90%;
    }

    .name {
        text-align: center;
    }

}



/* medium tablet */
@media screen and (min-width: 810px) and (max-width: 1023px) {

    h1 {
        display: flex;
        justify-content: center;

        font-family: "Dancing Script", cursive;
        font-optical-sizing: auto;
        font-style: normal;
        font-weight: 515;
        font-size: 96px;
    }

    section > img {
        width:50%;
        border-radius: 10px;
    }

    section > p {
        font-family: "Dancing Script", cursive;
        font-optical-sizing: auto;
        font-style: normal;
        font-weight: 515;
        font-size: 18px;
        width: 75%;
    }

    #mainbox {
        display:grid;
        grid-template-areas: 
        "area1"
        "area2"
        "area3"
        "area4"
        "area5"
        "area6"
        "area7"
        "area8"
        "area9"
        "area10";
        gap: 20px; 
        margin-left: 10%;
    }

    #mainbox > section {
        display: flex;
        flex-direction: column;
        align-items: center;
        border: 3px solid black;
        border-radius: 10px;
        width: 90%;
    }

    .name {
        text-align: center;
    }

}