* {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: linear-gradient(242.76deg, #171721 -0.1%, #0e0e14 101.88%);
  background-size: cover;
  overflow-x: hidden;
}
.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: linear-gradient(242.76deg, #171721 -0.1%, #0e0e14 101.88%);
  background-size: cover;

  opacity: 0.95;
  transition: 10s;
}
.loading-bar {
  display: flex;
  flex-direction: inline-reverse;
  width: 4px;
  height: 18px;
  margin: 0 8px;
  border-radius: 4px;
  animation: loading 1s ease-in-out infinite;
  background: linear-gradient(118.87deg, #9999ff 40%, #4c5781 99.32%);
}
@keyframes loading {
  0% {
    transform: scale(1);
  }
  20% {
    transform: scale(1, 2.5);
  }
  40% {
    transform: scale(1);
  }
}

.navbar a {
  text-decoration: none;
  background: linear-gradient(118.87deg, #9999ff 40%, #6a6ab1 99.32%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 18px;
  font-weight: 700;
}

.navbar a:hover {
  transition: all 0.5s ease;

  opacity: 0.5;
}

.navbar {
  display: flex;
  align-items: center;
  height: 10vh;
  justify-content: space-between;
  margin: 20px 80px;
}

.navbar img {
  height: 80%;
}

.navbar img:hover {
  opacity: 0.7;
  transition: all 0.5s ease;
  cursor: pointer;
}

#works {
  animation: slide 6s steps(4) infinite;
}

.container-about {
  height: 20vw;
  width: 100vw;
  margin: 10vh 0vw;
  justify-content: space-around;
  display: flex;
  align-items: center;
}

.about {
  color: #fff;
  align-items: center;
  display: block;
}

.name {
  justify-content: space-around;
  font-size: 40px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
}

.name a {
  background: linear-gradient(118.87deg, #9999ff 40%, #191e33 99.32%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.developer {
  background: linear-gradient(118.87deg, #9999ff 40%, #191e33 99.32%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 15px;
  margin-top: 10px;
}

.desc {
  color: #909090;
  font-family: "Inter", sans-serif;
  font-weight: 200;
  font-size: 15px;
  margin-top: 20px;
  width: 480px;
}

.bn5 {
  padding: 0.6em 2em;
  outline: none;
  color: #fff;
  background: linear-gradient(118.87deg, #9999ff 40%, #191e33 99.32%);
  position: relative;
  top: 50px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

.bn5:before {
  content: "";
  background: linear-gradient(
    45deg,
    #9999ff,
    #6a6ab1,
    #9999ff,
    #6a6ab1,
    #9999ff,
    #6a6ab1,
    #9999ff,
    #6a6ab1,
    #9999ff
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowingbn5 20s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

@keyframes glowingbn5 {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.bn5:active {
  color: #191e33;
}

.bn5:active:after {
  background: transparent;
}

.bn5:hover:before {
  opacity: 1;
}

.bn5:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #191e33;
  left: 0;
  top: 0;
  border-radius: 10px;
}

.mac {
  display: inline;
  align-items: center;
  background-image: url(src/img/mac.png);
  background-repeat: no-repeat;
  width: 522px;
  height: 339px;
}

.mac .dinamico {
  margin: 30px 15px;
  line-height: 17px;
  height: 15px;
  overflow: hidden;
}

.dinamico li {
  color: #fff;
  list-style: none;
  font-size: 15px;
  left: 0;
  position: relative;
  top: 0;
  animation: slide 6s steps(4) infinite;
}

.dinamico li .span {
  position: relative;
}

.dinamico li span::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  animation: typing 1.5s steps(10) infinite;
  border-left: 1px solid #fff;
  background: url(./src/img/bg_mac.png);
}

.dinamico li span {
  position: relative;
}

@keyframes typing {
  100% {
    left: 100%;
    margin: 0 -15px 0 15px;
  }
}
@keyframes slide {
  100% {
    top: -475%;
  }
}

.line {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.line img {
  margin-top: 50px;
  width: 5px;
}

.conteiner-media {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 10px 100px 10px;
}

.conteiner-media .media {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(
    153.43deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 85%
  );
  border: none;
  cursor: pointer;
  transition: 0.3s;
  margin: 0 40px 0 40px;
}

.conteiner-media .media:hover {
  opacity: 0.7;
}

.conteiner-media .media img {
  width: 60%;
}

footer {
  height: 10vh;
}

footer img {
  max-width: 100px;
  max-height: 50px;
  width: auto;
  height: auto;
}

.logo-footer {
  display: flex;
  color: white;
  justify-content: center;
}

.icon-container {
  display: flex;
  align-items: center;
  position: relative;
  width: 50px;
  height: 50px;
  background-color: #111119;
  border-radius: 10px;
  transition: 0.3s;
}
#ICON {
  margin-left: 0.8em;
  margin-top: 0.5em;
  position: absolute;
  padding: 10px;
  box-shadow: 3px -3px 0 2px #fff inset;
  border: solid transparent;
  border-width: 0px 0px 2px 2px;
  transform: rotate(135deg);
  transition: 0.5s;
}

.icon-container:hover {
  background: linear-gradient(118.87deg, #5a5aa0 40%, #4c5781 99.32%);
}

.works-container h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 100px;
  color: white;
}

.works {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 100px;
  grid-row-gap: 100px;
}
.slide-element {
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 1s, opacity 1s;
}

/* WORK 1 */
/* WORK 1 */
/* WORK 1 */
/* WORK 1 */
/* WORK 1 */

.work1 {
  display: flex;
  align-items: center;
  justify-content: center;
  border: #9999ff solid 1px;
  border-radius: 20px;
  border-top: none;

  width: 511px;
  height: 345px;

  position: relative;
}
.work1 .title {
  position: absolute;
  top: -25px;
  font-weight: bold;
  font-size: 15px;
  color: white;
  text-align: enter;
}
.work1 .desc {
  position: absolute;
  top: -25px;
  font-weight: bold;
  font-size: 12px;
  color: #909090;
  text-align: center;
}
.work1 .container {
  border-radius: 20px;

  height: 80%;
  width: 80%;

  cursor: pointer;
}
.work1 span {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 100%;
  width: 100%;

  border-radius: 20px;

  background: url(./src/img/project1.jpg) center center no-repeat;
  background-size: cover;
}
.work1 div:hover {
  opacity: 0.2;
  transition: 0.3s;

  z-index: 0;
}

/* WORK 2 */
/* WORK 2 */
/* WORK 2 */
/* WORK 2 */

.work2 {
  display: flex;
  align-items: center;
  justify-content: center;
  border: #9999ff solid 1px;
  border-radius: 20px;
  border-top: none;

  width: 511px;
  height: 345px;

  position: relative;
}
.work2 .title {
  position: absolute;
  top: -25px;
  font-weight: bold;
  font-size: 15px;
  color: white;
  text-align: enter;
}
.work2 .desc {
  position: absolute;
  top: -25px;
  font-weight: bold;
  font-size: 12px;
  color: #909090;
  text-align: center;
}
.work2 .container {
  border-radius: 20px;

  height: 80%;
  width: 80%;

  cursor: pointer;
}
.work2 span {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 100%;
  width: 100%;

  border-radius: 20px;

  background: url(./src/img/project2.png) center center no-repeat;
  background-size: cover;
}
.work2 div:hover {
  opacity: 0.2;
  transition: 0.3s;

  z-index: 0;
}

/* WORK 3 */
/* WORK 3 */
/* WORK 3 */
.work3 {
  display: flex;
  align-items: center;
  justify-content: center;
  border: #9999ff solid 1px;
  border-radius: 20px;
  border-top: none;

  width: 511px;
  height: 345px;

  position: relative;
}
.work3 .title {
  position: absolute;
  top: -25px;
  font-weight: bold;
  font-size: 15px;
  color: white;
  text-align: enter;
}
.work3 .desc {
  position: absolute;
  top: -25px;
  font-weight: bold;
  font-size: 12px;
  color: #909090;
  text-align: center;
}
.work3 .container {
  border-radius: 20px;

  height: 80%;
  width: 80%;

  cursor: pointer;
}
.work3 span {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 100%;
  width: 100%;

  border-radius: 20px;

  background: url(./src/img/project3.png) center center no-repeat;
  background-size: cover;
}
.work3 div:hover {
  opacity: 0.2;
  transition: 0.3s;

  z-index: 0;
}

@media (max-width: 600px) {
  .mac {
    display: none;
  }

  .navbar {
    margin: 40px 40px;
  }

  .about .name {
    display: flex;
    font-size: 22px;
    margin-top: 200px;
    align-items: center;
    justify-content: center;
  }

  .about .desc {
    display: flex;
    width: 100%;
    align-items: center;
    text-align: center;
    justify-content: center;
    height: 100%;
    padding: 20px 20px;
  }

  .about .developer {
    font-size: 13px;
    height: 100%;
    padding: 0 20px;
    text-align: center;
  }

  .works-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 100px;
    grid-row-gap: 100px;
  }

  .works-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .work1 {
    height: 20rem;
    width: 17rem;
  }
  .work2 {
    height: 20rem;
    width: 17rem;
  }
  .work3 {
    height: 20rem;
    width: 17rem;
  }

  .conteiner-media .media {
    margin: 0 15px;
  }

  .line {
    display: flex;
    margin-top: 300px;
  }

  .bn5 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 60px;
    height: 45px;
  }
}
