:root{
--outer-space: #484a47ff;
--darker-space: rgb(41, 44, 37);
--dark-purple: #370031ff;
--light-grey: rgb(192, 184, 168);
--rose-quartz: #c2b4cb;
--hunter-green: #1c5d24ff;
}


@font-face {
    font-family: 'atkinson_italic';
    src: url('fonts/atkinsonhyperlegiblemono-italic-variablefont_wght-webfont.woff2') format('woff2'),
         url('fonts/atkinsonhyperlegiblemono-italic-variablefont_wght-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'atkinson_bold';
    src: url('atkinsonhyperlegible-bold-webfont.woff2') format('woff2'),
         url('atkinsonhyperlegible-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'atkinson';
    src: url('fonts/atkinsonhyperlegiblemono-variablefont_wght-webfont.woff2') format('woff2'),
         url('fonts/atkinsonhyperlegiblemono-variablefont_wght-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'bytesizedregular';
    src: url('fonts/bytesized-regular-webfont.woff2') format('woff2'),
         url('fonts/bytesized-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body,h1,h2,h3,h4,h5 {font-family: "atkinson", sans-serif}
.w3-third img{margin-bottom: -6px; opacity: 0.8; cursor: pointer}
.w3-third img:hover{opacity: 1}

.backgroundcolour{
    background-color: var(--outer-space) !important;
}

.background-colour-nav{
    background-color: var(--darker-space) !important;
}

.title
{
    font-family: 'atkinson';
    color: var(--light-grey);
    letter-spacing: 10px;
    font-size: 75px;
}

.text{
    font-family: 'atkinson';
    color: var(--light-grey);
    font-size: medium;
    letter-spacing: 0px;
}

nav {
    background-color: var(--darker-space);
    font-family: 'atkinson';
    letter-spacing: 10px;
    overflow-x: hidden;
    max-height: 100vh;
}

.tab {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    font-family: 'bytesizedregular';
    font-size: 50px;
    text-decoration: none;
    letter-spacing: 3px;  
    color: var(--light-grey);
    background-color: var(--darker-space);
}

.current-tab{
    font-family: 'bytesizedregular';
    font-size: 50px;
    text-decoration: none;
    letter-spacing: 3px;  
    color: var(--rose-quartz);
    background-color: var(--darker-space);
}


.mobile-logo {
    background-color: var(--darker-space);
    font-family: 'atkinson';
    letter-spacing: 15px;
    font-size: xx-large;
    color: var(--rose-quartz);
}

.portfolio-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* Makes all images square */
    object-fit: cover;   /* Keeps images centered/cropped nicely */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
  }
  .portfolio-img:hover {
    transform: scale(1.03);
    opacity: 1;
  }