html {
    scroll-padding-top: 10vh;
    scroll-behavior: smooth;
}
  
body {
    margin: 0;
    padding: 0;
    text-align: center;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.larger-text {
    font-size: 2.5em;
}

.title-text {
    font-size: 4em;
}

.topnav {
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    justify-content: space-between;
    align-items: center;
    height: 10vh;
    background-color: #333;
    transition: transform 0.3s ease-in-out;
}

.nav-hidden {
  transform: translateY(-100%);
}

.links-container {
    display: flex;
    padding: 0 5%;
    flex-direction: row;
}

.topnav a {
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

img {
    display: block;
    margin: 1% auto 1%;
    width: 150px;
    height: auto;
}

.profile-img {
    width: 100%;
    max-width: 300px;
    border-radius: 10%;
}

.small-image {
    width: 400px;
    height: 400px;
    object-fit: cover;
}

.small-video {
    width: 450px;
    height: auto;
    border-radius: 8px;
}

.front-text-container {
    text-align: left;
    width: 100%;
    max-width: 1200px;
    padding: 1rem;
    margin: 0;
    flex: 0.7;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
    margin: 2rem auto;
    padding: 0 7.8%;
    max-width: 1200px;
}



.education-container {
  flex: 1 1 48%; /* Makes them responsive and side-by-side */
  min-width: 300px;
  text-align: left;
}




h3 {
    display: inline-block;
    vertical-align: center;
    margin-right: 5%;
    margin: 0;
}

p {
    display: inline-block;
    vertical-align: top;
    margin-right: 0;
}

.paragraph {
    font-size: 1.2em;
    line-height: 1.2;
    margin-bottom: 1em;
}

a {
    color: dodgerblue;
    text-decoration: none;
}

.icon-links {
    margin-top: 10px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.bottom-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9em;
    z-index: 1000;
}

@media screen and (max-width: 1024px) {
    .text-container {
        flex-direction: column;
        padding: 0 5%;
        text-align: center;
        align-items: center;
    }

    .front-text-container {
        align-items: center;
        text-align: center;
    }

    .education-container {
        flex-direction: column;
        text-align: center;
        margin: 1em auto;
    }

    .education-container img {
        display: block;
        margin: 0 auto 1em;
        width: 100px;
    }

    .small-video {
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .topnav {
        flex-direction: column;
        height: auto;
    }

    .links-container {
        flex-direction: column;
        align-items: center;
    }

    .topnav a {
        padding: 10px;
    }

    .title-text {
        font-size: 2.5em;
    }

    .larger-text {
        font-size: 1.8em;
    }

    .paragraph {
        font-size: 1em;
        padding: 0 5%;
    }

    .profile-img {
        width: 80%;
        max-width: 250px;
    }

    .icon-links {
        justify-content: center;
    }

    .education-container {
        flex-direction: column;
        text-align: left;
        margin: 1em auto;
    }

    .education-container img {
        width: 80px;
        margin-bottom: 1rem;
    }

    .bottom-banner {
        font-size: 0.75em;
    }
}

.bottom-text-container {
    text-align: left;
    width: 100%;
    max-width: 1200px;
    padding: 1rem;
    margin: 0;
    flex: 0.7;
    display: flex;
    flex-direction: row;
    align-items: center;
}


  /* display: flex;              
  gap: 2em;                   
  text-align: left;     
  align-items: flex;     */
