@charset "utf-8";

html {
    overflow-y: scroll;
}

body {
    font-family: Arial, sans-serif;
    padding: 0;
    background-color: #f4f4f4;
    /* margin: 75px 5px 5px 5px; */
    margin: 70px 0px 0px 0px;
}

.header {
    display: flex;
    background-color: #0a011f;
    color: #fff;
    height: 70px;
    justify-content: space-between;
    align-items: center;
    font-size: larger;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
}



.logo {
    padding-left: 3%;
    /* Updated padding as a percentage */
}

.logo img.svg {
    height: 50px;
}

.svg {
    display: block;
    margin: 0;
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-left: auto;
    margin-right: 5%;

}

.nav {
    display: flex;
    align-items: center;

}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 0 8%;
    cursor: pointer;
    font-size: large
}

nav a:hover {
    text-decoration: underline;
}

.social-icons {
    align-items: center;
    margin-left: auto;
    padding-right: 3%;
    padding-left: 5%;
}

.social-icons a {
    display: flex;
    align-items: center;
}

.content {
    padding: 0;
    width: 100%;
    display: none;
}

#About {
    background-image: url('../images/blue sky.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;

    height: 100vh;
    width: 100%;

    display: flex;
    /* Your existing styles here... */
    display: flex;
    /* Flexbox for the entire About section */
    flex-direction: column;
    /* Stack elements vertically */
}


.about-row {
    display: flex;
    /* Flexbox for each row */
    width: 100%;
    justify-content: center;

    /* Center content within each row */
}

h2 {
    font-size: 6.5vw;
}

h3 {
    font-size: 2.5vw;
}



.portrait-container {
    width: 45%;
    /* Set the width of the container */
    text-align: right;
    /* Align the content to the right */
}



.portrait-container img {
    max-width: 65%;
    /* Set the maximum width of the image */
    height: auto;
    /* Allow the height to adjust automatically */
    max-height: 100%;
    /* Set the maximum height of the image */
    margin-right: 5%;
}

.introduction {
    flex: 55%;
    margin-right: 10%;
    /* Make portrait and intro take equal space */
}

.introduction p {
    font-size: 1.2vw;
    line-height: 2.0;
    flex: 1;
}





.cert-img {
    width: 100%;
    height: auto;
    margin-bottom: 5px;
}

/* Add styles for split container */
.split-container {
    display: flex;
    width: 100%;
}


/* Styles for the left part (sidebar) */
.sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    height: 100vh;
    width: 25%;
    background-color: #f4f4f4;
    overflow-y: auto;
    /* Use auto to show scrollbar only when needed */
    align-items: center;
    max-height: calc(100vh - 70px);
    /* Set max height to fill the remaining viewport space */
}

/* Styles for the right part (main content) */
.main-content {
    margin-left: 25%;
    padding: 1%;
    width: 75%;
    overflow-y: auto;
}

.card-thumbnail {
    cursor: pointer;
    margin: 1%;
    padding: 1%;
}

.card-detail-images {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    display: none;
    overflow: hidden;
    overflow-y: auto;

}

.list-container {
    text-align: left;
}

/* Center-align the title items */
.card-detail-images h2 {
    text-align: center;
}


.card-detail-images img {
    width: 100%;
    height: auto;
    display: block;
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: 94%;
    margin: 1%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-content {
    padding: 1%;
    /* Updated padding as a percentage */
}

.card-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.card-title {
    font-size: 2em;
    margin-bottom: 1%;

}

.card-description {
    font-size: 1em;
    color: #555;
}

.card-button {
    display: block;
    margin-top: 1%;
    padding: 1% 2%;
    background-color: #01264d;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
}

li {
    color: #333;
    padding-bottom: 1%;
}

.dash-app {
    height: 100vh;
    width: 100%;
    border: none;
}