:root {
    /* colours for light theme (dark theme coming soon) */
    --primary: rgb(183, 0, 255);
    --secondary: rgb(233, 152, 247);
    --tertiary: rgb(243, 229, 245);
    --background: #FFFFFF;

    --on-primary: #FFFFFF;
    --on-secondary: #FFFFFF;
    --on-tertiary: rgb(84, 75, 84);
    --on-background: rgb(30, 20, 30);
    
    --on-background-hover: rgb(84, 75, 84);

    --translucent: rgba(255, 255, 255, 0.7);
    --translucent-primary: rgba(183, 0, 255, 0.7);
    --dark-primary: rgb(153, 0, 225);
    --light-primary: rgb(200, 20, 255);

    --header-height: 80px; /* this is 100vh when using mobile */
    --header-width: 100%;
    --header-border-radius: 0px;
    --header-margin: 0px;
    --header-color: var(--translucent);
    --header-shadow-size: 0px;
    --header-shadow-color: transparent;

    /* old colour palette
    --navy: #114084;
    --blue: #3b90ff;
    --light-blue: #4fa3df;
    --light-light-blue: #a9dbff;
    --light-ish-blue: rgb(112, 191, 255);

    --white: #f1f1f1;
    --gray: #808080;
    --black: #1c1c1c;
    --transparent-white: rgba(240, 240, 240, 0.5);
    --transparent-blue: rgba(27, 145, 255, 0.8);
    */
}

html, body {
    margin: 0;
    padding: 0;
    background-color: var(--background);
    font-family: Quicksand;
}

#header {
    width: var(--header-width);
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--header-color);
    filter: drop-shadow(0 0 var(--header-shadow-size) var(--header-shadow-color));

    display: flex;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--header-border-radius);
    margin: var(--header-margin);
    transform: translateZ(10);
    
}

.width-limiter {
    width: 100%;
    max-width: 1200px;
}

.vertical-center {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
    max-width: 1200px;
}

#logo {
    position: relative;
    left: 0;
    margin-left: 20px;
    color: var(--primary);
    font-weight: bold;
    font-size: 20pt;
    width: 15%;
}

#heading-area {
    position: relative;
    left: 15%;
    height: 100%;
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#headings {
    display: flex;
    justify-content: space-evenly;
}

.heading {
    font-size: 16pt;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    padding: 10px; /* helps for hover/actions */
    color: var(--on-background);

    transition-duration: 150ms;
}
.heading:hover {
    color: var(--on-background-hover);
    transition-duration: 150ms;
}

#heading-menu { /* for mobile/narrow screens */
    position: absolute;
    left: 0;
    margin-left: 10px;
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.heading-menu-l {
    background-color: var(--on-primary);
    height: 4px;
    border-radius: 2px;
}

#heading-menu-l1 {
    width: 30px;
    margin-top: 5px;
}

#heading-menu-l2 {
    width: 40px;
}

#heading-menu-l3 {
    width: 30px;
    margin-bottom: 5px;
}

#heading-menu-list {
    --js-opacity: 0;
    --js-display: none;
    opacity: var(--js-opacity);
    display: var(--js-display);
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    position: fixed;
    top: -10px;
    left: -10px;
    padding: 0;
    width: 100vw;
    height: 100dvh; /* !!! */
    background-color: var(--primary);
    margin: 0px;
    transition-duration: 150ms;  
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(30px);
    transform: translateZ(0);
}

.menu-heading {
    font-size: 25pt;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    padding: 10px; /* helps for hover/actions */
    color: var(--on-primary);

    transition-duration: 150ms;
}
.menu-heading:hover {
    filter: drop-shadow(0 0 10px var(--on-primary));
    transition-duration: 150ms;
}

.header-spacer {
    height: 80px;
    width: 100%;
}

.section {
    padding: 40px 0px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.center-section {
    width: 100%;
    max-width: 1200px;
}

.center-content {
    display: flex;
    justify-content: center;
    width: 100%;
}

.title {
    font-size: 40pt;
    text-align: center;
    font-weight: bold;
    color: var(--on-background);
    margin: 0 10px;
}

.sub-title {
    font-size: 30pt;
}

.text {
    margin: 0 10px;
    font-size: 14pt;
}

.center-text {
    text-align: center;
}

.extra-margin {
    margin: 20px;
}

.hmargin {
    margin: 0 20px;
}

#image1 {
    margin: 40px;
    width: 40%;
}

#logo {
    width: 50px;
    background-image: url("app_icon_light.png");
}

.service-container {
    width: calc(100% - 40px);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.service {
    margin: 20px;
    min-width: 300px;
    flex-basis: 45%;
    flex-grow: 1;
    flex-shrink: 0;
    /*height: 400px;*/
    border-radius: 30px;
    /*background-color: var(--blue);/* not sure if border design is that good tbh
    border-style: solid;
    border-width: 3px;
    border-color: var(--blue); */
    background-image: linear-gradient(to bottom right, var(--dark-primary), var(--light-primary));
}

.service-title {
    padding: 40px;
    font-size: 20pt;
    font-weight: bold;
    color: var(--on-primary);
}

.service-description {
    padding: 40px;
    padding-top: 0;
    font-size: 14pt;
    font-weight: 500;
    color: var(--on-primary);
}

#footer {
    background-color: var(--primary);
}

.footer-container {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}

.left-footer {
    width: 30%;
}

.footer-title {
    font-size: 14pt;
    color: var(--on-primary);
    font-weight: 400;
    margin-bottom: 10px;
}

.footer-text {
    font-size: 12pt;
    color: var(--on-primary);
    font-weight: 400;
}

.socials-container {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
}

.socials-icon {
    height: 25px;
}

#contact-title {
    margin-bottom: 10px;
}

#copyright {
    margin-top: 60px;
    margin-left: 30px;
    margin-right: 30px;
    text-align: center;
}









/* screen size queries */
@media only screen and (max-width: 600px) { /* narrow view */
    #heading-area {
        display: none;
    }
    :root {
        --header-height: 70px;
        --header-width: 70px;
        --header-border-radius: 50%;
        --header-margin: 10px;
        --header-color: var(--primary);
        --header-shadow-size: 2px;
        --header-shadow-color: var(--on-background);
    }
}
@media only screen and (min-width: 601px) { /* wide view */
    #heading-menu {
        display: none;
    }
    #heading-menu-list {
        --js-display: none;
    }
}