@font-face {
  font-family: Hatolie;
  src: url(assets/fonts/Hatolie.ttf); 
}

@font-face {
  font-family: Titania;
  src: url(assets/fonts/Titania-Regular.ttf);
}

@font-face {
  font-family: HeyComic;
  src: url(assets/fonts/Hey\ Comic.ttf);
}

@font-face {
  font-family: Cornella;
  src: url(assets/fonts/cornella-Regular.otf);
}

@font-face {
  font-family: Exclusive-Editorial;
  src: url(assets/fonts/DR\ Exclusive\ Editorial.ttf);
}

@font-face {
  font-family: X-Scale;
  src: url(assets/fonts/X-SCALE_.TTF);
}

* {
  box-sizing: border-box;
}
.body {
    background-image: url('assets/img/backgrounds/back-312.gif');
    background-size: 8.35% auto;
}

.sidenav {
    height: 100%;
    width: 21%;
    position: fixed; 
    z-index: 1; 
    top: 0;
    left: 0;
    overflow-x: hidden;
    padding-top: 2%;
    border-style: none ridge none none;
    border-width: 0.5vw;
    border-color: rgb(50, 50, 50);
    background-image: url('assets/img/backgrounds/spac004.gif');
    background-size: 50%;
}

.logo-container {
    position: relative;
    display: inline;
}

.logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    height: auto;
    padding-bottom: 20px;
}

.logo-overlay {
    display: block;
    position: absolute;
    margin-left: 2cqw;
    margin-top: -1cqw;
    top: 0;
    left: 0;
    background-color: rgba(255, 0, 0, 0);
    width: 15cqw;
}

.page-summary {
    color: white;
    text-align: center;
    padding: 0px 10%;
    font-size: 1.45vw;
    font-family: HeyComic;
    background: linear-gradient(to top left, rgb(255, 255, 255), rgb(255, 255, 255), rgb(255, 255, 255), #d284ffcf, rgb(255, 255, 255), rgb(255, 255, 255));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 7px #ba76fe;
}

.navigation {
    margin-top: 15%;
    width: 100%;
}

.navigation a {
    color: white;
    font-size: 2.7vw;
    font-family: Cornella;
    text-shadow: 0 0 5px #ffaa00;
    text-decoration: none;
    margin-left: 10%;
    transition: text-shadow 0.1s;
}

.navigation a:hover {
    color: white;
    font-size: 2.7vw;
    font-family: Cornella;
    text-shadow: 0 0 2px #ffb92c, -1px -1px 1px #ff2c2c, -2px -2px 2px #2c37ff, -3px -3px 2px #3aff3a;
    text-decoration: none;
}

.sidenav-footer {
    text-align: center;
    width: 100%;
    position:absolute;
    bottom: 3vh;
}

.main {
    height: 100%;
    width: 79%;
    position: absolute; 
    top: 0;
    right: 0%;
    padding: 0;
    margin: 0;
    display:grid;
    grid-template-rows:auto 1fr auto;
    grid-template-columns:100%;

    min-height:100vh;

    min-height:100svh;
}
.title-text h1{
    padding: 0;
    margin: 0;
    text-align: center;
    font-family: Hatolie;
    letter-spacing: 0.2rem;
    /*750%*/
    font-size: 7.8vw;
    color: transparent;
    margin-top: 2%;
    margin-right: 19%;
    text-shadow: 0px 0px 2px rgb(253, 93, 68), -4px -4px 2px rgb(58, 219, 58), 3px 3px 2px rgb(62, 62, 241);
    
}

@keyframes subtitle-animation {
  from {text-shadow: 0px 0px 5px rgb(247, 197, 15), 0px 0px 1px rgb(255, 255, 255);}
  to {text-shadow: 0px 0px 0px rgb(255, 255, 255), 0px 0px 5px rgb(247, 197, 15);}
}

.subtitle-text {
    padding-bottom: 0.5vh;
}

.subtitle-text h2{
    padding: 0;
    margin: 0;
    text-align: right;
    font-family: Titania;
    /*200%*/
    font-size: 2.1vw;
    font-style: italic;
    margin-top: 2%;
    margin-right: 11%;
    margin-bottom: -2%;
    z-index: 1; 
    rotate: -10deg;
    background-image: url('assets/img/backgrounds/Hubble_LMC_TarantulaNebula_potw2506a-3302465514.jpg');
    background-repeat: repeat;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    -moz-background-clip:text;
    background-clip:text; 
    text-shadow:  0px 0px 6px rgba(247, 197, 15, 0.68);
    line-height: 100%;

}

.main-body {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    margin-top: 1%;
    gap: 0;
}

.ava {
    align-self: center; 
    width: 90%;
    padding: 0;
    margin-top: 2%;
    margin-bottom: 1%;
    min-width: 9.5%;
    display: grid;
    place-items: normal center;
}

.ava img {
    height: 13.5416666667vmin;
}

.counter {
    align-self: center; 
    width: 90%;
    padding: 0;
    margin-bottom: 2%;
    min-width: 9.5%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
}

.digit {
    width: 2vmin;
}


.footer {
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0;
    bottom:0;
    width: 100%;
    border-style: ridge none none none;
    border-color: rgb(50, 50, 50);
    border-width: 5pt;
}

.footer img {
    margin: 0.1%;
}

.blinkies {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    margin-top: 0.5%;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    margin-top: 0.5%;
}

.stamps {
    display: flex;
    flex-wrap: wrap;
    width: 95%;
    justify-content: center;
    margin-top: 0.5%;
    margin-bottom: 0.5%;
}

.blinkies img {
    width: 9.765625vmax;
}

.buttons img {
    width: 5.72916666667vmax;
}

.stamps img {
    width: 6.4453125vmax;
}

@media (max-width: 768px) { 
    .body {
        margin: 0;
    }
    
    .sidenav {
        height: 9%;
        width: 100%;
        position: static; 
        z-index: 1; 
        top: 0;
        left: 0;
        overflow: hidden;
        padding-top: 2%;
        border-style: none none ridge none;
        border-width: 0.5vw;
        border-color: rgb(50, 50, 50);
        background-image: url('assets/img/backgrounds/spac004.gif');
        background-size: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .main {
        position: static; 
    }
    .logo {
        display: block;
        position: static; 
        height: 8cqh;
        width: auto;
        padding-bottom: 0;
    }

    .logo-overlay {
        display: block;
        height: 8cqh;
        margin-left: -0.5cqh;
        margin-top: -1cqh;
    }

    .page-summary {
        visibility: hidden;
        margin: 0;
        padding: 0;
    }

    .navigation {
        margin-top: 0;
        top: 0;
        left: 17%;
        width: 80%;
        height: fit-content;
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr;
        grid-template-areas:
        'home blog writing gallery other';
        align-items: center;
        justify-items: center;
    }
    .navigation p {
        margin-top: 0;
        padding-top: 0;
        margin-bottom: 0;
        padding-bottom: 2.5vh;
        margin-left: 3.5vw;
        margin-right: 3.5vw;
        text-align: center;
    }

    .main {
        width: 100%;
        top: 9%;
    }

    .title-text h1{
        text-shadow: 0px 0px 0.5px rgb(253, 93, 68), -1.5px -1.5px 0.5px rgb(58, 219, 58), 1px 1px 0.5px rgb(62, 62, 241);
    }
}
