* {
  font-family: 'Comic Sans MS', 'Chalkboard SE', 'Chalkboard', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}
.grandpa {
    list-style-type: none;
    margin: 0; 
    padding: 0;
    background-color: darkorange;
    width: 100%;
    display: flex;
    flex-direction: row;
    position: relative;
    min-height: 54px; /* Keeps the orange bar filled without using overflow:hidden */
}
.dad {
    display: block;
}
.son {
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 23px;
    display: inline-block;
    padding: 13px;
    transition: background-color 0.3s ease-in-out
}
.son:hover {
    background-color: orangered;
}

.logo {
    font-weight: bolder;
    text-decoration: 1px wavy underline;
}
.grandpa .dad.dropdown {
    position: relative; 
}
.panel, .hello, .hellolite, .search-box, .welcome {
    border-radius: 7px !important;
    box-shadow: 0px 4px 10px rgba(51, 51, 51, 0.7);
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; 
    left: 0;
    background-color: darkorange; 
    min-width: 220px; /* Slightly widened to fit your longer video link titles text */
    z-index: 1000; 
    padding: 0;
    margin: 0;
    list-style-type: none;
}
.dropdown-content li a {
    color: white !important;
    font-size: 18px; 
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: background-color 0.3s ease;
    -webkit-text-stroke: 0px transparent !important; 
}
.dropdown-content li a:hover {
    background-color: orangered; 
}
.grandpa .dad.dropdown:hover .dropdown-content {
    display: block;
}
.grandpa .dad.dropdown:active .dropdown-content {
    display: block;
}
#logout {
    position: absolute;
    text-decoration: 1px underline white;
    font-weight: 500; /* Semibold */
    right: 0;
    -webkit-text-stroke: 1px white !important;
}

#logout a {
    text-decoration: 1.2px underline white !important;
}
.dropdown-content .space{
    border-top:1px dashed white;
}
#logout img{
    width:24px !important;
    height: 24px !important;
}
/* Snooping: Adding banner code */
.popup-overlay {
    font-family: 'Comic Sans MS' !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

/* The Popup Container locked to the bottom */
.bottom-popup {
    font-family: 'Comic Sans MS' !important;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: lightblue;
    background-image: linear-gradient(to left, lightblue, lightskyblue, dodgerblue);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    z-index: 1000;
    box-sizing: border-box;
    border: 5px dashed darkorange;
}

/* Inside Content Wrapper */
.popup-content {
    width: 100%;
    max-width:100%;
    padding: 24px;
    margin: 0 auto;
    position: relative;
}
/* Okay Button Styling */
.ok-btn-popup{
    box-shadow:rgba(0, 0, 0, 0.15);
    background-color:darkorange;
    background-image: linear-gradient(to left, orange, darkorange, orangered);
    color:#333;
    font-family:'Comic Sans MS';
    border-radius: 7px;
    border:none;
    transition: transform 0.3s ease;
    font-size:29px;
    margin:0 auto;
}
.ok-btn-popup:hover{
    background-image:linear-gradient(to right, orange, darkorange, orangered);
    transform:scale(1.2);
}
/* Close Button Styling */
.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

/* Active Classes managed by JavaScript */
.popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.bottom-popup.active {
    transform: translateY(0);
}

body{
    overflow-x: hidden;
}
main{
    margin-top:120px;
    
}
nav {
    margin-bottom: 50px;
    position:fixed;
    top:0;
    width:100%;
    max-width:100%;
}