*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  text-decoration: none;
}

body
{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  min-height: 100vh;
}

.profile-box
{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 160px;
}

.profile-img-box
{
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  overflow: hidden;
  width: 120px;
  height: 120px;
}

.profile-img-box img
{
  max-width: 100%;
  object-fit: cover;
}

.name-box
{
  margin-top: 15px;
}

.name
{
  font-weight: 500;
  font-size: 2em;
  color: #000000;
}

.occupation-box
{
  margin-top: 5px;
}

.occupation
{
  font-size: 1em;
  color: #747474;
  font-weight: 400;
}

.sci
{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

.sci a
{
  margin: 0 5px 0 5px;
}

.sci a i
{
  font-size: 28px;
}

.downloadCv {
  margin-top: 2rem;
  background-color: #8200f3;
  border-radius: 5px;

  padding: 1rem 2rem;
  transition: .2s;
}

.downloadCv:hover {
  background-color: #6b00d9;
  cursor: pointer;
}

.downloadCv a {
  color: #fafafa;
  font-size: 1rem;
  font-weight: 500;
}

.projects-box
{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  margin-top: 45px;
}

.projects-title
{
  width: 100%;
  margin-top: 40px;
  padding-left: 10px;
}

.projects-title h1
{
  font-size: 1.1em;
  color: #000000;
  font-weight: 400;
}

.cards-box
{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 5px;
}

.card-box
{
  position: relative;
  width: 100%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
}

.card-box:hover
{
  transition: all 0.5s;
  cursor: pointer;
}

.project-img-box
{
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.project-img-box img
{
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s;
}

.card-box:hover .project-img-box img
{
  filter: brightness(70%);
  transform: scale(1.2);
  transition: all .5s;
}

.card-content-box
{
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  padding: 20px;
}

.card-content-box h2
{
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  opacity: 0;
}

.card-box:hover .card-content-box h2
{
  transition: .5s ease-in-out;
  opacity: 1;
  z-index: 1;
}

/* media styles */

/* Tablet Styles */
@media only screen and (min-width: 855px) and (max-width: 1145px)
{
  .projects-box
  {
    padding: 0 10px;
  }
  .card-box
  {
    max-width: 47.5%;
    max-height: 220px;
    margin: 10px;
  }
}

/* Desktop Styles */
@media only screen and (min-width: 1145px)
{
  .projects-box
  {
    max-width: 1280px;
    padding: 0 10px;
  }

  .card-box
  {
    max-width: 31.5%;
    max-height: 220px;
    margin: 10px;
  }
}