 body {
	color: white;
	background-color: #1f1f1f;
	background-image: url("bg.png");
	margin-bottom: 200px ;
 font-family: "Times New Roman", Times, serif; ;
	font-size: 20px;
}

.mainpage {
	margin-bottom: 10px ;  
}

/*Attempts to combat forced darkmode in browsers. It doesn't work very well.*/
:root {
	color-scheme: only light;
}

  /* Reset default margin and padding */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Top Bar */
        .topbar {
            width: 100%;
            height: 40px;
            background-color: #000000;
            line-height: 40px;
            position: fixed;
            top: 0;
            left: 0;
            padding-left: 20px;
            display: flex;
            align-items: center;
        }

        /* Topbar items */
        

        /* Hamburger Menu */
        .hamburger {
            font-size: 30px;
            cursor: pointer;
            margin-right: 20px;
        }

        /* Topbar links */
        .topbar a {
            color: white;
            padding: 0 15px;
            text-decoration: none;
            display: inline-block;
        }

        .topbar a:hover {
            background-color: #575757;
        }

		/* Right icon positioning */
.right-icon {
    margin-left: auto; 
	padding-top: 12px; 
    padding-right: 5px; 
}

.right-icon img {
    width: 35px; 
    cursor: pointer;
}
        /* Left Sidebar */
.sidebar {
    width: 200px;
    height: calc(100vh - 40px); 
    background-color: rgba(68, 68, 68, 0.96);
    position: fixed;
    top: 40px; 
    left: 0;
    padding-top: 20px;
    padding-bottom: 300px; 
    transition: transform 0.3s ease;
    transform: translateX(-200px); 
    overflow-y: auto; 
    overflow-x: hidden; 
    -webkit-overflow-scrolling: touch; 
}

/* Sidebar links */
.sidebar a {
    display: block;
    color: white;
    padding: 15px;
    text-decoration: none;
}

.sidebar p {
    display: block;
    color: white;
    padding: 15px;
    text-decoration: none;
	text-align: left;
	cursor:pointer
}
/* Submenu styles */
.submenu {
    display: none; 
    padding-left: 20px; 
}

/* Sidebar links hover effect */
.sidebar a:hover {
    background-color: #575757;
}
.sidebar p:hover {
    background-color: #575757;
}


/* When the sidebar is shown */
.sidebar.show {
    transform: translateX(0); 
}

/* Shrink content area when sidebar is shown */


/* Submenu visibility controlled by JS */
.submenu.show {
    display: block; 
}

h1 {
	text-align: center ;
	color: lime ;
	font-size: 35pt ;
	border-bottom: none;
	max-width: 700px ;
	margin: 1em auto ;
	background: linear-gradient(to right, #D4AF37, #55DDE0);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
	background-clip: text;
}

header h1 {
	font-size: 40px ;
}

.zarovnaniestred {
margin-left: 205px;

}
h2 {
	text-align: center ;
	color: deeppink ;
	font-size: 26pt ;
	border-bottom: none;
	max-width: 800px ;
	margin: 1em auto ;
	background: linear-gradient(to right, #5977db, #a573f6);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
	background-clip: text;
}

h3 {
    color: gold;
	
}

.allign {
	text-align: justify;
  }

  .coolhover li:hover {
    font-size: 110%;
  }


.big {
	font-size: 18pt;
	text-align: center;
}

a {
    color: lightblue ;

}

p {
	text-align: center;
}

a:hover {
    color: white ;
}

dt {
	font-weight: bold ;
}


code {
	color: rgb(252, 152, 29) ;
	border-radius: 0px ;
}
.code-box {
	font-family: "Courier New", Courier, monospace;
	background-color: #343333;
	padding: 10px;
	border: 1px solid #151515;
	border-radius: 10px;
	overflow-x: auto;
}

pre {
	margin: 0;
}

ul li, ol li {
    margin-left: 15px; 
}


p img, li img, h1 img, h2 img, h3 img, h4 img, dt img {
	vertical-align: middle;
	max-width: 1em;
	max-height: 1em;
	border: solid 0px black ;
	display: inline ;
}

img {
	max-width: 90% ;
	margin: auto ;
	display: block ;
	border: none ;
}


.imgmobile80 {
	max-width: 80% ;
	margin: auto ;
	display: block ;
	border: none ;
}

.imgmobile {
	max-width: 65% ;
	margin: auto ;
	display: block ;
	border: none ;
}
.imgmobile60 {
	max-width: 60% ;
	margin: auto ;
	display: block ;
	border: none ;
}
.imgmobile50 {
	max-width: 50% ;
	margin: auto ;
	display: block ;
	border: none ;
}
.imgmobile40 {
	max-width: 40% ;
	margin: auto ;
	display: block ;
	border: none ;
}

.imgmobile35 {
	max-width: 35% ;
	margin: auto ;
	display: block ;
	border: none ;
}

.imgmobile30 {
	max-width: 30% ;
	margin: auto ;
	display: block ;
	border: none ;
}
strong {
	color: white ;
}


nav { font-size: small ;}

footer { font-size: 100% ; }

nav ul, footer ul, #taglist {
	padding: 0;
}

main {
	margin: auto ;
	padding: 10px;

}

.button {
	background-color: #8134214f; 
	border: none;
	color: white;
	padding: 2px 2px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
  }

.button:hover {
	background-color: #df54314f; 
	border: none;
	color: white;
	padding: 2px 2px;
	text-align: center;
	text-decoration: none;
	display: inline-block;

  }

.buttons {
	image-rendering: crisp-edges;
	image-rendering: pixelated;
	
	
}

.buttons img {
	width: 88px;
	height: 31px;
	display: inline-block ;
    
}
/* This "@media" block defines rules that will only be applied when the minimum
 * width of the screen is 55em or greater. In essence, they are settings that
 * only apply on normal weide screens, but *not* phones and low res monitors.
 * Since we have more room on widescreens, we change a couple things. */

@media (min-width: 55em) {
    header { max-width: 900px ; margin: auto;}
	main { max-width: 850px ; }
}






video {
margin: auto ;
display: block ;
max-width: 90%;

}


/*pre mobili zobrazenie. co kolvek za tymto tagom je specificke pre mobili*/

@media (max-width: 30em) {
body {
	color: white;
	background-color: #1f1f1f;
	background-image: url("bg1.png");
	margin-bottom: 200px ;
	font-size: 20px;
}
video {
	margin: auto ;
	display: block ;
	max-width: 90%;
	}
.big {
	font-size: 14pt;
	text-align: center;
	}
h1 {
	font-size: 30pt ;
	max-width: 800px ;
}
h2 {	
	font-size: 24pt ;
	max-width: 800px ;
}



.zarovnaniestred {
	margin-left: 0px;
}
img {
	max-width: 100% ;
	margin: auto ;
	display: block ;
	border: none ;
}
.imgmobile80 {
	max-width: 100% ;
	margin: auto ;
	display: block ;
	border: none ;
}

.imgmobile {
	max-width: 100% ;
	margin: auto ;
	display: block ;
	border: none ;
}


.imgmobile60 {
	max-width: 100% ;
	margin: auto ;
	display: block ;
	border: none ;
}
.imgmobile50 {
	max-width: 100% ;
	margin: auto ;
	display: block ;
	border: none ;
}
.imgmobile40 {
	max-width: 100% ;
	margin: auto ;
	display: block ;
	border: none ;
}

.imgmobile35 {
	max-width: 100% ;
	margin: auto ;
	display: block ;
	border: none ;
}

.imgmobile30 {
	max-width: 100% ;
	margin: auto ;
	display: block ;
	border: none ;
}




}

