@import url('https://fonts.cdnfonts.com/css/public-pixel');

:root {
  --bg-color: #d1d1d1;
  --text-color: #000000;
  --primary-accent: #7cc0ee;
  --screen-color: #8B956D;
  --secondary-accent: #5799c5;
  --text-secondary: #363636;
  --egg-radius: 60% / 65% 65% 47% 47%;
  --egg-shadow: darken($body-main, 12%);
  --gradient-background: linear-gradient(90deg, rgba(54, 198, 255, 1) 0%, rgba(96, 199, 87, 0.45) 50%);
}

body {
    background-color: var(--bg-color) !important;
}

.up {
    text-align: center;
    max-width: 75%;
    margin: 100px auto;
}

#welcome-title {
    font-family: Public Pixel;
}

#welcome-title:hover {
    color: #5799c5;
    transition-duration: 0.5s;
    scale: 105%;
    cursor: default;
}

.tama-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

.tamagotchi {
    width: 256px;
    height: 310px;
    background: var(--secondary-accent);
    text-align: center;
    position: relative; 
    border-radius: var(--egg-radius);
    user-select: none;
    box-shadow: 10px 10px 40px -20px rgba(0, 0, 0, 0.664);
    margin-bottom: 30px; 
}

.screen {
    width: 150px;
    height: 150px;
    background-color: #8B956D;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -74px;
    margin-top: -70px;
    box-shadow: inset 0px 5px 0px 5px rgba(0, 0, 0, 0.2);
}

#me {
    scale: 200%;
    position: relative;
    margin-top: 55px;
}

.buttons {
    margin-top: 75px;
}

.tamabutton {
    display: inline-block;
    position: relative;
    cursor: pointer;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    margin: 8px 10px;
    border: 2px solid darken(var(--secondary-accent), 2%);
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2)
}

.tamabutton:active {
    background-color: #c7c7c7;
}

.navigation-text {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

#texto-dinamico {
    font-family: 'Public Pixel', sans-serif;
    font-size: 14px;
    color: #333;
    display: inline-block;
}

.topbar {
    border: 2px solid var(--text-secondary);
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    padding: 1rem 2rem;
    border-radius: 0px 0px 40px 40px;
    background: var(--primary-accent);
    background: var(--gradient-background);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-item {
  display: flex;
  list-style: none;
  font-family: 'Public Pixel';
}

.nav-item a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-item a:hover {
    color: chartreuse;
    transition: 0.2s;
}

.container-top {
    background: var(--primary-accent);
    background: var(--gradient-background) ;
    margin: 5vw;
    padding: 2vw;
    border-radius: 40px;
    border: 2px solid var(--text-secondary);
    font-family: 'Public Pixel';
    font-size: small;
    color: white;
    text-shadow: 1px 0px 2px var(--text-secondary);
    text-align: center;
    margin-top: 20vw;
}