*{
  margin: 0;
  padding: 0;
}
body{
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: rgb(3, 1, 29);
}
.container {
  background-color: rgb(69, 67, 67);
  display: flex;
  color: white;
  padding: 10px;
  justify-content: space-between;
}
.navbar {
  margin-left: 50px;
  display: flex;
  align-items: center; 
}
.navbar h1{
  font-size: 30px;
}

 a {
  font-weight: 500;
  margin: 0 10px; 

  font-size: 18px;
  text-decoration: none;
  color: white;
  display: inline;
}
.links {
  display: inline;
  margin-left: 850px;
}
.navbar a:hover{
  color: aqua;
  text-shadow: 0 0 20px aqua;
}
a.home{
  color: aqua;
  text-shadow: 0 0 20px aqua;
}
.about {
  color: white;
  margin-left: 28%;
  margin-top: 150px;
  width: 700px;
  display: flex;
  align-items: center;
 
}
.about span{
  color: aqua;
}
.about p{
  margin-top: 20px;
}
.read {
  width: 200px;
  height: 40px;
  margin-top: 20px;
  outline: none;
  border: aqua;
  background-color:aqua;
  border-radius: 30px;
}
.read:hover{
box-shadow: 0 0 10px aqua;
scale: 1.1;
}
.about-text {
  flex-grow: 1;
}
.img-profile {
  animation: floatAnimation 2s ease-in-out infinite alternate;
  margin-right: 20px;
}
@keyframes floatAnimation {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-20px); 
  }
}
.navbar span{
  color: aqua;
}
button{
  width: 200px;
  height: 40px;
  margin-top: 20px;
  outline: none;
  text-decoration: none;
  display: block;
  border: aqua;
  background-color:aqua;
  border-radius: 30px;
}
button:hover{
  box-shadow: 0 0 10px aqua;
  scale: 1.1;
}

@media only screen and (max-width: 400px) {
 *{
   margin: 0;
   padding: 0;
 }
  .container {
    
    width: 370px;
    flex-direction: row;
    align-items: center; 
    
  }
  .about {
    margin-left: 0px;
    margin-top: 50px;
    width: 370px;
    text-align: center;
    flex-direction: column; 
    text-align: center; 
  }

  .links{
    display: block;
  }
 
  .navbar{
    width: 100%;
    text-align: center;
    display: block;
    margin-left: 0px;
   
  }
  .navbar a {
    font-size: 15px;
    margin-left: 0px;
  }
  .links {
    margin-left: 0px;
    margin-top: 20px;
  }
  
  .img-profile{
    margin-left: 20px;
  }
  .read,
  button {
    width: 120px;
    height: 45px;
    margin-left: 36%;
    margin-top: 10px;
  }
}
