@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap");
@font-face {
    font-family: "intro_regular";
    src: url("../fonts/fontsfree-net-intro-webfont.woff2") format("woff2"),
        url("../fonts/fontsfree-net-intro-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    font-family: "Roboto", sans-serif;
}
.container {
    padding: 20px;
    background-color: #000b17;
}

/* --------------------------------------------------------------------------------- */
/* DIV STYLE */
/* --------------------------------------------------------------------------------- */
.maingrid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(min-content, max-content);
    background-image: url("../img/bg-dotted-pattern.png");
}

/***********************/
/* HEADER **************/
/***********************/
.home-header {
    grid-column: 2 / 12;
    grid-row: 1;
    border: 1 solid red;
}

/***********************/
/* HOMEPAGE ************/
/***********************/
.home-banner {
    grid-column: 1 / 13;
    grid-row: 1;
    min-height: 600px;
    background-image: url("../img/banner-img-crab.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
    /* Sub Grid */
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 1fr 1fr;
}

.home-banner-header1 {
    grid-column: 2 / 7;
    grid-row: 3;
    text-align: left;
    padding-bottom: 50px;
}

.home-banner-header2 {
    grid-column: 2 / 7;
    grid-row: 4;
    text-align: left;
    margin-bottom: 80px;
}

/* .home-banner-header2 > p {
    margin-top: 60px;
} */

/***********************/
/* ABOUT ***************/
/***********************/
.home-about {
    padding: 80px 0;
    background-color: #e3e3e3;
    display: grid;
    grid-column: 1 / 13;
    grid-row: 2;
    gap: 20px;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 1/4;
    background-image: url("../img/bg-dotted-pattern.png");
}

.about-img1 {
    grid-column: 1 / 13;
    grid-row: 1;
}

.about-content1 {
    grid-column: 5 / 8;
    grid-row: 2 / 4;
}
.about-img2 {
    grid-column: 8 / 11;
    grid-row: 2;
}
.about-content2 {
    grid-column: 8 / 11;
    grid-row: 3;
    margin-top: -50px;
}
.about-img3 {
    grid-column: 1 / 5;
    grid-row: 2;
    margin: -140px 0 0 20px;
}

/***********************/
/* SERVICES ************/
/***********************/
.home-services {
    margin: 60px 0;
    grid-column: 1 / 13;
    grid-row: 3;
    padding: 15px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 1/3;
}

.home-service-header {
    grid-column: 3 / 11;
    grid-row: 1;
    text-align: center;
}

/* Services Flexbox Start Here */
.home-service-container {
    grid-column: 2 / 12;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap; /*  allow items to wrap  */
    justify-content: center; /*  horizontally center items  */
}

.home-service-col {
    flex-basis: calc(25% - 20px); /*  subtract the margin from the width  */
    color: white;
    margin: 10px;
    box-sizing: border-box; /*  make padding be included in the set width  */
}
/***********************/
/* CONTACT ************/
/***********************/
.home-contact {
    padding: 80px 0;
    grid-column: 1 / 13;
    grid-row: 4;
    display: grid;
    background-color: #e3e3e3;
    background-image: url("../img/bg-dotted-pattern.png");
    gap: 20px;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 1/4;
    position: relative;
}

.home-contact > div::before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 5%;
    border-bottom: 1px solid #bababa;
    width: 90%;
}

.home-contact-header {
    grid-column: 2 / 12;
    grid-row: 1;
    text-align: left;
}

.home-contact-map {
    grid-column: 1 / 13;
    grid-row: 2;
}

.home-contact-col1 {
    grid-column: 2 / 8;
    grid-row: 3;
    padding-right: 20px;
}

.home-contact-col2 {
    grid-column: 8 / 12;
    grid-row: 3;
}

.home-contact-col2 .operationhours {
    color: #4d4d4d;
    display: flex;
    flex-wrap: wrap;
}

.col1,
.col2,
.col3 {
    padding-top: 5px;
}

.col1 {
    flex: 30%;
}
.col2 {
    flex: 35%;
}
.col3 {
    flex: 35%;
}

.fullcol {
    font-weight: bold;
    flex: 100%;
}

/***********************/
/* FOOTER ************/
/***********************/
.home-footer {
    padding: 80px 0;
    grid-column: 1 / 13;
    grid-row: 4;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: subgrid;
}

.home-footer-menu {
    grid-column: 2 / 12;
    grid-row: 1;
    padding: 50px 0 20px;
    text-align: center;
}

.home-footer-copyright {
    grid-column: 2 / 12;
    grid-row: 2;
    padding-bottom: 10px;
    text-align: center;
}

/* --------------------------------------------------------------------------------- */
/* DIV STYLE */
/* --------------------------------------------------------------------------------- */
@media screen and (max-width: 1350px) {
    .home-banner {
        min-height: 500px;
    }

    .home-banner-header1 {
        grid-column: 2 / 7;
        grid-row: 3;
        padding-bottom: 50px;
    }

    .home-banner-header2 {
        grid-column: 2 / 7;
        grid-row: 4;
        margin-bottom: 50px;
    }

    .about-content2 {
        margin-top: -120px;
    }
    .about-img3 {
        grid-column: 1 / 5;
        grid-row: 2;
        margin: -130px 0 0 20px;
    }
}

@media screen and (max-width: 1150px) {
    .home-banner {
        min-height: 450px;
    }
}

@media screen and (max-width: 970px) {
    /***********************/
    /* ABOUT ***************/
    /***********************/

    .home-banner {
        min-height: 40px;
    }

    .about-content1 {
        grid-column: 5 / 12;
        grid-row: 3;
    }

    .about-img2 {
        grid-column: 5 / 12;
        grid-row: 2;
    }

    .about-content2 {
        grid-column: 5 / 12;
        grid-row: 4;
        margin-top: 0;
    }
    .about-img3 {
        grid-column: 1 / 5;
        grid-row: 2;
        margin: -120px 0 0 10px;
    }
    .home-service-col {
        flex-basis: calc(50% - 20px); /*  subtract the margin from the width  */
        color: white;
        margin: 10px;
        box-sizing: border-box; /*  make padding be included in the set width  */
    }
    .grid-1 {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(min-content, max-content);
    }
}

@media screen and (max-width: 800px) {
    /***********************/
    /* HOMEPAGE ************/
    /***********************/
    .home-banner {
        min-height: 900px;
        grid-template-rows: 350px 100px;
    }

    .home-banner-header1 {
        grid-column: 2 / 12;
        grid-row: 1;
        padding-top: 130px;
    }

    .home-banner-header2 {
        grid-column: 2 / 12;
        grid-row: 2;
        margin-bottom: 0px;
    }
    .about-img3 {
        grid-column: 1 / 5;
        grid-row: 2;
        margin: -100px 0 0 10px;
    }
}

@media screen and (max-width: 640px) {
    /***********************/
    /* HOMEPAGE ************/
    /***********************/
    .home-banner {
        grid-column: 1 / 13;
        grid-row: 1;
        min-height: 700px;
        background-image: url("../img/banner-img-crab.png");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: right bottom;
        /* Sub Grid */
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: 350px 100px;
    }

    .home-banner-header1 {
        grid-column: 2 / 12;
        grid-row: 1;
        padding-top: 130px;
    }

    .home-banner-header2 {
        grid-column: 2 / 12;
        grid-row: 2;
        margin-bottom: 0px;
    }
    /***********************/
    /* SERVICES ************/
    /***********************/
    .about-img3 {
        grid-column: 1 / 5;
        grid-row: 2;
        margin: -100px 0 0 10px;
    }
    /***********************/
    /* SERVICES ************/
    /***********************/
    .home-service-container {
        grid-column: 1 / 13;
        grid-row: 2;
        display: flex;
        flex-wrap: wrap; /*  allow items to wrap  */
        justify-content: center; /*  horizontally center items  */
        text-align: center;
    }

    .home-service-col {
        flex-basis: 100%; /*  subtract the margin from the width  */
    }

    /***********************/
    /* CONTACT ************/
    /***********************/
    .home-contact-col1 {
        grid-column: 2 / 12;
        grid-row: 3;
    }

    .home-contact-col2 {
        grid-column: 2 / 12;
        grid-row: 4;
    }
}
@media screen and (max-width: 480px) {
    .about-img3 {
        grid-column: 1 / 5;
        grid-row: 2;
        margin: -30px 0 0 10px;
    }

    .col1 {
        flex: 25%;
    }
}
