.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);
}

/* Homepage */
/* ------------------------------------------------------- */
.banner {
    grid-column: 1 / 13;
    grid-row: 1;
    /* Background */
    position: relative;
    background-image: url("/img/banner-img-1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    min-height: 500px;
    /* Sub Grid */
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(5, 1fr);
}
.banner > div {
    grid-column: 2 / 10;
    grid-row: 2 / 6;
}

/* .home-content1 > span:nth-child(2) {
    grid-column: 2 / 7;
    grid-row: 2 / 3;
    border: 2px solid cyan;
} */

/* Sponsor */
/* ------------------------------------------------------- */
.sponsor {
    grid-column: 1 / 13;
    grid-row: 2;
    /* Background */
    position: relative;
    background-image: url("/img/background-sponsor.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    min-height: 500px;
    /* Sub Grid */
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.sponsor-container > div {
    width: auto;
    margin: 10px;
}

.sponsor-container > div:nth-child(4) {
    width: 80%;
    margin: 10px;
    text-align: center;
    color: #fff;
}

/* products */
/* ------------------------------------------------------- */
.products {
    grid-column: 1 / 13;
    grid-row: 3;
    padding: 100px 0;
    /* Background */
    position: relative;
    background-color: #f9faff;
    background-repeat: no-repeat;
    /* Sub Grid */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.products > div:first-child {
    width: 100%;
    margin: 10px;
    text-align: center;
    background-color: none;
    box-shadow: none;
    background-color: none !important;
}

.products > div:not(:first-child) {
    width: 35%;
    margin: 10px;
    text-align: center;
    border-radius: 15px;
    padding: 40px;
    background-color: #fff;
    box-shadow: 0px 0px 22px -15px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 0px 0px 22px -15px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 22px -15px rgba(0, 0, 0, 0.75);
    cursor: pointer;
    position: relative;
}

.products > div:hover:not(:first-child) {
    background-color: #eafbff;
}

.products > div:not(:first-child) > a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Contact */
/* ------------------------------------------------------- */
.contact {
    grid-column: 1 / 13;
    grid-row: 4;
    /* Sub Grid */
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 100px 1fr 100px;
    background-color: #f9faff;
}
.contact-background {
    grid-column: 1 / 13;
    grid-row: 2 / 3;
    /* Background */
    position: relative;
    background-image: url("/img/background-contact.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    min-height: 500px;
    z-index: 1;
}

.contact-left {
    grid-column: 2 / 8;
    grid-row: 1 / 4;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    z-index: 2;
    /* border: 1px solid blue; */
}

.contact-right {
    grid-column: 8 / 12;
    grid-row: 1 / 4;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    z-index: 2;
    /* border: 1px solid green; */
}

.contact-right > div {
    padding: 50px;
    border-radius: 10px;
    background-color: #202a5d;
    /* border: 1px solid green; */
}

/* Footer */
/* ------------------------------------------------------- */
.footer-content {
    grid-column: 1 / 13;
    grid-row: 1;
    background-color: #f9faff;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 1 / 2;
}

.footer-menu {
    grid-column: 2 / 6;
    grid-row: 1 / 2;
    text-align: left;
    margin-top: 50px;
    padding: 50px 0;
    border-top: 1px solid #c7c8cc;
}
/* .footer-social {
    grid-column: 2 / 12;
    grid-row: 2 / 3;
    text-align: center;
    border: 1px solid red;
} */
.footer-copyright {
    grid-column: 6 / 12;
    grid-row: 1 / 2;
    text-align: right;
    margin-top: 50px;
    padding: 50px 0;
    border-top: 1px solid #c7c8cc;
}

/* --------------------------------------------------------------------------------- */
/* DIV STYLE */
/* --------------------------------------------------------------------------------- */
@media screen and (max-width: 970px) {
    .products > div:first-child {
        width: 80%;
        margin: 10px;
    }

    .products > div:not(:first-child) {
        width: 60%;
    }
}

/* --------------------------------------------------------------------------------- */
/* DIV STYLE */
/* --------------------------------------------------------------------------------- */
@media screen and (max-width: 480px) {
    .banner {
        background-position: 60% 40%;
    }
    .sponsor-container {
        padding: 50px;
    }

    .sponsor-container > div:nth-child(4) {
        width: 70%;
        margin: 10px;
    }

    .products > div:first-child {
        width: 70%;
        margin: 10px;
    }

    .products > div:not(:first-child) {
        width: 70%;
        padding: 20px;
    }

    .contact {
        grid-column: 1 / 13;
        grid-row: 4;
        /* Sub Grid */
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: auto 1fr;
        background-color: #f9faff;
    }
    .contact-background {
        grid-column: 1 / 13;
        grid-row: 1 / 3;
    }

    .contact-left {
        grid-column: 2 / 12;
        grid-row: 1 / 2;
        margin: 50px 0;
        justify-content: center;
        text-align: center;
    }

    .contact-right {
        grid-column: 2 / 12;
        grid-row: 2 / 3;
        margin-bottom: 50px;
    }

    /* Footer */
    /* ------------------------------------------------------- */
    .footer-content {
        grid-column: 1 / 13;
        grid-row: 1;
        background-color: #f9faff;
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: 50px 50px;
    }

    .footer-menu {
        grid-column: 2 / 12;
        grid-row: 1 / 2;
        text-align: center;
        border-top: 1px solid #c7c8cc;
    }

    .footer-copyright {
        grid-column: 2 / 12;
        grid-row: 2 / 3;
        text-align: center;
        border-top: none;
    }
}
