@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
body,
html {
  margin: 0;
  padding: 0;
  font-family: "Ubuntu", sans-serif;
  background-color: #f4f4f4;
  overflow-y: scroll;
}

.container {
  display: flex;
  min-height: 100vh;
}

.aside {
  width: 14%;
  background-color: #141313;
  color: #fff;
  padding-top: 5%;
}

.navbar ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

#home {
  color: orange;
}
#home:hover {
  color: white;
}

.navbar ul li {
  margin: 20px 0;
}
.navbar li:hover {
  transform: scale(1.3);
  transition: ease-in-out 0.2s;
}

.navbar li span {
  color: orange;
}

.navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}
/* Main */
.contain {
  width: 100%;
  padding: 2%;
}
.fullstack {
    /* border: 2px solid gold; */
    text-align: center;
  }
  .fullstack h1 {
    font-size: 3rem;
  }
  .fullstack h1 span {
    color: orange;
  }
  .fa-solid {
    color: black;
  }

.card {
  display: inline-block;
  width: 15vw;
  height: 35vh;
  margin: 2%;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease-in-out;
  background-color: #fff;
}

.card:hover {
  transform: translateY(-10px);
  cursor: auto;
}

.card img {
  width: 150px;
  height: 180px;
  margin-top: 10px;
  border-radius: 50%;
}

.card h1 {
  font-size: 1.5rem;
  margin: 15px 0;
  color: #333;
}
.card a {
  text-decoration: none;
}
.mainCard{
  /* border: 2px solid green; */
  flex-wrap: wrap;
  width: 50vw;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}


/* animation */ /* Animation Styles */
@keyframes contain {
  0% {
    opacity: 0;
    transform: translateY(-100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.contain {
  animation: contain 0.6s ease-in-out;
}

/* Media Quary */
@media (max-width: 768px) {
  .container{
    height: fit-content;
  }
  .aside {
    width: 40%;
    padding-top: 10px;
  }

  .navbar ul {
    flex-direction: column;
    justify-content: space-around;
    /* background-color: blue; */
    height: auto;
    margin-top: 15%;
  }

  .navbar ul li {
    margin-top: 10% 5px;
  }
  

}

/* Second media quary*/
@media (max-width: 768px) {
  .contain {
    padding: 20px;
    margin-left: 2%;
    /* border: 2px solid gold; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }


  .fullstack h1 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
  }

  .card{
    /* border: 2px solid hotpink; */
    width: 170px;
    height: 180px;
    /* padding: 10px; */
    margin: 4%;

  }
  .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .card img {
    object-fit: cover;
    margin-top: 2px;
  }
  .card h1{
    font-size: 13px;
  }
  .mainCard{
    /* border: 2px solid green; */
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
}
