 /* index.css
 Xuan Tri Nguyen 
 3013888576
 Duedate: Sep 26, 2024 */
 :root {
  --primary-color: #646cff;
  --secondary-color: #1a1a1a;
  --background-color: #242424;
  --text-color: rgba(255, 255, 255, 0.87);
  

  font-family: 'Times New Roman', Times, serif, serif , system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: light dark;
  color: var(--text-color);
  background-color: var(--background-color);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: inherit;
}

a:hover {
  color: #76b900;
}
a:link {
	color:  #72b206;
}
a:hover {
	color:#00FF00;
}
a:visited {
	color:  #7c7c7b;
}
a:active {
	color: #a9aba6;
}

body {
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
}
header {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 1rem;
  background-color: var(--background-color);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);  
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
  color:#00FF00;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: var(--secondary-color);
  cursor: pointer;
  transition: border-color 0.25s;
}

button:hover {
  border-color: var(--primary-color);
}

button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
  :root {
    --text-color: #213547;
    --background-color: #ffffff;
  }

  a:hover {
    color: #747bff;
  }

  button {
    background-color: #f9f9f9;
  }
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #222;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 30px;
}

nav li {
  margin: 0;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s ease-in-out;
}

a {
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: inherit;
}
nava:hover {
	color:#00FF00;
}
a:hover {
  color: #76b900;
}
a:link {
	color:  #72b206;
}
a:hover {
	color:#00FF00;
}
a:visited {
	color:  #7c7c7b;
}
a:active {
	color: #a9aba6;
}

.intro {
    font-size: 3em;
    font-weight: 700;
  }
  .introContent {
    height: 80vh;
    width: 70vw;
    padding: 3em;
    padding-top: 1em;  
    text-align: center;
  }

  .hello {
    font-size: 1.75rem;
    font-weight:500;
  }
  
  .introName {
    color: #00FF00;
  }  
  
  .introPara {
    font-size: 20px;
    font-weight: 500;
  }
  .softwareDev {
    color: #72b206;
    font-size: 30px;
    font-weight: 200;
  }

  .hire-me-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;   
    margin: 4px 2px;
    cursor: pointer; 
  
  }
  .contact-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    
  }
  
  label {
    display: block;
    margin-bottom: 10px;
  }
  
  input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
  }
  
  button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
  }
  .centerbtn {
    display: flex;
    justify-content: center;
    align-items: center;
 
  }
  .footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background-color: #f5f5f5;
    border-top: 1px solid #ccc;
  }
  
  
  .social-media {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  
  .social-media a {
    display: block;
    width: 30px;
    height: 30px;
  }
  
  .social-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .align {
    font-size: 20px;
    font-weight: 500;
    text-align: left;
  }
  .about-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.about-image {
    text-align: center;
    margin-bottom: 30px;
}

.about-image img {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
}
.about-text {
    font-size: 18px;
    line-height: 1.5;
    text-align: justify;
}
.download-resume-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #00FF00;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s  ease-in-out;
}

.download-resume-btn:hover {
    background-color: #2980b9;
}
.education-section {
  margin: 50px auto;
  padding: 20px;
}

.education-item {
  border: 1px solid #ccc;
  padding: 20px;
  margin-bottom: 20px;
}

.course-list {
  margin-top: 20px;
  column-count: 0;
  column-gap: 20px;
}

.course-list ul {
  list-style: none;
  padding: 0;
}

.course-list li {
  margin-bottom: 10px;
}
.center {
  text-align: center;
  font-size: 40px;
}
.projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.project {
  width: 30%; 
  margin-bottom: 40px;
}

.project img {
  width: 100%;
  height: auto;
}

.project-description {
  padding: 20px;
}
