html {
    font-family:'DM Sans';
    font-weight: 250;
    overflow-x: hidden;
}
body {
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
:root {
    --sg-red: #CF383D;
    --sg-blue: #0360A7;
    --background: #FFFFFF;
    --background-tint: #F6F7F9;
    --faded:#E6EAF0;
    --grey:#D9D9D9;
    --flex-row: row;
    --flex-column: column;
}
:focus-visible {
    outline: var(--sg-blue) auto 1px;
}
::file-selector-button {
    display: none;
}

@font-face {
    font-family: 'DM Sans';
    src: url('./fonts/DM_Sans/DMSans-VariableFont_opsz,wght.ttf') format('truetype');
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('./fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-style: normal;
}
@font-face {
    font-family: 'DM Sans Thin';
    src: url('./fonts/DM_Sans/DMSans-ExtraLight.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}
a:hover {
    cursor: pointer;
    color: var(--sg-blue);
}
a.selected {
    font-weight: bold;
    color: var(--sg-blue);
}
a#data-insights, a#asset-protection, a#information-displays {
    transform: translateY(-5em);
}
#about-robust {
    background-position-y: 35%;
}
button > a {
    width: 100%;
    height: 100%;
}
.btn-group {
    width: 70%;
    margin: 16px;
}

.btn {
    border-radius: 5em;
    padding:10px 20px;
    font-family: 'DM Sans';
    font-weight: 600;
    width: fit-content;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn.primary, .btn.filled {
    background-color: var(--sg-red);
    color: white;
    border: 2px solid var(--sg-red);
}
.btn.secondary, .btn.hollow {
    background-color: white;
    color: var(--sg-blue);
    border: 1px solid var(--sg-blue);
}
#btn-send-message {
    width: 100%;
}
.btn.primary::after {
    content: "Talk to our team";
}
.btn.secondary::after {
    content: "View solutions";
}
.btn.secondary:hover, .btn.hollow:hover {
    background-color: var(--sg-blue);
    color: white;
}
.btn.primary:hover, .btn.filled:hover {
    background-color: white;
    color: var(--sg-red);
    border: 2px solid var(--sg-red);
}
#btn-contact-separate {
    margin: 0 1em;
}
.btn:hover {
    cursor: pointer;
}
.burger-container {
    display: none;
}
.burger:hover {
    cursor: pointer;
}
#contact-title {
    text-align: center;
}
#contact-title h1 {
    color: var(--sg-blue);
}
#contact-btns {
    justify-content: center;
}
#contact-btns > div {
    margin: 0 1em;
}
.container {
    padding:3em;
    align-content: center;
    display:flex;
    justify-content: center;
}
.container.grow {
    flex-grow: 1;
}
.container:nth-child(even) {
    background-color: var(--background);
}
.container:nth-child(odd) {
    background-color: var(--background-tint);
    box-shadow: 0px 0px 5px #DDD;
}
.container.hide {
    min-height: 1px;
    padding:0px;
}

.content {
    flex:1;
    justify-content: space-around;
}
.content.horizontal {
    display: flex;
    flex-direction: row;
}
.content.horizontal.mobile {
    flex-direction: var(--flex-row);
}
.content.vertical {
    display: flex;
    flex-direction: column;
}
.cropping-img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background-position-x: center;
    background-position-y: top 25%;
    background-size: cover;
    background-repeat: no-repeat;
}
.cropping-img.contain-img {
    background-size: contain;
    background-repeat: no-repeat;
}

#crop-solar-panel {
    background-position-y: top 42%;
}
#crop-solder {
    background-position-y: top 52%;
}
#crop-handshake {
    background-position-y: top 30%;
}
#crop-workers {
    background-position-y: top 50%;
}
#crop-trolley-asset {
    background-position-y: bottom 30%;
    background-position-x: left;
}
#delivery {
    align-items: center;
}
#delivery .content {
    align-items: start;
}
#delivery > .content > .content {
    margin: 1em 3em;
}
.disclaimer {
    font-size: 12px;
    font-weight: 400;
    margin-top: 0.5em;
    justify-content: space-between;
}
.disclaimer a {
    color: var(--sg-blue);
    text-decoration: underline;
}
.dotpoint {
    margin-right: 5px;
}

footer {
    background-color: var(--background-tint);
    align-items: center;
    font-size: 14px;
}
.footer-logo {
    margin:0 2em;
    flex:2;
}
.footer-logo > div {
    padding: 1em;
}
.footer-logo > .footer-logo-container {
    padding: 2em 1em;
}
.footer-hide {
    flex: 0;
}
#form-input-container > .content {
    justify-content: start;
}


h1 {
    color: var(--sg-blue);
    font-family: 'Montserrat';
    font-weight: bold;
    font-size: 56px;
}
h2 {
    color: var(--sg-blue);
    font-family: 'Montserrat';
    font-weight: bold;
}
h3 {
    color: var(--sg-blue);
    font-family: 'Montserrat';
    font-weight: bold;
}
.half-img {
    margin:0 3em;
}
header {
    display: flex;
    align-items: center;
    padding:1em 5vw;
    position: sticky;
    top:0;
    background-color: var(--background);
}
.header-links { 
    align-content: center;
    margin-right: 2em;
}
.header-links a {
    margin: 5px;
}
.header-right {
    justify-content: end;
}
.header-right > .content.horizontal{
    justify-content: end;
}
.hero-group .btn {
    margin-left: 2em;
}
#hero-btns {
    justify-content: flex-start;
}
#homepage-melbourne-tram-stop {
    background-position-y: 40%;
}
#homepage-hero , #solutions-hero, #about-hero {
    background-position-y: top 25%;
    padding: 0;
    background-position-x: 30%;
}
#homepage-hero > .content, #solutions-hero > .content, #about-hero > .content {
    padding: 3em;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.8) 20%, rgba(255, 255, 255, 0.4) 40%, transparent);
}
.input {
    border: none;
    background-color: var(--faded);
    padding: 12px;
    flex:1;
    margin-bottom: 1.5em;
    font-family: 'DM Sans';
    border-radius: 5px;

}
.input::placeholder, label {
    color: black;
    text-align: left;
    font-size: 12px;
    font-weight: 400;
}
.input:focus-visible::placeholder {
    color: var(--sg-blue);
}
.input:nth-child(even) {
    margin-left: 3em;
}
#input-message {
    min-height: 10lh;
}
label {
    height: 100%;
}
.logo {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
}
.logo-container {
    flex: 0.4
}

#mission-statement {
    display: flex;
    justify-content: center;
    align-items: center;
    height:100%;
    text-align: center;
}
#mission-statement p {
    width: 75%;
}
.monikor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.no-background-title {
    color: var(--sg-blue);
    text-shadow: none;
}
a.privacy-link {
    color: var(--sg-blue) !important;
    text-decoration: underline;
}
a.privacy-link:hover {
    cursor: pointer;
}
.privacy-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 300px;
    z-index: 1000;
    margin-bottom: 10px;
}
.privacy-popup-content {
    background-color: white;
    border-radius: 8px;
}
.privacy-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--faded);
}
.privacy-popup-header h2 {
    margin: 0;
    color: var(--sg-blue);
    font-size: 18px;
}
.privacy-popup-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--grey);
    line-height: 1;
    padding: 0;
    width: 24px;
    height: 24px;
}
.privacy-popup-close:hover {
    color: var(--sg-blue);
}
.privacy-popup-body {
    padding: 15px;
}
.privacy-popup-body p {
    margin: 0;
    line-height: 1.5;
    color: #333;
    font-size: 14px;
}
.process-card {
    margin: 0 10px;
}
.process-card h3 {
    margin:0;
    min-height: 2lh;
    display: flex;
    align-items: flex-end;
}
.process-card p {
    min-height: 2lh;
    flex-grow:1;
}
#process-container {
    margin:0 2em;
}
.process-number {
    color: var(--faded);  
    font-weight: 700;
    font-size: 40px;
}

#products {
    width: 100%;
    margin-top: 2em;
}
.product-card {
    width: 25%;
    padding:10px;
    text-align: center;
    border-radius: 10px;
    background-color: #FFFFFF;
    box-shadow: 1px 1px 5px #DDD;
}
.product-card h3, .product-card p {
    min-height: 2lh;
    margin: 0;
    align-content: center;
}
.product-card > div {
    height: 100%;
}
.product-card img {
    aspect-ratio: 1/1;
    object-fit: cover;
    margin: 1em 2em;
    max-height: 50vh;
}

#solution-message p {
    width: 70%;
}
#solutions-sustainability {
    background-position-y: 65%;
}
#solutions-hero {
    background-size: cover;
    background-position-y: 50%;
    background-position-x: 65%;
}
.solution-link {
    color: var(--sg-blue);
    font-weight: 400;
    margin: 10px 0;
}
.split-view {
    align-items: stretch;
    max-width: 100em;
}
.split-view div {
    justify-content: start;
}
.text-slab {
    text-align: center;
    align-items: center;
}
.text-slab img {
    width:64px;
}
.text-slab b {
    font-weight: 600;
    font-size: 20px;
}

.text-side-inner {
    margin: 0 1em;
}
.text-side-inner > div > div {
    justify-content: start;
}
.thinline > .content {
    max-width: 150vh;
}
.tighten {
    width: auto;
    height: 100%;
    align-items: center;
    display: flex;
}
#tram-content div {
    margin-top: 1em;
}
.value-box {
    background-color: var(--grey);
    border-radius: 10px;
    flex: 1;
    margin: 1em;
    text-align: center;
    border: 1px var(--sg-red) solid;
    align-content: center;
    padding: 1em;
}

@media (max-width: 450px) {
    #hero-btns {
        flex-direction: column;
    }
    #hero-btns > .btn {
        width: 100%;
        margin-left: 0;
    }
    .hero-group > #hero-btns > .btn.primary {
        margin-bottom: 1em;
    }
}

@media (max-width: 1000px) {
    .thinline > .content {
        max-width: 1000vh;
    }
    :root {
        --flex-row: column;
        --flex-column: column;
    }
    #hero-btns > .btn.primary {
        margin-bottom: 0;
        margin-left: 0;
    }
    .btn.primary {
        margin-bottom: 1em;
    }
    
    .btn-group {
        width: 100%;
    }
    .btn-group > button {
        width: 100%;
        margin-left: 0;
    }
    .btn.mobile {
        width: 100%;
    }
    .burger-container {
        display: flex;
        flex:0;
        margin-right:10px;
    }
    .burger-container[open] > .burger {
        transform: translate(0,0);
    }
    .burger-container[open] > .burger.top {
        rotate: 45deg;
        transform: translate(0px,0px);
    }
    .burger-container[open] > .burger.middle {
        rotate: -45deg;
        transform: translate(0px,0px);
    }
    .burger-container[open] > .burger.bottom {
        rotate: 45deg;
        transform: translate(0px,0px);
    }
    .burger {
        display: block;
        position:absolute;
        transition: all;
        transition-duration: 0.5s;
    }
    .burger.middle {
        transform: translateY(-5px);
    }
    .burger.top {
        transform: translateY(5px);
    }
    .container {
        padding: 2em;
    }
    .content.split-view.mobile.reverse {
        flex-direction: column-reverse;
    }
    .cropping-img {
        height: 30vh;
    }
    footer {
        text-align: center;
    }
    h1 {
        font-size: 48px;
    }
    .half-img {
        margin: 0;
    }
    header {
        padding: 2vh 5vw;
    }
    .header-links {
        display: flex;
        flex-direction: column;
    }
    .header-right .btn.primary {
        margin: 1em 0;
    }
    .header-right.content.horizontal {
        justify-content: start;
        transition: allow-discrete all;
        transition-duration: 0.2s;
        transition-delay: 0.1s;
        transform: translate(100vw, 5vh);
        position: absolute;
        width: 0px;
        height: 100vh;
        background-color: var(--background);
    }
    .header-right.content.horizontal[open] {
        visibility: visible;
        width: 100%;
        display: flex;
        transform: translate(0vw, 5vh);
        font-size: 2em;
        background-color: #444444AA;
        align-items: end;

    }
    .header-right > * {
        padding: 3vh 5vw;
        display: none;
        background-color: white;
        width: 80%;
    }
    .header-right > .content.horizontal{
        justify-content: start;
        display: none;
    }
    .header-right[open] > .content.horizontal {
        display: flex;
    }
    #homepage-hero > .content, #solutions-hero > .content{
        background-image: linear-gradient(deg,rgba(255, 255, 255, 0.5), transparent 750px);
    }
    .input:nth-child(even) {
        margin-left: 0;
    }
    footer .logo {
        height: 3vh;
        background-position: center;
    }
    .logo-container {
        height: 3vh;
        flex: 2;
    }
    .product-card {
        width: auto;
    }
    .product-card:nth-child(even) {
        margin: 1em 0;
    }
    #solution-message p {
        width: 100%;
    }
    #solution-a-links .btn {
        width: 100%;
    }
    #solution-a-links a:nth-child(even) {
        margin: 1em 0;
    }
}