@font-face {
    font-family: 'Basicdots';
    src: url('/Basicdots.TTF') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Basicdots', monospace;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 40px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 100%;
    max-width: 1400px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.logo {
    text-align: center;
}

.logo img {
    max-width: 300px;
    height: auto;
}

.navigation {
    display: flex;
    gap: 80px;
    align-items: center;
}

.navigation a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 2px;
    transition: opacity 0.3s ease;
}

.navigation a:hover {
    opacity: 0.6;
}

.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    margin-top: 40px;
}

.project-tile {
    position: relative;
    overflow: hidden;
}

.project-tile a {
    display: block;
    text-decoration: none;
    color: #ffffff;
}

.project-tile img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.project-tile:hover img {
    transform: scale(1.05);
}

.project-tile h2 {
    text-align: center;
    margin-top: 20px;
    font-size: 20px;
    letter-spacing: 2px;
    font-weight: normal;
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
}

.back-to-top a {
    display: block;
    color: #ffffff;
    font-size: 32px;
    text-decoration: none;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.back-to-top a:hover {
    opacity: 0.6;
}

.footer-credit {
  width: 100%;
  margin-top: 60px;
  text-align: left;
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #999;
  font-size: 0.85rem;
  opacity: 0.3;
  transition: opacity 0.2s;
}

.footer-credit a:hover {
  opacity: 0.5;
}

.footer-credit img {
  height: 24px;
  width: auto;
}

@media (max-width: 768px) {
    body {
        min-height: auto;
    }
    
    .container {
        padding: 30px 20px;
        gap: 30px;
    }
    
    .logo img {
        max-width: 180px;
    }
    
    .navigation {
        gap: 25px;
    }
    
    .navigation a {
        font-size: 13px;
        letter-spacing: 1.5px;
    }
    
    .projects {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 20px;
    }
    
    .project-tile h2 {
        font-size: 16px;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
        gap: 25px;
    }
    
    .logo img {
        max-width: 150px;
    }
    
    .navigation {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .navigation a {
        font-size: 11px;
        letter-spacing: 1px;
    }
    
    .project-tile h2 {
        font-size: 14px;
    }
}