

/* #080c0f */
/* 8 12 15 */

@font-face {
    font-family: 'RegularFont';
    src: url('img/RegularText.woff') format('woff'); 
}

@font-face {
    font-family: 'TitleFont';
    src: url('img/TitleText.woff') format('woff'); 
}

a {
    color: #ef2c2c; 
    text-decoration: none; 
}

a:visited {
    color: #ef2c2c; 
    text-decoration: none; 
}

a:hover {
    color: #ef2c2c; 
    text-decoration: underline; 
}


body {
    background-color:#080c0f;
    background-image: url("img/fonsweb.jpg");
    background-position: center -60px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: contain 1344px;
    margin: 0;
    padding: 0;
}

.fading {
    background-image: url("img/dark_back.png"), url("img/fading_background.png");
    background-position: 0px 1024px, 0px 0px;
    background-repeat: no-repeat, no-repeat;
    background-attachment: local, local;
    background-size: cover, 100% 1024px;
}

.fading-content {
    background-image: url("img/dark_back.png"), url("img/fading_background_short.png");
    background-position: 0px 300px, 0px 0px;
    background-repeat: no-repeat, no-repeat;
    background-attachment: local, local;
    background-size: cover, 100% 300px;
}

.title-div {
    position: fixed;
    z-index: -1;
    width: 600px;
    height: 743px;
    top: 100px;
    left: 50%;
    transform: translate(-50%);
    background-image: url("img/tech_header.png");
    background-size: cover; 
    max-width: 600px;
    margin: 0 auto; 
    display: flex; 
    justify-content: center; 
    /*align-items: center; */
}

.fakeTitle-div {
    width: 600px;
    height: 0px;
    max-width: 600px;
    margin: 0 auto; 
}
.fakeSpace-div {
    width: 600px;
    height: 900px;
    max-width: 600px;
    margin: 0 auto; 
}

.fakeSpaceC-div {
    width: 600px;
    height: 50px;
    max-width: 600px;
    margin: 0 auto; 
}

.title-text {
    width: 200px;
    color: #646868;
    text-align: justify; 
    font-family: 'RegularFont', Verdana, Arial, Helvetica, sans-serif;
    font-size: 16px;
    text-decoration: none;
}

.more-text {
    max-width: 800px;
    margin: 0 auto; 
    padding: 30px;
}

.notes-div {
    padding: 20px; 
    background-color: #333; 
}

.highlights-div {
    padding: 20px; 
    background-color: #111; 
}

.notesFlex-div {
    padding: 20px; 
    background-color: #111; 
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.skill-description {
    width: calc(50% - 10px); /* Two elements per row with 10px spacing */
    max-width: 200px;
    margin-bottom: 20px;
    padding: 10px;
}

.skill-list {
    width: calc(50% - 10px); /* Two elements per row with 10px spacing */
    max-width: 300px;
    margin-bottom: 20px;
    padding: 10px;
}


.inverted-image {
    filter: invert(100%); /* Invert all colors to their opposite */
}

.t {
    font-family: 'RegularFont', Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    text-decoration: none;
    color: #7a7d7e;
}

.r {
    font-family: 'TitleFont', Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    text-decoration: none;
    color: #ef2c2c;
}

.tt {
    font-family: 'TitleFont', Verdana, Arial, Helvetica, sans-serif;
    font-size: 22px;
    text-decoration: none;
    color: #ef2c2c;
}

.title.tt {
    text-transform: uppercase; /* Converts text to uppercase */
    letter-spacing: 0.5em; /* Adds space between letters; adjust as needed */
/*    font-family: 'TitleFont', Verdana, Arial, Helvetica, sans-serif; */
    font-size: 22px; /* Adjust size as needed */
    color: #ef2c2c; /* Example color; adjust to your preference */
    white-space: nowrap; /* Prevents the title from breaking into two lines */
    display: flex; /* Enables flexible layout for text and lines */
    align-items: center; /* Vertically centers the text and lines */
    justify-content: center; /* Horizontally centers the content */
    position: relative; /* Allows pseudo-elements to position correctly */
    margin-top: 100px;
}

/* Decorative lines on both sides */
.title.tt::before,
.title.tt::after {
    content: ''; /* Creates the lines */
    flex-grow: 1; /* Lines expand to fill available space */
    height: 1px; /* Line thickness; adjust as needed */
    background-color: #ef2c2c; /* Matches text color; adjust as needed */
    margin: 0px 20px; /* Space between the line and text; adjust as needed */
}




.container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Space between items */
    padding: 10px;
}

.item {
    padding: 0px;
    flex: 1 1 calc(50% - 20px); /* Two columns with gap */
    box-sizing: border-box;
    display: grid;
    grid-template-columns: auto 1fr; /* Two columns: auto for the image, 1fr for the content */
    gap: 10px; /* Space between the image and the content */
    align-items: start; /* Align items at the start */
}

.itemPic {
    max-width: 48px;
    max-height: 48px;
    min-width: 48px;
    min-height: 48px;
}

.itemPic img {
    width: 100%;
   
}

.itemCon {
    align-self: start; /* Align content at the start */
}

.titlelin {
    text-align: center;
    font-family: Arial, sans-serif;
    margin: 20px 0;
    font-size: 1.5em;
}

.decorative {
    display: inline;
}

/* Responsive adjustment: hide lines on small screens */
/*
@media (max-width: 480px) {
    .title.tt::before,
    .title.tt::after {
        display: none; /* Lines disappear if there’s no space */
    }
}
*/

@media (max-width: 768px) {
    .navigation {
        flex-direction: column;
    }
    .logo-display {
        margin-top: 20px;
        width: 100%; /* Takes full width */
    }
}

@media (max-width: 900px) {
    .decorative {
        display: none;
    }
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Navigation container to hold buttons and logo display */
.navigation {
    display: flex;
    justify-content: flex-start; /* Aligns buttons to the left */
    align-items: stretch; /* Ensures items stretch vertically to match height */
    margin-bottom: 20px;
    gap: 5px;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between buttons */
}

/* Button styles */
.button {
    background-color: #080c0f;
    color: #eeeeee;
    padding: 5px;
    text-align: center;
    width: 200px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'RegularFont', Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    border: 1px solid #ef2c2c;
    cursor: pointer;
    border-radius: 1px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #ef2c2c; /* Optional: a darker red for hover feedback */
    color: #080c0f; /* Keeps text blackish on hover */
}

.button:visited {
    color: #eeeeee; 
    text-decoration: none; 
}

.button:visited:hover {
    background-color: #ef2c2c; /* Consistent background on hover */
    color: #080c0f; /* Overrides the visited color, keeps text blackish */
}



.default-logo {
    display: block; /* Visible by default */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: 99%;
    height: 99%;
    opacity: 0.5;
}



/* Logo display area */
.logo-display {
    position: relative;
    flex-grow: 1; /* Fills all remaining horizontal space */
    border: 1px solid #ef2c2c;  /* Keeps your red border */
    min-width: 160px;
}

/* Logo images */
.logo {
    display: none; /* Controlled by JS for hover */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%; /* Scales to fit container width */
    max-height: 90%; /* Scales to fit container height */
    width: auto; /* Maintains aspect ratio */
    height: auto; /* Maintains aspect ratio */
}
