body {
  font-family: 'Roboto', sans-serif;
  color: var(--body-color);
  background: linear-gradient(-45deg, #FFD9A1, #FFE89C, #B5D7F4, #C4A4E7, #FFBFD6);
  background-size: 400% 400%;
  animation: gradientShift 5s ease infinite;
  font-size: 19px; /* Slightly larger font size */
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center; /* Center the main content horizontally */
  align-items: flex-start; /* Align to the top */
  min-height: 100vh; /* Ensure full-screen height */
}

.main-body {
  background: rgba(255, 255, 255, 0.9); /* Slightly more opaque for better readability */
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-radius: 20px; /* Smooth edges */
  box-shadow: 2 16px 40px rgba(0, 0, 0, 0.15); /* Improved shadow for depth */
  border: 1px solid rgba(255, 255, 255, 0.5); /* Subtle border for polish */
  padding: 40px 60px; /* Larger padding for spacing */
  margin: 20px auto; /* Center the container */
  width: min(95%, 1600px); /* Use 95% of the screen, up to a max of 1600px */
  max-width: 1200px; /* Set a larger maximum width */
  box-sizing: border-box; /* Ensure padding doesn't expand the width */
}

@media (min-width: 1600px) {
  .main-body {
    width: 85%; /* Use 85% width for ultra-wide screens */
  }
}

@media (max-width: 768px) {
  .main-body {
    padding: 20px; /* Adjust padding for smaller screens */
    width: 100%; /* Take the full width on mobile */
    border-radius: 10px; /* Smaller border radius for compact screens */
  }
}


.profile-photo {
  background: rgba(255, 255, 255, 0.3); /* Semi-transparent white for Acrylic effect */
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border-radius: 5%; /* Ensures a circular boundary */
  padding: 10px; /* Inner padding around the photo */
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
  border: 1px solid rgba(255, 255, 255, 0.4); /* Subtle border */
  overflow: hidden; /* Ensures the image stays within the rounded boundary */
}

/* Apply to the image inside the container */
.profile-photo img {
  width: 100%; /* Make the image responsive */
  height: auto; /* Maintain aspect ratio */
  border-radius: 50%; /* Match the container's circular shape */
  display: block; /* Removes inline spacing issues */
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

img {
  width: 100%;
  image-rendering: optimizeSpeed;             /* STOP SMOOTHING, GIVE ME SPEED  */
  image-rendering: -moz-crisp-edges;          /* Firefox                        */
  image-rendering: -o-crisp-edges;            /* Opera                          */
  image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
  image-rendering: optimize-contrast;         /* CSS3 Proposed                  */
  -ms-interpolation-mode: nearest-neighbor;   /* IE8+ */
}



/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* a {
  color: #990000;
  text-decoration: none;
} */
/* a:focus,
a:hover {
  color: #011F5b;
  text-decoration: none;
} */


/* a {
  color: #340079;
  text-decoration: none;
}


a:focus,
a:hover {
  color: #f57b00;
  text-decoration: none;
} */

a {
  color: #340079; /* Purple tone for the default color */
  text-decoration: none; /* No underline by default */
  transition: color 0.3s ease, text-decoration 0.3s ease; /* Smooth transition for hover effect */
}

/* Hover and focus effects */
a:focus,
a:hover {
  color: #f57b00; /* Bright orange on hover/focus */
  text-decoration: underline; /* Add underline for better accessibility feedback */
}

body,
td,
th,
tr,
p,
a {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 16px
}

strong {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 16px;
}

heading {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 22px;
}

papertitle {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700
}

name {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 32px;
}

.one {
  /* width: 280px;
  height: 180px; */
  width: 100%;
  height: 100%;
  position: relative;
  vertical-align: middle;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #f0f086;
}

.profile-photo-frame {
  position: relative;
  width: 100%;             /* Take full parent width */
  max-width: 320px;        /* Make it nicely visible but not oversized */
  aspect-ratio: 1 / 1;     /* Maintain square ratio */
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 5px solid rgba(255, 255, 255, 0.4);
  margin: auto; /* Center horizontally */
}

.photo-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  display: block;
  pointer-events: none;
  border-radius: 20px;
}

.photo-default {
  z-index: 1;
  opacity: 1;
}

.photo-hover {
  z-index: 2;
  opacity: 0;
}

.profile-photo-frame:hover .photo-hover {
  opacity: 1;
}

.profile-photo-frame:hover .photo-default {
  opacity: 0;
}
