*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
}

:root {
  --color-bg-primary: #fefefe;
  --color-bg-secundary: #333;
  --color-bg-tertiary: #2285ff;

  --color-fg-primary: #fefefe;
  --color-fg-secundary: #2285ff;
  --color-fg-tertiary: #b83890;
}

body {
  background-color: var(--color-bg-secundary);
  color: var(--color-fg-primary);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.h1 {
  font-size: 2.5rem;
  margin: 2rem 0 2rem 0;
}

.p {
  margin-bottom: 1rem;
  line-height: 1.5rem;
}
.article {
  margin: 2rem;
}

.projects {
  margin-top: 3rem;
}

.ul-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style-type: none;
}

.project {
  height: 40vh;
  flex-grow: 1;
  position: relative;
}

.project-content {
  padding-left: 1rem;
  width: 100%;
}

.project-content h1 {
  color: #3579e9;
  font-size: 1.5rem;
}

.project-content p {
  padding-right: 1rem;
  padding-left: 1rem;
  line-height: 2rem;
}

.project-content a {
  color: var(--primary-bg-color);
}

.title {
  color: var(--primary-bg-color);
  text-align: center;
}

.project:last-child {
  flex-grow: 10;
}

.project:hover .overlay {
  opacity: 0.95;
  border-radius: 0.5rem;
}

.project-content {
  font-size: 1rem;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.li-link {
  background-color: var(--color-bg-tertiary);
  color: var(--color-bg-primary);
  font-size: 1rem;
  position: absolute;
  bottom: 0px;
  right: 0px;
  padding: 0.7rem 1rem 0.7rem 1rem;
  border-radius: 50%;
  margin-bottom: 0.2rem;
  margin-right: 0.2rem;
  text-decoration: none;
  fill: var(--color-bg-primary);
}

.li-detail {
  background-color: var(--color-bg-secundary);
  color: var(--color-bg-primary);
  fill: var(--color-bg-primary);
  font-size: 1rem;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.7rem 1rem 0.7rem 1rem;
  border-radius: 10px;
  margin-top: 0.2rem;
  margin-left: 0.2rem;
  cursor: pointer;
  border: none;
}

.project-content p {
  color: var(--primary-bg-color-alpha);
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.project-tech-item {
  color: var(--primary-color);
  background-color: var(--primary-bg-color);
  font-size: 0.8rem;
  font-family: "regular";
  font-weight: bold;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;

  padding: 0.8rem;
  border-radius: 1.2rem;
}

.project-tech-icon {
  color: var(--primary-bg-color);
  font-size: 2rem;
  text-align: center;
}

.project-img {
  max-height: 100%;
  min-width: 100%;
  object-fit: cover;
  vertical-align: bottom;
  border: 0.1rem var(--tertiary-bg-color) solid;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: "";
  opacity: 0;
  background: var(--primary);
  z-index: 2;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.footer {
  background-color: var(--color-bg-tertiary);
  padding: 2rem;
  margin-top: 1rem;
}

.ul-social-networks {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  justify-content: center;
  gap: 2rem;
}

.ul-social-networks li svg{
fill: var(--color-bg-primary);
width: 2rem;
height: 2rem;
}

@media only screen and (min-width: 600px) {
  .projects {
    margin-top: 9rem;
  }
}
