* {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  padding: 0;
  margin: 0;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  scrollbar-gutter: stable;
}

a {
  color: inherit;
  text-decoration: none;
}

.loading {
  width: 200px;
  height: auto;
}

.main {
  width: 100%;  
  display: flex;
  flex-direction: column;  
  padding: 10px;

  flex: auto;
  align-items: center;

  justify-content: center;  
}

.main-container {   
  display: flex;  
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 10px;  
}

h1 {
  font-size: 50px;  
}

.description {
  font-size: 20px;
  color: #222;
  margin: 10px 0px;

  max-width: 400px;
}

.links-container {
  display: flex;
  gap: 15px;
  justify-content: left;
  margin-top: 20px;
}

.links-container a,
.links-container .icon-link {
  color: #333;
  font-size: 24px;
  text-decoration: none;
  transition: color 0.3s;
}

.links-container a:hover,
.links-container .icon-link:hover {
  color: #ff4826;
}

.photo {
  max-width: 300px;
  height: auto;  
  border-radius: 25px;
}

.my-apps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding: 10px;
}

.app-carousel {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.app-card {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  transform: scale(1.05);  
}

.app-icon {
  width: 100px;
  height: auto;
  border-radius: 10px;
}

.app-name {
  font-size: 12px;
  font-weight: bold;
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #111;
    color: #ddd;
  }

  .description {
    color: #ccc;
  }

  .links-container a,
  .links-container .icon-link {
    color: #ddd;
  }

  .links-container a:hover,
  .links-container .icon-link:hover {
    color: #ff8563;
  }

}

@media (max-width: 600px) {
  .my-apps {
    margin: 20px 0px;
  }
}

/* Language toggle button */
#language-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid #333;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
}

#language-toggle:hover {
  background-color: #333;
  color: #fff;
  transform: scale(1.05);
}

@media (prefers-color-scheme: dark) {
  #language-toggle {
    background-color: rgba(17, 17, 17, 0.9);
    border-color: #ddd;
    color: #ddd;
  }

  #language-toggle:hover {
    background-color: #ddd;
    color: #111;
  }
}
