@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Vast+Shadow&display=swap');

body {
    margin-left: 5%;
    margin-right: 5%;
    padding: 0;
    height: 100vh;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.1) 1px, transparent 1px);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    box-sizing: border-box;
    background-color: black;
    overflow-y: auto;
}

.title-container-about {
    position: relative; /* Change to fixed */
    width: 100%;
    height: auto; /* Change to auto */
    align-items: flex-start;
    padding-top: 4%;
    justify-content: flex-start;
    left: 0;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    overflow: hidden;
}
.title-container-about pre {
    font-family: monospace;
    /* color: rgba(41, 167, 240, 0.901); */
    font-size: 12px;
    margin: 0;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    color: transparent; /* Make the text color transparent */
    background: linear-gradient(to top, rgba(2, 70, 109, 0.901), rgba(20, 143, 214, 0.901)); /* Gradient from black to white */
    -webkit-background-clip: text; /* Clip the background to the text */
    background-clip: text; /* Required for Firefox */
}

.main-text {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    position: relative;
    font-size: 18px;
    margin-top: 50px;
    z-index: 2;
    width: 100%;
    margin-bottom: 50px;  /* Add space between this and experience section */
}

.main-text .intro {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    position: relative;
    font-size: 18px;
    z-index: 2;
    text-align: left;
    width: 60%;  /* Change from max-width to width */
    flex-shrink: 0;  /* Prevent shrinking */
}

/* .main-text .intro .intro-text {
    border: 1px solid rgba(255, 255, 255, 0.788);
    padding-left: 10px;
    padding-right: 5px;
    border-radius: 20px;
} */

.main-text .intro .location {
    color: rgb(3, 200, 200);
}

.main-text .profile-img {
    width: 35%;
    display: flex;
    justify-content: center;  /* Center the image horizontally */
    align-items: center;  /* Center the image vertically */
    margin-top: 50px;  /* Match the intro's margin-top */
}

.main-text .profile-img img {
    max-width: 100%;  /* Makes sure the image doesn't overflow */
    height: auto;  /* Maintains aspect ratio */
}

.experience {
    width: 100%;
    margin-top: 10px;  /* Space from main-text section */
    color: white;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
    padding-bottom: 50px;  /* Space between this and the next section */
}

.experience .ex-title {
    font-weight: 800;
    font-size: 45px;
    margin-bottom: 30px;  /* Space between title and job */
    color: rgb(198, 193, 193);
}

.experience .ex-title p {
    margin: 0;
}

.experience .job .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.experience .job .title .name {
    font-size: 24px;
}

.experience .job .title .title-left .degree {
    font-size: 24px;
    color: rgb(3, 200, 200);
}

.experience .job .title .title-left .branch {
    font-size: 24px;
}

.experience .job .title .date {
    align-items: end;
    font-size: 19px;
    color: rgb(168, 166, 166);
}

.experience .job .company {
    font-size: 19px;
    padding-bottom: 1%;
    color: rgb(168, 166, 166);
}
.experience .job .description {
    padding-left: 2%;
    font-size: 16px;
}

.experience .job .description .important-words{
    font-size: 16px;
    color: rgb(3, 200, 200);
    text-decoration: none;
}

.container {
    width: 100%;
    height: 100vh;
    padding: 40px;
    box-sizing: border-box;
    position: relative;
}

.navbar {
    position: fixed;
    right: 0;
    top: 0;
    height: 60px; /* Reduced from 100% to fixed height */
    width: auto; /* Changed from fixed width to auto */
    background-color: #00000000;
    display: flex;
    flex-direction: row; /* Changed from column to row */
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    gap: 20px;
    z-index: 1000;
}

.nav-links a {
    padding: 10px 15px;
    text-decoration: none;
    color: white;
    font-family: 'Montserrat', sans-serif; 
    display: inline-block; /* Changed from block */
    text-align: center;
    width: auto; /* Changed from 100% */
    transition: background-color 0.3s ease;
}

.nav-links a:hover {
    color: rgb(6, 190, 190);
    text-shadow: rgba(6, 190, 190, 0.601) 0px 0px 10px;
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
    position: fixed; /* Add this */
    left: 20px; /* Add this */
    top: 4%; /* Add this */
    transform: translateY(-50%); /* Add this */
    margin-left: 0; /* Remove the auto margin */
    padding-left: 0; /* Remove the padding */
}


.social-links a {
    color: white;
    font-size: 22px;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    color: #e97006;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-right: 20px; /* Add padding only to the right side */
}

hr {
    background-color: rgb(141, 140, 140);
    border: none;
    height: 1px;
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 128, 128, 0.5);
    border-radius: 4px;
}

.profile-model-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#model-canvas {
    width: 100%;
    height: 500px;
    cursor: pointer;
    background: transparent;
}
.metric-container {
    display: flex;
    gap: 5px;
    width: 500px;
    height: 80px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.metric-section {
    font-family: 'Montserrat', sans-serif;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.metric-secti:hover {
    font-family: 'Montserrat', sans-serif;
    flex: 1;
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.metric-section:nth-child(1) {
    background-image: url('assets/about/bluegrad.png');
}

.metric-section:nth-child(2) {
    background-image: url('assets/about/orange.png');
}

.metric-section:nth-child(3) {
    background-image: url('assets/about/teal.png');
}

.metric-section:nth-child(4) {
    background-image: url('assets/about/violet.png');
}

.label {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.value {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
}

.contact {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0); /* Translucent effect */
    
    display: none;  /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it's above everything */
}

/* Make contact appear when targeted */
#contact:target {
    display: flex;

}

/* contact Content */
.contact-content {
    background: rgba(21, 21, 21, 0.667);
    border: 2px solid rgba(240, 241, 241, 0.379);
    box-shadow: 0px 8px 20px 5px rgba(8, 203, 242, 0.192);
    color: rgba(255, 255, 255, 0.721);
    transform: translate(95%, 60%);
    backdrop-filter: blur(5px);
    font-family: 'Montserrat', sans-serif;
    width: 80vw;
    height: 80vh;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    text-align: center;
}

/* Close Button */
.close {
    display: block;
    margin-top: 20px;
    text-decoration: none;
    color: red;
    font-weight: bold;
}

.contact-det{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 90%;
    gap: 20px;
}

.creds{
    display: flex;
    gap: 20px;
    align-items: center;
    height: 8%;
    width: 100%;
}

.extras{
    display: flex;
    gap: 20px;
    align-items: center;
    height: 8%;
    width: 100%;
}

.submit{
    width: 20%; 
    height: 100%; 
    border: 1px solid rgba(255, 255, 255, 0.596); 
    display: flex; 
    align-items: center; 
    font-family: 'Montserrat', sans-serif; 
    justify-content: center; 
    font-size: 1.7rem; 
    cursor: pointer;
}

.submit :hover{
    background-color: teal;
    color: black;
}

.contact_title {
    font-family: 'Press Start 2P', cursive;
    color: white;
    font-size: 40px;
    text-decoration: none;
    text-shadow: 4px 4px 8px rgba(6, 213, 245, 0.721);
}

.bac:hover {
    background-color: rgba(255, 255, 255, 0.534) !important;
    color: black !important;
    font-size: 1.2rem !important;
}

.submit:hover {
    background-color: rgba(255, 255, 255, 0.534) !important;
    color: black !important;
}

.fab_c i:hover{
    color:#e99a06ce !important;
    transform: translate(0, -2px) !important;
}

.close_c i:hover {
    transform: translate(0, -2px) !important;
    color: rgba(8, 194, 194, 0.807) !important;
}
