
.body.light
{
    background: white; color: black;
}

.body.dark
{
    background: #121212; color: white;
}

body.light { background: white; color: black; }
body.dark { background: #121212; color: white; }
button, select { margin: 5px; padding: 5px 10px; }







body {
    font-family: "Lato", sans-serif;
    transition: background-color .5s;
}


#main {
    transition: margin-left .5s;
    padding: 16px;
}



.Section1
{
    margin: auto;
    width: 80%;
    padding: 10px;
    align-content: center;
}




.DivTitle
{
    width: 100%;
    height: 50px;
    align-content: center;

}

.DivTitle h1
{
    text-align: center;

}

.Div1
{
    margin: auto;
    height: auto;
    min-height: 100px;
    width: 100%;
    /*border: 3px solid red;*/
    padding: 10px;
    align-content: center;
}

.A1
{
    display:inline-block;
    width: auto;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
}


.A2
{
    display:inline-block;
    width: auto;
    align-items: center;
    gap: 6px;
    background-color: rgba(145, 202, 251, 0.34); /* light yellow */
    color: #002ed3; /* brown text and icon */
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid #0252ff; /* slightly darker yellow outline */

}

.DivSkillsContainer
{
    width: auto;
    min-height: 50px;
    height: auto;
    display: inline-block;


}

.DivSkillsContainer svg
{
    display: inline-block;
}


/*.A1 svg*/
/*{*/
/*    */
/*}*/


/*HEADER*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
.HeaderTopBar
{

    position: sticky;
    top: 0;
    /*background-color: white;*/
    z-index: 1000;
    padding: 20px;
    width: 100%;
}

.SectionTopBarLong
{
    width: 100%;
    gap: 1px;               /* Optional: Adds space between items */
    position: sticky;
    bottom: 0;            /* Initially shows up at the bottom */
    top: 0;               /* When scrolling up, it will stick to the top */
    z-index: 1000;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;

}

.DivHome
{
    border-right-style: solid;
    border-right-width: 1px;
}




.PopupBox {
    position: absolute;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    z-index: 1000;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////*/



/*MAIN*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.SectionIntroduction
{
    height: 85vh;
    width: 100%;
    background: black;
}


.ScrollToTopButton:hover {
    background-color: #555;
}

html {
    scroll-behavior: smooth;
}


.MainBody
{

}

/*Projects*/
/*//////////////////////////////////////*/


.Div3
{
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    border-radius: 5px;
    border-style: solid;
    border-color: #121212;

    margin-top: 5px;


}

.DivLeft3, .DivRight3
{
    flex: 0 0 50%;
    box-sizing: border-box;
    padding: 20px;
}

.DivLeft3
{
    background-color: lightgray;
}

.DivRight3
{
    background-color: lightslategrey;
}


@media (max-width: 600px)
{
    .DivLeft3, .DivRight3 {
        flex: 0 0 100%;            /* Each takes full width */
    }
}

/*Skills*/
/*//////////////////////////////////////*/

#Python
{
    background-color: rgba(125, 156, 244, 0.38);
    color: #0252ff;
    border: 1px solid #003cff;

}

#Dart
{
    /* Background for inside */
    background: linear-gradient(white, #ffffff) padding-box,
    linear-gradient(90deg, rgb(0, 46, 211), rgb(29, 99, 250)) border-box;

    /* Gradient border */
    border: 4px solid transparent;

    /* Gradient text */
    -webkit-background-clip: text, border-box;
    -webkit-text-fill-color: transparent;
    background-clip: text, border-box;
}

#CPlusPlus
{
    /* Background for inside */
    background: linear-gradient(white, #ffffff) padding-box,
    linear-gradient(90deg, rgb(0, 46, 211), rgb(2, 82, 255)) border-box;

    /* Gradient border */
    border: 4px solid transparent;

    /* Gradient text */
    -webkit-background-clip: text, border-box;
    -webkit-text-fill-color: transparent;
    background-clip: text, border-box;
}

#Java
{
    /*background-color: rgba(255, 103, 103, 0.58);*/
    /*color: #e10202;*/
    /*border: 1px solid #ff0000;*/

    /* Background for inside */
    background: linear-gradient(white, #ffffff) padding-box,
    linear-gradient(90deg, rgb(127, 144, 189), rgb(255, 153, 14)) border-box;

    /* Gradient border */
    border: 4px solid transparent;

    /* Gradient text */
    -webkit-background-clip: text, border-box;
    -webkit-text-fill-color: transparent;
    background-clip: text, border-box;
}


#JS
{
    background-color: rgba(125, 156, 244, 0.38);
    color: #0252ff;
    border: 1px solid #003cff;

}


#HTML
{
    background-color: rgba(125, 156, 244, 0.38);
    color: #0252ff;
    border: 1px solid #003cff;

}


#CSS
{
    background-color: rgba(125, 156, 244, 0.38);
    color: #0252ff;
    border: 1px solid #003cff;

}


#C
{
    background-color: rgba(125, 156, 244, 0.38);
    color: #0252ff;
    border: 1px solid #003cff;

}


#Assembly
{
    background-color: rgba(125, 156, 244, 0.38);
    color: #0252ff;
    border: 1px solid #003cff;

}


#Lua
{
    background-color: rgba(125, 156, 244, 0.38);
    color: #0252ff;
    border: 1px solid #003cff;

}


/*EDUCATION*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.Div2
{
    width: 100%;
    height: auto;
    padding: 5px;
    margin-top: 10px;
    border-style: solid;
    border-radius: 5px;
    border-color: #555555;
    background-color: lightgray;
    align-content: center;
    display: flex;
    justify-content: space-between; /* Push divleft to left, divright to right */
    align-items: center;

}

.DivLeft
{
    display: inline-block;
    height: auto;
    width: auto;
    padding: 10px;
    border-radius: 5px;
    background-color: lightgray;
    border-style: solid;
    border-color: #121212;

}

.DivRight
{
    width: auto;
    display: inline-block;
    height: 50px;
    padding: 10px;

}


.DivEducationBottom
{
    width: 100%;
    height: auto;
    display: none;
    text-align: center;
    padding: 10px;
    margin-top: 10px;
    border-style: solid;
    border-radius: 5px;
    border-color: #555555;
    background-color: lightgrey;
}

.DivEducationBottom.Show
{
    display: block;
}




/*WORK*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.DivWorkTitle
{
    width: auto;
    height: auto;

}

.DivWorkDate
{
    width: auto;
    height: auto;
    display: inline-block;

}


.DivTimelineContentTop
{
    width: 100%;
    border-bottom-style: solid;
    border-bottom-color: #121212;
    padding: 5px;
}



#McDonalds
{
    background-color: rgba(255, 103, 103, 0.58); /* light yellow */
    color: #e10202; /* brown text and icon */
    border: 1px solid #ff0000; /* slightly darker yellow outline */

}

#Afillia
{
    background-color: rgba(2, 82, 255, 0.49); /* light yellow */
    color: #ffffff; /* brown text and icon */
    border: 1px solid rgba(0, 46, 211, 0.49); /* slightly darker yellow outline */
}

#RONA
{
    background-color: rgba(2, 82, 255, 0.49);
    color: #ffffff;
    border: 1px solid rgba(0, 46, 211, 0.49);
}

#Princess\ Auto
{

}



/*CERTIFICATIONS*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////*/


/*PERSONAL*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////*/


/*FOOTER*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

* {
    box-sizing: border-box;
}



/* The actual timeline (the vertical ruler) */
.timeline {
    border-top-style: solid;
    border-top-color: #121212;

    border-bottom-style: solid;
    border-bottom-color: red;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: lightgray;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

/* Container around content */
.container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circles on the timeline */
.container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: lightgray;
    border: 4px solid #FF9F55;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

/* Place the container to the left */
.left {
    left: 0;
}

/* Place the container to the right */
.right {
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: lightgray;
    border-width: 10px 0 10px 10px;
    border-color: lightgray;
}

/* Add arrows to the right container (pointing left) */
.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: lightgray;
    border-width: 10px 10px 10px 0;
    border-color: lightgray;
}

/* Fix the circle for containers on the right side */
.right::after {
    left: -16px;
}

/* The actual content */
.content {
    padding: 20px 30px;
    background-color: lightgray;
    position: relative;
    border-radius: 6px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 800px) {
    /* Place the timelime to the left */
    .timeline::after {
        left: 31px;
    }

    /* Full-width containers */
    .container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .container::before {
        left: 60px;
        border: lightgray;
        border-width: 10px 10px 10px 0;
        border-color: lightgray;
    }

    /* Make sure all circles are at the same spot */
    .left::after, .right::after {
        left: 15px;
    }

    /* Make all right containers behave like the left ones */
    .right {
        left: 0%;
    }
}



