@font-face{
    font-family: "MainFont";
    src: url('../MainFont.woff2') format("woff2");
    font-display: swap;
}
@property --background-colour{
    syntax: '<color>';
    inherits:false;
    initial-value: #02122b;
}
@property --glow{
    syntax: '<color>';
    inherits:false;
    initial-value: rgba(177, 75, 197, 0.521);
}
@property --glow-middle{
    syntax: '<color>';
    inherits:false;
    initial-value: rgba(69, 26, 226, 0.212);
}
@property --accent{
    syntax: '<color>';
    inherits:false;
    initial-value: rgba(40, 219, 181, 0.575);
}
@property --white{
    syntax: '<color>';
    inherits:false;
    initial-value: #F3FCF0; 
}
@property --subwhite{
    syntax: '<color>';
    inherits:false;
    initial-value: #90a5d3; 
}

html{
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}
body {
    background-color: var(--background-colour);
    overflow-x: hidden;
    
}

/* Scrollbars */
.projectdialogcontent::-webkit-scrollbar,
iframe::-webkit-scrollbar,
body::-webkit-scrollbar{
    width: 5px;
    height: 8px;
    background-color: var(--background-colour);
    
}
.projectdialogcontent::-webkit-scrollbar-thumb,
iframe::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb{
    background: var(--accent);
}

iframe{
    border: none;
    width: 75vw; 
    height: 75vh;
}
h1 {
    color:var(--white);
    font-family: "MainFont";
    font-size: 6rem;
    text-align: left;
    margin: 0px
}
h2{
    font-family: "MainFont";
    color:var(--white);
    font-size: 3.2rem;
    font-weight: 200;
    margin: 0px;
    text-align: left;
}
h3{
    font-family: "MainFont";
    color:var(--white);
    font-size: 3rem;
    font-weight: 200;
    margin: 0px;
    text-align: left; 
}
p{
    color:var(--subwhite);
    font-family: "MainFont";
    font-size: 2.2rem;
    margin: 0px;
    
}
a{
    font-family: "MainFont";
    color:var(--subwhite);
    font-size: 2.2rem;
    font-weight: 200;
    margin: 0px;
    text-align: left; 
    text-decoration: none;
}

a:focus,
a.active,
a:active{
    color:var(--white);
}
a:hover{
    color:var(--white);
    text-shadow: var(--accent) 0 0 20px;
}
nav{
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
svg{
    fill: var(--white);
}
footer{
    font-family: "MainFont";
    color:var(--subwhite);
    font-size: 1.4rem;
    margin-top: 30px;
}
dialog{
    border: 4px solid var(--accent);
    background-color: var(--background-colour);
    outline: none;
    box-shadow: 0 0 50px var(--accent);
    overflow: clip;
    
}
dialog::backdrop{
    background-color: var(--background-colour);
    opacity: 0.75;
}


