* {
  font-family: Georgia, serif;
  font-size: x-large;
}

body {
  background-color: rgba(255, 240, 219, 0.404);
  margin: 0;
}

p {
  font-weight: 300;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: black;
  color: rgb(253, 245, 235);
  width: 100%;
  padding: 1rem 0;
  margin: 0;
  box-sizing: border-box;
  text-align: center;
}

h1 {
  color: rgb(253, 245, 235);
  font-size: 2em;
}

h1,
h2 {
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  text-transform: capitalize;
}

nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

nav a {
  text-decoration: none;
  color: rgb(253, 245, 235);
}

nav a:hover {
  color: rgb(12, 240, 240);
}

article.project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem;
  margin: 2rem auto;
  max-width: 50%;
  box-sizing: border-box;
}

article.project .image {
  flex: 0 0 50%;
}

article.project .image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

article.project .text {
  flex: 0 0 50%;
  text-align: justify;
}

article.project.left {
  flex-direction: row;
}

article.project.right {
  flex-direction: row;
}

article.project .text p,
article.project .text h2 {
  margin-bottom: 0.75rem;
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem 0;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

footer a {
  color: black;
  text-decoration: none;
  margin: 0.5rem;
}

footer a img {
  margin: 0 0.5rem;
  width: 50px;
  height: auto;
}

footer a:hover {
  color: rgb(12, 240, 240);
}

a {
  text-decoration: none;
}

#warning {
  text-align: center;
}

.content {
  width: 33%;
  margin: 2rem auto;
  text-align: justify;
  padding: 1rem;
}

#self {
  width: 220px;
  margin: 2rem auto;
  display: block;
  border-radius: 500px;
  box-shadow: 5px 8px 16px rgba(0, 0, 0, 0.245);
}

#form {
  width: 100%;
}

#form input,
#form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
  margin-top: 1rem;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

#form button {
  background-color: rgba(204, 191, 191, 0.437);
  color: rgb(0, 0, 0);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#mail {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  margin-top: 1rem;
}

#mail img {
  width: 70px;
  height: auto;
  vertical-align: middle;
  margin-left: 0.5rem;
}

.cv {
  width: 40%;
  margin: 2rem auto;
  text-align: justify;
  padding: 1rem;
}

ul {
  list-style-type: disc;
  list-style-position: outside;
}

li {
  margin: 0.5rem;
}
