/* ===================== GENERAL ===================== */

body {
  margin: 0;
  padding: 0;
  /* background-color: #222; */
  background-color: #101010;
  color: #fff;
  font-family: 'Lato', sans-serif;
}

#main {
  margin: 0 auto;
  max-width: 960px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

a {
  color: #ff007f;
  text-decoration: none;
}

/* ===================== HEADER ===================== */

header {
  width: 100%;
  margin-bottom: 20px;
}

h1 {
  font-size: 40px;
  text-align: center;
}

#cinn {
  background: linear-gradient(to right, #ff007f, purple, blue);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#me {
  background: #fffd8d;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===================== ARTICLES ===================== */

article {
  background-color: #131313;
  border-radius: 10px;
  padding: 20px;
  margin: 15px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  width: calc(50% - 20px);
}

@media screen and (max-width: 768px) {
  article {
    width: 90%;
  }
}

article:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

article>h2 {
  color: #f0f0f0;
  margin: 10px;
}

article>p {
  color: #cccccc;
  margin: 10px;
}

/* ===================== FOOTER ===================== */
footer {
  text-align: center;
  margin-top: 20px;
}

.email {
  color: #ff007f;
  text-decoration: none;
  border-radius: 3px;
  padding: 3px 6px;
}

.email:hover {
  background-color: #ff007f;
  color: #fff;
}

/* ===================== MODALS ===================== */

.modal-button {
  border: none;
  background: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  color: #777;
  text-decoration: none;
  border-radius: 3px;
  padding: 3px 6px;
}

.modal-button:hover {
  background-color: #777;
  color: #fff;
}

.modal-container {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #222;
  border: 2px solid #555;
  border-radius: 10px;
  padding: 20px;
  z-index: 1000;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #555;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.modal-header h2 {
  margin: 0;
  color: #fff;
}

.modal-close {
  cursor: pointer;
  color: #fff;
  font-size: 24px;
}

.modal-close:hover {
  color: #aaa;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}