﻿html, body {
    height: 100%;
    min-height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

main {
    min-height: calc(100vh - 120px - 200px); /* Adjust header/footer heights as needed */
    display: block;
}
html {
    scroll-padding-top: 110px; /* Adjust if your navbar height is different */
}
html {
  scroll-padding-top: 110px; /* adjust to your navbar height */
}
.menu-popup {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border-radius: 0 0 16px 16px;
    min-width: 220px;
    z-index: 1000;
}
.menu-popup-list {
    list-style: none;
    margin: 0;
    padding: 1rem;
}
#none:hover {
    cursor: default;
    text-decoration: none;
    color: inherit;
    background-color: transparent;

}
a{
    text-decoration: none;
    color: inherit
}
.menu-popup-list li {
    margin-bottom: 0.5rem;
}
.menu-popup-list a {
    padding: 5px 15px;
    border-radius: 3px;
}
.menu-popup-list a:hover {
    background: #f0f0f0;
    border-radius: 20px;
    transition: background 0.15s;
}
.menu-popup-list li:last-child {
    margin-bottom: 0;
}
/* Footer flex row and info styles */
.footer {
    padding: 20px 60px;
    margin-top: 30px;
    background: #fff;
    position: relative;
    box-shadow: 0 32px 32px 32px #40419366;
    border-top-left-radius: var(--border-radius-main);
    border-top-right-radius: var(--border-radius-main);
    z-index: 1;
}
footer a {
    color: black;
    text-decoration: none;
}
.privacy-row a{
    color: #404193;
    font-weight: 500;
    margin-left: 5px;
}
.footer-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}
.privacy-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding-left: 30px;
    flex-wrap: wrap;
}
.footer-info {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin-bottom: 15px;
}
.footer-info span{
    width: fit-content;
}
.footer-logos {
    display: flex;
    text-align: center;
    align-items: center;
    width: fit-content;   
    margin-bottom: 15px;
}
.footer-logo-inuni {
    height: 100px;
    margin-right: 1.5rem;
}
.footer-logo-miko {
    height: 100px;
}
.footer-info strong{
    margin-bottom: 5px;
    width: fit-content;
}
header.navbar {
    background-color: white;
    padding: 15px 40px;   
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    flex-wrap: nowrap;
}
/* Logo and title styling */
.logo-link {
    display: flex;
    align-items: flex-end; /* Align children (logo and title) to the bottom */
    text-decoration: none;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.title-img {
    height: 38px;
}

/* Menu button styling */
.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.menu-icon {
    height: 24px;
    width: 24px;
}
@media screen and (max-width: 1300px) {
    header.navbar{
        padding: 15px 20px;     
    }
    .logo-img{
        height: 31px;
    }
    .title-img{
        height: 30px;
    }
    .footer {
        padding: 20px 30px;
    }
    .footer-info, .privacy-row{
        font-size: 12px;
    }
    .footer-logo-inuni {
        height: 80px;
        margin-right: 1.5rem;
    }
    .footer-logo-miko {
        height: 80px;
    }    
    .privacy-row{
        padding: 0;
    }
}
@media screen and (max-width: 700px) {
    header.navbar {
        padding: 10px 10px;  
    }
    .logo-img{
        height: 20px;
    }
    .title-img{
        height: 21px;
    }
    .footer-info, .privacy-row{
        font-size: 10px;
    }
    .footer-logo-inuni {
        height: 60px;
        margin-right: 1.5rem;
    }
    .footer-logo-miko {
        height: 60px;
    }    
}