:root {
  /* --title-text: #3f9591; */
  --content-text: #000000;
  --clicked-link: #046d7d;
  --unclicked-link: #00348f;
  /* --bg-main: #fffad6; */
  --title-text-light: black;
  --bg-main-light: white;

  --title-text-dark: white;
  --bg-main-dark: black;
}

body {
  background-color: var(--bg-main);
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  color: var(--content-text);
  margin: 0;
  padding: 0;
}

.content {
  max-width: 700px;
  margin: 0 auto;
  padding: 10px 40px;
}

.title {
  text-align: center;
}

.title div {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 0;
  font-size: 50px;
}

.title .language-select img {
  opacity: 1;
  width: 15px;
  padding: 5px;
}

.main-content a {
  color: var(--unclicked-link);
}

.main-content a:visited {
  color: var(--clicked-link);
}

.title {
  color: var(--title-text);
}


/**
 * cards floding/unfolding
 */

.main-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 10px 40px;
}

.card {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.card-summary h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.card-sub {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.card-icon {
  font-size: 1.4rem;
  color: #888;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.card:hover .card-icon {
  transform: rotate(45deg);
}

.card-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
}

.card:hover .card-details {
  max-height: 1000px;
  padding: 0 20px 20px;
}

/**
 * diploma
 */

.education {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.diploma {
  max-width: 480px;
  width: 100%;
  background: #fdfbf5;
  /* parchment-ish tone */
  padding: 12px;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.diploma-border {
  border: 2px solid #b8945f;
  /* gold/bronze tone */
  border-radius: 2px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  font-family: Georgia, 'Times New Roman', serif;
}

/* inner hairline for that classic double-border diploma look */
.diploma-border::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid #b8945f;
  border-radius: 2px;
  pointer-events: none;
}

.diploma-label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  color: #a8895f;
  margin: 0 0 16px;
}

.diploma-institution {
  font-size: 1.5rem;
  margin: 0 0 12px;
  color: #2b2b2b;
}

.diploma-detail {
  font-size: 1rem;
  color: #444;
  margin: 0 0 8px;
  font-style: italic;
}

.diploma-date {
  font-size: 0.9rem;
  color: #666;
  margin: 20px 0 0;
}

.diploma-gpa {
  font-size: 0.9rem;
  color: #666;
  margin: 20px 0 0;
}

.diploma-seal {
  width: 50px;
  height: 50px;
  background: #b8945f;
  border-radius: 50%;
  margin: 20px auto 0;
  position: relative;
}

.diploma-seal::after {
  content: "★";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fdfbf5;
  font-size: 1.2rem;
}

/**
 * contact form
 */




.contact .socials img:hover {
  opacity: 1;
}

.contact {
  padding: 0 0 20px 0;
  margin: 0;
  width: 100%;
  background-color: #f5f5f5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
  gap: 6px;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 12px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 12px;
  border: 1px solid #e9e9e9;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form button {
  margin-top: 20px;
  padding: 12px;
  background: #2b2b2b;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.contact-form button:hover {
  background: #444;
}

.contact .socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.contact .socials img {
  width: 40px;
  opacity: 0.5;
}