*{    
    margin: 0px;
}

body{
    background:#292929; 
    overflow-x: hidden; 

    display: flex;
    flex-direction:  column;
    min-height: 100vh;
}

.container{    
    width: 100%;
}

.main-content{
    background-color:#252525;
    text-align: center;
    margin-top: 15px;
    margin-left: 30px;
    margin-right: 30px;
    box-shadow: inset 0 2px 3px rgb(0 0 0 / 50%), 0 1px 0 rgb(255 255 255 / 10%);
}

.main-content-aboutme{
    background-color:#252525;
    align-items: center;
    margin-top: 15px;
    margin-left: 30px;
    margin-right: 30px;
    display: flex;
    box-shadow: inset 0 2px 3px rgb(0 0 0 / 50%), 0 1px 0 rgb(255 255 255 / 10%);
}

.main-content-button{
    padding: 25px 25px;
}

.main-largebuttons {
    background-color:#6BB7FF;
    height: 100px;
    width: 500px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 1px 1px 10px black;

    img {
        padding: 25px;
        height: 75px;
        width: auto;
    }
}

.main-largebuttons:hover {
    opacity: 0.8;
}

.main-content-youtube{
    background-color:#252525;
    text-align: center;
    margin-top: 15px;
    margin-left: 30px;
    margin-right: 30px;
    box-shadow: inset 0 2px 3px rgb(0 0 0 / 50%), 0 1px 0 rgb(255 255 255 / 10%);
}

.main-content-youtube-header{
    padding: 20px 0px 0px 0px;
    display: flex;
}

.main-content-youtube-header div{
    flex-grow: 1;
}

.main-content-youtube-header span{
    background-color:#F6000C;
    margin: 0px 10px;
    box-shadow: inset 0 1px 3px rgb(0 0 0 / 50%), 0 1px 0 rgb(255 255 255 / 10%);
}

.main-content-project{
    background-color:#252525;
    text-align: center;
    margin-top: 15px;
    margin-left: 30px;
    margin-right: 30px;
    box-shadow: inset 0 2px 3px rgb(0 0 0 / 50%), 0 1px 0 rgb(255 255 255 / 10%);
}

.main-content-project div{
    display: flex;
    flex-wrap: wrap;
}

.main-content-project-img{
    flex-grow: 1;
}

.main-content-project-img img{
    width: 550px;
    height: auto;
    margin: 10px auto;
    box-shadow: 1px 1px 10px black;
}

.image-block{
    flex-grow: 1;
}

.image-content {
    display: flex;
    flex-wrap: wrap;
}

.image-block img{
    width: 580px;
    height: auto;
    margin: 10px auto;
    box-shadow: 1px 1px 10px black;
}

.store{
    text-align: center;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    background-color:#252525;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 30px;
    margin-right: 30px;
    box-shadow: inset 0 2px 3px rgb(0 0 0 / 50%), 0 1px 0 rgb(255 255 255 / 10%);
}

.Challanges{
    text-align: center;
    align-items: center;
    display: flex;    
    flex-wrap: wrap;   
}

.projects{
    text-align: center;
    align-items: center;
    display: flex;    
    flex-wrap: wrap;
    background-color:#252525;
    margin-bottom: 15px;
    margin-left: 30px;
    margin-right: 30px;
    box-shadow: inset 0 2px 3px rgb(0 0 0 / 50%), 0 1px 0 rgb(255 255 255 / 10%);
}

.youtube-frame{
    padding: 10px;
}

.youtube-video{
    width: 854px;
    height: 480px;
    box-shadow: 1px 1px 10px black;
}

h1 {
    font-size: 100px;
    font-family: "Roboto", arial;
}
h2 {
    font-size: 16px;
    font-family: "Roboto", arial;
}
h3 {
    font-size: 20px;
    font-family: "Roboto", arial;
}
h4 {
    font-size: 50px;
    font-family: "Roboto", arial;
}

p {
    font-size: 16px;
    font-family: "Roboto", arial;
}


#page-title {
    display: flex;
    background-size: 100%; 
    background-position: center;
}

#title-logo{
    position:absolute;
    right:0;
    top:0;
    padding: 10px;  
}
#title-logo img{
    width: 75px;
    height: 75px;
    align-content: center;
}

#title-text {
    color: White;
    font-weight: bold;
    text-align: center;
    text-shadow: 4px 4px 6px #000000;
}

#page-title-block {    
    flex-grow: 1;
}

.me-logo{
    flex-grow:1;
    text-align: center;    
}

.me-logo div{
    margin: 20px;
}

.me-description{
    flex-grow:2;
    margin: 50px;
}

.me-description-title{
    text-shadow: 3px 3px 6px #000000;
}

.me-description-text{
    text-shadow: 3px 3px 6px #000000;
}

.me-logo-img{
    width: 200px;
    height: 200px;
    border-radius: 100%;
    box-shadow: 1px 1px 6px black; 
}

.white-textbold {
    color: #F5F0EA;    
    font-weight: bold;
}

.white-text {    
    color: #F5F0EA;
}

.center-text {    
    text-align: center;
}

.quote-text {
    padding: 25px;
}

.description-text {
    padding-left: 100px;
    padding-right: 100px;
    text-align: left;
}

.decoration-none{   
    text-decoration: none;
}

.button-text
{ 
    color: #F5F0EA;
    font-weight: bold;
    text-align:center;
}

nav{
    background-color:#303030;
}

nav li{
    padding: 7.5px 10px;
}

nav a
{
    text-decoration: none;  
    display: block;
    border: none;
    min-width: 50px;
    border-radius: 15px;
}

nav a:hover
{     
    background-color:#252525;
    box-shadow: inset 0 1px 3px rgb(0 0 0 / 50%), 0 1px 0 rgb(255 255 255 / 10%);
}

nav ul{
    display: flex;
    list-style-type: none;
    padding: 0px;
}

main{
    flex: 1 0 0;
}

footer{
    background-color:#303030;
    text-align: center;
}

.links{
    display: flex;
    justify-content: center;
}

footer h2{    
    padding: 10px 0px 0px 0px;
    flex-grow: 1;
}

.footerLogo{
    width: 50px;
    height: 50px;
    padding: 10px 5px 10px 5px;
}

.footerLogo:hover {
    opacity: 0.8;
}

.footerDonate{
    height: 40px;
    width: auto;
    padding: 0px 5px 10px 5px;
}

.footerDonate:hover {
    opacity: 0.8;
}

.white-text-storeItemTitle {
    color: #F5F0EA;
    min-width: 100%;
    padding-top: 15px;
    text-shadow: 4px 4px 6px #000000;
}

.white-text-storeItemPrice{
    color: rgb(255, 255, 255);
    min-width: 100%;
    padding-bottom: 15px;
    text-shadow: 4px 4px 6px #000000;
}

input[type=text], input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    box-sizing: border-box;
    font-family: "Roboto", arial;
}

button {
    color: #F5F0EA;    
    background-color: #1a84e7;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    font-family: "Roboto", arial;
    font-size: 20px;
    border-radius: 15px;
}

label{
    color: #F5F0EA;
    font-size: 16px;
    font-family: "Roboto", arial;
}

button:hover {
    opacity: 0.8;
}

.cancelbtn {
    width: auto;
    border-radius: 15px;
    padding: 10px 18px;
    background-color: #f44336;
}

span.psw {
    float: right;
    padding-top: 16px;
    color: #F5F0EA;
    font-size: 16px;
    font-family: "Roboto", arial;
    text-decoration: none;
}

.psw a {
    color: #F5F0EA;
}

.psw a:hover {
    opacity: 0.8;
}

.white{
    color: #F5F0EA;
}

.round {
    border-radius: 100%;
}

.round-15 {
    border-radius: 15px;
}

.no-link-style {
    text-decoration: none;
}

.text-shadow {
    text-shadow: 4px 4px 6px #000000;
}

.pb-15 {
    padding-bottom: 15px;
}

.loading-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #303030;
    z-index: 10;
}

.loader {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: block;
  margin:15px auto;
  position: relative;
  background: #FFF;
  box-shadow: -24px 0 #FFF, 24px 0 #FFF;
  box-sizing: border-box;
  animation: shadowPulse 2s linear infinite;
}

@keyframes shadowPulse {
  33% {
    background: #FFF;
    box-shadow: -24px 0 #1a84e7, 24px 0 #FFF;
  }
  66% {
    background: #1a84e7;
    box-shadow: -24px 0 #FFF, 24px 0 #FFF;
  }
  100% {
    background: #FFF;
    box-shadow: -24px 0 #FFF, 24px 0 #1a84e7;
  }
}

.leaderboard-content {
    text-align: left;
    align-items: center;
    padding: 10px 20px 10px 20px;
    margin: 20px auto 10px auto;
    border-radius: 25px;
    background-color:#252525;
    box-shadow: 1px 1px 10px black;
}

.leaderboard-content a {
    text-decoration: none;
}

#btnLoadPage {
    width: 30%;
    margin-bottom: 20px;
}

.leaderboard-player {
    display: flex;
    flex-basis: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
}

a .leaderboard-player:hover {
    background-color:#303030;
}

.leaderboard-title {
    font-weight: 1000;
    text-align: center;
}

.leaderboard-header {
    font-weight: 1000;
    width: 200px;
    padding-left: 10px;
}

.leaderboard-value {
    width: 280px;
    padding-left: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.leaderboard-icon {
    border-radius: 25%;
    width: 20px;
    height: 20px;
    margin-left: 10px;
}

#stats-content {
    display: flex;
    flex-wrap: wrap;
    margin: 20px;
    padding: 30px;
    gap: 20px;
    border-radius: 15px;
    background-color:#252525;
    box-shadow: inset 0 2px 3px rgb(0 0 0 / 50%), 0 1px 0 rgb(255 255 255 / 10%);
}

#stats-header {
    display: flex;
    margin: 20px;
    border-radius: 15px;
    background-color:#252525;
    box-shadow: inset 0 2px 3px rgb(0 0 0 / 50%), 0 1px 0 rgb(255 255 255 / 10%);
}

#stats-header img {
    width: 100px;
    height: auto;
    margin: 30px 30px 30px 75px;
    border-radius: 15px;
}

#stats-header h4 {
    margin: auto 0px;
}

.stats-item {
    display: block;
    text-align: center;
    align-self: flex-start;
    width: 650px;
    margin: 10px auto;
    padding: 30px 0px;
    border-radius: 15px;
    box-shadow: 1px 1px 10px black;
}

#race-time-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 20px;
    padding: 30px;
    gap: 20px;
    border-radius: 15px;
    background-color:#252525;
    box-shadow: inset 0 2px 3px rgb(0 0 0 / 50%), 0 1px 0 rgb(255 255 255 / 10%);
}

#race-times-stat {
    text-align: left;
    padding: 10px 50px;
}

.race-time-stat-map {
    display: flex;
    flex-basis: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.race-time-stat-value {
    padding-left: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

#btnTopRaceTimes {
    width: 160px;
    margin: none;
    padding: 10px;
    font-size: 14px;
}

#credits-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 20px;
    padding: 30px;
    gap: 20px;
    border-radius: 15px;
    background-color:#252525;
    box-shadow: inset 0 2px 3px rgb(0 0 0 / 50%), 0 1px 0 rgb(255 255 255 / 10%);
}

@media screen and (min-width: 975px) {
   
    nav a
    {
        padding: 10px 10px;
    }

}

@media screen and (orientation: portrait){
    
    .first-description{
        min-width: 550px;
    }

    nav li
    {
        flex: 1 1 0;
    }

    nav a
    {
        padding: 25px 25px;
    }

    nav a h2 {         
        font-size: 25px;    
    }

    span.psw {
        display: block;
        float: none;
    }
    .cancelbtn {
        width: 100%;
    }
    
}

@media screen and (orientation: landscape){
    
    nav a
    {
        padding: 10px 10px;
    }

}
