@font-face {
font-family: "Berlin Sans FB";
src: url('assets/BRLNSDB.ttf');
font-display: swap;
}

body {
font-family: "Berlin Sans FB";
margin: 0;
position: relative;
min-height: 100vh;
background-color: var(--bg-color);
color: var(--txt-color);
}

:root{
--bg-color:#E7E7E7;
--txt-color:#181818;
--pri-accent-color:#e78323;
--sec-accent-color:#187cdc;
}
.dark {
--bg-color:#181818;
--txt-color:#E7E7E7;
--pri-accent-color:#187cdc;
--sec-accent-color:#e78323;
}

footer {
display: flex;
margin-top: auto;
justify-content: center;
background-color: var(--pri-accent-color);
border-radius: 0.5em 0.5em 0;
position: absolute;
bottom: 0;
width: 100%;
}

#theme-switch{
width: 50px;
height: 35px;
padding: 10px;
border: 0;
background-color: var(--bg-color);
display: inline-flex;
border-radius: 20em;
justify-content: center;
align-items: center;
position: fixed;
bottom: 10px;
right: 10px;
transition: all 0.1s ease-out;
}
#theme-switch:hover{
box-shadow: 0 1.5px 2px #6b6b6b52;
transform: translateY(-0.70px);
transition: all 0.25s ease-out;
}
#theme-switch svg{
fill: var(--txt-color);
}
#theme-switch svg:last-child{
display: none;
}

.dark #theme-switch svg:first-child{
display: none;
}
.dark #theme-switch svg:last-child{
display: block;
}

section {
overflow: auto;
height: 0;
margin: auto;
opacity: 0;
z-index: 0;
transition: opacity 0.1s cubic-bezier(0, 0, 0.21, 1);
}
section:target {
height: auto;
width: 90vw;
padding-bottom: 8%;
z-index: 1;
opacity: 1;
transition: all 0.45s cubic-bezier(0, 0, 0.21, 1);
}

.square {
height: 17vh;
border-radius: 8px;
background-color: var(--pri-accent-color);
}

::-webkit-scrollbar {
width: 6px;
background-color: #717171;
border-radius: 2px;
}

.navbar {
z-index: 1000;
display: flex;
position: sticky;
top: 0;
padding-bottom: 30px;
background: linear-gradient(to bottom, var(--pri-accent-color) 45%, #ffffff00);
}
.navbar a {
padding: 7px;
margin: 3px;
text-decoration: none;
color: #eeeeee;
border-radius: 5px;
transition: all 0.1s ease-out;
}
.navbar a:hover {
background: #ffffff1f;
box-shadow: 0 1.5px 2px #1f1f1f52;
transform: translateY(-0.70px);
transition: all 0.10s ease-out;
}
.navbar a:active {
background: #ffffff36;
transform: translateY(-0.20px);
box-shadow: 0 1.5px 1px #1f1f1f1b;
transition: all 0.02s ease-in;
}