@font-face {
    font-family: mariofont;
    src: url('assets/font/mariofont.ttf') format('truetype');
	font-style: normal;
	font-display: swap; 
	font-weight: normal;
}

@font-face {
    font-family: papermariofont;
    src: url('assets/font/papermariofont.ttf') format('truetype');
	font-style: normal;
	font-display: swap; 
	font-weight: normal;
}

@font-face {
    font-family: regularfont;
    src: url('assets/font/regularfont.TTF') format('truetype');
	font-style: normal;
	font-display: swap; 
	font-weight: normal;
}



h1,h3 {
    font-family: mariofont;
}

h2 {
    font-family: regularfont;
}



#installation, #download {
    text-align: center;
    margin-top: 30px;
    width: 100%;
   
    padding: 20px; 
}

@media (min-width: 769px) {
    #installation {
        width: 800px; 
    }

    #download {
        width: 600px; 
    }
}

@media (max-width: 768px) {
    #installation, #download {
        width: 100%; 
        margin-left: -10px; 
        margin-right: 0px; 
        margin-top: 15px; 
        padding: 10px; 
    }
}


#about {
    text-align: center; 
    margin-top: -30px;
    width: 100%;
    max-width: 1100px; 
    padding: 20px;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    #about {
        width: 100%;
        max-width: 1100px;
    }
}

@media (max-width: 768px) {
    #about {
        width: 100%; 
        margin-left: 0; 
        margin-right: 0; 
        margin-top: 15px; 
        padding: 10px; 
    }
}

#faq, #contact, #changelog, #versions {
    text-align: center;
    margin-top: 30px;
    width: 800px; 
    padding: 20px;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    #faq, #contact, #changelog, #versions {
        width: 100%; 
        max-width: 100%; 
        margin-left: 0; 
        margin-right: 0;
        margin-top: 15px; 
        padding: 10px; 
    }
}

#screenshots {
    text-align: center; 
	margin-top: 30px;
	 width: 600px; 
	padding: 20px;
}

#trailer {
    text-align: center; 
	margin-top: 30px;
	 width: 600px; 
	padding: 20px;
}

#video-container {
    position: relative;
    width: 100%;
    padding-bottom: 58.65%; 
    height: 0;
    overflow: hidden;
}

#video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid white; 
    border-bottom-width: 8px; 
}

@media (max-width: 768px) {
    .container {
        flex-direction: column; 
        align-items: center; 
    }

    #screenshots, #trailer {
        width: 100%; 
        margin-left: 0; 
        margin-right: 0; 
        margin-top: 15px; 
        padding: 10px; 
    }

}
}


.mySlides {
	display:none
}

.aboutimg {
	 position: relative;
    width: 460px; 
	margin-top: 20px;
	margin-bottom: 20px;
    border: 4px solid white; 
    border-bottom-width: 8px; 

}


.download-box {
    position: relative;
    font-family: regularfont;
    color: white;
    padding: 0px;
	padding-top: 24px;
    border-radius: 10px;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.6);

	margin: auto;
}

#download-box {
	text-align: center; 
	margin-top: 0px;
	 width: 320px; 
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%; 
}

/* body.home-page { */
    /* background-image: url('assets/site_bg.png'); */
    /* background-size: cover;  */
    /* background-position: center;  */
    /* background-repeat: no-repeat;  */
    /* background-attachment: fixed;  */

/* } */

/* body.download-page { */
    /* background-image: url('assets/site_bg2.png'); */
    /* background-size: cover;  */
    /* background-position: center;  */
    /* background-repeat: no-repeat;  */
    /* background-attachment: fixed;  */
/* } */

.site-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/site_bg.png');
  background-size: cover;
  z-index: -1; 
}

.site-bg2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/site_bg2.png');
  background-size: cover;
  z-index: -1; 
}

@media (max-width: 768px) {
	.site-bg {
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-image: url('assets/site_bg.png');
		background-size: cover;
		z-index: -1; 
		background-attachment: scroll;
	}
	.site-bg2 {
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-image: url('assets/site_bg2.png');
		background-size: cover;
		z-index: -1; 
		background-attachment: scroll;
	}
}

.link {
    font-weight: bold; 
    color: white; 
    text-decoration: none;
	
}

.link:hover {
    color: white; 
    text-decoration: underline; 
}

.text-box h2 {
    font-family: mariofont;
    font-size: 2.5em; 
    margin-top: 0;
}

.text-box h3 {
    font-family: mariofont;
    font-size: 1.6em; 
    margin-top: 0;
}

.text-box p {
    font-size: 1.1em; 
   
}


main {
    flex: 1;
    padding: 20px;
}

.text-box {
    position: relative;
    font-family: regularfont;
    color: white;
    padding: 1em;
    margin: 15px;
    border-radius: 10px;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.6);
    border-bottom: 6px solid white;
}


.logo {
    position: top-center;
    top: 0;
    opacity: 0;
    width: 500vh;
    max-width: 400px; 
    height: auto;
    margin: 0 auto;
    z-index: 0;
    padding-bottom: 10px;
	padding-top: 10px;
}



.container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
}

.footer {
    width: 100%;
    color: white;
    text-align: center;
    font-family: regularfont;
    box-sizing: border-box;
    padding: 4px 30px;
    background-color: rgba(0, 0, 0, 0.6);
}

.social-link {
    color: inherit;
    text-decoration: none;
}



.social.link:hover {
    text-decoration: underline; 
}





.social-icons {
    margin-top: 0px;
    display: inline-flex; 
    align-items: center; 
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    border-radius: 20%; 
    overflow: hidden;
    transition: transform 0.5s; 
    width: 34px; 
    height: 34px; 
}

.social-icons a img {
    width: 100%; 
    height: auto; 
}

.social-icons a:hover {
    transform: scale(1.1) rotate(2deg); /
}

.social-icons img {
    width: 40px;
    height: 40px;
}

.starry-icon {
    display: block;
    margin-top: 20px; 
    width: 50px; 
    height: auto; 
    margin-left: auto; 
    margin-right: auto; 
	margin-bottom: 20px;
}

.logo {
    position: relative;
    top: 0;
    opacity: 0;
    animation: slideInAndFadeIn 1.2s forwards, moveUpDown 3.8s 6s infinite ease-in-out;
    width: 800vh;
    max-width: 800px; 
    height: auto;
    margin: 0 auto;
    z-index: 0;
    padding-bottom: 20px;
}

@media (max-width: 768px) { 
    .logo {
        width: 90vw; 
        max-width: 400px; 
        padding-bottom: 0px; 
        padding-top: 5px; 
    }
}


@keyframes slideInAndFadeIn {
    0% {
        top: -90px;
        opacity: 0;
    }
    100% {
        top: 0px;
        opacity: 1;
    }
}

@keyframes moveUpDown {
    0% {
        top: 0px;
    }
    50% {
        top: -10px;
    }
    100% {
        top: 0px;
    }
}


body {
  background-image: url("assets/site_bg.png");
  background-repeat: repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position-x: right 2500px;
  background-animation: loopmove 10s infinite;
	
  
}

header {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px 20px;
    z-index: 10;
    position: relative;
	
}


header .header-content {
    font-family: regularfont;

	
}


.header-content {
    display: flex;
    align-items: center; 
    justify-content: space-between; 
	z-index: 10;
}


@media (max-width: 768px) { 
    .header-content {
        display: block;
        text-align: center; 
		
    }
}


.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none; 

}

html {
   -webkit-tap-highlight-color: transparent;
}

.logo-img {

    height: 40px; 
    margin-right: 10px; 
}

.logo-text {
	
    font-size: 20px;
    color: white; 
}
@media (max-width: 768px) { 
    .logo-text {
    font-size: 16px;
    color: white; 
    }
}


nav {
    display: flex;
    justify-content: flex-end;
    margin-right: 20px;
}


nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    display: block;
}

nav ul li a:hover {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
}






.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 20;
    position: absolute;
    top: 10px; 
    right: 20px;
}

.nav-bar {
    background-color: white;
    height: 3px;
    width: 25px;
    margin: 4px 0;
    border-radius: 5px;
}


.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative; 
}

@media (max-width: 768px) {
    nav {
        margin-right: 0;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        
        position: relative; 
        margin-top: 10px; 
        right: 0;
        box-sizing: border-box;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu ul {
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    .nav-menu ul li {
        margin-left: 0;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
    }
}


main {
    padding: 20px;
	
}

section {
    margin-bottom: 40px;
}

@keyframes loopmove {
  0% {background-position-x: right 2500px;}

  100% {background-position-x: left -2500px;}
}

