@font-face {
    font-family: main;
    src: url(/MusticaPro.otf);
}

svg{
    fill: currentColor;
}

::selection{
    color: #ff0037;
    background-color: #00000000;
    background-color: white;
}

html {
	scroll-behavior: smooth !important;
}

body{
    overflow-x: hidden;
    margin: 0;
    font-family: main;
    background-color: #1a1a1a;
    color: #ffffff;
    * {
    	color:#fff;
    }
}

h1, h2, h3, h4, h5, p, code, small {
	margin: 4px;
}
h1, h2, h3, h4, h5 {
	margin-bottom: 12px;
}
p, code, small {
	margin-bottom: 8px;
}

form label {
	padding-left: 4px;
	display: block;
}

.hompag{
    overflow: hidden;
    font-family: main;
    height: 100dvh;
    margin: 0;
}
#backgr{
    position: fixed;
    background-image: url(/a_wpa_nx1.png);
    background-repeat:no-repeat;
    background-size:cover;
    background-position: center;
    height: 100%;
    width: 100%;
    opacity: 0.2;
}

.al {
	width: 70%;
	height: 75px;
        transition: all 120ms ease-in-out;
}

.al:hover{
    margin-top: -3px;
    margin-bottom: 3px;
    width: 80%;
   	height: 75px;
}

.transparent {
	opacity: 0.5;
}

#smallfooter{
    position: fixed;
    overflow: hidden;
    left: 8px;
    bottom: 8px;
    right: 8px;
    height: 64px;
    font-size: 14px;
    .footer-left, .footer-right {
    	float: left;
    	display: block;
    	* {
    		margin: 0;
    		bottom: 0;
    		position: absolute;
    	}
    	height: 100%;
    }
    .footer-left > * {
    	left: 0;
    }
    .footer-right > * {
    	right: 0;
    }
}

#scont{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 480px;
    width: 80%;
    position: absolute;
    margin-left: 8px;
    margin-right: 8px;
    left: 50%;
    top: 20%;
    transform: translateX(-50%);
    animation: logoanim 140ms ease-out;
    transition: left 140ms ease-in,
    			opacity 140ms ease-in;
    z-index: 5;
}

#scont.leaving {
	left: -50%;
	opacity: 0;
}

.button, .button-noexpand, .textarea, .textarea-noexpand{
    color: #ffffff;
    margin: 5px 5px;
    border: #2c2c2c42 2px solid;
    background-color: #88888804;
    border-radius: 4px;
    transition: all 70ms linear;
    padding: 4px 4px;
    text-decoration: none;
    background-color: #0000006c;
    white-space: nowrap;
    transition: all 50ms ease-in-out;
    font-family: main;
}

#disabled{
    color: #ffffff4c;
    pointer-events: none;
}

.button:hover, .button-noexpand:hover, .textarea, .textarea-noexpand {
    background-color: rgba(59, 59, 59, 0.247);
}

.button:hover, .button-noexpand:hover, .textarea:focus, .textarea-noexpand:focus {
    outline: none !important;
    background-color: rgba(59, 59, 59, 0.147);
    border-bottom: #ffffff 3px solid;
}

.textarea, .textarea-noexpand {
	resize: none;
	width: 95%;
	height: 22px;
	font-size: 14px;
	transition: height 150ms ease-in-out;
}

.textarea:focus {
	height: 100px;
}

.button:hover, .button-noexpand:hover {
    border-bottom: #ff0c41 2px solid;
}
.button:hover {
    padding: 6px 6px;
    margin: 5px 8px;
}
/* removed because clicking the edge of a button made it not work. if you can figure out how to keep the clickable area the same size that would be great
.button:active {
	padding: 2px 2px;
	margin: 9px 12px;
	font-size: 12px;
}
*/
.ibutton{
    color: #ffffff;
    text-decoration: none;
}
.ibutton:hover{
    color: #ffffff;
    text-decoration: underline #ff004c;
}

.ftrbrand a{
  color: #646161;
  text-align: center;
  text-decoration: none;
}

.ftrbrand a:hover{
  color: #ffffff;
  text-align: center;
  text-decoration: none;
}

.stb {
    font-size: 21pt;
    @media (max-width:423px) {
        font-size: 20pt;
    }
    @media (max-width:403px) {
        font-size: 19pt;
    }
    @media (max-width:384px) {
        font-size: 18pt;
    }
    @media (max-width:364px) {
        font-size: 17pt;
    }
    @media (max-width:344px) {
        font-size: 16pt;
    }
    @media (max-width:324px) {
        font-size: 15pt;
    }
    @media (max-width:304px) {
        font-size: 14pt;
    }
}

#thingstuff {
    text-align: center;
    align-content: center;
    text-decoration: none;
    line-height: 220%;
}


#thingstuff2 {
	border: 4px solid #ffffff2f;
        border-radius: 8px;
	width: 100%;
    background-color: #0000004c;
    padding: 8px;
}

#smallico{
    width: 27px; height: 27px;
    transform: TranslateY(25%);
}

@keyframes logoanim {
    from {
        left: 150%;
        opacity: 0;
    }
    to {
        left: 50%;
        opacity: 1;
    }
}
