@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;
}

#home {
  color: orange;
}
#home:hover {
  color: white;
}

#hero {
  min-width: 85%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.content {
  text-align: center;
}

#hello {
  font-size: 48px;
  margin: 0;
  color: #333;
}

#hello span {
  font-weight: bolder;
  color: #007bff;
}
/* Existing styles... */

.buttons {
  margin-top: 20px;
}

.btn {
  display: inline-block;
  padding: 15px 23px;
  margin: 10px;
  background-color: black;
  color: orange;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: white;
  color: black;
}

/* Main */
.contain {
  width: 100%;
  padding: 2%;
}

.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: pointer;
}

.card img {
  width: 100px;
  height: 100px;
  margin-top: 10px;
  border-radius: 50%;
}

.card h1 {
  font-size: 4rem;
  margin: 15px 0;
  color: #333;
}
.card a {
  text-decoration: none;
}
#mongodb h1 {
  color: green;
}

#Node h1 {
  color: green;
}
#React h1 {
  color: rgb(97, 219, 251);
}
/* For spacing between sections */
hr {
  margin: 20px 0;
  border: none;
  border-top: 2px solid #e0e0e0;
}

/* Frontend Section */
.Frontend {
  display: block;
  margin-top: 20px;
}
.card-2 {
  display: inline-block;
  width: 20vw;
  height: 33vh;
  margin: 3%;
  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-2:hover {
  transform: translateY(-10px);
  cursor: pointer;
}

.card-2 img {
  width: 45%;
  height: 50%;
  margin-top: 10px;
  border-radius: 50%;
}

.card-2 h1 {
  font-size: 4rem;
  margin: 15px 0;
  color: #333;
}
.card-2 a {
  text-decoration: none;
}

#html h1 {
  color: rgb(214, 103, 62);
}

#css h1 {
  color: #256e95;
}
#js h1 {
  color: rgb(212, 179, 17);
}

.fullstack {
  /* border: 2px solid gold; */
  text-align: center;
}
.fullstack h1 {
  font-size: 3rem;
}
.fullstack h1 span {
  color: orange;
}
.fa-solid {
  color: black;
}

/* 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; */
    padding: 15px;
  }

  .navbar ul {
    flex-direction: column;
    justify-content: space-around;
    /* background-color: blue; */
    height: auto;
    margin-top: 15%;
  }

  .navbar ul li {
    margin-top: 20%;
  }

}

/* 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: 20px;
    text-align: center;
    margin-bottom: 20px;
  }

  .card{
    /* border: 2px solid hotpink; */
    width: 100px;
    height: 170px;
    padding: 28px;

  }
  .card, .card-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .card img, .card-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 10px;
  }

  .Frontend {
    margin-top: 30px;
  }

  .Frontend h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .Frontend .card-2 {
    /* border: 2px solid hotpink; */
    width: 100px;
    height: 170px;
    padding: 28px;
    margin: 10px;
  }

  .card h1, .card-2 h1 {
    font-size: 24px;
  }
}
