/* style.css */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: hsl(221, 71%, 15%);
  background-size: cover;
}

html {
  scroll-behavior: smooth;
}

.Title_container {
  margin-top: 50px;
  color: rgb(240, 229, 229);
  font-size: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.letter {
  opacity: 0;
  display: inline-block;
  animation: fadeInTitle 0.05s forwards;
}

@keyframes fadeInTitle {
  to {
    opacity: 1;
  }
}

.top-footer {
  padding: 20px 0;
  background-color: #232a3d;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.top-footer ul {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.top-footer a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.top-footer a:hover {
  color: #1654da;
  background-color: rgb(240, 255, 255);
  padding: 12px;
  border-radius: 2px;
}

.items_bg {
  background-color: #0d1d3f;
  padding: 20px 0;
}

.Describ_text ul {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 10px 0;
  padding: 0;
}

.Describ_text ul li {
  color: aliceblue;
  font-weight: 700;
  font-size: 17px;
}

.boxes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 20px;
}

.Box_tem1, .Box_tem2, .Box_tem3 {
  width: 300px;
  height: 400px;
  background-color: #94a7dbab;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
}

.Box_tem1 {
  background-image: url("Image/weather.jpg");
  animation: lid 3s ease-in 0.6s infinite;
}

@keyframes lid {
  0% { transform: translateX(0); }
  50% { transform: translateX(-50px); }
}

.Box_tem2 {
  background-image: url("Image/countries.jpg");
  animation: fadeInBox 1s ease-in-out;
}

.Box_tem3 {
  background-image: url("Image/crypto.jpg");
  animation: ban 3s ease-in 0.6s infinite;
}

@keyframes ban {
  0% { transform: translateX(0); }
  50% { transform: translateX(50px); }
}

@keyframes fadeInBox {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.second_sec {
  margin-top: 20px;
  background-color: rgb(218, 210, 199);
  background-image: url("Image/Second_sec_bg.jpg");
  background-size: cover;
  background-position: center;
}

.contact_section {
  display: flex;
  justify-content: center;
  padding: 20px;
  background-color: #1a1a1a;
  background-image: url("Image/second_sec_bg.jpg");
  background-size: cover;
  background-position: center;
}

.contact_card {
  background-color: rgba(17, 18, 20, 0.7);
  padding: 40px;
  border-radius: 0 0 50px 50px;
  max-width: 800px;
  width: 100%;
  color: rgb(223, 227, 231);
}

.in_touch {
  font-size: 32px;
  margin-bottom: 20px;
  text-align: center;
}

.form_and_button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact_form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact_form input,
.contact_form textarea {
  width: 100%;
  max-width: 500px;
  margin-bottom: 15px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  resize: vertical;
  background-color: #e7dada;
  color: #000;
}

.contact_form button {
  height: 50px;
  width: 200px;
  font-size: 15px;
  background-color: #4a90e2;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.5s;
}

.contact_form button:hover {
  background-color: #b7bec4;
  color: blue;
}

.team_button {
  padding: 12px 20px;
  font-size: 18px;
  background-color: #28a745;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
  text-align: center;
}

.team_button:hover {
  background-color: #218838;
}

.Game {
  border-radius: 2rem;
  padding: 2rem;
  background-color: #fffffff1;
  margin-top: 2rem;
  transition: background 0.3s;
  text-align: center;
}

.Game a {
  list-style: none;
  font-weight: 800;
  color: #000000;
  text-decoration: none;
}

.Game:hover {
  background-color: #11111185;
  color: #e6e0e0;
}

.Game a:hover {
  color: #ffffff;
}

.top {
  text-align: center;
  margin-top: 20px;
}

.top a {
  font-size: 20px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 5px;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.top a:hover {
  color: #0d64b1;
}

.site-footer {
  opacity: 0.8;
  background-color: #111214;
  color: white;
  padding: 30px 20px;
  font-family: Arial, sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-left, .footer-center, .footer-right {
  flex: 1;
  min-width: 200px;
}

.contact-btn {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: white;
  color: #1743bb;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.contact-btn:hover {
  background-color: #e0e0e0;
}

.social-icons a {
  margin-right: 10px;
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ffd700;
}

.footer-right {
  display: flex;
  align-items: flex-end;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .boxes-container {
    flex-direction: column;
    align-items: center;
  }

  .Describ_text ul {
    flex-direction: column;
    align-items: center;
  }

  .form_and_button {
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  .Title_container {
    font-size: 28px;
  }

  .contact_form input,
  .contact_form textarea {
    max-width: 100%;
  }

  .top-footer ul {
    flex-direction: column;
    gap: 10px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
