*, *::before, *::after{
    margin:0;
    padding:0;
    box-sizing: border-box;
}
html{
    font-size: 16px;
    font-family: Helvetica;
}
:root {
    --bar-width: 60px;
    --bar-height: 8px;
    --hamburger-gap: 6px;
    --foreground: #3D368C;
    --background: white;
    --hamburger-margin: 8px;
    --animation-timing: 200ms ease-in-out;
    --hamburger-height: calc(var(--bar-height) * 3 + var(--hamburger-gap) * 2);
  }


/* General Container Syles */
header{
    width: 100%;
    margin: 0 auto; /*Center align */
}
/* header */
header{
    display: flex;
    align-items: center;
    height: 7.5rem;
    justify-content: space-between;
    border-bottom-style: solid;
    border-color: #3D368C;
}

.headerLeft{
    display: flex;
    max-height: 100%;
    max-width: 17%;
}
.headerLeft img{
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; /*To make sure the object maintains aspect ration*/
} 
.headerMiddle{
    display: flex;
    max-height: 100%;
    max-width: 100%;
}
.headerMiddle img{
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; /*To make sure the object maintains aspect ration*/
}
.headerRightDesktop ul{
    display: flex;
    gap: 1.5rem; /*To add spacing between elements*/
    list-style-type: none;
    margin-right: 2rem;
    margin-top: 2rem;
}
.headerRightDesktop ul li a{
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    color: #3D368C;
    transition: color 0.3s ease; /* Smooth transition */
}
/* Hover effect */
.headerRightDesktop ul li a:hover {
    color: #E84F2F; /* Change to your desired hover color */
}
.headerRightMobile{
    display: none;
}
/*Main body*/
.MainBody {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Adjust as needed */
}
.MainBody p {
    width: 100%;
    font-size: 2rem;
    font-weight: bold;
    color: #3D368C;
    text-align: center;
   
}

/*menu html*/
main {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}
.responsive-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Mobile */
@media only screen and (max-width: 750px){/*600px*/
    /* Header */
    .headerRightDesktop{
        display: none
    }
    .headerRightMobile{
        display: flex;
        flex-direction: column;
    }
    /*Sidebar stuff*/
    .sidebar{
        position: fixed;
        top: 7.5rem;
        left: 0;
        width: 100vw;
        height: calc(100vh - 7.5rem); 
        background-color: #3D368C;
        display: none;
        z-index:1;
        /*center content*/
        flex-direction: column;
        align-items: center;
        justify-content: center;

    }
    .sidebar nav {
        display: flex;
        flex-direction: column;
        gap: 3rem; /* Adjusts vertical spacing between items */
    }
    .sidebar nav div a{
        text-decoration: none; /*removes the underline */
        font-size: 3.5rem;
        color: white;
        transition: color 0.3s ease;
    }
    /* Hover effect */
    .sidebar nav div a:hover {
        color: #E84F2F; /* Change to your desired hover color */
    }
    /*Hidding checkbox*/
    input[type="checkbox"]{
        display:none;
    }
   /*Hamburger Menu Container*/
   .hamburger-menu {
    position: relative;
    width: var(--bar-width);
    height: var(--hamburger-height);
    cursor: pointer;
   }

    /* Hamburger Bars */
    .hamburger-menu::before,
    .hamburger-menu::after,
    .hamburger-menu span {
        content: "";
        position: absolute;
        left: 0;
        width: var(--bar-width);
        height: var(--bar-height);
        background-color: var(--foreground);
        border-radius: var(--bar-height);
        transition: all var(--animation-timing);
        transform-origin: center;
    }

    /* Top Bar */
    .hamburger-menu::before {
        top: 0;
    }

    /* Middle Bar */
    .hamburger-menu span {
        top: calc((var(--hamburger-height) - var(--bar-height)) / 2);
    }

    /* Bottom Bar */
    .hamburger-menu::after {
        bottom: 0;
    }


    /* Transformations when Checked */
    input[type="checkbox"]:checked + .hamburger-menu::before {
        transform: translateY(calc(var(--hamburger-height) / 2 - var(--bar-height) / 2)) rotate(45deg);
    }

    input[type="checkbox"]:checked + .hamburger-menu::after {
        transform: translateY(calc(-1 * (var(--hamburger-height) / 2 - var(--bar-height) / 2))) rotate(-45deg);
    }

    input[type="checkbox"]:checked + .hamburger-menu span {
        opacity: 0;
    }
    /*To make sidebar appear*/
    input[type="checkbox"]:checked ~ .sidebar {
        display: flex; /* Show the sidebar when the checkbox is checked */
    }



}