@import url("https://use.fontawesome.com/releases/v6.1.2/css/all.css");

.projects {
   margin: 10rem 10rem 5rem 10rem;
   display: flex;
   gap: 5rem;
}

.react,
.angular,
.html-css {
   width: 33%;
   box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
   border-radius: 4px;
   text-align: center;
}

.react a,
.angular a,
.html-css a {
   display: inline-block;
   margin-top: 0;
   margin-bottom: 10px;
   padding: 4px;
   border-radius: 4px;
   text-align: center;
   box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

li {
   list-style-type: none;
   text-align: center;

}

a {
   cursor: pointer;
   text-decoration: none;
   color: #9d8189;
   font-weight: 600;
}

.react img,
.angular img,
.html-css img {
   width: 80%;
   margin: 2rem;
   box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

@media screen and (max-height: 400px) {
   .projects {
      margin-bottom: 0;
   }

   li {
      margin: 0;
   }

   br {
      margin: 0;
   }

   footer.footer {
      margin-top: 0;
      margin-bottom: 0;
   }

   footer p {
      margin-top: 0;
      margin-bottom: 0;
   }
}

@media screen and (max-width: 1250px) {
   .projects {
      justify-content: center;
      gap: 3rem;
      flex-wrap: wrap;
   }

   .react,
   .angular,
   .html-css {
      width: 45%;
   }
}

@media screen and (max-width: 950px) {
   .projects {
      margin: 5rem 5rem 3rem 5rem;
      gap: 2rem;
   }

   .react,
   .angular,
   .html-css {
      width: 70%;
   }
}

@media screen and (max-width: 750px) {

   .react,
   .angular,
   .html-css {
      width: 100%;
   }
}

@media screen and (max-width: 650px) {
   .projects {
      margin: 3rem 3rem 1rem 3rem;
      gap: 1rem;
   }

   .react,
   .angular,
   .html-css {
      width: 100%;
   }

   .react img,
   .angular img,
   .html-css img {
      margin: 1rem;
   }

   .react a,
   .angular a,
   .html-css a {
      padding: 2px;
      font-size: 14px;
      font-weight: 400;
   }
}

@media screen and (max-width: 450px) {
   .projects {
      margin: 0.5rem;
      gap: 0.5rem;
      display: flex;
      flex-wrap: wrap;
   }

   .react,
   .angular,
   .html-css {
      width: 18rem;
   }

   .react img,
   .angular img,
   .html-css img {
      width: 90%;
      margin: 0.2rem;
   }

   .react a,
   .angular a,
   .html-css a {
      padding: 0.2px;
      font-size: 12px;
      font-weight: 300;
   }
}