:root {
    --primary-color: rgb(228, 148, 255);
    --secondary-color: #333;
    --background-color: #EBEBEB;
    --card-color: #ffffffb8;
    --text-color: black;
    --link-color: #84848450;
    --link-hover-color: #84848480;
    --link-active-color: #23232350;
    --header-bg: #F7F7F767;
    --header-obj:#ccccccb3;
    --gradient-start: #D6AAFF;
}
/*dark mode*/
:root.dark {
    --primary-color: rgb(205, 56, 255);
    --secondary-color: #333;
    --background-color: #111;
    --card-color: #333333b8;
    --text-color: white;
    --link-color: #84848450;
    --link-hover-color: #84848480;
    --link-active-color: #ffffff50;
    --header-bg: #33333367;
    --header-obj:#4444448b;
    --gradient-start: hsl(271, 100%, 17%);
}
:root.darkMono {
    --primary-color: rgb(228, 148, 255);
    --secondary-color: #333;
    --background-color: #111;
    --card-color: #333333b8;
    --text-color: white;
    --link-color: #84848450;
    --link-hover-color: #84848480;
    --link-active-color: #ffffff50;
    --header-bg: #33333367;
    --header-obj:#4444448b;
    --gradient-start: #333;
}

/*{
    outline: red dotted;
    font-family: 'Open Sans', sans-serif;
    color: white;
    scroll-behavior: smooth;
}*/

html{
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    scroll-behavior: smooth;

}
body{
    background-color: var(--background-color);
    background-image: linear-gradient(to top, var(--gradient-start), var(--background-color));
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin-top: 80px;
}
ul{
    list-style-type: none;
    overflow: hidden;
}
a{
    text-decoration: none;
    color: var(--text-color);
}
h1{
    margin-top: 10px;
}

.linkorsmth{
    display: block;
    padding: 10px;
    margin-bottom: 5px;
    background-color: var(--link-color);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    align-content: center;
    transition: .3s;
}
.linkorsmth:hover{
    background-color: var(--link-hover-color);
    transform: scale(1.01);
}
.linkorsmth:active{
    background-color: var(--link-active-color);
}
.linkorsmth img{
    float: left;
    max-width: 100%;
    margin-right: 5px;
}


/*grid*/

.gridC{
    min-width: 655px;
    max-width: 80%;
    align-content: center;
    display: grid;
    grid-template-columns: repeat(2, 50%);
    grid-template-rows: repeat(auto-fit, minmax(100px, 1fr));
    padding: auto;
    margin: auto;
}
.gridObjL, .gridObjW{
    height: 300px;
    background-color:var(--card-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    margin: 5px;
    padding: 10px;
    grid-row: span 2;
}
.gridObjW{
    height: 150px;
    grid-row: span 1;
}

#ContextMenu{
    display: none;
    position: fixed;
    background-color: #33333350;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 5px;
}
#ContextMenu button{
    width: 225px;
    height: 40px;
    font-weight: 900;
    color: white;
    background: none;
    border: none;
    text-align: start;
    border-radius: 8px;
}
#ContextMenu button:hover{
    background-color: #33333350;
}
/*header*/
header ul {
    position: fixed;
    /*center*/
    left: 10%;
    top: 10px;
    width: 80%;
    height: 50px;
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    background-color: var(--header-bg);
    background-color:var(--header-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0px 5px 50px 0px #00000050;
    border-radius: 15px;
    -webkit-backdrop-filter: blur(10px);
    font-weight: 800;
    z-index: 1000;
}
.logo{
    width: 50px;
    height: 50px;
    margin: 0px;
}
header li {
    float: left;
    text-align: center;
    padding: 8px 13px;
    border-radius: 10px;
    background-color: var(--header-obj);
    height: 100px;
    max-height: 25px;
    margin: 5px;
    margin-right: 0px;
    transition: .3s;
}
header a {
    text-decoration: none;
    height: 100%;
}
header li:hover {
    background-color: var(--link-color);
}
header .active {
    background-color: var(--link-active-color);
}
header{
    user-select: none;
}