@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* Global styles */

:root {
  --gray-50: #fafafa;
  --teal-50: #e0f2f1;
  --teal-100: #b2dfdb;
  --teal-900: #004d40;
  --white: #fff;
}

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--gray-50);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

/* Header */

.header {
  background-color: var(--teal-900);
  color: var(--gray-50);
  text-align: center;
  padding: 20px;
}

.header__img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  margin-top: 20px;
}

.header__subtitle {
  margin-top: 20px;
}

.header__social-media {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.header__icon {
  width: 32px;
  height: 32px;
}

/* Navigation */

.nav {
  display: flex;
  justify-content: center;
  background-color: var(--teal-900);
}

.nav__link {
  color: var(--gray-50);
  padding: 10px;
}

/* Sections */

.about-me,
.projects,
.contact {
  max-width: 800px;
  margin: 20px auto;
  padding: 10px;
}

/* About me */

.about-me__title {
  color: var(--teal-900);
}

.about-me__introduction {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.about-me__paragraph {
  font-weight: lighter;
}

.about-me__paragraph--bold {
  font-weight: bold;
  color: var(--teal-900);
}

.about-me__paragraph--link {
  font-weight: normal;
  color: var(--teal-900);
}

/* Projects */

.projects__title {
  color: var(--teal-900);
}

.projects__ul {
  list-style: none;
  padding: 0;
}

.project {
  background-color: var(--teal-50);
  border: solid var(--teal-100) 1px;
  padding: 20px;
  border-radius: 5px;
  margin-top: 10px;
}

.project__title {
  font-size: 20px;
}

.project__techs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.project__tech {
  font-size: 12px;
  font-weight: bold;
  padding: 5px;
  border-radius: 5px;
}

.project__tech--ts {
  background-color: #3178c6;
  color: #fff;
}

.project__tech--vue {
  background-color: #42b883;
}

.project__tech--tailwind {
  background-color: #38b2ac;
}

.project__tech--vite {
  background-color: #646cff;
  color: #fff;
}

.project__tech--js {
  background-color: #f7df1e;
}

.project__tech--css {
  background-color: #1572b6;
  color: #fff;
}

.project__tech--python {
  background-color: #3776ab;
  color: #fff;
}

.project__tech--django {
  background-color: #092e20;
  color: #fff;
}

.project__tech--drf {
  background-color: #ff1709;
  color: #fff;
}

.project__tech--postgres {
  background-color: #336791;
  color: #fff;
}

.project__tech--nest {
  background-color: #ea2845;
  color: #fff;
}

.project__tech--firebase {
  background-color: #ffca28;
}

.project__description {
  margin-top: 10px;
  font-size: 14px;
  font-weight: lighter;
}

.project__links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.project__link {
  color: var(--teal-900);
  display: flex;
  align-items: center;
  gap: 5px;
  transition-property: all;
}

.project__link:hover {
  text-decoration: underline 1px;
}

.project__icon {
  width: 16px;
  height: 16px;
}

/* Contact */

.contact__title {
  color: var(--teal-900);
}

.contact__div {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 450px;
}

.contact__email {
  background-color: var(--teal-50);
  border: solid var(--teal-100) 1px;
  border-radius: 5px;
  padding: 10px;
  flex: 1;
}

.contact__button {
  background-color: var(--teal-900);
  color: var(--white);
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  width: 80px;
}

/* Footer */

.footer {
  background-color: var(--teal-900);
  color: var(--white);
  text-align: center;
  padding: 20px;
  margin-top: 20px;
}
