/* 
 * Here is the style sheet for the sm.cr website.
 * (c) 2025 Adam Brown 
 */

body {
    background-image: url("https://sm.cr/source/smcr-bg-0.png"), url("https://sm.cr/source/smcr-bg-halftone-texture-4.svg"), linear-gradient(to bottom right, #003333, #000000);
    background-repeat: no-repeat, repeat;
    background-position: bottom right, top left;
    background-attachment: fixed, fixed;
    background-color: #000000;
	font-family: Readex Pro Light;
	color: #ffffff;
}

@font-face {
font-family: Readex Pro Regular;
    src: 
        url('https://sm.cr/source/ReadexPro-Regular.ttf');
}

@font-face {
font-family: Readex Pro Light;
    src: 
        url('https://sm.cr/source/ReadexPro-Light.ttf');
}

@font-face {
font-family: Readex Pro Extra Light;
    src: 
        url('https://sm.cr/source/ReadexPro-ExtraLight.ttf');
}


.footer-text {
    position: fixed;
    bottom: -10px;
    right: -5px;
    color: #ffffff77;
    font-size: 40pt;
    font-family: Readex Pro Regular;
}



.header-text {
	position: absolute;
	top: 5px;
	left: 5px;
	right: 5px;
	height: 70px;
	background-color: #00000010;
	backdrop-filter: blur( 10px );
  -webkit-backdrop-filter: blur( 10px );
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 5px;
	padding-left: 70px;
	padding-right: 5px;
	padding-top: 0px;
	padding-bottom: 5px;
	z-index: 5;
	color: #f0f0f0;
	font-family: Readex Pro Regular;
	font-size: 40pt;
}



/* This next bit is for the menu */

.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
    transition: transform 0.3s ease;
}

.menu-icon div {
    width: 100%;
    height: 4px;
    background-color: #606060;
    transition: all 0.3s ease;
}

.menu-icon:hover div {
    background-color: #f0f0f0;
}

.menu {
    display: none;
    position: absolute;
    top: 87px;
    left: 5px;
    background: rgba(128, 128, 128, 0.2);
    padding: 10px;
    border-radius: 5px;
	border: 1px solid rgba(255, 255, 255, 0.18);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
	z-index: 20;
}

.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.change {
    transform: rotate(90deg);
}