@font-face {
  font-family: "Roboto";
  src: url("../font/Roboto-Medium.ttf");
}

* {
  box-sizing: border-box;
  color: white;
}

body {
  margin: 20px;
  background: #0f101b;
}

main {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
}

img {
  width: 200px;
  filter: grayscale(0.4);
  border-radius: 10px;
}

a {
  flex: 1 0 auto;
  text-decoration: none;
  color: white;
  display: block;
  -webkit-tap-highlight-color: transparent; /*Desativa o highlight azul nos celulares*/
  font-size: 13px;
  text-align: center;
}

a:hover {
  opacity: 0.8;
}

p {
  font-family: Roboto;
  text-transform: uppercase;
}

@media (prefers-color-scheme: Dark) {
  .img-14 {
    content: url("../img/14_Portfolio_Dark.png");
  }
}

@media only screen and (max-width: 1025px) {
  img {
    width: 170px;
  }
  a {
    font-size: 0.9em;
  }
}

@media only screen and (max-width: 770px) {
  img {
    width: 220px;
  }
  a {
    font-size: 1.4em;
  }
}

@media only screen and (max-width: 700px) {
  img {
    width: 150px;
  }
  a {
    font-size: 0.8em;
  }
}

@media only screen and (max-width: 600px) {
  img {
    width: 175px;
  }
  a {
    font-size: 1em;
  }
}

@media only screen and (max-width: 420px) {
  img {
    width: 150px;
  }
  a {
    font-size: 0.8em;
  }
  main {
    display: block;
  }
  main a {
    display: inline-block;
  }
}
