* {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

a {
    text-decoration: none;
    color: black;
}

a:hover {
    text-decoration: underline;
    text-underline-offset: 0.5em;
}

.nav {
    max-width: 1050px;
    margin: auto;
}

.nav a {
    padding-top: 40px;
    padding-right: 30px;
}

.footer { 
    font-size: 9pt;
    color: lightslategray; 
    width: 100vw;
    bottom: 2vh; 
    text-align: center;
    z-index: 10;
    position: relative; 
    padding-top: 10vh;
}

.header {
    padding-top: 10vh; 
    padding-left: 15vw; 
    padding-right: 15vw;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.main-content {
    flex: 1; 
    padding-bottom: 30px;
}

/* Home Page */
.home-container {
    padding-top: 10vh;
    margin-left: auto;
    margin-right: auto;
    width: 950px;
    height: 50vh;
    position: relative;
    flex: 1;
    animation: fadeIn 1s;
    display: flex;
    flex-direction: row;
}

.homeText h1 {
    font-size: 30pt;
    margin: 0;
}

.homeText {
    float: top;
    padding-top: 70px;
    text-align: right;
}

.home-sub-container {
    flex: 1;
    transition: ease 0.6s;
    animation: fadeIn 1s;
    padding-right: 70px;
}

.homeButtons {
    margin-top: 50px;
    float: bottom;
}

.homeProfile {
    flex: 1;
    padding-left: 40px;
}

.homeProfile img {
    height: 400px; 
    width: 400px;
}

.hTitle {
    height: 30px;
    padding-bottom: 25px;
    padding-top: 35px;
}

.role-h1 {
    font-size: 50px;
    padding-top: 30px;
}

.hover-swap {
    position: relative;
    display: inline-block;
    color: dodgerblue;
    cursor: pointer;
}

.hover-swap::after {
    content: attr(data-swap);
    position: absolute;
    left: 0;
    top: 0;
    color: dodgerblue;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hover-swap:hover::after {
    opacity: 1;
}

.hover-swap:hover {
    color: transparent;
}


/* Mobile Settings (Whole Website)*/
@media only screen and (min-width: 950px) {
    .hamburger {
      display: none;
    }

    .hamburger a {
        display: none;
    }

    .openButton {
        display: none;
    }    
}

/* Mobile Settings (Home Page) */
@media screen and (max-width: 950px) {
    .nav {
        display: none;
    }

    .openButton {
        position: absolute;
        right: 10vw;
    }

    .home-container {
        height: 100vh;
        margin-left: auto;
        margin-right: auto;
        max-width: 950px;
        width: 100%;
        padding-top: 0;
        display: flex;
        flex-direction: column;
    }
    
    .home-sub-container {
        margin-left:auto;
        margin-right:auto;
        text-align: center;
        max-width: 600px;
        width: 100%;
        flex-direction: column;
        padding: 0;
    }

    .homeText {
        animation: fadeIn 1s;
        width: 100%;
        text-align: center;
        padding-top: 0; 
    }

    .role-h1 {
        font-size: 25pt;
    }

    .homeText h1 {
        font-size: 25pt;
    }
    
    .homeProfile {
        animation: fade 1s;
        top: 1vh;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0;
        padding: 0;
    }

    .homeProfile img {
        height: 250px; 
        width: 250px;
    }
    
    .homeButtons {
        animation: fadeIn 1s;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        text-align: center;
        padding: 0;
        width: 300px;
    }

    .homeButtons a {
        display: inline-block; 
        margin: 5px; 
    }

    .footer {
        position: relative;
        bottom: 1;
    }

    .footer p{
        font-size: 7pt;
        transition: ease 0.6s;
    }

    .button {
        padding: 15px;
        margin: 0;
    }

    .button1 {
        background-color: white;
        color: black;
        border: 2px solid #000;
        float: right;
        padding: 0;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        /* margin: 4px 2px; */
        transition-duration: 0.4s;
        cursor: pointer;
        border-radius: 5px;
    }
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.mobileNav {
    position: fixed;
    right: 0;
}

.overlay {   
    height: 100%;
    width: 0;
    position: fixed; 
    z-index: 1;
    left: 0;
    top: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}
  
.overlayContent {
    display: flex;           
    flex-direction: column; 
    justify-content: center;
    align-items: center;      
    height: 100%; 
}

.overlayContent a {
    text-align: center;
}
  
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; 
    transition: 0.3s;
}
  
.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
    transform: scale(1.1);
}
  
.overlay .closeButton {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

.openButton {
    font-size: 30px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: black;
}

.openbtn:hover {
    color:#FFB800;
}

/* About Page */
.subContainer {
    padding-top: 30px;
    gap: 20px;
    display: flex;
    flex-direction: row;
}

.aboutImage {
    animation: fadeIn 1s;
    float: left;
    padding-top: 0;
}

.aboutText {
    animation: fadeIn 1s;
    text-align: justify;
    float: right;
    max-width: 600px;
    padding-top: 30px;
}

.about_card {
    background: rgb(237, 237, 237);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: row;
}

.about_sub_card p {
    margin: 20px;
    margin-bottom: 0;
}

.c_h1 {
    margin: 20px;
    margin-top: 0;
}

.LinkContainer {
    animation: fadeIn 1s;
    padding: 10px;
    max-height: 100px;
    display: inline-block;
}

.LinkItem {
    text-decoration: underline;
    float: left;
    padding-left: 10px;
    padding-right: 10px;
    align-items: center;
    max-width: 100px;
    text-align: center;
    transition: transform ease 0.3s;
}

.LinkItem:hover {
    transform: scale(1.2);
    text-decoration-color: #FFB800;
    color: #FFB800;
}

.LinkItem a:hover {
    text-decoration: none;
    transform: scale(1.2);
    text-decoration-color: #FFB800;
    color: #FFB800;
}

/* Mobile Settings (About Page) */
@media screen and (max-width: 950px) {
    .subContainer {
        flex-direction: column;
    }

    .Container3 {
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
        width: 100%;
        min-height: 120vh;
        height: auto;
    } 

    .aboutText {
        float: none;
        animation: fadeIn 1s;
        padding-top: 20px;
        text-align: justify; 
        padding-left: 20px;
        padding-right: 20px;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 20px;
    }

    .aboutImage {
        padding-top: 0;
        animation: fade 1s;
        float: top;
        left: 50%;
        top: 40%;
    }

    .LinkContainer {
        animation: fadeIn 1s;
        padding: 0;
        padding-top: 20px;
        display: flex;
        flex-direction: row; 
        justify-content: center;
        margin-bottom: 10vh;
    }

    .LinkItem {
        display: inline-block;
        transform: scale(0.8);
    }
}


/* Projects Page */
.bigContainer {
    width: 950px;
    margin: auto;
    margin-top: 2vh;
    animation: fadeIn 1s;
    transition: ease 0.6s;
}

.slideshowContainer {
    float: top;
    margin-bottom: 50px;
    min-height: 350px;
    animation: fadeIn 1s;
}

.slideshowNav {
    float: bottom;
    margin: auto;
    text-align: center;
    text-decoration: none;
}

.slideshowDot {
    text-align: center;
    padding: 10px;
}


/* Slideshow */
.mySlides {
    display: none;
}

.slideImage {
    float: left;
    box-shadow: #000;
}

.slideImage img {
    max-width: "450px"
}

.slideText {
    float: right;
    width: 450px;
    text-align: justify;
}

.slideText h2 {
    margin: 0;
    padding: 0;
}

.prev, .next {
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
    text-decoration: none;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #fff;
    border: 1px solid #808080;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #000;
    border: 1px solid #000;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

/* Mobile Settings (Projects Page) */
@media screen and (max-width: 950px) {
    .projectsContainer {
        width: 100%;
        max-width: 600px;
        padding: 5px; 
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        padding-bottom: 10vh;
    }

    .slideshowContainer {
        margin-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
        min-height: 500px;
    }

    .slideImage {
        margin: auto;
        float: none;
        width: fit-content;
    }

    .slideImage img {
        max-width: 300px;
    }

    .slideText {
        float: none;
        padding-top: 20px;
        min-width: 300px;
        width: 100%;
    }

    .slideText h2 {
        text-align: center;
    }

    .slideshowNav {
        margin: 0;
    }

    .bigContainer h1 {
        margin: 0;
        padding: 0;
    }

    .LinkContainer {
        margin: 0;
        padding: 0;
    }
}

/* Updates Page */
.updates {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem auto;
  max-width: 800px;
}

.update {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  font-size: 0.95rem;
}

.icon {
  font-size: 1.2rem;
}

.title {
  flex: 1;
  font-weight: 500;
}

.date {
  color: #555;
  font-size: 0.85rem;
  margin-left: auto;
}

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin-left: 0.5rem;
  white-space: nowrap;
}

.tag.purple { background: #e8dcf9; color: #6b3fa0; }
.tag.pink   { background: #fbd5e7; color: #b83280; }
.tag.blue   { background: #d4e9fb; color: #2563eb; }
.tag.teal   { background: #c9f0ed; color: #047857; }
.tag.green  { background: #dcfce7; color: #15803d; }
.tag.gray   { background: #f3f4f6; color: #374151; }
.tag.brown  { background: #e7d8c5; color: #7c3e0d; }


/* Mobile Settings (Updates Page) */
@media screen and (max-width: 950px) {
    .update {
    flex-direction: column;
    align-items: flex-start;
  }

  .title {
    flex: unset;
    margin-bottom: 0.3rem;
  }

  .date {
    margin: 0 0 0.3rem 0;
  }

  .tag {
    margin-left: 0;
  }
}


/* Certificate Page */
.certificate_slideshow_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: fadeIn 1s;
}
.pdfTitle {
    text-align: left;
}

.pdfDescription {
    padding-left: 5vw;
    padding-right: 5vw;
}

.pdf-viewer {
    display: flex;
    position: relative;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    padding: 40px;
    animation: fadeIn 1s;
    min-width: 850px;
}

canvas {
    max-width: 80%;
    max-height: 100%;
    transition: 0.6s ease;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.5);
}

#prevBtn, #nextBtn {
    padding: 10px 15px;
    font-size: 18px;
    border: none;
    background: dodgerblue;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.5);
}

#prevBtn {
    left: 40px;
}

#nextBtn {
    right: 40px;
}

#prevBtn:hover, #nextBtn:hover {
    background: #0056b3;
    transition: transform ease 0.3s;
    transform: scale(1.1);
}

/* Mobile Settings (Certificate Page) */
@media screen and (max-width: 950px) {
    .bigContainer {
        width: 90%;
        max-width: 600px;
        padding: 5px; 
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: ease 0.6s;
    }

    .certificate_slideshow_container {
        max-width: 100%;
    }

    .pdf-viewer {
        justify-content: center;
        /* padding: 0; */
        min-width: 85vw;
    }

    canvas {
        width: 65vw;
        max-height: 50vh;
        padding: 0;
        display: block;
    }

    .pdfTitle {
        max-width: 90%;
    }

    .pdfDescription {
        max-width: 90%;
    }
}


/* Contact Page */
.contactContainer {
    width: 950px;
    margin: auto;
    transition: ease 0.6s;
}

.contactText {
    float: left;
    padding-top: 12vh;
    animation: fadeIn 1s;
}

.contactText p {
    padding: 0;
    margin: 0;
    animation: fadeIn 2s;
    font-size: 25pt; 
    color: dodgerblue;
}

.contactForm {
    float: right;
    width: 500px;
    animation: fadeIn 1s;
}

input[type=text], select, textarea {
    width: 100%; 
    padding: 12px;  
    border: 1px solid #808080;
    border-radius: 4px; 
    box-sizing: border-box;
    margin-top: 6px; 
    margin-bottom: 16px; 
    resize: none;
}
  
input[type=submit] {
    background-color: white;
    color: black;
    border: 2px solid #FFB800;
    float: right;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.6s ease;
}
  
input[type=submit]:hover {
    background-color: #FFB800;
    border: 2px solid #FFB800;
    transition: 0.6s ease;
}
  
.formContainer {
    border-radius: 5px;
    border: 1px solid #808080;
    padding: 20px;
    padding-bottom: 40px;
}

/* Mobile Settings (Contact Page) */
@media screen and (max-width: 950px) {
    .contactContainer {
        width: 100%;
        max-width: 600px;
        padding: 5px; 
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 105vh;
        padding-bottom: 15vh;
        transition: ease 0.6s;
    }
    
    .contactForm {
        max-width: 300px;
        float: bottom;
        animation: fadeIn 1s;
        padding-top: none;
        text-align: left; 
        padding-left: 20px;
        padding-right: 20px;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 20px;
    }
    
    .contactText {
        max-width: 300px;
        padding-top: 6vh;
        padding-bottom: 6vh;
        padding-left: 20px;
        padding-right: 20px;
        text-align: left;
    }

    .contactText p {
        font-size: 18pt;
        color: dodgerblue;
    }
}



/* Thank you page */
.thanksText {
    text-align: center;
    padding-top: 15vh;
}

/* Mobile Settings (Thank you page) */
@media screen and (max-width: 950px) {
    .thanksText {
        padding-top: 10vh;
        padding-bottom: 20vh;
    }
}


/* Under Construction */
.stillUnderConstruction {
    width: 950px;
    margin: auto;
    padding-top: 16vh;
}

.center {
    padding-top: 10vh;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    animation-name: funny;
    animation-duration: 3s;
    position: relative;
}

/* Mobile Settings (Under Construction) */
@media screen and (max-width: 950px) {
    .stillUnderConstruction {
        max-width: 600px;
        width: 100%;
        height: 60%;
        margin-bottom: 20px;
    }
    
    .center {
        width: 75vw;
        transition: ease 0.6s;
    }
}


/* Lists */
ul {
    list-style-type: disc;
    margin-left: 20px;     
    padding-left: 20px;    
}

li {
    margin-bottom: 10px;   
}


/* Buttons */
.button {
    border: none;
    color: white;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 5px;
}
  
.button1 {
    background-color: white;
    color: black;
    border: 2px solid #000;
    float: right;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 5px;
}
  
.button1:hover {
    background-color: #000;
    color: white;
}

.button2 {
    background-color: white;
    color: black;
    border: 2px solid #000;
    float: right;
}
  
.button2:hover {
    background-color: #FFB800;
    border: 2px solid #000;
}




/* Animations */

@keyframes fadeIn {
    0% {
       opacity: 0;
       transform: translateX(-20px);
    }
    100% {
       opacity: 1;
       transform: translateX(0);
    }
}  

@keyframes funny {
    0%  {right:0px;}
    10%  {right:40px;}
    30%  {right:-40px;}
    40%  {right:0px;}
    100%  {right:0px;}
  }

  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}
