@import url('https://fonts.googleapis.com/css2?family=Jersey+10&display=swap');
*{
margin: 1px;
padding: 1px;
box-sizing: border-box;
scroll-behavior: smooth;
 font-family: "Jersey 10", sans-serif;
 font-size: xx-large;
}
body{
    background-color: darkblue;
background-image: url(icons/BG.png);
background-size: 2560px 1440px;

}
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem auto;
    max-width: 1200px;
}
.navigation ul{
    display: flex;
    list-style-type: none;
    gap: 2rem;

}
.navigation a{
    text-decoration: none;
    color:  #11317a;
}
.navigation a:hover{
    color: azure;
}
hr{
    opacity: 30%;
}
.hero{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5rem;
    max-width: 1200px;
}
.herosub{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.name{
    font-size: 2rem;
    color: #11317a;
}
.title{
    font-size: 1rem;
    color: #11317a;
}
.socialicons{
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.facebook img{
    object-fit: contain;
    transition: transform 0.2s;
}
.facebook :hover{
    transform: scale(1.4);
    transform: rotate(15);
}
.aboutme
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5rem auto;
    max-width: 1200px;
    gap: 10rem;
}
.textcontainer{
    display: flex;
    flex-direction: column;
}
.texttitle{
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 2rem;
}
.aboutname{
    color: #11317a;
    font-size: 2rem;

}
.abouttitle{
     color: #11317a;
    font-size: 2rem;
}
.aboutmepar{
      color: #11317a;
    font-size: 1.5rem;
    text-align: justify;
}
.gamescontainer{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    margin: 5rem auto;
    max-width: 1200px;
}
.works ul{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style-type: none;
    align-items: center;
    justify-content: space-between;
}
.works li{
    border-radius: 10px;
    background-color:  #11317a;
    backdrop-filter: blur(4px);
    padding: 1rem 1rem;
}
.works li img{
    width: 300px;
    height: 600px;
    object-fit: contain;
    transition: transform 0.2s;
}

.works li :hover{
     transform: scale(1.2);
}
.contactcontainer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
   margin: 2rem auto;
   max-width: 1200px;

}
.contacttitle{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
    font-size: 2rem;
}
.contact{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5rem;
    gap: 20rem;
}
.contact h3 , .contact a{
    color: black;
    text-decoration: none;
}
.emailandphone{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
footer{
    color: #11317a;
    padding: 2rem;
    text-align: center;
}
@media (max-width: 1023px) {
  header {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .navigation ul{
    display: flex;
    list-style-type: none;
    gap: 1rem;

}

  .hero {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .heroImg {
    width: 400px;
  }
  .name,
  .title {
    font-size: 2rem;
  }
  .arrow {
    display: none;
  }
  .aboutMe {
    flex-direction: column-reverse;
    align-items: center;
    gap: 2rem;
  }
  .textContainer {
    align-items: center;
    margin: 0rem 5rem;
    gap: 1rem;
  }
  .aboutName,
  .aboutTitle {
    font-size: 2rem;
  }
  .aboutMeImg {
    width: 400px;
  }
  .works {
    padding: 0;
  }
  .gamesContainer {
    padding: 5rem 0rem;
    gap: 3rem;
  }
  .works ul {
    flex-direction: column;
    gap: 1rem;
  }
  .contactContainer {
    margin: 10rem 5rem;
    gap: 2rem;
  }
  .contact {
    flex-direction: column;
    gap: 1rem;
    margin-right: 0;
  }
}