/* Common Styles  */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@400;500;600;700;800&family=Assistant:wght@200..800&display=swap');

@font-face {
    font-family: 'c059';
    src: url('/css/fonts/C059-Bold.ttf') format('ttf'),
        url('/css/fonts/C059-BdIta.ttf') format('ttf'),
        url('/css/fonts/C059-Roman.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-01: #141471ff;
    --color-02: #4d4d4dff;
    --color-03: #E9A32E;
    --color-05: #ffffffff;
    --bg-color-01: #DBDEE3ff;

    --color-06: #141471ff;
    --color-07: #4d4d4dff;
    --color-08: #141471ff;
    --color-09: #000;
    --color-10: #eeeeee;
    --color-11: #fff;
    --color-12: #141471ff;
    --color-13: transparent;
    --color-14: #141471ff;
    --color-15: #fff;
    --color-16: #4d4d4dff;
    --color-17: #141471ff;
    --color-18: #fff;
    --color-19: #141471ff;
    --color-20: #141471ff;
    --color-21: #f4f4f4;
    --color-22: #e6e6e6;
    --color-23: #FFD700;
    --color-24: #4d4d4dff;
    --color-25: #4d4d4dff;
    --color-26: #E9A32E;
    --font-01: "Roboto", serif;
    --font-02: "Assistant", sans-serif;
    --font-03: "Abhaya Libre", serif;
    --font-04: "c059";
    --font-05: "Roboto Mono", monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    transition: background-color 0.5s, color 0.5s;
}

/* Dark Theme */
body.dark-theme {
    --color-01: #ffffff;
    --color-02: #ffffff;
    --color-03: #FFD700;
    /* --color-05: #b1b1b1; */
    --bg-color-01: #121212;

    --color-06: #ffd700;
    --color-07: #000;
    --color-08: #36ccff;
    --color-09: #fff;
    --color-10: #a3a3a3;
    --color-11: #000;
    --color-12: #ffffff;
    --color-13: #fff;
    --color-14: #fff;
    --color-15: #000;
    --color-16: #000;
    --color-17: #141471ff;
    --color-18: #fff;
    --color-19: #000;
    --color-20: #000;
    --color-21: #141471ff;
    --color-22: #fff;
    --color-23: #141471ff;
    --color-24: #ffd700;
    --color-25: #fff;
    --color-26: #141471ff;
}

body.light-theme {
    background-color: #ffffff;
    color: #000000;
}

body.dark-theme {
    background-color: #333333ff;
    color: #ffffff;
}


/* Light Theme */
/* body.light-theme {
    --color-01: #141471;
    --color-02: #4d4d4d;
    --color-03: #E9A32E;
    --color-05: #ffffff;
    --bg-color-01: #DBDEE3;
    } */

/* body.light-theme {
    background: linear-gradient(180deg, #f8f9fa, #e9ecef);
} */

body.dark-theme {
    background: radial-gradient(circle, #1a1a1a, #000000);
}

body.dark-theme .z2d5,
body.dark-theme .z2d11 {
    background-color: #1a1a1a;
    box-shadow: 2px 4px 6px rgba(255, 255, 255, 0.1);
}

body.dark-theme .za100:hover {
    background-color: var(--color-03);
    color: var(--color-05);
}


.w {
    width: 1200px;
    margin: 0 auto;
}

h1,
h2,
h3,
h4,
p {
    font-family: var(--font-02);
    font-weight: normal;
}

a {
    text-decoration: none;
    cursor: pointer;
}

button {
    cursor: pointer;
}

span {
    font-family: var(--font-02);
}

.fsb {
    display: flex;
    justify-content: space-between;
}

.fsa {
    display: flex;
    justify-content: space-around;
}



/* Header  */

#hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 118px;
    position: relative;
    z-index: 10;
}

#x1d1 {
    background: linear-gradient(to bottom, #141471ff 94%, #1B1B57 100%);
    height: 50px;
    position: relative;
    overflow: hidden;
}


#x1d2 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.x1d3,
.x1d4,
.x1d5 {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-family: var(--font-01);
    font-size: 13px;
    margin-right: 40px;
}

.x1d3 {
    /* width: 9%; */
    justify-content: space-between;
}

.x1d4 {
    justify-content: space-between;
    width: 23.5%;
}

.x1d5 {
    width: 14.5%;
    justify-content: space-between;
}

.x1d6 {
    /* width: 4%; */
    justify-content: center;
    display: flex;
    align-items: center;
}

.x1i1 {
    height: 13px;
    width: 13px;
}

.x1i2 {
    width: 11px;
    height: 12px;
}

.x1i3 {
    width: 14px;
}

#x1i4 {
    width: 15px;
    cursor: pointer;
}

.x1i5 {
    width: 15px;
    cursor: pointer;
}

#x1f15 {
    /* position: absolute; */
    top: -40px;
    right: 80px;
    border: 2px solid var(--color-03);
    height: 34px;
    width: 220px;
    transition: 0.3s ease;
    display: flex;
    
}

#x1in15 {
    width: 88%;
    height: 30px;
    z-index: 5;
    padding: 5px 10px;
    cursor: pointer;
    outline: none;
    border: 0px;
    color: var(--color-16);
    font-size: 14px;
}

.x1a25 {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

#bt11 {
    background: #141471;
    border: none;
    padding: 0 5px;
    float: right;
    margin-top: 7px;
}


#a7 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* width: 10%; */
    /* height: 100px; */
}

.i1 {
    width: 25%;
}

.s1 {
    font-family: var(--font-03);
    font-weight: 700;
    color: var(--color-01);
    font-size: 31px;
    width: 68%;
}

#se1 {
    border-top: 1px solid #4d4d4dff;
}

/* Navbar  */
.s23 {
    transform: rotate(90deg) scaleX(0.8) scaleY(1.5);
    margin-left: 3px;
}

#n {
    width: 71%;
    align-items: baseline;
    z-index: 1500;
}

.s2 {
    font-family: var(--font-04);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-01);
    display: flex;
    align-items: center;
    gap: 6px;
}

.d3 {
    position: relative;
    display: inline-block;
}

.s2 {
    cursor: pointer;
}

.d11 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-15);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    padding: 10px 0;
    z-index: 10;
    width: fit-content;
}

.d11 a {
    display: block;
    padding: 6px 16px;
    color: #333;
    text-decoration: none;
    font-family: var(--font-04);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-01);
    font-family: var(--font-02);

}

.d3:hover .d11,
.d3:focus-within .d11 {
    display: block;
}

.s2:hover {
    color: var(--color-03);
}

.d11 a:hover {
    color: var(--color-03);
}

.a2 {
    padding: 20px 0;
}

.a2:hover {
    color: var(--color-03);
}

#z1d12 {
    display: none;
}

#i5 {
    transition: transform 0.3s;
}

.rotated {
    transform: rotate(90deg);
}

.d13 {
    width: 190px;
}

/* Footerr  */

#ft {
    background: linear-gradient(to top, #0f0f99 13%, #1B1B57);
}

#backToTop {
    width: 40px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 6px 6px 0 0;
    background-color: var(--color-03);
    display: none;
    transition: 0.3s;
    position: fixed;
    z-index: 1000;
    bottom: 0;
    right: 15px;
}

#backToTop:hover {
    opacity: 0.8;
    transition: 0.3s;
    cursor: pointer;
}

#pagetop {
    width: 40px;
    height: 40px;
}

#d300 {
    position: relative;
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
}

#d300::after {
    content: "";
    position: absolute;
    background-color: var(--color-05);
    width: 98%;
    height: 1px;
    bottom: 0;
    left: 1%;
}

.d301,
.d302,
.d303,
.d304,
.d305 {
    display: flex;
    flex-direction: column;
    padding: 0 15px;
}

.d306 {
    display: flex;
    align-items: center;
    color: #fff;
    flex-direction: column;
    text-align: center;
    gap: 15px;
}

.d301 {
    width: 28%;
    color: var(--color-05);
}

.h300 {
    font-family: var(--font-03);
    font-weight: 700;
    font-size: 30px;
    padding-left: 10px;
}

.p300 {
    margin-top: 20px;
}

.s300 {
    color: var(--color-03);
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-03);
    margin-bottom: 7px;
}

.a300 {
    font-family: var(--font-02);
    margin-bottom: 10px;
    color: var(--color-05);
    font-weight: 600;
}

.a300:hover {
    color: var(--color-03);
}

.d307 {
    display: flex;
    flex-direction: column;
}

.s304,
.s305,
.s306 {
    font-family: var(--font-02);
    color: var(--color-05);
    font-weight: 600;
    transition: 0.3s;
}

.d307:hover span {
    color: var(--color-03);
}

.s301,
.s302,
.s303 {
    font-family: var(--font-02);
    color: var(--color-05);
    font-size: 15px;
}

.s301 {
    margin: 3px 0;
}

.d305 {
    height: 100%;
    justify-content: space-between;
}

.d308 {
    margin: 13px 0;
}

.d311 {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    /* height: 80px; */
    padding: 40px 0px;
}

.d309 {
    margin-bottom: 15px;
    width: 15%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
#d312{
    display: flex;
    justify-content: space-evenly;
    padding: 50px 0;
    position: relative;
}

#d312::after {
    content: "";
    position: absolute;
    background-color: var(--color-05);
    width: 98%;
    height: 1px;
    bottom: 0;
    /* left: 14%; */
}

.d310 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-03);
    font-family: var(--font-02);
    font-size: 15px;
}

.i302,
.i304,
.i305 {
    width: 14%;
    cursor: pointer;
}

.i303 {
    width: 8%;
    cursor: pointer;
}

/* #d122 {
    position: fixed; 
    bottom: -5px; 
    right: 12px; 
    z-index: 1000; } */

/* #d122 img {
    display: none;
    width: 55px;
    height: 58px;
    cursor: pointer;
    transition: opacity 0.3s; 
}

#d122 img:hover {
    opacity: 0.9; 
} */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 50px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    border-radius: 50px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
}

input:checked+.slider {
    background-color: #27c097;
}

input:checked+.slider:before {
    transform: translateX(26px);
}

/* Animations  */
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-left.animate {
    animation: fadeInLeft 0.8s both;
    opacity: 1;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-right.animate {
    animation: fadeInRight 0.8s both;
    opacity: 1;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up.animate {
    animation: fadeInUp 0.8s both;
    opacity: 1;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-down.animate {
    animation: fadeInDown 0.8s both;
    opacity: 1;
}

/* Animations End */

/* switch button  */
#z2d101 {
    display: flex;
    flex-direction: column;
    width: fit-content;
    font-size: 15px;
    background: rgba(128, 128, 128, 0.5);
    border-radius: 50px;
    border: 1px solid white;
    font-weight: 600;
    position: fixed;
    top: 30%;
    left: 20px;
    z-index: 1000;
    transition: transform 0.5s ease;
}

#z2d101>div.active {
    background: white;
    color: red;
    border: 1px solid black;
}

.z2i2 {
    width: 18px;
}

#z2d102,
#z2d103 {
    margin: 2px;
    flex: 1;
    text-align: center;
    border-radius: 25px;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* theme switch  */

#z1d101 {
    align-items: center;
    height: 30px;
    display: flex;
    width: 140px;
    justify-content: space-between;
    background-color: rgba(150, 144, 162, 0.4);
    font-family: var(--font-02);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 36%;
    left: -35px;
    z-index: 1000;
    transform: rotate(270deg);
}


.z1d102 {
    color: black;
    font-weight: 600;
    font-size: 17px;
    z-index: 1;
    align-items: center;
    display: flex;

}

.z1d103 {
    padding-left: 11px;
}

.z1d104 {
    padding-right: 11px;
}

#switch {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 30px;
    width: 75px;
    background-color: white;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.z1i101 {
    width: 17px;
    padding-left: 3px;
    padding-top: 2px;
}

.z1i102 {
    width: 18px;
    padding-left: 6px;
    padding-top: 2px;
}


/* Announcement Bar */

    #announcement-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    background-color: #e9a32ee0;
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    display: none;
    max-height: 80vh;
    overflow-y: auto;
}

#close-announcement-container {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px;
    background-color: #141471ff;
    color: white;
    border: none;
    cursor: pointer;
}

#close-announcement-container:hover {
    background-color: #ffd700;
    color: #141471ff;
}



#announcement-message {
    margin-top: 20px;
    background-color: #f9f9f9;
    padding: 10px;
    border: 1px solid #ccc;
    position: relative; 
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

#announcement-message::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url('../img/DeMazenod_logobg.png') no-repeat center;
    background-size: 50%;
    opacity: 0.5;
    width: 50%;
    height: 50%;
    z-index: 0;
    pointer-events: none;
}

#announcement-message > * {
    position: relative;
    z-index: 1;
}

#announcement-content h3 {
    margin: 0;
}

#close-announcement {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #141471ff;
    color: white;
    border: none;
    cursor: pointer;
}

#close-announcement:hover {
    background-color: #ffd700;
    color: #141471ff;
}

#an_h2{color: #141471ff; font-weight: 600; font-size: 25px;}
.announcement-item{cursor: pointer; margin-bottom: 10px;}
.announcement-item:hover{
    text-decoration: underline;
    font-weight: 600;
}

.announcement-item.active {
    font-weight: 600;
}


#announcement-content a {
    text-decoration: none; 
    color: blue; 
    font-weight: normal; 
}

#announcement-content a:hover {
    text-decoration: underline; 
    font-weight: 600; 
}



body.dark-theme .announcement-item{
    color: #000;
}

body.dark-theme #announcement-message{
    color: #000;
}

/* Announcement Bar */



/* Notification Icon in Nav Bar */

#circle{
    width: 20px;
    height: 20px;
    border-radius: 20px;
    border: 1px solid #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0px;
    top: 1px;
    background: #141471ff;
}

#conatiner{
    width: fit-content;
    position: relative;
    cursor: pointer;
}

#count{
    color: white;
    font-size: 13px;
}

#notify-img{
    width: 35px;
    height: 35px;
}

/* Notification Icon in Nav Bar */


/* responsive  */

@media screen and (max-width: 1240px) {
    .w {
        width: 96%;
        margin: 0 auto;
    }

    /* header  */
    #x1d2 {
        justify-content: space-evenly;
    }

    .x1d3,
    .x1d4,
    .x1d5 {
        width: auto;
        justify-content: unset;
    }

    .x1i1,
    .x1i2,
    .x1i3 {
        margin-right: 10px;
    }

    #n {
        width: 73%;
    }

}

@media screen and (max-width: 1150px) {

    /* header  */
    /* #n {display: none;} */
    #z1d12 {
        display: block;
        cursor: pointer;
    }

    #i5 {
        width: 50px;
    }
    #sv1{background: var(--color-17);padding: 6px;width: 40px;height: 40px;border-radius: 3px;transition: 0.3s;}
    #sv1 path {fill: var(--color-18);}

    #n {
        display: none;
        background-color: white;
        border-left: 5px solid #141471ff;
        border-right: 5px solid #141471ff;
        border-bottom: 5px solid #141471ff;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
        padding: 25px;
        flex-direction: column;
        top: 100%;
        position: absolute;
        gap: 15px;
        width: 100%;
    }

    .dark-theme #n {
        background-color: black;
    }

    .dark-theme .s2 {
        color: #fff;
    }

    .dark-theme .s2:hover {
        color: var(--color-03);
    }

    /* .dark-theme .active1 {
        color: var(--color-03);
    } */

    .a2 {
        padding: 0px;
        padding-left: 20px;
    }

    .d2 {
        width: 100%;
    }
    .s2{color: var(--color-19);}



}

@media screen and (max-width:900px) {

    /* navbar */
    #x1f15 {
        right: 80px;
    }

    /* Footer  */

    #d300 {
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .d301,
    .d302,
    .d303,
    .d304,
    .d305 {
        width: 28%;
        margin: 12px 17px;
    }

    .d301,
    .d304 {
        width: 29%;
    }

    .d302,
    .d305 {
        padding-left: 7.5%;
    }
}

@media screen and (max-width: 800px) {

    /* navbar  */
    #x1f15 {
        right: 20px;
        position: absolute;
    }

    .x1s1 {
        display: none;
    }

    #x1d2 {
        justify-content: flex-start;
    }

    #i5 {
        width: 40px;
    }
}

@media screen and (max-width: 750px) {

    /* Footer  */
    #d300 {
        justify-content: center;
        text-align: center;
    }

    .d301,
    .d302,
    .d303,
    .d304,
    .d305 {
        width: 40%;
    }

    .d302,
    .d305 {
        padding-left: 0%;
    }

    .d306 {
        flex-direction: column;
    }

    .h300 {
        padding-top: 12px;
    }

    .d309 {
        width: 25%;
    }

    .d311 {
        text-align: center;
    }
    .d305{
        /* margin-top: -375px; */
    }
}



@media screen and (max-width: 650px) {
    #hd {
        height: 92px;
    }

    .s1 {
        font-size: 21px;
    }

    /* Footer  */

    .d301,
    .d302,
    .d303,
    .d304,
    .d305 {
        width: 100%;
    }

    .d309 {
        width: 30%;
    }
    .d305{
        margin-top: 0;
    }
    #d312{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .d313{margin: 0;}

    .h300 br {
        display: none;
    }

    /* #d122 img {width: 40px; height: 40px;} */
}

@media screen and (max-width: 500px) {

    /* navbar  */
    #x1f15 {
        right: 6px;
    }

    #x1d2 {
        justify-content: center;
    }

    #n {
        left: 0;
        width: 100%;
    }

    #z1d101 {
        left: -45px;
    }

}