*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

@font-face {
  font-family: "Baloo2";
  src: url("/style/Baloo_2/Baloo2-VariableFont_wght.ttf")
    format("truetype");
}

body{
	min-height:100vh;
    display:flex;
    flex-direction:column;
	
    font-family:Baloo2;
    background:#eef4fb;
}

[hidden]{
    display:none !important;
}

.header{
    min-height:60px;
    background:rgb(59,90,136);
    color:white;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 30px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
    position:relative;
}

.logo{
    font-size:26px;
    font-weight:bold;
    width:180px;
}

.menu{
    display:flex;
    gap:12px;
	color:white;
}

.menuactive {
	background:#eef4fb;
	color: rgb(59,90,136);
}

.menuinactive {
	color: white;
}


.menu a{
    width:140px;
    height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    text-decoration:none;
    border-radius:10px;
    font-size:15px;
    transition:.2s;
	font-weight: bold;
}

.menuinactive:hover{
    background:#eef4fb;
	color: rgb(59,90,136);
    transform:translateY(-2px);
}

.login{
    width:180px;
    display:flex;
    justify-content:flex-end;
}

.login a{
    width:46px;
    height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    text-decoration:none;
    background:rgb(59,90,136);
    border-radius:10px;
    transition:.2s;
}

.login a:hover{
    background:#eef4fb;
	color: rgb(59,90,136);
    transform:translateY(-2px);
}

.material-symbols-rounded{
    font-size:22px;
}

.menu-toggle{
    display:none;
    border:0;
    background:#2f73c9;
    color:white;
    width:46px;
    height:46px;
    border-radius:50%;
    cursor:pointer;
}

.menu-toggle:hover{
    background:#4b8fe4;
}

.mobile-menu{
    display:none;
}

main{
	flex:1;
    width:100%;
    max-width:1200px;
    margin:20px auto;
    padding:0 10px;
}

footer{
    color:rgb(59,90,136);
	font-weight: bold;
    text-align:center;

    padding:10px;
    margin-top:30px;
}

@media (max-width:768px){

    .header{
        padding:0 18px;
    }

    .logo{
        width:auto;
    }

    .menu,
    .login{
        display:none;
    }

    .menu-toggle{
        display:flex;
        align-items:center;
        justify-content:center;
    }

    .mobile-menu{
        display:none;
        position:absolute;
        top:60px;
        left:0;
        right:0;
        background:rgb(59,90,136);
        padding:14px;
        flex-direction:column;
        gap:8px;
        box-shadow:0 8px 16px rgba(0,0,0,.2);
        z-index:10;
    }

    .mobile-menu.active{
        display:flex;
    }

    .mobile-menu a{
        color:white;
        text-decoration:none;
        background:#2f73c9;
        border-radius:14px;
        padding:14px 16px;
        display:flex;
        align-items:center;
        gap:12px;
    }
	
	.mobile-menu button{
        color:white;
        text-decoration:none;
        background:#2f73c9;
        border-radius:14px;
        padding:14px 16px;
        display:flex;
        align-items:center;
        gap:12px;
		width: 100%;
		border: 0px;
		cursor: pointer;
    }

    .mobile-menu a:hover{
        background:#4b8fe4;
    }
	
	.mobile-menu button:hover{
        background:#4b8fe4;
    }

    .mobile-separator{
        border:0;
        height:1px;
        background:rgba(255,255,255,.25);
        margin:6px 0;
    }
}

.zoomable-image{
    cursor:pointer;
}

.image-lightbox{
    position:fixed;
    inset:0;
    z-index:9999;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    padding:70px 30px 30px;

    background:rgba(10, 15, 25, .65);
    backdrop-filter:blur(3px);
    -webkit-backdrop-filter:blur(12px);

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.image-lightbox.active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

.lightbox-image{
    display:block;

    max-width:min(1200px, 92vw);
    max-height:78vh;

    width:auto;
    height:auto;

    object-fit:contain;

    border-radius:14px;

    box-shadow:0 15px 50px rgba(0,0,0,.45);

    transform:scale(.96);
    transition:transform .25s ease;
}

.image-lightbox.active .lightbox-image{
    transform:scale(1);
}

.lightbox-close{
    position:absolute;
    top:20px;
    right:25px;

    width:46px;
    height:46px;

    display:flex;
    justify-content:center;
    align-items:center;

    border:none;
    border-radius:50%;

    background:rgba(255,255,255,.95);
    color:#333;

    cursor:pointer;

    box-shadow:0 6px 18px rgba(0,0,0,.20);

    transition:
        background .2s,
        color .2s,
        transform .2s;
}

.lightbox-close:hover{
    background:#2f73c9;
    color:white;
    transform:scale(1.06);
}

.lightbox-close .material-symbols-rounded{
    font-size:28px;
}

.lightbox-caption{
    max-width:900px;
    margin-top:15px;

    color:white;
    text-align:center;
    line-height:1.5;
}

body.lightbox-open{
    overflow:hidden;
}

@media (max-width:768px){

    .image-lightbox{
        padding:65px 15px 20px;
    }

    .lightbox-image{
        max-width:95vw;
        max-height:75vh;
        border-radius:10px;
    }

    .lightbox-close{
        top:12px;
        right:12px;
    }
}

.profile-dropdown{
    position:relative;
}

.profile-toggle{
    display:flex;
    align-items:center;
    gap:10px;
    padding:3px 14px;
    background:rgb(59,90,136);
    border:none;
    border-radius:10px;
    cursor:pointer;
    transition:.2s;
}

.profile-toggle:hover{
	color: black;
    background:#f5f7fa;
}

.navprofile-name{

    font-weight:600;
    white-space:nowrap;
}

.profile-avatar-small{
    width:42px;
    height:42px;
    border-radius:10px;
    object-fit:cover;
    border:2px solid #2f73c9;
}

.profile-arrow{

    font-size:22px;
    transition:.2s;
}

.profile-menu-dropdown{
    position:absolute;
    right:0;
    top:calc(100% + 10px);
    width:240px;
    background:white;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
    display:none;
    z-index:1000;
}

.profile-menu-dropdown.show{

    display:block;
}

.profile-menu-dropdown a{

    display:flex;
    align-items:center;
    gap:12px;

    padding:14px 18px;

    color:#333;

    text-decoration:none;

    transition:.2s;
}

.profile-menu-dropdown a:hover{

    background:#eef5ff;
    color:#2f73c9;
}

.profile-menu-dropdown hr{

    border:none;
    border-top:1px solid #eee;
    margin:4px 0;
}

.logout{

    color:#d9534f;
}

.logout:hover{

    background:#ffecec !important;
}

@media (max-width:768px){

    .profile-dropdown{
        display:none;
    }

}