/* Hey skid or contributor this is the main css file for the whole website.
 if you are looking for themes there in "themes.css"*/

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono&family=Ubuntu:wght@400;500&display=swap');

@font-face {
	font-family: 'Croogla 4F';
	src: url(c/ss/fonts/Croogla4F.eot) format('embedded-opentype'),
		url(/css/fonts/Croogla4F.eot) format('embedded-opentype'),
		url(/css/fonts/Croogla4F.woff2) format('woff2'),
		url(/css/fonts/Croogla4F.woff) format('woff'),
		url(/css/fonts/Croogla4F.ttf) format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: auto;
}
@font-face {
  font-family: 'bone';
  src: url('/css/fonts/nasalization-rg.otf') format('opentype');
  /* Add additional font formats if needed */
  /* Other font properties like font-weight and font-style can also be specified */
}
/* Global */
#favicon {
  width: 35px;
}

body {
  margin: 0;
  padding: 0;
  background-color: #1a2023;
  height: 100%;
  color: rgb(219, 219, 219);
  animation: fadeIn 1s ease-out forwards;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  
  
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px); /* Fade in from the top */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Header */
header {
  background-color: transparent;
  padding: 20px;
  text-align: center;
}
/* Search */
.search-container {
  position: relative;
  width: 250px; /* Adjust the width as needed */
  margin: 0 auto; /* Center the search bar */
  display: flex;
}

#searchBar {
  width: 100%;
  height: 30px; /* Adjust the height as needed */
  border: none;
  background-color: #fff; /* Background color for the Neumorphic effect */
  border-radius: 8px; /* Adjust the border radius as needed */
  padding: 8px; /* Adjust the padding as needed */
  padding-left: 30px; /* Extra left padding for the icon */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adjust the shadow as needed */
  font-family: 'Ubuntu', sans-serif; /* Use the Ubuntu font */
  outline: none; /* Remove the default focus outline */
  transition: box-shadow 0.3s, background-color 0.3s;
  justify-content: center;
  text-align: center;
  color: #000;
}


.search-icon {
  position: absolute;
  left: 10px; /* Adjust the left position as needed */
  top: 55%;
  transform: translateY(-50%);
  color: rgba(0, 0, 0, 0); /* Color for the magnifying glass icon */
}

#searchBar:focus,
#searchBar:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adjust the focus/hover shadow as needed */ /* Adjust the background color on focus/hover as needed */
}

#searchBar::placeholder {
  color: #000000; /* Set the placeholder text color */
  transition: color 0.3s ease-in-out; /* Add transition to the placeholder color */
}

#searchBar:focus::placeholder,
#searchBar:hover::placeholder {
  color: #000000; /* Adjust the placeholder color on focus/hover as needed */
}
#searchBar:focus {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); /* Adjust the focus shadow as needed */
}

#searchBar.typing::placeholder {
  opacity: 1; /* Show the placeholder with full opacity while typing */
}

button {
  position: relative;
  cursor: pointer;
}

/* Headings and Links */
h1, h2, h3, h4, h5, a, p, td, tr {
	margin: 0;
	font-family: 'Ubuntu';
	font-weight: 800;
  text-decoration: none;
  color: white;
}
/* Game container */
#gameContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
}
/* Game Card */
.gameCard {
  width: 200px;
  margin: 10px;
  padding: 10px;
  border: 0px solid #ccc;
  transition: transform 0.3s ease-in-out;
}

.gameCard:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.gameCard img {
  width: 100%;
  height: 85%;
  border-radius: 15px;
  object-fit: cover;
}

.gameCard h3 {
  margin-top: 10px;
  font-size: 16px;
  text-align: center;
}

svg {
  fill: rgb(255, 255, 255);
}
/* Scrollbar */
::-webkit-scrollbar {
  width: 15px;
  border-radius: 15px;
}

::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 15px;
}

::-webkit-scrollbar-thumb {
  background: rgb(29, 130, 255);
  border-radius: 15px;
  height: 2px;
}
/* Navbar */
.navbar ul {
  list-style-type: none;
  background-color: transparent; /* Darker and semi-transparent */
  padding: 0px;
  margin-top: 10px;
  overflow: hidden;
  text-align: center;

  transition: background-color 0.3s;
  justify-content: center;
  
}
.navbar {
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.navbar ul:hover {
  background-color: transparent;
}

.navbar a {
  color: rgb(219, 219, 219);
  text-decoration: none;
  padding: 15px;
  display: block;
  text-align: left; /* 50% away from the left */
  font-family: 'Ubuntu', sans-serif;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s, transform 0.3s, border-radius 0.3s; /* Added border-radius transition */
  border-radius: 5px; /* Rounded corners on hover */
}

.navbar a:hover {
  background-color: rgb(29, 130, 255);
  transform: scale(1.05);
  border-radius: 15px; /* Rounded corners on hover */
}

.navbar li {
  float: left;
}

.navlogo {
  position: absolute;
  height: auto;
  left: 10%;
  top: 15px;
  width: 30px;
}
.navtext {
  position: absolute;
  left: 10%;
  top: 15px;
  width: 30px;
  color: rgb(29, 130, 255);
  font-size: 30px;
  font-family: 'Croogla 4F';
  font-weight: 300;
  display: flex;
  justify-content: center;
  align-items: center;
  
}
/*Native logo*/
.native {
  color: rgb(29, 130, 255);
  margin-top: 1%;
  font-size: 64px;
  font-family: 'Croogla 4F';
  font-weight: 300;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh; /* Adjust the height as needed */
}
/*Randome Text on homepage*/
#randomText {
  color: #fff;
  font-family: 'Ubuntu';
  text-align: center;
  position: relative;
  bottom: 150px;
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
}


/* Hide Nav bar on small displays*/
@media screen and (max-width: 768px) {
  .navbar ul {
    display: none;
    position: absolute;
    top: 100%; /* Position it below the navbar */
    left: 0;
    width: 100%;
    background-color: rgba(26, 32, 35, 0.9);
    transition: all 0.3s ease;
  }

  .navbar li {
    width: 100%; /* Make the list items full width */
    text-align: center; /* Center the text */
  }

  .navbar li:hover {
    background-color: rgba(26, 32, 35, 0.9);
  }

  .navbar li a {
    display: block;
    padding: 10px;
    color: rgb(255, 255, 255);
    transition: all 0.3s ease;
  }

  .navbar li a:hover {
    background-color: rgb(29, 130, 255);
    border-radius: 0;
    transform: none;
    text-shadow: none;
  }


  .menu-toggle {
    display: block;
  }

  .menu-toggle:checked + .navbar ul {
    display: block;
  }

  .menu-toggle {
    display: none;
  }
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.card {
  background-color: rgb(29, 130, 255);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  width: 850px;
  margin: 0px auto;
  position: absolute;
  left: 100px;
  top: 125px;
  display: block;
}

#iframeContainer {
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.card-body {
	padding: 10px;
}

.card-body h2 {
	font-family: 'Ubuntu', sans-serif;
	font-size: 20px;
	font-weight: bold;
	color: #dbdbdb;
}
/*Play Page*/
#gameIframe {
  width: 100%;
  height: 400px;
  margin-bottom: 0;
  border-radius: 8px 8px 0 0;
}

#fullscreengame {
  width: 50px;
  height: 50px;
top: 20px;
 right: -800px; 
  border: none;
  background: none;
  cursor: pointer;
  z-index: 9999;
  color: #fff;
}
#exitfullscreen {
  color: #800000;
  border: none;
  z-index: 9999;
  background: none;
  position: fixed;
  top: 30px;
  right: 0;
  display: none;
}
/*Button*/
.button {
  background-color: rgb(29, 130, 255);
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  display: inline-block;
  font-size: 16px;
  border-radius: 10px;
  transition: background-color 0.3s, transform 0.2s;
  position: relative;
  margin-top: 0;
}

.button:hover {
  background-color: rgba(29, 130, 255, 0.8);
  transform: translateY(-3px);
  
}
/*Cloaks*/
#premadecloaks {
  background-color: rgb(29, 130, 255);
  border: none;
  color: white;
  padding: 15px 32px;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 10px;
  transition: background-color 0.3s, transform 0.2s;
  margin-top: 10px;
  font-weight: 700;
}

#premadecloaks:hover {
  background-color: rgba(29, 130, 255, 0.8);
  transform: translateY(-3px);
  
}
/*Themes*/
#themeSelect {
  background-color: rgb(29, 130, 255);
  border: none;
  color: white;
  padding: 15px 32px;
  
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 10px;
  transition: background-color 0.3s, transform 0.2s;
  margin-top: 10px;
  font-weight: 700;
}

#themeSelect:hover {
  background-color: rgba(29, 130, 255, 0.8);
  transform: translateY(-3px);
  

}

/*Settings Page*/
#settings {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Ubuntu', sans-serif;
  text-align: center;
  margin-top: 12.5vh;
}
input[type=settings]{
 
border:2px solid #aaa;
  border-radius:4px;
  margin:8px 0;
  outline:none;
  padding:8px;
  box-sizing:border-box;
  transition:.3s;
}
input[type=settings]:focus{
  border-color:dodgerBlue;
  box-shadow:0 0 8px 0 dodgerBlue;
}
/*Apps Page*/
#appContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
}

#mathquiz {
  position: relative;
  top: 450px;
  cursor: pointer;
}

#widgetbot {
  position: absolute;
  top: 500px;
}

#themeSelect {
  font-family: 'Ubuntu', sans-serif;
}

 .rwd-table {
      color: #aea1ce;
      border-radius: 25px;
      overflow: hidden;
      margin: 0 auto;
      max-width: 800px;
     
    }
    
    .rwd-table tr {
      border-color: #aea1ce;
      text-align: center;
    }
    
    .rwd-table th,
    .rwd-table td {
      margin: .5em 1em;
      padding: 1em;
      background-color: #22282b;
     
    }
    
    .rwd-table td:before {
      color: #3da6ae;
      font-weight: bold;
      margin-right: 0.5em;
    }
    
    .rwd-table a {
      color: rgb(29, 130, 255);

    }
    
    
    @media (min-width: 480px) {
      .rwd-table th,
      .rwd-table td {
        display: table-cell;
        margin: 0;
        padding: 1em !important;
      }
    
      .rwd-table th:first-child,
      .rwd-table td:first-child {
        padding-left: 0;
      }
    
      .rwd-table th:last-child,
      .rwd-table td:last-child {
        padding-right: 0;
      }
    
      .rwd-table td:before {
        display: none;
      }
    }
    .search-bar {
      width: 300px;
      padding: 10px;
      margin-top: 20px;
      border-radius: 5px;
      border: none;
    }
    #uv-address {
      background: none;
      font-family: inherit;
      padding: 0px 17px;
      height: 48px;
      border: 1px solid rgb(255, 255, 255, 0.2);
      color: var(--text-color);
      border-radius: 3px;
      outline: none;
      width: 350px;
      margin-top: 5px;
      border-radius: 50px;
      color: #fff;
      transition: border-radius 0.1s;
    }
    
    #uv-address:focus {
      border: 1px solid rgba(253, 253, 253, 0.514);
      border-radius: 6px;
    }

    select {
      text-align: center;
      text-align-last: center;
    }
    option {
      text-align: left;
    }

#gamename {
  color: white;
}

