* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
}

body {
  background-color: aliceblue;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 100%;
  width: 100%;
}

main {
  width: 100%;
  margin: 0 auto;
}

/* Nav Styles */

.nav-menu {
  display: flex;
  justify-content: center;
  background-color: #222;
  position: fixed;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
}

.nav {
  display: flex;
  margin: 0;
  justify-content: space-around;
  width: 50%;
}

.nav a {
  text-decoration: none;
  font-size: 1.4em;
  padding: 12px 20px;
  color: #fafafa;
  font-weight: 500;
  white-space: nowrap;
}

.nav a:hover {
  text-decoration: underline;
}

.nav-placeholder {
  height: 75px;
}

/* Nav Responsive Styles */
@media (max-width: 600px) {
  .nav-menu {
    height: 75px;
  }

  .nav {
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
  }

  .nav a {
    font-size: 1.2em;
    padding: 6px 10px;
  }

  .nav-placeholder {
    height: 75px;
  }
}

@media (max-width: 300px) {
  .nav-menu {
    height: fit-content;
  }

  .nav-placeholder {
    height: 100px;
  }
}

/* Sobre mim Styles */

#about-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #333;
  color: white;
  width: 100%;
}

.perfil-container {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-grow: 1;
  margin: 0 auto;
  flex-wrap: wrap;
  text-align: center;
  color: white;
  font-weight: 600;
  padding-bottom: 5vh;
}

.about-me-title {
  font-size: 30px;
  margin-bottom: 50px;
  padding: 0 20px;
  font-family: 'Courier New', Courier, monospace;
}

#picture {
  border-radius: 50%;
  border: none;
  object-fit: contain;
  height: 300px;
  width: 300px;
  margin-bottom: 30px;
  padding: 5px;
}

.description-container {
  width: 500px;
  line-height: 2em;
}

/* Sobre mim Responsive Styles */
@media (max-width: 301px) {
  #picture {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 600px) {
  .description-container {
    width: 100%;
  }
}

.description {
  font-size: 1.2em;
  margin: 0 auto;
  margin-bottom: 1em;
  width: 95%;
}

/* Tecnologias Styles */

.used-techs-container {
  padding: 100px 0 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  background-color: #6e6e6e;
  color: white;
}

.used-techs-title {
  margin-bottom: 100px;
  font-size: 32px;
  text-align: center;
  padding: 0 20px;
}

.used-techs {
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-flow: row wrap;
  justify-content: center;
  width: fit-content;
  max-width: 550px;
  padding: 0 20px;
}

.tech-icon {
  width: 55px;
  height: 55px;
  margin-right: 30px;
  margin-bottom: 30px;
}

/* Meus Projetos Styles */

#projects-section {
  background-color: #333;
  width: 100%;
  padding: 100px 0 150px;
  color: white;
  display: flex;
  flex-direction: column;
}

.projects-section-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.projects-title {
  font-size: 2.7em;
  text-align: center;
}

.projects {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: center;
  width: 90%;
  margin: 100px auto;
}

.project-card {
  width: 350px;
  background-color: #fff;
  padding: 1em 1.5em;
  margin: 15px;
  border-radius: 15px;
}

.project-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
  border: none;
  box-shadow: 2px 2px 0px 1px #777;
}

.projects-visit-button {
  background-color: rgb(50, 177, 235);
  text-decoration: none;
  color: #ddd;
  display: inline-block;
  font-size: 1.3em;
  padding: 10px 15px;
  margin: 0 10px 5px;
  border-radius: 10px;
  box-shadow: 2px 2px 0px 1px #777;
  transition: 0.5s;
  width: fit-content;
  text-align: center;
}

.projects-visit-button:hover {
  cursor: pointer;
  box-shadow: 2px 2px 5px 3px #444;
}

.git-repo {
  background-color: #444;
}

.git-repo:hover {
  box-shadow: 2px 2px 5px 3px #666;
}

/* Contatos Styles */

#contact-section {
  width: 100%;
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  background-color: #6e6e6e;
  color: white;
}

.contact-section-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  margin-bottom: 100px;
}

.contact-title {
  font-size: 2.7em;
  margin-bottom: 100px;
}

.contact-item {
  text-decoration: none;
  color: inherit;
  margin: 15px 0;
}

/* Contatos Responsive Styles */
@media (max-width: 350px) {
  .contact-item {
    font-size: 12px;
  }
}

.contact-icon {
  font-size: 20px;
  padding-right: 5px;
  vertical-align: bottom;
}

#footer {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  padding: 10px;
  background-color: #333;
  color: #fafafa;
}

#footer a {
  text-decoration: underline;
  color: #fafafa;
  display: inline-block;
  margin: 0px 20px;
}

.thanks-message {
  text-align: center;
  font-size: 30px;
  padding: 0 20px;
}
