* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    font-size: 62.5%; /* Setting 1rem as 10px */
}

body {
    font-size: 1.6rem;
}

h1{
    margin-top: 1.5rem;
    text-align: center;
}

h2{
    padding-top: 1rem;
}

.projects-list-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin:2rem;
}

.project-container {
    text-align: center;
    padding:.5rem;
    margin: 2rem;
    border-radius: 1rem;
    object-fit: fill;
    box-shadow: 0 6px 12px #00000033;
    transition: all .2s ease-in-out;
}

.project-image{
    width: 45rem;
}

.project-container:hover{
    box-shadow: 0 8px 16px #0000004d;
    transition: all .2s ease-in-out;
}

  
@media screen and (max-width: 1024px) {
  :root {
    font-size: 56.25%; /* 1rem = 9px */
  }
}

@media screen and (max-width: 768px) {
  :root {
    font-size: 50%; /* 1rem = 8px */
  }
}

@media screen and (max-width: 480px) {
  :root {
    font-size: 43.75%; /* 1rem = 7px */
  }
}
  