@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
@font-face {
  font-family: "Jersey 20";
  src: url("fonts/Jersey20-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.title h1 {
  font-size: 50px;
  font-weight: 500;
  font-family: "Jersey 20", sans-serif;
  color: red;
}

.title h1 span{
  color: #004BFB;
}

.nav-connection a {
  text-decoration: none;
  color: #000000;
  font-weight: 900;
  font-family: "Inter", sans-serif;
}

body {
  font-family: "Inter";
  min-height: 100vh;
}

header{
  padding-top: 80px;
}

.logo img {
  height: 62px;
  width: 55px;
}

main {
  background-image: url("image/fond-brick.png");
  background-repeat: repeat-x;
  background-size: 33.333% 100%;
  background-position: top center;
  
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #FFFFFF;
  padding: 15px 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 
  position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

}

.container-center {
  width: 100%;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 4rem;

}

.container-center {
  display: flex;
  gap: 70px;
}

.box {
  height: 70vh;
  width: 55vh;
  padding: 30px;
  padding-top: 60px;
  border-radius: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;

  opacity: 0;
  animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.box:hover {
  transform: translateY(-12px);
}

.lego-block {
  background-image: url("image/fond-lego.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation-delay: 0.2s;
}

.bear-brick-block {
  background-image: url("image/fond-brick-block1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation-delay: 0.4s;
}

.container-center a {
  color: rgb(255, 255, 255);
  font-style: italic;
  text-decoration: none;
  font-size: xx-large;
  font-weight: 900;
  padding: 12px 35px;
 
 text-shadow:
       
       -3px  3px 0 black;
  border: #000000 4px solid;
  border-radius: 40px;
  transition: all 0.3s ease;
}

.lego-block a {
  background-color: #e53835b4;
}

.bear-brick-block a {
  background-color: #004bfb49;
}

.lego-block a:hover {
  background-color: #e53835;

}

.bear-brick-block a:hover{
  background-color: #004bfb;
}

.footer {
  background-color: #1c326d;
  color: white;
  margin-top: auto;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: white;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.8;
  color: #bdc3c7;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icon {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: rgba(145, 67, 67, 0.993);
  transform: translateY(-2px);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
}

.newsletter-form button {
  padding: 10px 20px;
  background-color: #1e254d;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: rgba(145, 67, 67, 0.993);
}

.footer-bottom {
  background-color: #212d38;
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 14px;
  color: #bdc3c7;
  margin: 0;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

/* ===== MOBILE LARGE (≤ 768px) ===== */
@media (max-width: 888px) {

 main {
  background-image: url("image/fond-brick.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;

  
}

.box{
  width: 85%;
}

  .nav-connection a{
    display: none;
  }

.container-center{
  flex-direction: column;
  height: 100%;

  padding: 5rem 0;
}

  .footer {
    padding: 32px 16px 16px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

/* ===== MOBILE (≤ 480px) ===== */
@media (max-width: 480px) {

 

.box{
    height: 40vh;
  width: 85%;
}

.box a{
  padding: 10px 20px;
}

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }



  .footer-section h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .social-links {
    flex-wrap: wrap;
    gap: 8px;
  }

  .footer-bottom {
    font-size: 0.75rem;
  }
}
