*{
margin: 0;
padding: 0;
}
 :root {
    --nav-height: 122px;
}

/* Load Custom Font: SpriteGraffiti */
@font-face {
    font-family:'SpriteGraffiti' ;
    src: url(fonts/Sprite\ Graffiti.ttf);
}

/* Headings (h1 and h2) Styling */
h1, h2, h3{
    font-family: 'SpriteGraffiti' , sans-serif;  /* Use custom font with fallback */
}

html,body{
    overflow-x: hidden;
}

body{
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas: 
    "navbar"
    "main"
    "footer";
}

nav{
    top: 0;
    position: sticky;
    height: var(--nav-height);
    grid-area: navbar;
    background-color: red;
    padding: 1em;
    display: grid;
    align-items: center; 
    grid-template-columns: 1fr auto 1fr;
    z-index: 6000;
    overflow: visible;
    box-sizing: border-box;

       background: 
    linear-gradient(
        to bottom,
        rgba(255,255,255,0.15) 0%,
        rgba(255,255,255,0.05) 15%,
        rgba(0,0,0,0) 40%
    ),
    black;
    box-shadow: 0 10px 90px rgba(255, 0, 0, 0.6);
}

.nav-text{
    color: white;
    text-align: center;
    min-width: 0;
    -webkit-text-stroke: .5px red;
    font-size: larger;
}
.nav-video{
    position: absolute;
    inset: 0;
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.logo{
    height: 90px;
    width: auto;
    margin-left: auto;
}
.menu-button{
    font-size: 2.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    justify-self: start;
    -webkit-text-stroke: 1px red;
    
}
aside{
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 200px;
    height: calc(100vh - var(--nav-height));
    background-color: rgba(31, 30, 30, 0.4);
    transform: translateX(-100%);   /* hidden by default */
    transition: transform 0.3s ease;
    z-index: 5000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow-y: auto;
}
aside.open{
    transform: translateX(0);
}
aside.instant-hide{
    transition: none;
}
aside.hide{
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}
#sidebar{
    list-style: none;
}
#sidebar ul li.active a{
color: var(--accent-clear);
}
#sidebar a{
    text-decoration: none;
    height: 60px;
    color: black;
    font-size: 30px;
    justify-content: center;
    text-align: center;
    align-items: center;
    display: flex;
    gap: 1em;
    padding: .85em;
    border: 2px solid black;
}
.home-tab{
    background: 
    linear-gradient(
        rgba(255, 0, 0,0.1), 
      rgba(0,0,0,0.5)
    ),
    url("Homepage_Photos/home-tab.png");

    background-size: cover;
    background-position: center;

    color: white;
}
.reco-tab{
    background: 
    linear-gradient(
        rgba(255, 0, 0,0.1), 
      rgba(0,0,0,0.5)
    ),
    url("Homepage_Photos/reco-tab.png");

    background-size: cover;
    background-position: center;

    color: white;
}
.sk-tab{
     background: 
    linear-gradient(
        rgba(255, 0, 0,0.1), 
      rgba(0,0,0,0.5)
    ),
    url("Homepage_Photos/sk-tab.png");

    background-size: cover;
    background-position: center;

    color: white;
}
.hf-tab{
     background: 
    linear-gradient(
        rgba(255, 0, 0,0.1), 
      rgba(0,0,0,0.5)
    ),
    url("Homepage_Photos/hf-tab.png");

    background-size: cover;
    background-position: center;

    color: white;
}
.rage-tab{
     background: 
    linear-gradient(
        rgba(255, 0, 0,0.1), 
      rgba(0,0,0,0.5)
    ),
    url("Homepage_Photos/rage-tab.png");

    background-size: cover;
    background-position: center;

    color: white;
}
.tts-tab{
     background: 
    linear-gradient(
        rgba(255, 0, 0,0.1), 
      rgba(0,0,0,0.5)
    ),
    url("Homepage_Photos/tts-tab.png");

    background-size: cover;
    background-position: center;

    color: white;
}
.up-tab{
     background: 
    linear-gradient(
        rgba(255, 0, 0,0.1), 
      rgba(0,0,0,0.5)
    ),
    url("Homepage_Photos/up-tab.png");

    background-size: cover;
    background-position: center;

    color: white;
}




main{
    grid-area: main;
    color: red;
    background-image: 
     linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("super-kidz-img/sk-page-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.text-shortvid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 2em;
    max-width: 1400px;
    margin: 0 auto;
    overflow-wrap: break-word;
}
.sk-short-vid{
    width: 100%;
    max-width: 500px;
    height: auto;
    border: 8px solid red;
}
.sk-text{
    color: black;
    -webkit-text-stroke: .5px red;
    text-align: center;
    padding: 3em;
    max-width: 700px;
}
.sk-text h2{
    font-size: 60px;
    text-decoration: underline;
}
.sk-text h3{
    font-size: 35px;
}
.sk-text-logo{
   display: block;
   width: 100%;
   max-width: 1200px;
   height: auto;
   margin: 0 auto;
}
.sk-trailer{
    display: block;
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto 0px;
}
.sk-buy-now{
     color: black;
    -webkit-text-stroke: .5px red;
    text-align: center;
    padding: 1em;
    font-size: 60px;
    text-decoration: underline;
}
.sk-buy-now-pic{
   display: block;
   width: 100%;
   max-width: 1200px;
   height: auto;
   margin: 0 auto;
}



footer{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    grid-area: footer;
    color: white;
    padding: 2em;

    background: 
    linear-gradient(
        to bottom,
        rgba(255,255,255,0.15) 0%,
        rgba(255,255,255,0.05) 15%,
        rgba(0,0,0,0) 40%
    ),
    black;
    box-shadow: 0 10px 90px rgba(255, 0, 0, 0.6);
}
.contacts{
    justify-self: start;
}
.contacts a{
    color: inherit;
    text-decoration: none;
}
.copyright{
    justify-content: center;
    text-align: center;
}
.footer-logo{
    justify-self: end;
    width: 70px;
    height: auto;
}

@media(max-width: 1000px) {
    body{
        grid-template-columns: 1fr;
    }
    aside{
        position: fixed;
        width: 150px;
        transform: translateX(-100%);
   }
aside.open{
    transform: translateX(0);
}

aside.hide{
    transform: translateX(-100%);
}
    .nav-text{
        font-size: small;
    }
    .logo{
    height: 60px;
    width: auto;
    margin-left: auto;
}
#sidebar a{
    text-decoration: none;
    color: black;
    font-size: 25px;
    height: 30px;
    justify-content: center;
    text-align: center;
    align-items: center;
    display: flex;
    gap: 1em;
    padding: .85em;
    border: 2px solid black;
}


.text-shortvid{
    display: flex;
    
    align-items: center;
    justify-self: center;
}
.sk-text{
    color: black;
    -webkit-text-stroke: .5px red;
    text-align: center;
    padding: 3em;
    
}
.sk-text h2{
    font-size: 40px;
    text-decoration: underline;
    
}
.sk-text h3{
    font-size: 20px;
}
.sk-short-vid{
    display: none;

}

footer{
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
}
.contacts,
.copyrights,
.footer-logo{
    justify-self: center;
 }
}
