/* Import Ubuntu font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1em;
    line-height: 1.6;
    color: #2f2f2f;
    background-color: #f7ffb8;
}
.minifont {
    font-size: 0.95em;
}
a, a:visited { 
    color: #013320;
    text-decoration: none;
    font-weight: 500;
}
a:hover {
    color: #2ecc71;
    text-decoration: none;
    transition: color 0.3s ease;
}


/* Header Styling */
.site-header {
    display: flex;
    justify-content: space-evenly;
    align-items: center; /* vertical alignment */
    min-width: 100%;
    background-color: transparent;
    padding: 1rem;
}
.site-header a:hover {
    color: #ff8c00;
    text-decoration: none;
    transition: color 0.3s ease;
}
.site-title a {
    all: unset;
}
.site-title a:hover {
    text-shadow: 3px 3px 3px rgba(0,0,0,0.3);
    cursor: pointer;
}

/* Main Content Styling */
main {
    max-width: 90%;
    margin: 0 auto;
    padding: 2rem;
    font-size: 1em;
}
.verde {
    color: #013320;
}
.education-section h2,
.experience-section h2 {
    margin-bottom: 1rem;
}
.education-completed ul,
.education-current ul, 
.exp-completed ul {
    list-style-type: none;
    padding-left: 1rem;
}
.education-completed li,
.education-current li,
.exp-completed li {
    margin-bottom: 0.5rem;
    position: relative;
}
.education-completed li::before,
.education-current li::before,
.exp-completed li::before {
    content: '•';
    color: #013320;
    position: absolute;
    left: -1rem;
}
.background-section {
    margin: -1em 0em 1em 0em;
    font-size: 0.9em;
}

/* blog-cta section */
.blog-cta {
    display: flex;
    justify-content: center;
}

/* Footer Styling */
.site-footer {
    display: flex;
    justify-content: center;
    min-width: 100%;
    margin-top: auto;
}

/* mobile design*/
@media screen and (max-width: 1000px) {  /* Styles only up to 1000px */
.site-header {
    all: unset;
}
.site-title {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 3.5em;
}
.main-nav {
    display: block;
    text-align: center;
}
.main-nav a {
    font-size: 0.8em;
    font-weight: 600;
    padding: 0em 0.5em 0em 0.5em;
}
.experience-section, .education-section {
        width: 100%; /* Full width */
        display: block; /* Ensure block display */
        box-sizing: border-box; /* Include padding in width calculation */
        padding: 1rem;
        margin-bottom:1em;
        background-color: #d3db9d;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
.intro-section {
        display: block;  /* Use flexbox for layout */
        background-color: #d3db9d;
        padding: 2rem;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        margin-bottom: 2rem;
    }
.heroimg img {
        max-width: 100%;
        width: 100%;
        padding: 1em 0em 0em 0em;
        height: auto;
        border-radius: 15px;
    }
.blog-cta a {
    margin: 0.75em 0em 0.5em 0em;
    font-size: 2em;
    color: #2f2f2f;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s e1se;
}
.footer-links a {
    display: flex;
    text-align: center;
    font-size: 0.75em;
    padding-top: 0.5em;
    }
} /*enf of mobile design*/


/*desktop design*/
@media screen and (min-width: 1000px) {
.main-nav {
    display: inline-flex;
    gap: 1rem;
}
.site-title {
    display: flex;
    font-size: 3.5rem;
    font-weight: 700;
}
.edu-plus-exp {
    display: flex;
    justify-content: center;
}
.intro-section {
    display: flex;  /* Use flexbox for layout */
    align-items: flex-start;  /* Align items to top */
    background-color: #d3db9d;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}
.about-section {
  display: inline-block;
  max-width: 50%;
  margin: 0rem 0.5rem 1rem 0rem;
  background-color: transparent;
}
.heroimg {
  display: inline-flex;
  max-width: 50%;
  padding: 0rem;
  margin: 0rem 0rem 0rem 0.5rem;
  background-color: transparent;
  justify-content: center;
  border-radius: 15px;
}
.heroimg img {
    width: 85%;
    height: auto;
    border-radius: 15px;
}

.experience-section {
    justify-content: left;
    display: inline-block;
    padding: 2rem;
    margin: 0rem 0.5rem 1rem 0rem;
    background-color: #d3db9d;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.education-section {
    justify-content: right;
    display: inline-block;
    padding: 2rem;
    margin: 0rem 0rem 1rem 0.5rem;
    background-color: #d3db9d;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.blog-cta a {
    margin: 0.5em 0em 0.5em 0em;
    font-size: 4.5em;
    color: #2f2f2f;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}
/*please see styles2.css file for shiny button effect css (.glitter-button) */

.footer-links a {
    text-align: center;
    font-size: 0.8em;
    padding: 0em 2em 0.5em 2em;
    text-decoration: none;
}
} /*end of desktop design*/
