/* Small devices (small phones, 600px and below) */
@media only screen and (max-width: 600px) {
    .section-header {
        .title {
            font: bold 26px/32px LexendBold, "Sans-serif";
            color: var(--primary-color);
        }

        .sub-title {
            font: normal 20px/24px OutfitRegular, "Sans-serif";
        }
    }

    header {
        .nav-img {
            img {
                max-height: 32px;
            }
        }
    }

    #bannerArea {
        .item {
            height: auto;
            margin: 40px 0 65px 0;

            .row {
                margin-top: 30px;

                .imghold {

                    .divbox {

                        .imgboxRotate {

                            .dotImg {
                                width: 40px;
                                height: 40px;

                                i {
                                    font-size: 24px;
                                    color: var(--white-color);
                                }

                                &.dotImg1 {
                                    top: 20%;
                                    left: 9%;
                                    transform: translate(-50%, -50%);
                                }

                                &.dotImg2 {
                                    top: 75%;
                                    left: 5%;
                                    transform: translate(-50%, -50%);
                                }

                                &.dotImg3 {
                                    top: 101%;
                                    left: 50%;
                                    transform: translate(-50%, -50%);
                                }

                                &.dotImg4 {
                                    top: 75%;
                                    right: -6.5%;
                                    transform: translate(-50%, -50%);
                                }

                                &.dotImg5 {
                                    right: -3%;
                                    top: 20%;
                                    transform: translate(-50%, -50%);
                                }
                            }
                        }
                    }
                }

            }
        }
    }

    .storyGrid {
        grid-template-columns: 1fr !important;

        article {
            &:nth-child(1) {
                grid-area: 1/1;
                aspect-ratio: 4/3;
            }
        }
    }

    #footerArea {
        .first-col {
            width: 100%;
            padding-right: 24px;
            order: 1;
        }
        .second-col {
            width: 50%;
            margin-top: 24px;
            order: 2;
        }
        .third-col {
            width: 100%;
            padding-right: 24px;
            margin-top: 24px;
            border-left: 0;
            order: 4;
        }
        .fourth-col {
            width: 50%;
            padding-left: 24px;
            margin-top: 24px;
            order: 3;
        }
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (max-width: 767px) {
    header {
        .nav-img {
            img {
                max-height: 32px;
            }
        }
    }
    #bannerArea {
        .item {
            height: auto;
            margin: 75px 0;

            .row {
                margin-top: 30px;

                .imghold {
                    max-width: 400px;
                    margin: auto;

                    .divbox {

                        .imgboxRotate {

                            .dotImg {
                                width: 40px;
                                height: 40px;

                                i {
                                    font-size: 24px;
                                    color: var(--white-color);
                                }

                                &.dotImg1 {
                                    top: 20%;
                                    left: 9%;
                                    transform: translate(-50%, -50%);
                                }

                                &.dotImg2 {
                                    top: 75%;
                                    left: 5%;
                                    transform: translate(-50%, -50%);
                                }

                                &.dotImg3 {
                                    top: 101%;
                                    left: 50%;
                                    transform: translate(-50%, -50%);
                                }

                                &.dotImg4 {
                                    top: 75%;
                                    right: -6.5%;
                                    transform: translate(-50%, -50%);
                                }

                                &.dotImg5 {
                                    right: -3%;
                                    top: 20%;
                                    transform: translate(-50%, -50%);
                                }
                            }
                        }
                    }
                }

            }
        }
    }
    #footerArea {
        .first-col {
            width: 65%;
            padding-right: 24px;
        }
        .second-col {
            width: 35%;
            padding-left: 24px;
            border-left: 1px solid red;
        }
        .third-col {
            width: 50%;
            padding-right: 24px;
            margin-top: 24px;
            border-left: 0;
        }
        .fourth-col {
            width: 50%;
            padding-left: 24px;
            margin-top: 24px;
            border-left: 1px solid red;
        }
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    header {
        .nav-img {
            img {
                max-height: 32px;
            }
        }
    }
    #bannerArea {
        .item {
            height: auto;
            margin: 0 0 85px 0;

            .row {
                margin-top: 30px;

                .imghold {
                    max-width: 400px;
                    margin: auto;

                    .divbox {

                        .imgboxRotate {

                            .dotImg {
                                width: 40px;
                                height: 40px;
                            }
                        }
                    }
                }

            }
        }
    }
    
    #storyArea {
        .storyGrid {
            grid-template-columns: 1fr 1fr !important;
            grid-template-rows: 1fr auto;
            grid-auto-rows: auto;

            article {
                &:nth-child(1) {
                    grid-area: 1 / 1 / 1 / 3;

                    img {
                        aspect-ratio: 16 / 9;
                    }
                }
                img {
                    aspect-ratio: 7 / 5;
                }
            }
        }
    }
    #footerArea {
        .first-col {
            width: 100%;
        }
        .second-col {
            width: 27%;
            border-left: 0;
        }
        .third-col {
            width: 43%;
            border-left: 1px solid red;
        }
        .fourth-col {
            width: 30%;
            border-left: 1px solid red;
        }
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    header {
        .nav-img {
            img {
                max-height: 32px;
            }
        }
    }
    #bannerArea {
        .item {
            margin-top: 0;
            min-height: 600px;
            
            .row {
                margin-top: 0;
                .imghold {
                    max-width: 100%;
                    margin: auto;
                }
            }
        }

        .text {
            max-width: 650px;
        }
    }
    #storyArea {
        .storyGrid {
            grid-template-columns: 1fr 1fr 1fr !important;
            grid-template-rows: 1fr 1fr;
            grid-auto-columns: 1fr;
            gap: 20px 20px;
            grid-auto-flow: row;

            article {
                &:nth-child(1) {
                    grid-area: 1 / 1 / 3 / 2;

                    img {
                        aspect-ratio: auto;
                    }
                }
                img {
                    aspect-ratio: 7 / 5;
                }
            }
        }
    }
    #footerArea {
        .first-col {
            width: 100%;
        }
        .second-col {
            width: 30%;
            border-left: 0;
        }
        .third-col {
            width: 40%;
            border-left: 1px solid red;
        }
        .fourth-col {
            width: 30%;
            border-left: 1px solid red;
        }
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    header {
        button.btn {
            display: inline;
        }
        .nav-img {
            img {
                max-height: 32px;
            }
        }
    }

    #bannerArea {
        .item {
            margin-bottom: 60px;
            margin-top: 0;
            min-height: auto;
        }
    }
    #footerArea {
        .first-col {
            width: 30%;
        }
        .second-col {
            width: 22.5%;
            border-left: 1px solid red;
        }
        .third-col {
            width: 27.5%;
            border-left: 1px solid red;
        }
        .fourth-col {
            width: 20%;
            border-left: 1px solid red;
        }
    }
}

/* Extra large devices (large desktops, 1400px and up) */
@media only screen and (min-width: 1400px) {
    header {
        .nav-img {
            img {
                max-height: 36px;
            }
        }
    }
    #bannerArea {
        .item {
            margin-bottom: 85px;
        }
    }
}







/* @media(max-width:1000px) {
	.timeline {
		width: 90%;
	}
}

@media(max-width:767px) {
	.timeline {
		width: 100%;
		padding-bottom: 0;
        h1 {
            font-size: 40px;
            text-align: center;
        }
    
        &::before {
            left: 20px;
            height: 100%;
        }
        ul li:nth-child(odd),
        ul li:nth-child(even) {
            width: 100%;
            text-align: left;
            padding-left: 50px;
            padding-bottom: 50px;
        }
    
        ul li:nth-child(odd):before,
        ul li:nth-child(even):before {
            top: -18px;
            left: 16px;
        }
    
        ul li:nth-child(odd) .time,
        ul li:nth-child(even) .time {
            top: -30px;
            left: 50px;
            right: inherit;
        }
	}


} */