* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: "Poppins", sans-serif;
  color: #333;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: #ff6347;
}

ul {
  list-style: none;
}

h1,
h2,
h3 {
  font-weight: 600;
}

header {
  background-color: #000;
  padding: 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav h1 {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

nav h1:hover {
  color: #ff6347;
  transform: scale(1.1);
}

nav h1::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  background-color: #ff6347;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

nav h1:hover::after {
  width: 100%;
}

nav h1 a {
  color: inherit;
  text-decoration: none;
}

nav ul {
  display: flex;
  gap: 20px;
}

nav ul li {
  transition: color 0.3s, transform 0.3s;
}

nav ul li:hover {
  transform: scale(1.1);
}

nav ul li a {
  color: #fff;
  font-weight: 400;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ff6347;
}

nav ul li a.active {
  color: #ff6347;
  font-weight: 600;
  position: relative;
}

nav ul li a.active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #ff6347;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.projects {
  padding: 100px 20px 60px;
  background-color: #f9f9f9;
  flex: 1;
}

.projects h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: #333;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.project-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-image img{
  width: 370px;
  height: 250px;
  object-fit: cover;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 1.2em;
}

.project-content {
  padding: 20px;
}

.project-content h3 {
  color: #ff6347;
  margin-bottom: 10px;
}

.project-content p {
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}

.project-link {
  display: inline-block;
  padding: 8px 16px;
  background-color: #ff6347;
  color: #fff;
  border-radius: 20px;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.project-link:hover {
  background-color: #ff7f6b;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}

.tech-tag {
  background-color: #f0f0f0;
  color: #555;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.8em;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #000;
  color: #fff;
  margin-top: auto;
  width: 100%;
}

.pronto{
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3em;
  color: #ff7f6b;
}


.lang-btn {
    position: absolute;
    top: 80px;
    right: 30px;
    background: #FF6347;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1100;
}

.lang-btn:hover {
    background: #ff7f6b;
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}   
