/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: darkslategrey;
  color: antiquewhite; 
  font-family: 'Roboto Slab', serif;
}

a {
  text-decoration: none;
  color: antiquewhite; /* Light color for better visibility */
}

nav {
  display: flex;
  position: sticky;
  justify-content: space-between;
  align-items: center;
  padding: 30px 60px;
  background: antiquewhite;
}

.openMenu, .closeMenu {
  display: none;
}

ul {
  display: flex;
  gap: 50px;
  list-style: none;
  background: antiquewhite;
}

header {
  width: 100%;
  color: darkslategrey;
  position: fixed;
  top: 0;
  background: antiquewhite;
}

#logo-ctn h2 {
  font-size: 30px;
}

nav li {
  display: inline-block;
}

nav li a {
  color: darkslategrey;
  text-decoration: none;
  font-size: 18px;
  font-weight: 100;
}

main {
  margin-top: 150px;
}

#origin {
  margin: 2rem;
  padding: 10px;
  display: flex;
  gap: 10%;
}

.intro-text {
  text-align: center;
  justify-content: center;
  padding: 30px auto;
}

img {
  width: 100%;
  height: 100%;
}

.img-ctn {
  width: 20%;
  background-color: antiquewhite;
}

.intro-body {
  font-size: 3rem;
  padding-top: 20px;
}

h1 {
  font-size: 1.5rem;
  margin: auto;
}

hr {
  width: 60%;
  margin-left: 20%;
}

#discover {
  margin: 50px;
  text-align: center;
  font-size: 2rem;
}

#yourself {
  margin: 50px;
  text-align: center;
  font-size: 2rem;
}

#projects {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.project {
  border: 2px solid antiquewhite;
  border-radius: 5px;
  text-align: center; /* Center align text and links */
}

.project a {
  color: antiquewhite; /* Light color for better visibility */
  font-weight: bold;   /* Optional: make the text bold */
  font-size: 0.8rem;   /* Smaller font size */
}

.project a:hover {
  color: #f7c08a; /* Optional: different color on hover */
}

.project p {
  font-size: medium;
}

#contact-form {
  padding: 30px 60px;
}

#contact-form h3 {
  font-size: 35px;
  margin-bottom: 25px;
}

form {
  margin-top: 20px;
  background: darkslategrey;
}

.input-control {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 25px;
}

.input-control input, .input-control textarea {
  width: 100%;
  padding: 10px 25px;
  font-size: 16px;
  border: 1px solid antiquewhite;
  border-radius: 5px;
}

.input-control input:focus {
  border-color: #f7c08a;
  outline: none;
}

.input-control textarea {
  height: 200px;
}

form button {
  color: darkslategrey;
  text-decoration: none;
  padding: 15px 25px;
  font-weight: 400;
  background: #f7c08a;
  transition: all 0.3s;
  font-size: 18px;
  border: none;
}

form button:hover {
  color: darkslategrey;
  background: antiquewhite;
}

#social-media {
  margin: 20px;
}

#social-media h2, #resume h2 {
  text-align: center;
}

#social-media ul {
  list-style-type: none;
  padding: 0;
  text-align: center;
}

#social-media ul li {
  display: inline;
  margin: 0 10px;
}

#social-media ul li a {
  text-decoration: none;
  color: #333;
}

#resume {
  text-align: center;
  margin: 20px;
}

#resume a {
  text-decoration: none;
  color: #fff;
  background-color: #333;
  padding: 10px 20px;
  margin: 30px;
  border-radius: 5px;
}

#resume a:hover {
  background-color: #555;
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px;
  bottom: 0;
  width: 100%;
}
