/* Joshua McBrantie
ITWP-1050 
assignment description:
*/

/* --------------------------------------------------- */

:root {/* setting up vars inside the root */
    
    --primary-color: #c00000;
    --secondary-color: #007af3;
    background: #F2F2F2;
    margin: 0;
}
/* setting up fonts to use within the page */
@font-face {
    font-family: roboto-black;
    src: url(/itwp1050/homework4/fonts/Roboto/Roboto-Black.ttf)format('ttf');
    font-weight: 600;
}
@font-face {
    font-family: roboto-reg;
    src: url(/itwp1050/homework4/fonts/Roboto/Roboto-Regular.ttf)format('ttf');
    font-weight: 400;
}
body {
    display: flex;
    flex-direction: column;
    background-color: rgb(49, 53, 58);
    background-image: url('/itwp1050/homework5/images/microtech-space.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    height: 100vh;
    overflow: hidden;
    
}
body p {
    font-family: roboto-reg, Arial, sans-serif;
    font-size: 1.75rem;
    line-height: 1.5em;
}
.logo-microtech img{
    width: 50vw;
    display: flex;
    justify-self: center;
}
/* --------------------scrolling content------------------------- */
.scroll-area {
    display: flex;
    flex-direction: column;
    width: fit-content;
    overflow-y: scroll; /* Enable vertical scrolling */
    scroll-behavior: smooth; /* Optional: smooth scrolling */
    align-self: flex-end;
    color: white;
    background-color: #007af33d;
    border: #f2f2f265 1px solid;
    border-radius: 4px;
    padding: 10px;
    margin: 0 2% 35px 2%;
}
/* ---------------------------------------- */
/* added a clean custom scroll bar minimal */
.scroll-area::-webkit-scrollbar {
    width: 1px; /* Width of the scroll bar */
}

.scroll-area::-webkit-scrollbar-thumb:hover::-webkit-scrollbar-track {
    background: transparent; /* Transparent track */
}

.scroll-area::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.8); /* White dot */
    border-radius: 50%; /* Make it round */
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5); /* Glowing effect */
}
/* --------------------content container------------------------- */
.content-carrier {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 10px;
    border-bottom: #f2f2f225 2px solid;
}
.content-carrier img {
    display: flex;
    margin: 5px;
    border-radius: 4px;
    height: fit-content;
    width: 50vw;
    align-self: center;
    max-width: 100%;
    
    
    
}
/* --------------------text content------------------------ */
.text-area {
    margin: 10px;
}
.title-area {
    border-bottom: #f2f2f265 2px solid;
    margin: 0px 15px 10px 15px;
    
}
h1 {
    margin-bottom: 0;
    text-align: center;
    font-size: 3rem;
    font-weight: bolder;
    font-family: roboto-black, Arial, sans-serif; /* using a downloaded font to clean up the words and for clear reading love roboto fonts */
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.274); 
    letter-spacing: normal;
    font-variant: small-caps; /* was a requirement but i actually like how this changed the look by making only the first character of each word large capitals while the rest of the characters are small capitols */
}
h2 {
    margin-top: 0;
    text-align: left;
    font-size: 2.5rem;
    font-weight: bolder;
    font-family: roboto-black, Arial, sans-serif; /* using a downloaded font to clean up the words and for clear reading love roboto fonts */
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.274); 
    letter-spacing: normal;
    font-variant: small-caps; /* was a requirement but i actually like how this changed the look by making only the first character of each word large capitals while the rest of the characters are small capitols */
}
h3 {
    margin-top: 0;
    text-align: center;
    font-size: 1.5rem;
    font-weight: normal;
    font-family: roboto-reg, Arial, sans-serif; /* using a downloaded font to clean up the words and for clear reading love roboto fonts */
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.274); 
    letter-spacing: normal;
    font-variant: small-caps; /* was a requirement but i actually like how this changed the look by making only the first character of each word large capitals while the rest of the characters are small capitols */
}

/* --------------------footer------------------------- */
.footer-validation {
    text-align: center;
    text-decoration: none;
    color: white;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    margin: 10px 0 10px 0;
    
}
.footer-validation a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    font-weight: lighter;
    font-family: roboto-reg, Arial, sans-serif;
    letter-spacing: normal;
    font-variant: small-caps; /* was a requirement but i actually like how this changed the look by making only the first character of each word large capitals while the rest of the characters are small capitols */
    white-space: nowrap;
    
}
.footer-validation a:link {
    color: white;

}
/* .external-link::after {
    content: "(External)";
    color: lightblue;
} */


/* ----------------Media Queries---------------------- */

@media screen and (max-width: 1500px) {

    .content-carrier {
        display: flex;
        flex-wrap: wrap;
        
    }
    .content-carrier img {
        width: 100%;
    }
}
@media screen and (max-width: 800px) {
    h1 {
        font-size: 2rem;
    }
    body p {
        font-size: 1rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .content-carrier {
        display: flex;
        flex-direction: column;
    }
    .content-carrier img {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .scroll-area {
        background-color: #7624fa44;
        margin: 0 10px 35px 10px;
    }
    .content-carrier img {
        width: 100%;
    }
    .footer-validation a {
        font-size: .75rem;
    }
}