@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Raleway", sans-serif;
}
html {
  scroll-behavior: smooth;
}
:root {
  --hue-color: 324;

  /* HSL color mode */
  --first-color: hsl(var(--hue-color), 40%, 19%);
  --first-color-second: hsl(var(--hue-color), 69%, 61%);
  --first-color-alt: hsl(var(--hue-color), 40%, 47%);
  --first-color-lighter: hsl(var(--hue-color), 40%, 66%);
  --title-color: hsl(var(--hue-color), 8%, 15%);
  --text-color: hsl(var(--hue-color), 8%, 45%);
  --text-color-light: hsl(var(--hue-color), 8%, 65%);
  --input-color: hsl(var(--hue-color), 70%, 96%);
  --body-color: hsl(var(--hue-color), 60%, 99%);
  --container-color: #fff;

  --big-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  --font-medium: 500;
  --font-semi-bold: 700;

  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;
}
h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}
ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--first-color);
}

a:hover {
  text-decoration: none;
  color: var(--first-color-second);
}

.navbar {
  overflow: hidden;
  background-color: var(--first-color);
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 100;
}

.navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.navbar a:hover {
  background-color: var(--first-color-lighter);
  color: black;
}

.navbar a.active {
  color: white;
}

.navbar .icon {
  display: none;
}

.fontg {
  font-size: 30px;
}

@media screen and (max-width: 768px) {
  .navbar a:not(:first-child) {
    display: none;
  }
  .navbar a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .navbar.responsive .icon {
    position: absolute;
    right: 0;
    bottom: 0;
  }
  .navbar.responsive a {
    float: none;
    display: block;
    text-align: center;
  }
}

.wrap {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background-color: #fff;
}

section {
  height: 360px;
  width: 360px;
  align-items: center;

  display: flex;
  justify-content: center;
}

.silhouette {
  background: url("../images/abstrato1.jpg");
  background-size: cover;
  background-position: center;
  background-size: 200% 200%;
  height: 360px;
  width: 360px;
  -webkit-mask: url("../images/Logo.png");
  -webkit-mask-size: cover;
  mix-blend-mode: darken;
}

.titulo {
  font-size: var(--big-font-size);
  font-weight: var(--font-semi-bold);
}

.sub-titulo {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1-5);
}

.animate-fading {
  animation: fading 10s infinite;
}

@keyframes fading {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.separa {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.capa {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 15px;
}

.capa-content {
  max-width: 968px;
  padding: 15px;
}

.capa-content-p {
  max-width: 500px;
}

.button {
  display: inline-block;
  background-color: var(--first-color);
  color: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
}

.button:hover {
  background-color: var(--first-color-alt);
  color: #fff;
}

.button__icon {
  font-size: 1.25rem;
  margin-left: var(--mb-0-5);
  transition: 0.3s;
}

.button--flex {
  display: inline-flex;
  align-items: center;
}

.capa-itens {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
  padding: 10px;
}

.capa-item {
  flex: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 10px;
}

.item-title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
}

.accordion {
  background-color: #fff;
  color: var(--title-color);
  cursor: pointer;
  padding: 5px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.8s;
}

.active,
.accordion:hover {
  background-color: var(--first-color-lighter);
}

.accordion:after {
  content: "\002B";
  color: var(--title-color);
  font-weight: bold;
  float: right;
  margin-left: 5px;
  font-size: 40px;
}

.active:after {
  content: "\2212";
}

.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  margin-bottom: var(--mb-2);
  margin-top: var(--mb-1);
}

.container {
  width: 100%;
  background-color: var(--first-color-lighter);
}

.skills {
  text-align: right;
  padding-top: 1px;
  padding-bottom: 1px;
  padding-right: 20px;
  color: white;
}

.html {
  width: 90%;
  background-color: orange;
}
.css {
  width: 80%;
  background-color: #2196f3;
}
.js {
  width: 65%;
  background-color: #f44336;
}
.php {
  width: 90%;
  background-color: #48fa02;
}

.mysql {
  width: 80%;
  background-color: #f003f8;
}
.node {
  width: 55%;
  background-color: #fdf902;
}

.corel {
  width: 90%;
  background-color: #fd048d;
}
.photoshop {
  width: 65%;
  background-color: #02f2fa;
}
.c4d {
  width: 65%;
  background-color: #0616ff;
}

.portfolio {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin-bottom: var(--mb-2);
}

.port-item {
  width: 100%;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 7px;
  text-align: center;
}

.pagina-head {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  flex-direction: column;
}

.cabeca {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cabeca img {
  width: 50%;
}

.paginawrap {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.pagina-item {
  flex: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 7px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .portfolio,
  .paginawrap {
    flex-direction: column;
  }

  .cabeca img {
    width: 100%;
  }
}
