/* Copyright 2013 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

html, body {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  background-color:white;
}
/* Scrollbar Styling */
body::-webkit-scrollbar {
  width: 5px; /* Width of the scrollbar */
}

body::-webkit-scrollbar-track {
  background: #f1f1f1; /* Background color of the track */
  border-radius: 10px; /* Rounded corners for the track */
}

body::-webkit-scrollbar-thumb {
  background: #1f3a52;
  border-radius: 10px; /* Rounded corners for the thumb */
}

body::-webkit-scrollbar-thumb:hover {
  background: #555; /* Darker color when hovered */
}
h1 {
  text-align: center;
  color:green;
  margin-bottom: 1.5rem;
}
header {
  color: #fff;
  padding: 5px; 
  text-align: center;
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%; 
  z-index: 1000; 
  display: flex;
  justify-content: space-between;
  align-items: center; 
}
#dashboard{
  background: rgba(190, 190, 209, 0.772);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 0 auto;          /* Center horizontally */
  border-radius: 15px;  
  max-width: 1200px;
  position: relative;      /* Fix margin-top behavior */
  top: 83px;  
 
}
.dash {
  margin-top: -45px; /* Move the entire .dash container a bit up */
  padding-top: 0; /* Ensure there's no excessive padding pushing it down */
}
.dash h1 {
  font-weight: bold; /* Make the text bold */
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 30px; /* Adjust margin if needed */
}
.row-g4{
  margin-top: -45px;
}
.social-media-icons {
  display: flex;
  align-items: center; 
  margin-left: 10px; 
}

.social-media-icons a {
  text-decoration: none; 
  color: white; 
  font-weight: bold; 
  font-family: 'Open Sans', sans-serif; 
  font-style: italic; 
}

.social-media-icons a:hover h2 {
  animation: shake 0.5s forwards; 
}

/* Navigation Styling */
nav {
  position: fixed;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between; /* Ensures spacing between links and button */
  margin-top: 8px;
}

.nav-center {
  flex: 1; /* Takes up the middle space */
  display: flex;
  justify-content: center; /* Ensures the links stay centered */
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 15px;
}


nav ul {
  list-style: none;
  display: flex;
  justify-content: center; /* Center list items */
  align-items: center;
  margin: 0;
  padding: 0;


 
}

nav ul li {
  margin: 0.5rem;
}

nav ul li a {
  color: whitesmoke;
  font-family: 'Nunito', sans-serif;
  text-decoration: none;
  font-size: 14.2px;
  transition: border-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
  font-weight: 700;
}

nav ul li a:hover {
  transform: scale(1.1);
  color: #177bac;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 15px;
  /* Moves underline further down */
}

.logout-container {
 position: relative;
  width: 90px;
  background-color:#1f3a52;
  border-radius: 12px;
  margin-top: 1px;
  margin-left: 5px;
  padding-top: 2px;
  font-size: 14.2px;
  line-height: 12.8px; /* Match font size to remove extra spacing */
 
}
.sub-container {
  position: relative;
   width: 90px;
   background-color:#1f3a52;
   border-radius: 12px;
   margin-top: 1px;
  
   padding-top: 2px;
   font-size: 14.2px;
 
  
}
/* LOGO Container - Absolute Positioning */
.logo-video {
  width: 144px;
  height: 94px;
  border-radius: 49.5%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease-in-out;
}
.logo-container {
  transition: transform 0.1s ease-in-out;
}

.logo-container:hover {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-5px);
  }
  40% {
    transform: translateX(5px);
  }
  60% {
    transform: translateX(-5px);
  }
  80% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}


.icon {
  -webkit-user-select: none;
  user-select: none;
  display: inline-block;
}

.icon-offline {
  content: -webkit-image-set(
    url("../dino-assets/default_100_percent/100-error-offline.png") 1x,
    url("../dino-assets/default_200_percent/200-error-offline.png") 2x
  );
  position: relative;
}


.hidden {
  display: none;
}

.sendmessage h1{
margin-top:100px;
color:green;
font-weight: bold;
font-size: 1.0rem;
}
/* Offline page */
.offline .interstitial-wrapper {
  color: #2b2b2b;
  font-size: 1em;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 600px;
  padding-top: 100px;
  width: 100%;
}

.offline .runner-container {
  height: 150px;
  max-width: 600px;
  overflow: hidden;
  position: absolute;
  top: 150px;
  width: 44px;
  
}

.offline .runner-canvas {
  height: 150px;
  max-width: 600px;
  opacity: 1;
  overflow: hidden;
  position: absolute;
  top: 0;
  z-index: 2;
 
}

.offline .controller {
  background: rgba(247, 247, 247, .1);
  height: 100vh;
  left: 0;
  position: absolute;
  top: 0;
  width: 100vw;
  z-index: 1;
}

#offline-resources {
  display: none;

}

@media (max-width: 420px) {
  .suggested-left > #control-buttons, .suggested-right > #control-buttons {
    float: none;
  }
  .snackbar {
    left: 0;
    bottom: 0;
    width: 100%;
    border-radius: 0;
  }
}

@media (max-height: 350px) {
  h1 {
    margin: 0 0 15px;
  }
  .icon-offline {
    margin: 0 0 10px;
  }
  .interstitial-wrapper {
    margin-top: 5%;
  }
  .nav-wrapper {
    margin-top: 30px;
  }
}

@media (min-width: 600px) and (max-width: 736px) and (orientation: landscape) {
  .offline .interstitial-wrapper {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 420px) and (max-width: 736px) and (min-height: 240px) and (max-height: 420px) and (orientation:landscape) {
  .interstitial-wrapper {
    margin-bottom: 100px;
  }
}

@media (min-height: 240px) and (orientation: landscape) {
  .offline .interstitial-wrapper {
    margin-bottom: 90px;
  }
  .icon-offline {
    margin-bottom: 20px;
  }
}

@media (max-height: 320px) and (orientation: landscape) {
  .icon-offline {
    margin-bottom: 0;
  }
  .offline .runner-container {
    top: 10px;
  }
}

@media (max-width: 240px) {
  .interstitial-wrapper {
    overflow: inherit;
    padding: 0 8px;
  }
}

.arcade-mode,
.arcade-mode .runner-container,
.arcade-mode .runner-canvas {
  image-rendering: pixelated;
  max-width: 100%;
  overflow: hidden;
 
}

.arcade-mode #buttons,
.arcade-mode #main-content {
  opacity: 0;
  overflow: hidden;
}

.arcade-mode .interstitial-wrapper {
  height: 100vh;
  max-width: 100%;
  overflow: hidden;
}

.arcade-mode .runner-container {
  left: 0;
  margin: auto;
  right: 0;
  transform-origin: top center;
  transition: transform 250ms cubic-bezier(0.4, 0, 1, 1) 400ms;
  z-index: 2;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 100 700;
    font-display: swap;
    src:
      url('/assets/fonts/OpenSans/OpenSans-VariableFont_wdth,wght.woff2') format('woff2'),
      url('/assets/fonts/OpenSans/open-sans_5.2.7_latin-wght-normal.woff2') format('truetype');
}
