@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/*============================================
STYLES INITIALISATION - FONT AND COLOUR PALLETE
============================================*/
:root {
    /* note-to-self, use var(--primary) to access colours */ 
    --primary-dark: #183B4E;
    --primary: #27548A;
    --secondary: #DDA853; /* FBA834 */
    --black: #353535; 
    --white: #FAFAFA; 
    --grey:#cec9be;
    --dark-grey: #757575;
}

* {
    font-family: "Open Sans", sans-serif;
    margin: 0px;
    /* overflow-x: hidden; */
}

body {
    background-color: var(--white);

}

.highlight{ 
    color: var(--secondary);
    font-weight: bold;
}

/*============================================
                NAVIGATION
============================================*/
nav {
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary);
    height: 70px;
    width: 100%;
    z-index: 100;
     /* ensure it is always on top */
    /* border: 1px solid var(--grey) */
}

nav img {
    width: 50px;
    object-fit: contain;
}

nav h1 {
    display: inline;
    color: var(--white);
    padding-left: 10px;
}

nav a {
    color: var(--white);
    font-size: 1.1em;
    text-decoration: none;
    margin-right: 20px;
    padding: 10px 15px;
    transition: all 0.2s ease-in-out;
}

nav a:hover {
    color: var(--secondary);
    transition: all 0.2s ease-in-out;
}

.nav-login {
    background-color: var(--primary-dark);
    margin-left: 15px;
    border-radius: 10px;
}

.nav-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    text-decoration: none;
    margin: 10px;
}

.nav-right{

    display: flex;
    justify-content: flex-end;
    align-items: center;
   margin: 10px;
}

@media only screen and (max-width: 950px ){
    .nav-left, .nav-right{
        margin: 0px;
    }
}

/* @media only screen and (max-width: 950px) {
    nav {
        flex-direction: column;
        height: 120px;
        padding: 10px;
    }
    /* .nav-left { 
        margin: 0px 10px; 
    } /*

    .nav-right { 
        margin: 0px 10px;
        justify-content: space-around;
    }

    nav a {
        margin: 0px;
    }
    

} */


/*============================================
            WEBSITE FOOTER
============================================*/
.footer {
    background-color: var(--primary);
    display: flex;
    flex-direction: row;
    padding: 50px 100px 0px;
}


.footer-title img {
    width: 50px;
    object-fit: contain;
    display: inline;

}

.footer-title h1 {
    color: var(--white);
    padding-left: 10px;
    margin: 0px;
}

.footer-title>p {
    color: var(--grey);
    margin: 15px;
    font-weight: bold;
}

.footer-title>a img {
    width: 120px;
    height: 40px;
    object-fit: cover;
    margin: 15px;
    display: block;
}

.footer-product, .footer-company, .footer-social {
    margin: 20px 50px;
}

.footer-product>h2, .footer-company>h2, .footer-social>h2 {
    color: var(--white);
}

.footer-product a, .footer-company a, .footer-social>a {
    display: block;
    color: var(--grey);
    text-decoration: none;
    margin: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    background-color: var(--primary);
   
}

.footer-bottom img, .footer-bottom p {
    margin: 15px;
    opacity: 0.5;
}

@media only screen and (max-width: 950px) {
    .footer {
        flex-wrap: wrap;
        padding: 50px 15px 0px;
    }
}