* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: iceland;
  /* src: url(./fonts/Iceland-Regular.ttf); */
  src: url(./fonts/iceland.ttf);
}

.container {
  font-family: iceland;
  letter-spacing: 1px;
  background: #ccc;
}

.navbar {
  width: 100vw;
  height: 66px;
  background: #ccc;
  border-bottom: 2px solid rgb(255, 72, 0);
  border-top: 2px solid rgb(255, 72, 0);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-links {
  margin-right: 150px;
}

.nav-links a {
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  color: #000;
}

.nav-links a:hover {
  color: rgb(255, 72, 0);
  transition: 0.3s ease-in-out;
}

.header {
  border-bottom: 3px solid rgb(255, 72, 0);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100vw;
  height: 240px;
  color: #fff;
  background: rgb(164, 68, 198);
  background: linear-gradient(
    90deg,
    rgba(164, 68, 198, 1) 0%,
    rgba(40, 40, 138, 1) 66%
  );
}

.header-text {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  position: relative;
  /* left: 30px; */
  font-size: 30px;
  line-height: 30px;
}

.header-img img {
  width: 200px;
  position: relative;
  right: 50px;
  border-radius: 50%;
}

.icon-table {
  display: flex;
  position: relative;
  /* right: 20px; */
  font-weight: lighter;
}

.icon-techs {
  display: flex;
  padding: 5px;
}

.icon-table img {
  width: 24px;
}

/* SEÇÃO DE PROJETOS */

.projects-header {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
  width: 70vw;
}

.projects-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
}

.projects-title {
  color: #000;
  margin: 20px 0;
  width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 38px;
  padding: 0 25px;
  /* position: relative;
  right: 90px; */

  border-left: 3px solid rgb(255, 72, 0);
}

.projects-title span {
  font-size: 22px;
  letter-spacing: 0.1px;
}

/* CARDS */

.all-cards {
  width: 100vw;
  display: flex;
  flex-wrap: wrap;
  justify-content:space-evenly;
}

.upper-tab {
  width: 300px;
  height: 36px;
  position: relative;
  margin-bottom: -36px;
  bottom: 31px;
  left: 190px;
  display: flex;
  flex-direction: row-reverse;
}

.tab-icon-element {
  background: rgba(10, 10, 10, 0.2);
  width: 30px;
  height: 30px;
  margin: 0 2.5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.tab-icon-element:hover {
  height: 38px;
  transform: translate(0px, -8px);
  transition: 0.2s ease-in-out;
}

.tab-icon-element img {
  width: 30px;
}

.tab-icon-element p {
  color: #000;
  font-size: 10px;
  letter-spacing: 0;
  position: relative;
  top: 5px;
  font-weight: bold;
}

.card {
  border-radius: 10px;
  background-color: #cccccc;
  width: 500px;
  height: 280px;
  margin: 50px 30px;
  color: #fff;
  letter-spacing: 1px;
  background: rgb(164, 68, 198);
  background: linear-gradient(
    90deg,
    rgba(164, 68, 198, 1) 0%,
    rgba(40, 40, 138, 1) 66%
  );
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px,
    rgba(10, 10, 20, 0.2) 0px -3px 0px inset;
}

.card .upper {
  margin-top: 5px;
  display: flex;
  justify-content: space-evenly;
}

.card-title {
  border-radius: 5px;
  width: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-height: 165px;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.card-text p {
  /* background-color: #fff; */
  text-align: center;
  margin-top: 10px;
  color: #170044;
  border-radius: 5px;
  margin: 10px 10px;
  font-size: 18px;
  padding: 5px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.card a img {
  /* position: relative; */
  border-radius: 10px;
  width: 280px;
  box-shadow: rgba(10, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px,
    rgba(10, 10, 10, 0.2) 0px -3px 0px inset;
}

.card-placeholder{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ABOUT */

.about {
  width: 100vw;
  background-color: #cccccc;
  border-top: 3px solid rgb(255, 72, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-title {
  margin: 10px 0;
  margin-top: 30px;
  border-left: 2px solid rgb(255, 72, 0);
  width: 70vw;
}

.about-text {
  width: 70vw;
  font-size: 20px;
  margin-bottom: 30px;
}

.about-text span {
  font-weight: bold;
}

/* CARREIRA */

.career {
  display: flex;
  justify-content: center;
  border-top: 3px solid rgb(255, 72, 0);
}

.career-text {
  width: 70vw;
  padding: 30px 10px;
}

.career-text span {
  font-weight: bold;
}

.career-text h1 {
  border-left: 2px solid rgb(255, 72, 0);
}

/* FOOTER */

.footer {
  border-top: 3px solid rgb(255, 72, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.contact-links {
  display: flex;
  flex-direction: column;
}

.contact-links a {
  text-decoration: none;
  display: flex;
  padding: 5px 5px;
}

.contact-links a:nth-child(2) {
  margin-bottom: 20px;
}

.footer-content {
  padding: 40px 20px;
}

/* VERSÃO MOBILE */

@media (max-width: 420px) {
  .container {
    font-family: iceland;
    letter-spacing: 1px;
    background: #ccc;
  }

  .navbar {
    width: 100vw;
    height: 66px;
    background: #ccc;
    border-bottom: 2px solid rgb(255, 72, 0);
    border-top: 2px solid rgb(255, 72, 0);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    max-width: 100vw;
    display: flex;
    flex-wrap: wrap;
    margin-right: 0;
  }

  .nav-links a {
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
    color: #000;
  }

  .header {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 400px;
  }

  .header-text {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .header-img img {
    width: 200px;
    position: relative;
    right: 0;
  }

  /* SEÇÃO DE PROJETOS */

  .projects-header {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    margin: 30px 0;
    width: 70vw;
  }

  .projects-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
  }

  .projects-title {
    width: 80vw;
  }

  /* CARDS */

  .all-cards {
    width: 100vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  .upper-tab {
    width: 300px;
    height: 36px;
    position: relative;
    margin-bottom: -36px;
    bottom: 31px;
    left: -10px;
    display: flex;
    flex-direction: row-reverse;
  }

  .tab-icon-element {
    background: rgba(10, 10, 10, 0.2);
    width: 30px;
    height: 30px;
    margin: 0 2.5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }

  .tab-icon-element:hover {
    height: 38px;
    transform: translate(0px, -8px);
    transition: 0.2s ease-in-out;
  }

  .tab-icon-element img {
    width: 30px;
  }

  .card {
    width: 80vw;
    height: 400px;
    margin: 50px 30px;
  }

  .card .upper {
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: space-evenly; */
  }

  .card-title {
    width: 75vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-height: 165px;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
      rgba(0, 0, 0, 0.3) 0px 7px 13px -3px,
      rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  }

  .card-text p {
    /* background-color: #fff; */
    text-align: center;
    margin-top: 10px;
    color: #170044;
    border-radius: 5px;
    margin: 10px 10px;
    font-size: 18px;
    padding: 5px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
      rgba(0, 0, 0, 0.3) 0px 7px 13px -3px,
      rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  }

  .card a img {
    /* position: relative; */
    border-radius: 10px;
    width: 280px;
    box-shadow: rgba(10, 0, 0, 0.4) 0px 2px 4px,
      rgba(0, 0, 0, 0.3) 0px 7px 13px -3px,
      rgba(10, 10, 10, 0.2) 0px -3px 0px inset;
  }

  /* ABOUT */

  .about {
    width: 100vw;
    background-color: #cccccc;
    border-top: 3px solid rgb(255, 72, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-title {
    margin: 10px 0;
    margin-top: 30px;
    border-left: 2px solid rgb(255, 72, 0);
    width: 70vw;
  }

  .about-text {
    width: 70vw;
    font-size: 20px;
    margin-bottom: 30px;
  }

  .about-text span {
    font-weight: bold;
  }

  /* CARREIRA */

  .career {
    display: flex;
    justify-content: center;
    border-top: 3px solid rgb(255, 72, 0);
  }

  .career-text {
    width: 70vw;
    padding: 30px 10px;
  }

  .career-text span {
    font-weight: bold;
  }

  .career-text h1 {
    border-left: 2px solid rgb(255, 72, 0);
  }

  /* FOOTER */

  .footer {
    border-top: 3px solid rgb(255, 72, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .contact-links {
    display: flex;
    flex-direction: column;
  }

  .contact-links a {
    text-decoration: none;
    display: flex;
    padding: 5px 5px;
  }

  .contact-links a:nth-child(2) {
    margin-bottom: 20px;
  }

  .footer-content {
    padding: 40px 20px;
  }
}
