body {
    margin: 0 auto;
    overflow: hidden;
    background-color: rgb(0, 0, 0);
    font-family: 'Lato', sans-serif;
    font-size: 1.25em;
    text-align: center;
}


.frame-wrapper {
    position: fixed;
    height: min-content;
    width: 800px;
    height: 900px;
    min-width: 60%;
    clip-path: inset(10px 0 0 0); /* Clip only the bottom, left, and right */
    overflow: visible; /* Allow the top-light to extend above */
     /* transparent border to create space for the glow */
    /*animation: glow 1s ease-in-out infinite alternate;  a CSS animation for continuous glowing */
  }

.fixed-frame {
    z-index: 1;
    background-color: #000;
    position: fixed;
    inset: 0;
    margin: auto;
    top: 10px;
    height: 900px;
    width: 800px;
    min-width: 60%;
    overflow: hidden;
    -webkit-transform: translateZ(0);
}


#content-container {
    position: absolute;
    top: 50%; /* Position 50% from the top */
    left: 50%; /* Position 50% from the left */
    transform: translate(-50%, -50%); /* Shift back by 50% of the container's width and height */
    max-width: 65%; 
    max-height: 80vh;
    margin: auto; /* Auto margin centers horizontally in block containers */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    border-radius: 13px;
    background-color: rgba(51, 51, 51, 0.885); 
    overflow-x: hidden;
     padding-bottom: 2rem; /* Normal padding */
    transition: padding-bottom 0.3s ease;
}

.content-about { 
    line-height: 1.5;
}

.no-overflow {
    padding-bottom: 0.5rem; /* Reduce padding when there's no overflow */
}

.top-section {
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-image {
    border-radius: 13px;
    margin-top: 10px;
    max-width: 280px;
    max-height: 280px; /* Ensures the image doesn't overflow vertically */
}

/* Styling the container of icons */
.icons {
    display: flex;
    gap: 10px;
    align-items: center;
    position: relative;
}

/* Base styles for images */
.icon img {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    width: 100px;
    height: 60px;
    position: relative;
    transition: transform 0.2s ease-in-out; /* For hover scaling */
}

/* Hover effect */
.icon img:hover {
    transform: scale(1.1); /* Slight zoom-in on hover */
}

/* Shining effect pseudo-element */
.icon img::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg); /* Slanted shine effect */
    z-index: 10;
    pointer-events: none;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.5s ease-in-out;
}

/* Active shine effect */
.icon img.shining::after {
    opacity: 1; /* Make the shine visible */
    animation: shine 2s linear; /* Animate the shine */
}

/* Keyframes for shine effect */
@keyframes shine {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}


.text-section {
    font-family: "Open Sans", sans-serif;
    color:rgb(237, 255, 251);
    font-size: larger;
    
}

#title-text { 
    margin-top: .5rem;
    font-family: "Nunito", sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    
  
}
.text-section span {
    font-size: 1.33rem; 
  }

#landing-text { 
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;

}

#scroll-indicator {
    position: absolute;
    top: 90%;
    left: 90%;
    transform: translateX(-45%);
    font-size: 1.5rem;
    color: #fff;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: flash 1.5s infinite;
}

.hidden {
    display: none;
}

.header-about { 
    text-align: center;
    font-size: larger;
    
}

.certs { 
    font-weight: 600;
}

@keyframes flash {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

.survey-link { 
    color: rgb(197, 207, 151);
   cursor: pointer;
    
}

u {
    position: relative;
    text-decoration: none; /* Remove default underline */
    
}

u::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgb(149, 164, 162),rgb(149, 164, 162));
    animation: underlineMove 3s linear infinite;
    opacity: 0; /* Start invisible */
}

@keyframes underlineMove {
    0% { width: 0; left: 0; opacity: 0; }
    20% { opacity: 1; } /* Fade in */
    50% { width: 100%; left: 0; opacity: 1; }
    80% { opacity: 1; } /* Hold opacity */
    100% { width: 0; left: 100%; opacity: 0; } /* Fade out */

}

.line-top-left {
    position: absolute;
    top: 10px;
    left: 0;
    height: 3px;
    width: 50%;
    background-color:rgb(149, 164, 162);
    z-index: 2;
}
.line-top-right {
    position: absolute;
    top: 10px;
    right: 0;
    height: 3px;
    width: 50%;
    background-color: rgb(149, 164, 162);
    z-index: 2;
}
.line-left-vert {
    position: absolute;
    top: 10px;
    width: 3px;
    height: 100%;
    background-color: rgb(149, 164, 162);
    z-index: 2;
}
.line-right-vert {
    position: absolute;
    top: 10px;
    right: 0;
    width: 3px;
    height: 100%;
    background-color: rgb(149, 164, 162);
    z-index: 2;
}
.line-bottom-left-about {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color:rgb(149, 164, 162);
    z-index: 2;
}

.line-bottom-right-contact {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 3px;
    background-color:rgb(149, 164, 162);
    z-index: 2;
}

.top-light {
    cursor: pointer;
    z-index: 10;
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translate(-50%, -100%); /* Move it above the frame */
    width: 50px;
    height: 20px;
    background-color: black;
    border: 3px solid rgb(149, 164, 162);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.top-light-wrapper {
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}


  svg {
    height: 40px;
    width: 40px;
    transform: rotate(90deg);
    transform-origin: center;
  }

  

  .hr-lines { 
      background-color: #000;
      height: .5px;
      width: 80%;   
      inset: 0;
  }

  .about-ext { 
    word-spacing: normal;
    letter-spacing: normal;
  }


#about {
    position: absolute;
    right: 65%;
    user-select: none;
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    -webkit-user-select: none; /* Safari */
    
    font-family: "Afacad Flux", sans-serif;
    font-size: larger;
    color: rgb(149, 164, 162);
    display: flex; 
    align-items: center; /* Vertically center the text */
    justify-content: center;
    height: 7%;
    width: 90px;
    background-color: black;
    border: 3px solid rgb(149, 164, 162);
    border-radius: 11px;
    transition: color 0.2s;
    /* Smooth color transition on hover */
    cursor: pointer;
}


#contact {
    position: absolute;
    left:65%;

    user-select: none;
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    -webkit-user-select: none; /* Safari */
    
    font-family: "Afacad Flux", sans-serif;
    font-size: larger;
    color: rgb(149, 164, 162);
    display: flex; 
    align-items: center; /* Vertically center the text */
    justify-content: center;
    height: 7%;
    width: 90px;
    background-color: black;
    border: 3px solid rgb(149, 164, 162);
    border-radius: 11px;
    transition: color 0.2s;
    /* Smooth color transition on hover */
    cursor: pointer;
}


/* Light-up effect for lines */
.light-up {
    /* background-color: rgba(91, 235, 201, 0.7); */
    background-color: rgb(237, 255, 251);
    box-shadow: 10 10 30 #ffffff; 
    transition: background-color 0.1s ease;
}

/* Default fill color for SVG */
svg path {
    fill: rgb(149, 164, 162); /* Default fill color */
}

/* Fill color when 'light' class is added to the SVG */
svg.light path {
    fill: rgb(237, 255, 251); /* Light color */
}

.border-button{
    border: 3px solid rgb(237, 255, 251) !important;
    background-color: rgb(149, 164, 162) !important;
    color: black !important;
}

.top-light-outline { 
    border: 3px solid rgb(237, 255, 251);
    background-color: rgb(149, 164, 162)
}



.border-light {
    background-color: rgb(122, 182, 166);
    background-color: rgb(195, 218, 213);
    border: 3px solid rgb(237, 255, 251);
    box-shadow: 0 0 10px #ffffff; 
   
}




/* Style the image */
.img_3d {
    display: block;
    margin: 0 auto;
    /* Center horizontally */
    max-width: 100%;
    /* Set the maximum width of the image */
    max-height: 100%;
    /* Maintain the image's aspect ratio */
}

#content-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
}


.new-window-about::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
}

.new-window-portfolio::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
}

.new-window-contact::-webkit-scrollbar{ 
    display: none; /* Hide scrollbar */
}



.new-window-about {
    font-family: "Fredoka", serif;
    font-optical-sizing: auto;
    font-size: 1.2rem;
    color:rgb(191, 214, 205);
    z-index: 1;
    position: absolute;
    top: 11px;
    left: 0;
    width: calc(100% - 40px);
    max-height: 91%;
    background: rgba(30, 30, 30) radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 13px 13px;
    padding: 0 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    transition: transform 0.5s ease;
    transform: translateX(-100%);
    overflow: auto;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    padding-top: 5%;
    top: 11px;
    left: 2px;
    max-height: 89%;
    overflow: scroll;
}


.fixed-frame.open-about .new-window-about {
    transform: translateX(0);
}



.new-window-contact {
    z-index: 1;
    border-radius: 13px 0 0 13px;
    position: absolute;
    top: 10%;
    right: -3%;
    min-width: 325px; /* Ensures the form doesn't get too small */
    max-width: 400px; /* Limits how wide the form can get */
    width: 100%; /* Allows it to fill the available width */
    color:rgb(191, 214, 205); /* To maintain consistent text color */
    background: rgba(30, 30, 30) radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px); /* Matching background */
    background-size: 13px 13px;
    transition: transform 0.5s ease;
    transform: translateX(100%);
    overflow: hidden;
    
   
}

.fixed-frame.open-contact .new-window-contact {
    transform: translateX(0);
}


.new-window-contact label {
    display: flex; /* Display labels as block elements, one below the other */
    margin-top: 3%;
    margin-left: 5%;
}

/* Style the textboxes (input fields) */
.new-window-contact input[type="text"],
.new-window-contact input[type="email"],
.new-window-contact textarea {
    width: 90%; /* Make textboxes take up the full width of their container */
    padding: 10px; /* Add padding inside textboxes */
    margin-left: 5%;
    border: 1px solid #ccc; /* Add a border around textboxes */
    resize: none;
}

#name, #email, #message { 
    width: 95%;
}
 

    .new-window-contact button {
        position: relative;
        background-color: rgb(149, 164, 162);
        color: white;
        padding: 10px 20px;
        margin-top: 3%;
        width: auto; /* Let the button take its natural width */
        border: none;
        border-radius: 3px;
        cursor: pointer;
    
        /* Calculate the left margin dynamically to center the button */
        left: calc(10%); /* 50% of the container's width minus half the button's width (adjust 50px as needed) */
    }


.new-window-contact button:hover {
    background-color:#6082a4;  /* Change the background color on hover */
    border-radius: 3px;
}

.portfolio-headers { 
    position: sticky;
    top: -40px;
    background: rgba(30, 30, 30) radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 13px 13px;
    padding: 10px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    width: 60%; /* Adjust width as needed for the desired boxed look */
    margin: 0 auto; /* Center the header horizontally */
    border-radius: 10px; /* Optional: rounded corners */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Optional: subtle border */
}

a {
    color:rgb(191, 214, 205);  /* Default link color */
    text-decoration: none; /* Remove underline if desired */
}

a:hover {
    color: rgb(204, 232, 222); /* Hover link color */
}

a.underline {
    text-decoration: underline; /* Always underlined */
}

/* Ensure the container uses flexbox */
.form-icons {
    margin-left: 7%;
    margin-right: 7%;
    display: flex;
    justify-content: space-between; /* Center the icons horizontally */
    align-items: center; /* Center the icons vertically */
    gap: 20px; /* Add spacing between the icons */
    position: relative; /* Allow icons to scale and move with the container */
    width: 95%; /* Make the container take up full width */
    padding-bottom: 20px; /* Space from the bottom */
}

/* Prevent icons from scaling */
.form-icons .icon img {
    width: 100px;  /* Set a fixed width */
    height: 100px; /* Set a fixed height */
    object-fit: contain; /* Ensure the image fits within the dimensions */
    transition: transform 0.3s ease-in-out;
}

/* Optional: Add hover effects */
.icon img:hover {
    transform: scale(1.1); /* Slightly enlarge the icon on hover */
}


   
.content-contactForm {
    padding: 3%;
    display: flex;
    font-size: 1.5rem;
    justify-content: flex-start
}


.content-contactForm-label {
    margin: 0 15%;
}

.new-window .content {
    margin: 1.5rem;
    font-size: 3rem;
}

.list-container {
    display: flex;
    justify-content: center; /* Center the list horizontally */
   
    font-display: larger;
}

ul {
    list-style-type: disc; /* Default bullet style */
    margin-left: 0; /* Remove default left margin */
}

li {
    font-weight: light;
    text-align: center; /* Center text */
    text-align: justify;
}

