/* Import CSS Variables */
@import url(../../css/partials/_variables.css);

/* Import CSS Global */
@import url(../../css/partials/_global.css);

/* Import CSS Addons */
@import url(../../css/partials/_addons.css);

/* Import CSS Header */
@import url(../../css/header.css);

/* Import CSS Footer */
@import url(../../css/footer.css);


main {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

main p {
    max-width: 100rem;
    font-size: 15px;
    text-align: justify;
    text-align-last: center;
}

main h1 {
    font-size: 2.5rem;
    text-align: center;
}


main .banner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

main .banner{
    height: auto;
    width: 100%;
    padding-top: 0.5rem;
    transition: transform 0.5s ease;
    margin: 1.5rem;
}

main .banner:hover {
    transform: scale(1.05);
}



main .top-para {
    display: grid;
    grid-template-columns: 50% 50%;
}

main .top-para .lef-div {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

main .top-para .lef-div:hover img {
    transform: scale(1);
}

main .top-para img {
    width: 100%;
    height: auto;
    object-position: center;
    transition: transform 0.5s ease;
}

main .top-para .rig-div {
    height: 100%;
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

main .top-para .parallelogram {
    margin-top: 5%;
    padding: 1rem;
    background-color: var(--color-tertiary-rgba);
    border: solid 2px var(--color-tertiary);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.3);
    transform: skewX(-20deg);
}

main .top-para .parallelogram a {
    color: var(--color-dark);
    font-size: large;
}

main .top-para .parallelogram h1 {
    border-bottom: 2px solid transparent;
    transition: all 200ms linear;
}

main .top-para .parallelogram a:hover h1{
    border-color: var(--color-dark);
}


main .rep-para {
    display: flex;
    flex-direction: column;
    align-items: center;
}

main .rep-para .top-div {
    width: 100%;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--color-secondary);
    gap: 2rem;
}

main .rep-para .bottom-div {
    display: flex;
    justify-content: center;
    max-height: 50rem;
    width: 100%;
    overflow: hidden;
    position: relative;
}

main .rep-para .bottom-div img {
    max-height: 50rem;
    max-width: 100%;
    transform-origin: top center;
    transition: transform 0.8s ease;
}

main .rep-para .bottom-div:hover img {
    transform: scale(3) translateX(10%);
}


main .cus-para {
    display: flex;
    flex-direction: column;
}

main .cus-para img {
    width: auto;
    max-height: 20rem;
    display: block;
}

main .cus-para .lef-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 2rem;
    gap: 2rem;
    background-color: var(--color-tertiary-rgba-l);
}

main .cus-para .leaflet-map {
    z-index: 1;
    height: 40rem;
    width: 100%;
}


/* ============================== Media Query ============================== */

/* Medium devices (landscape tablets, 1800px and up) */
@media only screen and (max-width: 1800px) {
    main p {
        text-align: justify;
    }

    main .top-para {
        display: flex;
        flex-direction: column-reverse;
    }

    main .top-para .parallelogram {
        margin-top: 1rem;
    }

    main .top-para .rig-div {
        height: auto;
        padding: 4rem 2rem;
    }

    main .top-para .lef-div {
        max-height: 50rem;
        width: 100%;
    }
    
    main .top-para .lef-div img {
        width: 100%;
        height: auto;
    }
}

/* Special devices (landscape tablets, 1400px and up) */
@media only screen and (max-width: 1400px) {

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 1024px) {
    main p {
        font-size: 14px;
    }

    main .top-para .rig-div {
        padding: 4rem 1rem;
    }

    main .rep-para .top-div {
        padding: 4rem 1rem;
    }

    main .cus-para .lef-div {
        padding: 4rem 1rem;
    }
}

/* Extra small devices (phones, 413px and down) */
@media only screen and (max-width: 600px) {

}