:root{
    /* Colours */
    --primary-color: #14B0CD;
    --secondary-color: #0A5A6A;
    --tertiary-color: #F47C20;
    --background-color: #f5f5f5;
    --footer-text-color: #ffffff;


    /* #725ac1 secondary  */
    /* #8d86c9 third */

    --text-color: black;

    /* Typography */
    --fontfamily-primary : "Inter", sans-serif;

    /* Font Size */
    --fs-100 : 0.75rem;
    --fs-200 : 0.875rem;
    --fs-300 : 1rem;
    --fs-400 : 1.125rem;
    --fs-500 : 1.5rem;
    --fs-600 : 2rem;
    --fs-800 : 2.5rem;
    --fs-1000 : 3rem;
    --fs-1200 : 3.5rem;
    --fs-1400 : 4rem;

    /* Font weight */
    --fw-sm : lighter ;
    --fw-md : normal;
    --fw-lg : bold;
    --fw-xl : bolder;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Widths */
    --container-width: 1200px;

    /* Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;

}

*,
*::before,
*::after{
    box-sizing: border-box;
}

*{
    margin: 0;
    padding: 0;
}

img,
picture,
video,
canvas,
svg{
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select{
    font: inherit;
}


.site-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 10;
    overflow: visible;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.site-header1{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-color: rgba(10, 14, 18, 0.45);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    position: sticky;
    top: 0;
    z-index: 10;
    overflow: visible;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

body{
    min-height: 100vh;
    display: flex; 
    flex-direction: column;
    line-height: 1.5;

    color: var(--text-color);
    font-family: var(--fontfamily-primary);
    font-size: var(--fs-300);
    line-height: 1.6;
}

main{
    flex: 1;
    background-color: var(--background-color);
}

footer{
    flex-shrink: 0;
    background-color: var(--secondary-color);
    padding: var(--space-sm);
    font-weight: var(--fw-sm);
    font-size: var(--fs-100);
    color: var(--footer-text-color);
}


button{
    border: none;
    background: none;
    cursor: pointer;
}

ul,li{
    list-style: none;
}

nav ul{
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    gap: 2rem;
}

nav li{
    display: flex;
    align-items: center;
}

a:hover{
    opacity: 0.8;
}


a{
    text-decoration: none;
    display: flex;
    align-items: center;
    /* color: var(--text-color); */
    transition: opacity 0.2s ease;
}

.logo-link{
    text-decoration: none;
    color: var(--text-color);
}

.logo-img{
    height: 75px;
    width: auto;
}

.sidebar{
    position: fixed;
    gap: 2rem;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;

    font-size: 1.5rem;
    font-weight: 500;
    
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    transform: translateY(-100%);

    transition: transform 0.3s ease;
}

.sidebar.active{
    transform: translateY(0);
}

.sidebar a{
    width: 80%;
}

.sidebar li {
    padding-top: 1.5rem;
}

.sidebarLink{
    width: 80%;
}

.sidebarBtn{
    display: none;
}

.hideMobile{
    display: flex;
}

.hamburger{
    display: none;
}

.mainLink{
    color: var(--text-color);
}


.boldText{
    font-weight: var(--fw-lg);
}

.pageHeading{
    margin-top: var(--space-sm);
}

@media (max-width: 820px) {
    
    .hamburger{
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(1){
        transform: translateY(4px) rotate(45deg);
        height: 2px;
    }

    .hamburger.active .bar:nth-child(2){
        transform: translateY(-4px) rotate(-45deg);
        height: 2px;
    }
    
    .bar{
        height: 2px;
        width: 20px;
        background-color: var(--text-color);
        margin: 6px 0;
        opacity: 0.8;

        transition: transform 0.2s ease-in, opacity 0.2s ease-in;
    }

    .hideMobile{
        display: none;
    }

    .sidebarBtn{
        display: flex;
        z-index: 9;
    }

}
