@font-face {
  font-family: PDAfont;
  src: url(../assets/font/aller/Aller_Std_Bd.ttf);
}

body {
  font-family: PDAfont, sans-serif;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

html, body {
  height: 100%;
  width: 100%;
}

/* desktop app styling */
.desktopApps {
  padding-top: 64px;
  padding-left: 16px;
}

/* welcome window styling/window styling */

.github-link {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 20px;
}

#home {
  background-image: url('../assets/images/OS-background.JPG');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.waffles888 {
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.home-head {
  color: #fd7b01e0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.pet-box{
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    font-family: PDAfont, sans-serif;
    color: #fd7b01e0;
    display: flex;
    margin-bottom: 20px;
    text-align: center;
}

h1 {
  font-size: 3em;
  margin: 0;
  color: #fd7b01e0;
}

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

.welcome-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  bottom: 0px;
}

.OS-box {
  border-radius: 25px;
  position: absolute;
  width: 100%;
  display: flex;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.25);
  color: #fd7b01e0;
  justify-content: space-evenly;
}

.close-button {
  cursor: pointer;
  color: red
}

.window {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border: solid;
  width: fit-content;
  border-radius: 16px;
  flex-direction: column;
  display: flex;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.25);
  color: #fd7b01e0;
  justify-content: space-evenly;
}

.windowheader {
  display: flex;
  align-items: center;
  cursor: grab;
  justify-content: center;
}

.headertext {
  font-size: 1.5em;
  font-weight: bold;
  color: #fd7b01e0;
}

.welcometext {
  font-size: 1.5em;
  font-weight: bold;
  color: #fd7b01e0;
}

.header-button {
  display: flex;
  flex-direction: row;
  align-items: center;
}


/* first app styling */
.creature-card .card-section {
    width: 100%;
    text-align: left;
    margin-top: 15px;
}

.creature-card .card-section h4 {
    color: #F6C808;
    margin-bottom: 8px;
    font-size: 18px;
}

.creature-card .depth-value {
    color: #d54a12;
    margin: 0;
}

.sub-creatures-title {
    font-size: 48px;
    color: #F6C808;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    margin-bottom: 40px;
}

.creature-card h2,
.creature-card p {
    color: #D54A12;
}

.creature-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.creature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin: 20px;
    max-width: 300px;
    min-height: 420px;
    color: white;
    text-align: center;
}

.creature-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.sub-creatures h3 {
    color: #F6C808;
    margin-bottom: 12px;
}

/* selected icon styling */
.selected {
  background-color: rgba(0, 120, 215, 0.3);
  border: 1px solid rgba(0, 120, 215, 0.8);
  border-radius: 4px;
  width: fit-content;
}

/* database app styling */
.creature-data {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border: solid;
  width: fit-content;
  border-radius: 16px;
  flex-direction: column;
  display: none;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.25);
  color: #fd7b01e0;
  justify-content: space-evenly;
}

.creature_database_content {
  display: flex;
  max-height: 60vh;
  overflow-y: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.creature-data {
  width: 60vw;
}

.sonar {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #03e1fae0;
  background-color: rgba(3, 225, 250, 0.3);
  animation: sonar-ping 1.5s ease-out forwards;
  pointer-events: none;
}

@keyframes sonar-ping {
  from {
    width: 20px;
    height: 20px;
    opacity: 1;
  }
  to {
    width: 100px;
    height: 100px;
    opacity: 0;
  }
}