@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@500&display=swap');

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://i.ibb.co/G46r0HYW/photo-2025-09-14-22-39-41.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: "Unbounded", sans-serif;
  overflow: hidden;
}

.content {
  max-width: 350px;
  width: 70%;
  height: auto;
  background-color: rgba(115, 84, 84, 0.93);
  border-radius: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 20px 5px;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

img {
  width: 90%;
  border-radius: 10px;
  aspect-ratio: 3.5 / 2;
  object-fit: cover;
}

img.loading {
  opacity: 0.5;
  filter: blur(2px);
}

h1 {
  margin: 0;
  font-size: 24px;
  
}

p {
  margin: 0;
  font-size: 12px;
}

.links-row {
  display: flex;
  justify-content: space-between;
  width: 90%;
  gap: 8px;
}

.link {
  text-decoration: none;
  color: white;
  width: 90%;
  background-color: #733B3B;
  padding: 10px 10px;
  border-radius: 10px;
  cursor: pointer;
  text-align: left; 
  transition: opacity 0.3s ease;
  opacity: 0.7;
  box-sizing: border-box;
}

.link:hover {
  opacity: 1;
}

@media (max-width: 500px) {
  .links-row {
    flex-direction: column;
  }
  
  .link {
    font-size: 14px;
  }

  .links-row .link {
    width: 100%;
    font-size: 14px;
  }
}