body {
    font-family: "Space Grotesk", sans-serif;
    margin: 0px;
}

#appBar {
    position: fixed;
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: center;
}

#appBarBtn {
    width: 1120px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#bodyFold {
    position: absolute;
    width: 100%;
}

.contentView {
    position: relative;
    width: 1120px;
    left: calc((100vw - 1120px)/2);
}

.foldTitle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.25;
    padding-top: 48px;
    margin-bottom: 48px;
}

#intro {
    position: relative;
    width: 100%;
    height: 711px;
    background-image:
        radial-gradient(farthest-corner at 70% 0px,
            rgba(255, 46, 33, 0.12) 0%,
            rgba(255, 255, 255, 0) 115%);
}

#ctnIntro {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: space-between;
    position: absolute;
    bottom: 0px;
}

#textDescription {
    font-weight: 700;
    font-size: 90px;
    color: rgba(51, 56, 63, 1);
    aspect-ratio: 482/466;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#robotname {
    display: block;
    margin-top: 0px;

}

#imgDescription {
    width: 56.9%;
}

#feature {
    background-color: rgba(239, 231, 253, 1);
    width: 100%;
    height: 856px;
}

#gridFeature {
    display: grid;
    grid-template-columns: auto auto auto;
    column-gap: 2.8%;
    row-gap: 3.8%;
}

.grid-item {
    width: 354px;
    aspect-ratio: 354/320;
    display: flex;
    flex-direction: column;
    margin-right: inherit;
}

.ftImg {
    width: 100%;
    aspect-ratio: 352/220;
    object-fit: contain;
    /* height: fit-content; */
    margin-right: unset;

}

h3 {
    font-weight: 700;
    font-size: 20px;
    color: rgba(39, 43, 48, 1);
    margin: 0;
    line-height: 2;
}

h4 {
    font-weight: 500;
    font-size: 16px;
    color: rgba(51, 56, 63, 1);
    line-height: 1.5;
    margin: 0;
}

#project {
    width: 100%;
    height: 548px;
}

#projectList {
    height: 350px;
    width: 100%;
    display: flex;
    /* overflow-x: scroll; */
    margin-right: 32px;
    padding-bottom: 10px;
}

.prj-item {
    margin-left: 10px;
    width: 354px;
    aspect-ratio: 354/320;
    display: flex;
    flex-direction: column;
    margin-right: inherit;
}

.prjVideo {
    width: 100%;
    aspect-ratio: 352/220;
}

#robotSpecs {
    background-color: #F9F9F9;
    width: 100%;
    height: 1047px;
}

table {
    font-size: unset;
    margin-top: 6%;
    width: 100%;
    aspect-ratio: 1220/244;
    border: 1px solid #6F767E;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid #6F767E;
    border-collapse: collapse;
    padding-left: 20px;
    text-align: left;
}

th {
    background-color: #F4F4F4;
}

#codingpage {
    background-color: #FFFFFF;
}

#blocklyIntro {
    background-color: #578BF2;
    width: 100%;
    aspect-ratio: 1120/576;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}

#blocklyIntroTxt {
    width: 48%;
    color: white;
    font-size: 16px;
    text-align: center;
}

#blocklyIntroImg {
    width: 64%;
}

#spBtn {
    display: flex;
    justify-content: center;
}

#footer {
    width: 100%;
    height: 72px;
    color: #595959;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    background-color: #F7F7F7;
    display: flex;
    justify-content: center;
    align-items: center;
}

#buttonRow {
    display: flex;
    font-weight: 700;
    font-size: 16px;
    width: 100%
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50ch;
    cursor: pointer;
    font-weight: 700;
}

#btn1 {
    width: 43%;
    aspect-ratio: 205/48;
    background-color: rgba(251, 103, 93, 1);
    color: white;
}

#btn0 {
    /* width: 43%; */
    height: 48px;
    aspect-ratio: 173/48;
    background-color: rgba(251, 103, 93, 1);
    color: white;
    font-size: 16px;

}

#btn2 {
    margin-left: 3%;
    width: 50%;
    aspect-ratio: 205/48;
    background-color: #E5F7FF;
    color: rgba(87, 139, 242, 1);

}

#btn3 {
    width: 18%;
    aspect-ratio: 205/48;
    background-color: #FFFFFF;
    color: #1A1D1F;
    margin-top: 15px;
    margin-bottom: 32px;
}

#btn4,
#btn5 {
    width: 31.43%;
    aspect-ratio: 352/192;
    margin-left: 4%;
    margin-left: 4%;
    cursor: pointer;
}

#FAQ {
    background-color: #fffffF;
    border-radius: 12px;
    box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, .05);
    margin-bottom: 56px;
    width: 100%;
    border: 12px;
    padding-left: 30px;
    padding-right: 30px;
}

.qBtn {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
    color: #333333;
    height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #E7E7E7;
    cursor: pointer;
}

.qBtn:hover {
    background-color: rgba(0, 0, 0, .05);
}

.ansField {
    padding-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
    color: #444444;
}

@media only screen and (max-width: 768px) {

    /* For mobile phones: */
    #appBar {
        height: 60px;


    }

    #appBarBtn {
        margin-left: 10px;
        margin-right: 10px;

        width: 100%;
        height: 100%;

    }

    .viewFold {
        width: 100%;
        left: 0%;
    }

    .contentView {
        position: relative;
        width: 100%;
        left: 0px;
    }

    .foldTitle {
        font-size: 5.5vw;
        padding-top: 5vw;
        margin-bottom: 5vw;
    }

    #intro {
        aspect-ratio: unset;
        height: auto;
        background-image:
            radial-gradient(farthest-corner at 70% 0px,
                rgba(255, 46, 33, 0.12) 0%,
                rgba(255, 255, 255, 0) 115%);
    }

    #ctnIntro {
        display: block;
        position: relative;
        top: 0px;
        width: 94vw;
        left: 3vw;
    }

    #imgDescription {
        position: relative;
        width: 86%;
        left: 7%;
        top: 45px;
    }

    #textDescription {
        font-weight: 700;
        /* font-size: 90px; */
        width: 100%;
        color: rgba(51, 56, 63, 1);
        aspect-ratio: unset;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    #robotname {
        display: flex;
        margin-top: 10vw;
        font-size: 13vw;
    }

    #buttonRow {
        padding-top: 5vw;
        margin-bottom: 5vw;
    }

    #btn0 {
        height: 36px;
        font-size: 12px;

    }

    #btn1 {
        font-size: 3vw;
    }


    #btn2 {
        font-size: 3vw;
    }

    #feature {
        background-color: rgba(239, 231, 253, 1);
        width: 100%;
        height: auto;
        left: 0;
    }

    #gridFeature {
        margin-left: 3vw;
        aspect-ratio: unset;
        padding-bottom: 4vw;
        display: grid;
        grid-template-columns: auto;
        column-gap: 1vw;
        row-gap: 0vw;

    }

    .grid-item {
        width: 90vw;
        aspect-ratio: 300/90;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-right: inherit;

    }

    .ftImg {
        width: 30vw;
        height: fit-content;
        margin-right: 10px;

    }



    h3 {
        font-size: 3.8vw;
    }

    h4 {
        font-size: 3.6vw;
    }

    #project {
        width: 100%;
        height: auto;
    }

    #projectList {
        height: auto;
    }

    .prj-item {
        margin-left: 10vw;
        width: 80vw;
    }

    #robotSpecs {
        height: auto;
    }

    table {
        font-size: 3vw;
    }

    #codingpage {
        background-color: #FFFFFF;
    }

    #blocklyIntro {
        aspect-ratio: unset;
        /*1120/576; */
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        justify-content: end;
        align-items: center;
    }

    #blocklyIntroTxt {
        margin-top: 10px;
        width: 90%;
        color: white;
        font-size: 16px;
        text-align: center;
    }

    #blocklyIntroImg {
        width: 100%;
    }

    #spBtn {
        flex-direction: column;
        align-items: center;
    }

    #footer {
        font-size: 3.6vw;
    }

    #btn3 {
        width: 50%;
    }

    #btn4,
    #btn5 {
        width: unset;
    }


    #FAQ {
        margin-bottom: 2vw;
        width: 92vw;
        padding-left: 4vw;
        padding-right: 4vw;
    }

    .qBtn {
        font-size: 4vw;
        line-height: 1.5;
        font-weight: 700;
        height: 15vw;
    }
}