﻿@font-face {
    font-family: "Montserrat";
    src: url('./Fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('embedded-opentype'), /* Internet Explorer */
    url('./Fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('woff2'), /* Super Modern Browsers */
    url('./Fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('woff'), /* Pretty Modern Browsers */
    url('./Fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype'), /* Safari, Android, iOS */
    url('./Fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('svg'); /* Legacy iOS */
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    line-height: 20px;
    background-image: url('Images/Portal/hero.png');
    background-repeat: no-repeat;
    background-position: top right;
}

.content-wrapper {
    flex-grow: 1; /* allow content to take up available space */
}

.content-container {
    margin-left: 135px;
    margin-right: 135px;
    margin-bottom: 80px;
}

.hero-section {
    height: 546px;
}

.hero-section .title {
    position: relative;
    top: 295px;
    font-family: 'roc-grotesk', Arial, sans-serif;
    font-weight: 700;
    font-size: 60px;
    line-height: 64px;
}

.footer {
    background-color: #F4FAFe;
    min-height: 444px;
    margin-top: auto;
}

.footer-content .row1, .footer-content .row2 {
    display:flex;
}

.footer-content .row2 {
    margin-top: 100px;
}

.logo-container {
    width:25%;
    margin-top:60px;
    display: flex;
    flex-direction: column;
}

.footer .logo {
    height: 31px;
    width: 139px;
}

.footer .linkedin-logo {
    margin-top: 20px;
    height: 30px;
    width: 30px;
}

.why-allied-section {
    width:75%;
    margin-top:60px;
}

.why-allied-section .heading {
    font-family: 'roc-grotesk', Arial, sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    margin-top:0;
}

.why-allied-section .why-text {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: 25px;
}

.footer .copyright {
    width: 50%;
    display: flex;
    justify-content: left;
}

.footer .awards {
    width: 50%;
    display: flex;
    justify-content: right;
}

.compliance-awards {
    max-width:280px;
    height:auto;
}

/* --- Responsive --- */

@media only screen and (max-width: 992px) {
    .content-container {
        margin-left: 40px;
        margin-right: 40px;
    }
}

@media only screen and (max-width: 768px) {
    .content-container, .footer-content {
        margin-left: 20px;
        margin-right: 20px;
    }

    .footer-content .row1 {
        flex-direction: column;
    }

    .footer-content .row2 {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .logo-container {
        width: 100%;
        margin-top: 30px;
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    .footer .linkedin-logo {
        margin-top: 0;
    }

    .why-allied-section {
        width: 100%;
        margin-top: 30px;
    }

    .footer .copyright {
        width: 100%;
        justify-content: center;
    }

    .footer .awards {
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }

    .footer-content .row2 {
        margin-top: 40px;
    }

    .hero-section .title {
        font-size: 32px;
        line-height: 38px;
    }
}

@media only screen and (max-width: 576px) {
    .content-container {
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 40px;
    }

    .hero-section .title {
        font-size: 24px;
        line-height: 30px;
    }
}