* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #ffffff;
  color: #0f172a;
  background: linear-gradient(to right, #0f172a, #1e3a8a);
}

/* HEADER */

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #0f172a;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
}

.logo {
  color: white;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links .active {
  color: #38bdf8;
}

/* SECTIONS */

.section {
  min-height: 100vh;
  padding: 120px 10%;
}

.home-section {
  display: flex;
  align-items: center;
  color: white;
}

.content h1 {
  font-size: 55px;
  margin-bottom: 20px;
}

.content p {
  font-size: 20px;
  margin-bottom: 30px;
}

.content button {
  padding: 12px 25px;
  border: none;
  background-color: #38bdf8;
  color: white;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.content button:hover {
  background-color: #0ea5e9;
}

/* PROJECTS */

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.projects-container a {
  color: #000;
  font-size: 20px;
}

.myProjectsH1 {
  color: #fff;
}

.card {
  background-color: #f1f5f9;
  padding: 30px;
  border-radius: 12px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
}

.card h3 {
  margin-bottom: 15px;
  color: #1e3a8a;
}

/* ABOUT */

.about-text {
  margin-top: 20px;
  line-height: 1.8;
  font-size: 18px;
}

/* CONTACT */
