/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary-color: #4caf50;
    --primary-dark: #2e7d32;
    --background-light: linear-gradient(135deg, #2c5e1a, #3a8326);
    --background-dark: linear-gradient(135deg, #1a2e0f, #1f4214);
    --text-color: #fff;
    --game-bg: rgba(0, 0, 0, 0.8);
    --header-bg: rgba(0, 0, 0, 0.5);
    --logos-bg: rgba(0, 0, 0, 0.4);
    --canvas-bg: #222;
    --score-color: #ffd700;
    --error-color: #f44336;
}

.dark-mode {
    --background-light: linear-gradient(135deg, #121212, #1e1e1e);
    --game-bg: rgba(20, 20, 20, 0.9);
    --header-bg: rgba(10, 10, 10, 0.7);
    --logos-bg: rgba(30, 30, 30, 0.6);
    --canvas-bg: #111;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--background-light);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: background 0.3s ease;
}

.game-container {
    width: 100%;
    max-width: 800px;
    background-color: var(--game-bg);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    transition: background-color 0.3s ease;
}

.game-header {
    padding: 20px;
    background-color: var(--header-bg);
    text-align: center;
    position: relative;
    border-bottom: 3px solid var(--primary-color);
    transition: background-color 0.3s ease;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 8px;
    border-radius: 8px;
    background-color: white !important;
}

.logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.deathtrip-logo {
    height: 35px;
}

.uit-logo {
    height: 45px;
}

.score-display {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-color);
}

#score {
    color: var(--score-color);
    font-size: 20px;
}

/* Dark Mode Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

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

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

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

input:checked + .slider {
    background-color: var(--primary-color);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}

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

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

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

canvas {
    display: block;
    background-color: var(--canvas-bg);
    width: 100%;
    height: 600px;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast; /* For Chrome/Safari */
    image-rendering: -moz-crisp-edges; /* For Firefox */
    image-rendering: -o-crisp-edges; /* For Opera */
    image-rendering: pixelated; /* Future standard */
    transition: background-color 0.3s ease;
}

.active-powerups {
    padding: 10px 20px;
    background-color: var(--header-bg);
    transition: background-color 0.3s ease;
}

.powerup-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

#powerupContainer {
    display: flex;
    gap: 10px;
    min-height: 40px;
    flex-wrap: wrap;
}

.powerup-item {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.powerup-icon {
    font-size: 18px;
    margin-right: 5px;
}

.game-controls {
    padding: 20px;
    text-align: center;
    background-color: var(--header-bg);
    border-top: 3px solid var(--primary-color);
    transition: background-color 0.3s ease;
}

button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    margin: 0 10px;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

button:active {
    transform: translateY(1px);
}

button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.controls-help {
    margin-top: 15px;
    font-size: 14px;
    color: #bbb;
}

.controls-help p {
    margin: 5px 0;
}

.controls-help .powerup-icon {
    display: inline-block;
    vertical-align: middle;
    margin: 0 2px;
}

.game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 3px solid var(--error-color);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
    z-index: 10;
    width: 80%;
    max-width: 400px;
}

.game-over h2 {
    color: var(--error-color);
    font-size: 28px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
}

.game-over p {
    margin: 10px 0;
    font-size: 18px;
}

.safety-tip {
    padding: 10px;
    background-color: rgba(76, 175, 80, 0.2);
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    margin-top: 20px;
    text-align: left;
}

/* Power-up display */
.game-options-container .powerup-section {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 10px;
    margin-top: 15px;
}

.game-options-container .powerup-section h3 {
    margin-top: 0;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.powerup-container {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 150px;
    overflow-y: auto;
}

.powerup-item {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    background: rgba(30, 30, 30, 0.7);
    border-radius: 6px;
    color: white;
    font-size: 14px;
}

.powerup-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 16px;
}

.powerup-empty {
    font-style: italic;
    opacity: 0.7;
}

.powerup-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.powerup-bar {
    height: 5px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.powerup-progress {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.powerup-time {
    font-size: 11px;
    opacity: 0.8;
    text-align: right;
}

/* Animation for collecting power-ups */

.toggle-label {
    margin-right: 10px;
}

.toggle-hint {
    display: block;
    margin-top: 5px;
    color: #777;
    font-size: 0.8em;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    canvas {
        height: 400px;
    }
    
    button {
        padding: 8px 15px;
    }
    
    .top-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .logos {
        background-color: white !important;
        order: 1;
    }
    
    .theme-toggle {
        order: 3;
    }
    
    .button-container {
        order: 2;
    }
    
    body {
        touch-action: manipulation;
    }
}

@media (max-width: 480px) {
    canvas {
        height: 350px;
    }
    
    .game-container {
        padding: 0;
    }
    
    .game-header, .game-controls {
        padding: 10px;
    }
    
    button {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .deathtrip-logo {
        height: 28px;
    }
    
    .uit-logo {
        height: 35px;
    }
}

/* Tillegg for Windows-kompatibilitet */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    /* Spesifikke stiler for Internet Explorer */
    canvas {
        width: 100%;
        height: 600px;
    }
    
    .game-container {
        width: 100%;
        max-width: 800px;
    }
}

/* For Edge (Chromium) */
@supports (-ms-ime-align:auto) {
    canvas {
        image-rendering: auto;
    }
}

.sound-toggle {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin-left: 15px;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s;
    box-shadow: none;
}

.sound-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: none;
}

.sound-toggle:active {
    background-color: rgba(255, 255, 255, 0.3);
    transform: none;
}

.clear-data-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin-left: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: rgba(255, 0, 0, 0.1);
    transition: background-color 0.3s;
    box-shadow: none;
    color: #fff;
}

.clear-data-btn:hover {
    background-color: rgba(255, 0, 0, 0.3);
    transform: none;
}

.clear-data-btn:active {
    background-color: rgba(255, 0, 0, 0.5);
    transform: none;
}

.button-container {
    display: flex;
    gap: 15px;
    margin-left: 15px;
}

.button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.button-label {
    font-size: 12px;
    color: #fff;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.new-high-score {
    color: gold;
    font-size: 1.4em;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.7), 0 0 10px rgba(255, 215, 0, 0.5);
    animation: pulse 1s infinite alternate;
    margin: 10px 0;
}

@keyframes pulse {
    from {
        transform: scale(1);
        opacity: 0.8;
    }
    to {
        transform: scale(1.1);
        opacity: 1;
    }
}

.name-input-container {
  margin: 20px 0;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  text-align: center;
}

.name-input-container label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: #fff;
}

.name-input-container input, 
.name-input-container textarea {
  width: 80%;
  padding: 10px;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.95);
  color: #000;
  margin-bottom: 10px;
  font-size: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.name-input-container textarea {
  min-height: 60px;
  max-height: 150px;
  resize: vertical;
  overflow-y: auto;
  font-family: inherit;
  line-height: 1.4;
}

.name-input-container input:focus,
.name-input-container textarea:focus {
  outline: none;
  border-color: #FFC107;
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
}

.submit-name-btn {
  display: block;
  margin: 10px auto;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.2s;
}

.submit-name-btn:hover {
  background-color: var(--primary-dark);
}

.highscore-list {
  margin: 20px 0;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  text-align: center;
  width: 100%;
}

.highscore-list h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--score-color);
  font-size: 24px;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.highscore-list ol {
  text-align: left;
  padding-left: 20px;
  margin: 10px auto;
  max-width: 300px;
}

.highscore-list li {
  padding: 5px 0;
  color: #fff;
  font-size: 16px;
}

.highscore-list li:nth-child(1) {
  color: gold;
  font-weight: bold;
  font-size: 18px;
}

.highscore-list li:nth-child(2) {
  color: silver;
  font-weight: bold;
}

.highscore-list li:nth-child(3) {
  color: #cd7f32; /* Bronze */
  font-weight: bold;
}

/* Highscore modal */
.highscore-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.8);
  padding: 30px;
  border-radius: 10px;
  border: 2px solid var(--primary-color);
  max-width: 550px;
  width: 90%;
  height: auto;
  min-height: 500px;
  z-index: 1000;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close-highscore-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-highscore-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Justering for highscore-knappen */
#highscoreBtn {
  margin-left: 10px;
  background-color: #9c27b0; /* Lilla farge for å skille den ut */
}

#highscoreBtn:hover {
  background-color: #7b1fa2;
}

/* Styling for tabellaktig highscore-visning */
.highscore-header {
  display: grid;
  grid-template-columns: 80px 1fr 100px;
  margin-bottom: 10px;
  padding: 10px 15px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 5px;
  font-weight: bold;
  color: #FFD700;
  font-size: 18px;
  position: sticky;
  top: 0;
  z-index: 1;
}

.highscore-table {
  max-height: 350px;
  overflow-y: auto;
  margin: 0 auto;
  width: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 5px;
}

.highscore-table::-webkit-scrollbar {
  width: 8px;
}

.highscore-table::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.highscore-table::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 4px;
}

.highscore-row {
  display: grid;
  grid-template-columns: 80px 1fr 100px;
  padding: 10px 15px;
  margin-bottom: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  transition: background-color 0.2s;
  font-size: 16px;
  min-height: 45px;
}

.highscore-row:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.rank-cell {
  font-weight: bold;
  text-align: left;
}

.name-cell {
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
  padding-right: 15px;
  line-height: 1.5;
}

.score-cell {
  text-align: right;
  font-weight: bold;
  min-width: 90px;
}

.rank-1 {
  background-color: rgba(255, 215, 0, 0.3);
  border-left: 3px solid gold;
}

.rank-2 {
  background-color: rgba(192, 192, 192, 0.3);
  border-left: 3px solid silver;
}

.rank-3 {
  background-color: rgba(205, 127, 50, 0.3);
  border-left: 3px solid #cd7f32;
}

.no-scores {
  text-align: center;
  padding: 20px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
}

.long-name {
  position: relative;
  cursor: help;
}

.long-name:hover {
  overflow: visible;
  z-index: 5;
}

.long-name:hover::after {
  content: attr(title);
  position: absolute;
  left: 0;
  top: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: normal;
  max-width: 300px;
  word-wrap: break-word;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

@media (max-width: 768px) {
  .highscore-modal {
    max-width: 450px;
    min-height: 450px;
    padding: 20px;
  }
  
  .highscore-header, .highscore-row {
    grid-template-columns: 60px 1fr 80px;
    padding: 8px 10px;
    font-size: 14px;
  }
  
  .name-cell {
    max-width: 180px;
  }
  
  .score-cell {
    min-width: 70px;
  }
  
  .highscore-list h3 {
    font-size: 20px;
  }
}

.clickable-name {
  cursor: pointer;
  position: relative;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

.clickable-name:hover {
  color: #ffd700;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.name-popup {
  position: absolute;
  background-color: rgba(30, 30, 30, 0.95);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  font-size: 16px;
  max-width: 400px;
  word-wrap: break-word;
  z-index: 2000;
  animation: fadeIn 0.2s ease-out;
}

.popup-close-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: transparent;
  color: white;
  border: none;
  font-size: 18px;
  line-height: 1;
  padding: 2px 6px;
  cursor: pointer;
  margin: 0;
  border-radius: 50%;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.popup-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: none;
}

.popup-content {
  padding-right: 20px;
  padding-top: 5px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.score-confirmation {
  margin: 20px auto;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  animation: bounceIn 0.8s ease;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  max-width: 400px;
}

.gold-rank {
  color: gold;
  background-color: rgba(255, 215, 0, 0.2);
  border: 2px solid gold;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.silver-rank {
  color: silver;
  background-color: rgba(192, 192, 192, 0.2);
  border: 2px solid silver;
  text-shadow: 0 0 10px rgba(192, 192, 192, 0.7);
}

.bronze-rank {
  color: #cd7f32;
  background-color: rgba(205, 127, 50, 0.2);
  border: 2px solid #cd7f32;
  text-shadow: 0 0 10px rgba(205, 127, 50, 0.7);
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  70% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

.close-gameover-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 0, 0, 0.3);
  color: white;
  border: none;
  font-size: 24px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  box-shadow: none;
  transition: background-color 0.2s;
  z-index: 20;
}

.close-gameover-btn:hover {
  background-color: rgba(255, 0, 0, 0.6);
  transform: none;
}

.close-gameover-btn:active {
  background-color: rgba(255, 0, 0, 0.8);
  transform: none;
}

.highscore-wrapper {
  position: relative;
  margin: 15px 0;
  width: 100%;
}

/* Behold bare stilen for lukkeknappen i highscore-modal */
.highscore-modal .close-highscore-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 25;
}

/* Styling for the save name container */
.save-name-container {
  display: flex;
  align-items: center;
  margin: 10px 0;
  font-size: 15px;
  color: #ccc;
}

.save-name-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  cursor: pointer;
}

.save-name-container label {
  cursor: pointer;
}

/* Name suggestions styling */
.name-suggestions {
  margin: 10px 0;
  line-height: 1.5;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 8px 12px;
  border-radius: 5px;
  border-left: 3px solid var(--primary-color);
}

.name-suggestion {
  display: inline-block;
  margin: 2px 5px;
  transition: all 0.2s ease;
}

.name-suggestion:hover {
  color: white !important;
  transform: scale(1.05);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Touch Controls for Mobile Devices */
.touch-controls {
  display: none;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  z-index: 100;
}

.touch-button {
  position: absolute;
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.touch-button:active {
  background-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.touch-up {
  top: 0;
  left: 60px;
}

.touch-down {
  bottom: 0;
  left: 60px;
}

.touch-left {
  top: 60px;
  left: 0;
}

.touch-right {
  top: 60px;
  right: 0;
}

/* Show touch controls only on touch devices */
@media (pointer: coarse) {
  .touch-controls {
    display: block;
  }
  
  /* Make some extra space at the bottom for the controls */
  .game-controls {
    margin-bottom: 200px;
  }
  
  /* Adjust canvas height on mobile to avoid scrolling */
  canvas {
    height: 450px;
  }
}

/* Responsive adjustments for very small screens */
@media (max-width: 380px) {
  .touch-controls {
    width: 150px;
    height: 150px;
  }
  
  .touch-button {
    width: 50px;
    height: 50px;
  }
  
  .touch-up {
    left: 50px;
  }
  
  .touch-down {
    left: 50px;
  }
  
  .touch-left {
    top: 50px;
  }
  
  .touch-right {
    top: 50px;
  }
}

/* Ensure logo background stays white in all conditions */
.dark-mode .logos {
    background-color: white !important;
}