/* dejavu Regular*/
@font-face {
    font-family: 'DejaVu Sans'; 
    src: url('/fonts/dejavusans.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* dejavu Bold*/
@font-face {
    font-family: 'DejaVu Sans'; 
    src: url('/fonts/dejavusans-bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}


:root {
    /* light color */
    --bg-color: white;
    --text-color: black;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* dark color */
    --bg-color: #121212;
    --text-color: #e0e0e0;
  }
}


html { 
    color-scheme: light dark; 
}

body { 
    margin: 0;
    padding-top: 45px;
    height: 100vh;
    color: var(--text-color);
    background-color: var(--bg-color);
    
    /* Use imported Roboto font */
    font-family: 'Roboto', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
    
    display: flex;
    justify-content: center;
    align-items: center;

    /* Make fonts render smoother on screens */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    
}

.header{
    position: fixed;
    z-index:1000;
    top:0;
    left:0;
    width:100%;
    height:48px;
    background-color: black;
    color:white;

    display:flex;
    align-items: center;
    padding-left:25px;
    
    transition: color 0.3s;
}
.header:hover{
    background-color: lightgrey;
    color:black;
}
.header a{
    text-decoration: none;
}
/*top logo text style*/
.header-logo{
    font-family: Verdana,'DejaVu Sans',sans-serif;
    font-size: 30px;
    font-weight:bold;
    letter-spacing: -6px;
    color:white;
    left:18px;
    top:18px;
    margin-right:6px;
}
.header-logo:hover{
    color:black;
}
.header-menu-bar{
    position:absolute;
    right:45px;
    font-family: Verdana,'DejaVu Sans',sans-serif;
    font-size: 16px;
    font-weight: normal;
    color:white;
}
.header-menu-bar a{
    color:white;
}
.header-menu-bar a:hover{
    color:black;
}

.logo-title {
    font-size: 2.8vw; 
    font-weight: 100;
    margin-bottom: 0px;
    line-height: 1;
}

.logo-subtitle {
    font-size: 2vw;
    opacity: 0.9;
    font-weight:300;
}
.animate-logo{
    font-family: Verdana,'DejaVu Sans',sans-serif;
    font-size: 8vw;
    font-weight:bold;
    letter-spacing: -1.6vw;
    top:18px;
    margin-right:6px;
    animation: logo-shift 0.6s;
}
@keyframes logo-shift{
    0%{
        font-weight:normal;
        font-style: normal;
    }
    20%{
        font-weight:normal;
        font-style:italic;
    }
    40%{
        font-weight:bold;
        font-style:italic;
    }
    60%{
        font-weight:bold;
        font-style:normal;
    }
    80%{
        font-weight:normal;
        font-style: normal;
    }
    100%{
        font-weight:bold;
        font-style: normal;
    }
}

.container {
    display: flex;
    flex-direction: column;
    position: absolute;
    flex-wrap:wrap;
}

.linkcard-container{
    display: flex;
    flex-direction:row;
    gap:24px;
    position: absolute;
}

.linkcard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 10px;
    position: relative;
}

@media (max-width: 768px) {
    .linkcard-grid {
        grid-template-columns: 1fr;
    }
}

.linkcard {
    display: flex;
    flex-direction: column;
    font-size: 1.2rem; 
    font-weight: 100;
    margin-bottom: 0px;
    line-height: 1;
    padding: 2px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.linkcard-row {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding-right: 20px;
}
.linkcard:hover{
    background-color:var(--text-color);
    color:var(--bg-color);
}
.linkcard a{
    color: inherit;
    text-decoration: none;
    font-weight: 300;
    margin-bottom: 0px;
    margin-top: 0px;
}
.linkcard a:hover{
    text-decoration: underline;
}
.linkcard svg{
    display: inline-block;
    width: 28px;
    padding:6px;
}
.linkcard path{
    fill: var(--text-color);
}
.linkcard:hover path{
    fill: var(--bg-color);
}

.footer {
    position: absolute;
    font-size: 0.9rem;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.8;
    font-weight: 100;
}
.footer a {
    color: inherit;
    font-size: 1rem;
    opacity: 0.9;
    text-decoration: none;
    font-weight: 300;
    transition: opacity 0.3s;
}
.footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width:992px){
    .animate-logo{
        font-size:16vw;
        letter-spacing: -3.2vw;
    }
    .logo-title{
        font-size: 5.6vw;
    }
    .logo-subtitle{
        font-size: 4vw;
    }
    .linkcard-container{
        flex-direction: column;
    }
}