/*@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');*/
@font-face {
  font-family: "KGSCS";
  src:
    url("https://tptec.co.uk/cs/ffa4fun/time/fonts/KGSecondChancesSketch.ttf") format('truetype');
}
html, body
{
	height: 80%;
	font-family: 'KGSCS';
	color: #dddddd;
}
body
{
	margin: 0;
	padding: 0;
	background: -webkit-linear-gradient(left, #090718, #5d79fa);
	background: linear-gradient(to right, #090718, #5d79fa);
	font-family: 'KGSCS';
}
.center
{
	padding: 10% 0;
	text-align: center;
}
h1
{
	font-size: 3.2rem;
}

/* Theming */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap"); /* import font */

:root{
    --white: #f9f9f9;
    --black: #36383F;
    --gray: #85888C;
} /* variables*/

/* Reset */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: var(--white);
    font-family: "Poppins", sans-serif;
}
a{
    text-decoration: none;
}
ul{
    list-style: none;
}
/* Header */
.header{
    background-color: var(--black);
    box-shadow: 1px 1px 5px 0px var(--gray);
    position: sticky;
    top: 0;
    width: 100%;
}
/* Logo */
.logo{
    display: inline-block;
    color: var(--white);
    font-size: 60px;
    margin-left: 10px;
}
/* Nav menu */
.nav{
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: var(--black);
    overflow: hidden;

}
.menu a, .menu p{
    display: block;
    padding: 30px;
    color: var(--white);
}
.menu a:hover, .menu p:hover{
    background-color: var(--gray);
}
.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}
/* Menu Icon */
.hamb{
    cursor: pointer;
    float: right;
    padding: 40px 20px;
}/* Style label tag */

.hamb-line {
    background: var(--white);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;

} /* Style span tag */

.hamb-line::before,
.hamb-line::after{
    background: var(--white);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}
.hamb-line::before{
    top: 5px;
}
.hamb-line::after{
    top: -5px;
}

.side-menu {
    display: none;
} /* Hide checkbox */
/* Toggle menu icon */
.side-menu:checked ~ nav{
    max-height: 100%;
}
.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}
.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;
}
.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}
/* Sub nav */
.subnav-content {
    background-color:  var(--white);
    width: 100%;
    z-index: 1;
    padding: 20px 0 ;
    display: none;
  }
.subnav-content a {
    color: var(--black);
    text-decoration: none;
    padding: 0;
    margin: 10px 0;
    text-align: center;
}

.subnav:hover .subnav-content {
    display: block;
}
body:has(.side-menu:checked) {
  overflow: hidden;
}
/* Responsiveness */
@media (min-width: 768px) {
    .nav{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;
    }
    .menu li{
        float: left;
    }
    .menu a:hover, .menu p:hover{
        background-color: transparent;
        color: var(--gray);

    }

    .hamb{
        display: none;
    }
	/* Sub nav */
    .subnav-content {
        padding: 20px 0 ;
        display: none;
        background-color:  var(--black);
    }
    .subnav-content a, .subnav-content p {
        color: white;
    }
	.subnav-content li {
    display: block;
    width: 100%;
    background-color: var(--black);
  }
  .subnavbtn:focus+.subnav-content {
    display: block;
  }
  .subnav:hover .subnav-content {
    display: block;
  }
  .subnav:focus-within .subnav-content {
    display: block;
  }
  .subnav-content a:focus, .subnav-content p:focus{
    background-color: var(--white);
    color: var(--black);
  }
}

/* -------------------------- */
/* ------- SCROLL BAR ------- */
/* -------------------------- */

/* width */
::-webkit-scrollbar
{
	width: 10px;
}

/* Track */
::-webkit-scrollbar-track
{
	box-shadow: inset 0 0 5px #5d79fa; 
	border-radius: 5px;
}
::-webkit-scrollbar-track:hover
{
	box-shadow: inset 0 0 5px #090718; 
	border-radius: 5px;
}
/* Handle */
::-webkit-scrollbar-thumb
{
	background: #090718; 
	border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover
{
	background: #5d79fa; 
}