:root {
    --DARK_SEC: rgb(39, 40, 46);
    --DARK_TR: rgba(39, 40, 46, 0.849);
    --LIGHT_SEC: rgb(255, 255, 255);
    --LIGHT_TR: rgba(255, 255, 255, 0.849);
    --TEXT_LIGHTMODE: black;
    --TEXT_DARKMODE: white;
    
    --secondary: var(--LIGHT_SEC);
    --transparent: var(--LIGHT_TR);

    --textcolor: var(--TEXT_LIGHTMODE);

    --primary: #264ea5;

    --shadow: rgba(0, 0, 0, 0.247);
}

.dark-theme {
    --secondary: var(--DARK_SEC) !important;
    --textcolor: var(--TEXT_DARKMODE) !important;
    --transparent: var(--DARK_TR) !important;
}

header {
    display: flex;
    position: fixed;
    flex-direction: row;
    -ms-flex-direction: row;
    padding: 10px 20px;
    height: 100px;
    width: 100%;
    background-color: var(--transparent);
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--shadow);
    backdrop-filter: blur(10px);
    
    transition: .1s all;
    -o-transition: .1s all;
    -moz-transition: .1s all;
    -webkit-transition: .1s all;

    transition-delay: .5s;
    -o-transition-delay: .5s;
    -moz-transition-delay: .5s;
    -webkit-transition-delay: .5s;
    z-index: 1;
} header:hover {
    background-color: var(--secondary);
    transition-delay: 0s;
    -o-transition-delay: 0s;
    -moz-transition-delay: 0s;
    -webkit-transition-delay: 0s;
}

header ul {
    display: flex;
    flex-direction: row;
    -ms-flex-direction: row;
    list-style: none;
}

header a {
    padding: 5px 5px;
    font-size: 18px;
    font-weight: 500;
    color: var(--textcolor);
    text-decoration: none;
} header a:hover {
    color: var(--primary);
}

header ul li {
    padding: 0 10px;
}

header .title {
    color: var(--primary);
    display: block;
    position: absolute;
    left: 100px;
}

header .title h1 {
    font-size: 27px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

header .right {
    display: flex;
    position: absolute;
    right: 100px;
    color: var(--textcolor);
}

header .right a {
    border-radius: 50px;
    padding: 10px 20px;
    border: 1px solid var(--primary);
    margin-left: 10px;
}

header .right button {
    padding: 10px 15px;
    border: none;
    outline: none;
    cursor: pointer;
    background-color: transparent;
    font-size: 20px;
    border-radius: 50px;
    color: var(--textcolor);
} header .right button:hover {
    color: var(--primary);
}

#menuToggle
{
    display: block;
    position: absolute;
    left: 40px;
    margin-top: 3px;
    -webkit-user-select: none;
    user-select: none;
}

#menuToggle a
{
    text-decoration: none;
    color: var(--textcolor) !important;

    transition: color 0.1s ease;
}

#menuToggle a:hover
{
    color: var(--primary);
}


#menuToggle input
{
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    
    cursor: pointer;
    
    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */
    
    -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    
    background: var(--primary);
    border-radius: 3px;
    
    z-index: 1;
    
    transform-origin: 4px 0px;
    
    transition: transform 0.3s cubic-bezier(0.77,0.2,0.05,1.0),
                background 0.3s cubic-bezier(0.77,0.2,0.05,1.0),
                opacity 0.55s ease;
}

#menuToggle span:first-child
{
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
    transform-origin: 0% 100%;
}


#menuToggle input:checked ~ span
{
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: var(--primary);
}


#menuToggle input:checked ~ span:nth-last-child(3)
{
    opacity: 0;
    transform: rotate(0deg);
}


#menuToggle input:checked ~ span:nth-last-child(2)
{
    transform: rotate(-45deg) translate(0, -1px);
}


#menu
{
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 300px;
    height: 150vh;
    margin: -100px 100px 0 -50px;
    margin-top: 33px !important;
    padding: 50px;
    padding-top: 20px;
    background-color: var(--secondary);
    backdrop-filter: blur(10px);
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    border-right: 1px solid var(--shadow);
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    
    transition: transform 0.3s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
    padding: 10px 0;
    font-size: 22px;
}

#menuToggle input:checked ~ ul
{
    transform: none;
}


@media only screen and (max-width: 1200px) {
    .centerbtns {
        display: none !important;
    }
    .right {
        display: none !important;
    }
}