@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
    --default-font: "Press Start 2P", system-ui;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--default-font);
    background: url(./assets/img/clouds.png) repeat-x;
    background-color: #b6ccfe;
    background-size: cover;
    overflow: hidden;

    animation: nuvensAnimadas 65s linear infinite;
}

img {
  width: 50px;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    animation: surgir 1s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
    flex-direction: column;
}

.container_content {
    width: 560px;
    height: 230px;
    background-color: #ffc2d1;

    

    border: 20px double #fff;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;

    box-shadow: 0 0 0 4px #ffb6c1;
    animation: brilhar 2s infinite alternate;
}

button {
    padding: 10px;

    border-radius: 0; 
    font-family: var(--default-font);
    box-shadow: 2px 2px 0 black;
    cursor: pointer;

    transition: all 0.1s ease-in-out;
}

#transBtn {
  background: url(./assets/img/transflag.png);
  background-repeat: no-repeat;
  background-position: 10px center;
  padding-left: 40px;
  height: 30px;
  border: none;
  cursor: pointer;
  box-shadow: none;
}

.buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

#transBtn:hover {
  transform: none;
  box-shadow: none;
}

button:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 black;
}

.text {
  font-family: 'Press Start 2P', cursive;
  font-size: 1rem;
  white-space: normal;
  overflow: hidden;
  text-align: center;
  letter-spacing: 1.5px;
  line-height: 1.3rem;
}

.estrela:hover {
  filter: brightness(1.3);
  transform: scale(1.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

@keyframes surgir {
  to {
    opacity: 1;
    transform: translateY(2px);
  }
}

@keyframes brilhar {
  from {
    box-shadow: 0 0 0 4px #ffb6c1;
  }
  to {
    box-shadow: 0 0 10px 4px #ffcadd;
  }
}

@keyframes nuvensAnimadas {
  0% { background-position: 0 0; }
  100% { background-position: -1000px 0; }
}


@media (max-width: 768px) {
  .container_content {
    width: auto;
  }

  main {
    padding: 20px;
  }
}
