@import url('https://fonts.googleapis.com/css2?family=Wix+Madefor+Display:wght@400..800&display=swap');

.wix-madefor-display{
    font-family: "Wix Madefor Display", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

*{
margin: 0;
padding: 0;
font-optical-sizing: auto;
font-family: "Wix Madefor Display", sans-serif;
}

:root{
    --lighttext: rgb(0, 0, 0);
    --darktext: rgb(255, 255, 255);
}

body{
    margin: 0;
    padding: 0;
    height: 120vh;
    display: block;
    background-color: white;
    position: relative;
}
body::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(lightbg.JPG);
    background-repeat: no-repeat;
    background-size: cover;
    filter: contrast(1.1) blur(1px);
    z-index: -1;
}

header{
    width: 100%;
    height: 60px;
    display: block;
}

.navbar{
    height: 40px;
    width: 200px;
    padding-top: 10px;
    display: flex;
    align-items: center;
    border-bottom: 3px dashed var(--lighttext);
}

.navbar .icon{
    display: flex;
    position: sticky;
    justify-content: flex-start;
    width: 100%;
    padding-left: 30px;
    margin-right: auto;
}

.navbar .icon .headtitle{
    color: var(--lighttext);
    font-size: 30px;
    font-weight: 900;
}

.navbar .menu{
    position: absolute;
    display: flex;
    width: 100%;
    justify-content: center;
    margin-left: 50%;
    margin-right: 50%;
    transform: translateX(-50%);
}

.navbar .menu ul, li{
    display: flex;
    list-style: none;
    gap: 30px;

}

.navbar .menu ul li a{
    text-decoration: none;
    color: var(--lighttext);
    font-size: 16px;
    font-weight: 700;
}

.navbar .menu ul:hover li a{
    filter: blur(1px);
}

.navbar .menu ul li a:hover{
    scale: 1.1;
    color: var(--lighttext) !important;
    filter: blur(0px) !important;
}

.navbar .modeswitch{
    position: absolute;
    display: flex;
    width: 100px;
    justify-content: flex-end;
    right: 30px;
    color: var(--lighttext);
}

.navbar .modeswitch a{
    font-size: 15px;
    font-weight: 600;
    margin: 0 5px;
    cursor: pointer;
}

.navbar .modeswitch .lightbtn{
    font-weight: 700;
    filter: brightness(1);
}

.navbar .modeswitch .darkbtn{
    font-weight: 300;
    filter: brightness(.5);
}


main{
    display: flex;
    width: 100%;
    height: 70%;
    align-items: center;
    justify-content: center;
}

.container{
    display: block;
    width: 500px;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 50vh;
}

.title{
    width: 100%;
    display: block;
    color: var(--lighttext);
}

.subtitle{
    padding-top: 30px;
    width: 100%;
    display: block;
    color: var(--lighttext);
}


/* DarkModeCSS */

.dark{
    --lighttext: var(--darktext);
}

body.dark{
    margin: 0;
    padding: 0;
    height: 120vh;
    display: block;
    background-color: black;
    position: relative;
}
body.dark::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(darkbg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    filter: contrast(1.1) blur(1px);
    z-index: -1;
}


.dark .navbar .modeswitch .lightbtn{
    font-weight: 300;
    filter: brightness(.5);
}

.dark .navbar .modeswitch .darkbtn{
    font-weight: 600;
    filter: brightness(1);
}