* {
    background-color: #ffffff;
    /*box-sizing: border-box;*/
    /*border: 2px solid;*/

}

body {
    font-family: 'Montserrat', sans-serif;
}

p {
    font-size: 20px;
    color: #373737;
}

.topnav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #282828;
    overflow: hidden;
    align-content: end;
    z-index: 1000; /* Ensures it stays above other elements */
}

.topnav a {
    float: left;
    background-color: #282828;
    color: #ffffff;
    text-align: center;
    padding: 30px 40px;
    text-decoration: none;
    font-size: 25px;
}

.topnav a:hover {
    background-color: #ffffff;
    color: #282828;
}



.main {
    font-size: 30px;
    /*border-top: 10000px;*/
}

.top {
    display: flex;
    justify-content: center;   /* Center items horizontally */
    align-items: center;       /* Center items vertically */
    margin-top: 100px;
    margin-bottom: 2rem;
    gap: 2rem;                 /* Spacing between the two items */
}

/*.profile {*/
/*    display: flex;*/
/*    !*justify-content: flex-end; !* Pushes content to the right *!*!*/
/*    !*align-items: flex-start;*!*/
/*    width: 100%;*/
/*    !*min-height: 100vh; !* Optional: full height *!*!*/
/*    box-sizing: border-box;*/
/*    padding: 2rem;     !* Optional: spacing from right edge *!*/
/*    !*width: 50%;*!*/
/*    float: left;*/
/*}*/

.profile {
    display: flex;
    /*width: 60%;                !* Adjust as needed *!*/
    box-sizing: border-box;
    /*padding: 2rem;*/
}



.image {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers content horizontally */
}

.icon {
    height: 50px;
    width: 50px;
}

img[alt="LinkedIn Logo"], img[alt="GitHub Logo"] {
    width: 50px;
    height: 50px;
}

img[alt="Mail Icon"] {
    width: 60px;
    height: 60px;
    display: block;
    margin: auto; /* horizontally center if in a block element */
    gap: 1rem;
}



.links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem; /* Even spacing between icons/links */
    /*margin-top: 1rem;*/
}

.links a {
    text-decoration: none;
    font-size: 1.1rem;
    color: #333;
    transition: color 0.2s;
}

.profile_pic {
    width: 300px;
    object-fit: contain;
    border-radius: 50%; /* Optional: makes image circular */
    margin-bottom: 1rem;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /*width: 30%;                !* Adjust as needed *!*/
    box-sizing: border-box;
    padding: 1rem;
}

.title h1 {
    font-size: 5rem;
    line-height: 4rem;

}

.title h3 {
    font-size: 2rem;
}

.videos {
    display: flex;
    align-items: start;
    /*width: 100px;*/
}
ul {
    list-style-position: inside;
}

h1, h2, h3, h4, h5, h6, p {
    margin-top: 0;
    margin-bottom: 0.2em; /* Adjust this value for more or less space */
}

#info {
    display: flex;
    justify-content: center; /* or center */
    max-width: 1000px;
    width: 100%;
    margin: 2rem auto; /* centers horizontally */
    gap: 2rem;
}


.video-list {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.video-box {
    display: flex;
    align-items: center;

    background: #4a4a4a;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 1em 1em;

    max-width: 1000px;
    margin: 0 auto;
    color: white;
}

.video-box iframe {
    /*border-radius: 12px;*/
    flex-shrink: 0;
}

.video-info {
    margin-left: 1.5em;
    background: transparent;
    color: #ffffff;
}

.video-info h2 {
    margin: 0 0 0.3em 0;
    font-size: 1.3em;
    background: transparent;
}

.video-info h4 {
    margin: 0;
    font-weight: normal;
    color: #c8c7c7;
    font-size: 1em;
    background: transparent;
}

/* Responsive for small screens */
@media (max-width: 600px) {
    .video-box {
        flex-direction: column;
        align-items: stretch;
        padding: 1em;
    }
    .video-info {
        margin-left: 0;
        margin-top: 1em;
    }
}

.heading-with-logo {
    display: flex;
    /*align-items: start;*/
    /*text-align: left;*/
    gap: 0.5em; /* Space between text and logo */
    background: transparent; /* Ensures no background */
    margin: 010px;
}

.heading-with-logo h2 {
    margin: 0;
    background: transparent;
}

.github-logo {
    width: 28px;   /* Adjust as needed */
    height: 28px;  /* Adjust as needed */
    display: block;
    background: transparent;
}

.GitHub {
    background: transparent;
}



.video-box h2,
.video-box a,
.video-box img {
    background: transparent; /* Ensure no background on text or images */
    margin: 0;
    padding: 0;
    border: none;
    display: inline-block;
    vertical-align: middle;
}

html {
    scroll-behavior: smooth;
}