@import url("https://fonts.googleapis.com/css?family=Poppins");
@import url("https://fonts.googleapis.com/css?family=Questrial");

body {
  margin: 0%;
  padding: 0%;
  width: 100vw;
  background: var(--bg-color);
  color: var(--text-color);
  max-width: 100vw;
  overflow-x: hidden;
  align-items: center;
  font-family: "Poppins", sans-serif;
}

#loading {
  width: 100vw;
  height: 100vh;
  position: fixed;
  background: var(--bg-color);
  z-index: 999;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

#spinner {
  animation: rotate 0.5s infinite linear;
  width: 50px;
  height: 50px;
  border: 2px solid var(--bg-color);
  border-bottom: 2px solid var(--text-color);
  border-radius: 50%;
  margin: 0;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#profile {
  width: 22vw;
  padding: 4vh 3vw;
  height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  background: var(--background-image) center center;
  background-size: cover !important;
  background-repeat: no-repeat;
  position: fixed;
  color: #fff !important;
}

#display {
  width: 66vw;
  padding: 4vh 3vw;
  height: 92vh;
  display: inline-block;
  padding-left: 31vw;
}

#display h1 {
  font-size: 36px;
  color: var(--text-color);
  font-weight: bold;
  font-family: "Questrial", sans-serif;
  margin-bottom: 3vh;
}

#profile_img {
  width: 180px;
  height: 180px;
  min-width: 180px;
  min-height: 180px;
  max-width: 180px;
  max-height: 180px;
  border-radius: 5px;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

#profile div {
  font-weight: bold;
  margin: 1.5vh 0px;
}

#username {
  font-size: 22px !important;
  font-weight: bold;
  margin-bottom: 0 !important;
  line-height: 1.1;
}

#username span {
  font-size: 32px !important;
}

#username a {
  color: #fff !important;
  text-decoration: none;
  font-weight: bold;
}

#username a:hover {
  text-decoration: underline;
}

#github_username {
  font-size: 16px !important;
  font-weight: normal;
  margin-top: 1vh !important;
  margin-bottom: 0 !important;
  opacity: 0.9;
  line-height: 1.1;
}

#github_username a {
  color: #fff !important;
  text-decoration: none;
  font-weight: normal;
}

#github_username a:hover {
  text-decoration: underline;
}

#job_title {
  font-size: 20px;
  font-weight: normal;
  margin-top: 4vh !important;
  margin-bottom: 0;
  opacity: 0.9;
  color: #fff;
}

#github_link {
  margin-top: 1vh;
  margin-bottom: 0;
}

#github_link a {
  color: #fff !important;
  margin-top: 3vh !important;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.3s ease;
}

#github_link a:hover {
  opacity: 0.7;
}

#github_link img {
  filter: invert(1);
  vertical-align: middle;
  margin-right: 5px;
}

#github_link a {
  display: flex;
  align-items: center;
  font-size: 14px;
}

#email {
  margin-top: -1vh !important;
  margin-bottom: 0;
}

#email a {
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 8px;
}

#email a:hover {
  text-decoration: underline;
  opacity: 1;
}

#email a img {
  filter: invert(1);
  vertical-align: middle;
}

#linkedin {
  margin-top: -1vh !important;
  margin-bottom: 0;
}

#linkedin a {
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 8px;
}

#linkedin a:hover {
  text-decoration: underline;
  opacity: 1;
}

#linkedin a img {
  filter: invert(1);
  vertical-align: middle;
  width: 16px;
  height: 16px;
  object-fit: contain;
  position: relative;
  top: -2px;
}

#left-resume-btn {
  margin-top: 4vh !important;
  text-align: right;
}

.left-resume-download-btn {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
  backdrop-filter: blur(10px);
  text-decoration: none;
  display: inline-block;
}

.left-resume-download-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#introduction {
  margin: 2vh 0px 0px 0px !important;
  padding: 0vh 0px !important;
}

#introduction p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-color);
  font-family: "Poppins", sans-serif;
  margin: 2vh 0px;
  max-width: 95%;
}

#introduction p:first-of-type {
  margin-bottom: 3vh;
}



#education-panel {
  margin: 4vh 0px;
  padding: 2vh 0px;
}

#education-panel h2 {
  font-size: 22px;
  color: var(--text-color);
  /* font-weight: bold; */
  font-family: "Questrial", sans-serif;
  margin-bottom: 4vh;
  word-wrap: break-word;
}

.degrees-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.degree-item {
  flex: 1;
  min-width: 200px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0;
}

.degree-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  font-family: "Poppins", sans-serif;
  margin-bottom: 2px;
}

.degree-school {
  font-size: 18px;
  color: #666;
  font-family: "Poppins", sans-serif;
  margin-bottom: 2px;
}

.degree-dates {
  font-size: 18px;
  color: #888;
  font-family: "Poppins", sans-serif;
  font-style: italic;
}

#research-panel {
  margin: 4vh 31px 4vh 0px;
  padding: 2vh 0px;
}

#research-panel h2 {
  font-size: 22px;
  color: var(--text-color);
  font-family: "Questrial", sans-serif;
  margin-bottom: 4vh;
  word-wrap: break-word;
}

#internship-panel {
  margin: 4vh 31px 4vh 0px;
  padding: 2vh 0px;
}

#internship-panel h2 {
  font-size: 22px;
  color: var(--text-color);
  font-family: "Questrial", sans-serif;
  margin-bottom: 4vh;
  word-wrap: break-word;
}

#graphics-panel {
  margin: 4vh 31px 4vh 0px;
  padding: 2vh 0px;
}

#graphics-panel h2 {
  font-size: 22px;
  color: var(--text-color);
  font-family: "Questrial", sans-serif;
  margin-bottom: 4vh;
  word-wrap: break-word;
}

.research-content {
  position: relative;
  z-index: 1;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}





.research_card {
  background: #e3f2fd !important;
}

.research_card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(33, 150, 243, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(3, 169, 244, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 70%, rgba(0, 188, 212, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(0, 150, 136, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 60% 10%, rgba(255, 152, 0, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 60%, rgba(76, 175, 80, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 90%, rgba(121, 85, 72, 0.10) 0%, transparent 50%);
  pointer-events: none;
}

.graphics_card {
  background: #f3e5f5 !important;
}

.graphics_card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(156, 39, 176, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(233, 30, 99, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 70%, rgba(103, 58, 183, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(63, 81, 181, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 60% 10%, rgba(255, 87, 34, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 60%, rgba(255, 193, 7, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.internship-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 100%;
}

.internship-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(255, 165, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 70%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(40, 167, 69, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.internship-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -2px;
  background-image: 
    repeating-linear-gradient(60deg, transparent, transparent 2px, rgba(0, 0, 0, 0.02) 2px, rgba(0, 0, 0, 0.02) 4px),
    repeating-linear-gradient(-60deg, transparent, transparent 2px, rgba(0, 0, 0, 0.02) 2px, rgba(0, 0, 0, 0.02) 4px);
  pointer-events: none;
}

.internship-content {
  position: relative;
  z-index: 1;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  scale: 1;
  margin-top: 120px;
  margin-bottom: 120px;

}

.laptop-icon {
  width: 100%;
  height: 100%;
  opacity: 1;
  object-fit: contain;
  transform: scale(0.8);
}

.laptop-icon video,
video.laptop-icon {
  width: 100%;
  height: 100%;
  opacity: 1;
  object-fit: contain;
  transform: scale(0.8);
}

#cv-panel {
  margin: 0px 0px 4vh 0px !important;
  padding: 1vh 0px !important;
}

.cv-section {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cv-download-btn {
  background-color: #333;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  display: inline-block;
}

.cv-download-btn:hover {
  background-color: #555;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.graduate-status {
  color: #2e7d32;
  font-size: 16px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  padding: 12px 24px;
  background-color: #e8f5e8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  height: 48px;
  box-sizing: border-box;
}


#footer {
  width: 100%;
  padding: 8vh 0px;
  text-align: center;
}

#footer a {
  color: var(--text-color) !important;
  text-decoration: none;
  font-family: "Questrial", sans-serif;
  font-weight: bold;
}

::selection {
  color: var(--bg-color);
  background: var(--text-color);
}

@media (max-width: 800px) {
  #profile {
    width: 90vw;
    padding: 4vh 5vw;
    height: 60vh;
    text-align: center;
    position: relative;
  }

  #display {
    width: 90vw;
    padding: 4vh 5vw;
    height: auto;
    display: inline-block;
    padding-left: 5vw;
  }

  #profile_img {
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
    max-width: 120px;
    max-height: 120px;
    margin: 0px auto !important;
  }

}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--text-color);
}

:root {
  --bg-color: #fff;
  --text-color: rgb(10, 10, 10);
  --background-image: linear-gradient(
      90deg,
      rgba(10, 10, 10, 0.4),
      rgb(10, 10, 10, 0.4)
    ),
    url("cascading-hillside-across-the-horizon.jpg");
  --background-background: #fff;
}
