@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    /*font-family: 'Poppins', sans-serif; */   
    font-family: 'Segoe UI', sans-serif;
}

:root {
    --bg-color: #10000E;
    --second-bg-color: #41404036;
    --text-color: #fff;
    --second-text-color: #7b838a;
    --main-color: #EFE70B;
    --input-color: #212121;
    --output-color: #181a1e;
    --deep-color: #D6C78B;
}

/* Dark-theme Variables*/
.dark-theme-variables{
    --bg-color: #000000;
}

html {
    font-size: 65.5%;
    overflow-x: hidden;
}
body {
    background: var(--bg-color);
    color: var(--text-color);
    font-family: calibri;
    font-size: 0.88rem;
    user-select: none;
}
section {
    min-height: 100vh;    
    padding: 12rem 5% 2rem 13%;
    /*padding: 3rem 5% 2rem;*/    
    background: var(--second-bg-color);
}
span {
    color: var(--main-color);
}

/* header */
.header {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 5rem;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background: var(--bg-color);        
    box-shadow: 0 0 0.3rem var(--deep-color);
    z-index: 100;
}
.header .sticky {
    border-bottom: .1rem solid rgba(0, 0, 0, .2);
}
.navbar{
    gap: 2.5rem;
}
.navbar a {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-color);
    text-decoration: none;
    transition: .3s;
}
.navbar a:hover{
    color: var(--main-color);
}
.navbar a.active {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
    color: var(--main-color);
}
.btn {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid var(--main-color);
    padding: 5px 20px;
    transition: 0.3s ease;
    width: fit-content;
}
.btn:hover{
    background-color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
}
.theme-toggler{
    background: rgba(140, 146, 201, 0.18);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 3rem;
    width: 7rem;
    cursor: pointer;        
    border-radius: 20%;
}
.theme-toggler i{
    font-size: 2rem;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: thistle;
    transition: 0.3s ease;
}
.theme-toggler i.active{
    background: #5f6491;
    border-radius: 20%;    
    color: var(--main-color);
}
#menub{
    font-size: 4rem;
    color: var(--text-color);
    display: none;
}
/*logo*/
.logo {
    position: fixed;
    margin-top: 10px;
    margin-left: 8px;
    border-radius: 3px;    
    box-shadow: 0 0 1rem var(--deep-color);
    z-index: 101;
}
.logo img{
    display: block;
    max-width: 100%;
    cursor: pointer;
    height: 130px;
    z-index: 998;
}
/*admin logo*/
.adlogo {
    position: fixed;
    margin-top: 20px;
    margin-left: 20px;
    z-index: 101;
}
.adlogo h2{
    color: var(--main-color);
}
/* footer */
footer {
    padding: 3rem 9%;
}
.fnew{
    align-items: start;
    justify-content: space-evenly;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem 0;
}
.footer-box {
    flex: 1 1 0%;
    min-width: 200px;
}
.footer-box h3{
    color: var(--main-color);
    font-size: 15px;
    font-weight: 500;
    padding-bottom: 8px;
}
.footer-box h4{
    font-size: 13px;
    font-weight: 400;
    color: var(--main-color);
}
.footer-box li {    
    padding-bottom: 5px;
    color: var(--third-text-color);
    font-size: 12px;
    font-weight: 400;
    list-style: none;
}
.footer-box li a{
    color: var(--third-text-color);
    font-size: 12px;
    text-decoration: none;
    transition: 0.3 ease;
}
.footer-box li a:hover{
    color: var(--main-color);
}
.fsocial-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.7rem;
}
.fsocial-links a{
    color: var(--text-color);
    cursor: pointer;
    font-size: 18px;
    background: transparent;
    transition: 0.5 ease;
}
.fsocial-links a:hover i{
    color: var(--main-color);
    transform: scale(1.6);
}
.footer-box p{
    color: var(--third-text-color);
    font-size: 10px;
}
.footer-box input{
    width: 150px;
    padding: 8px 5px;
    background-color: var(--bg-color);
    border-radius: 3px;
    border: 0.5px solid var(--text-color);
    color: var(--main-color);
    font-size: 13px;
}
.subs-btn {
    color: var(--text-color);
    background: transparent;
    font-size: 12px;
    font-weight: 900;
    border-radius: 3px;
    border: 0.5px solid var(--text-color);
    padding: 7px 5px;
    transition: 0.3s ease;
    cursor: pointer;
}
.subs-btn:hover{
    color: var(--main-color);
    box-shadow: 0 0 1rem var(--main-color);
}
.footer-text{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.footer-text p {
    font-size: 10px;
    font-weight: 300;
    color: var(--text-color);
}
.footer-text img{
    width: 50px;
    border-radius: 5%;
}
.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: .8rem;
    background: transparent;    
    border: 0.5px solid var(--main-color);
    border-radius: .8rem;
    transition: .5s ease;
}
.footer-iconTop a:hover {
    box-shadow: 0 0 1rem var(--main-color);
}
.footer-iconTop a:hover i{
    color: var(--main-color);
}
.footer-iconTop a i {
    font-size: 2.4rem;
    color: var(--text-color);
}

/* Screen Breakpoints */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}
@media (max-width: 991px) {
    .logo img{
        height: 105px;
    }
    .header {
        padding: 2rem 5%;
        gap: 3rem;
    }
    .navbar{
        gap: 1.8rem;
    }
    .footer-text {
        padding: 2rem 3%;
    }
}
@media (max-width: 768px) {
    .header {
        max-width: 768px;
    }
    #menub{
        display: block;
        cursor: pointer;
    }
    .logo img{
        height: 80px;
    }
    .navbar {
        position: absolute;
        top: 100%;
        left: 50%;
        width: 50%;
        height: 68rem;
        background: var(--bg-color);
        border-radius: 2%;
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .1rem 0.5rem var(--deep-color);
        display: none;
    }
    .navbar.active {
        display: block;
    }
    .navbar a {
        display: block;
        font-size: 13px;
        font-weight: 500;
        margin: 0;
        padding: 10px;
    }
    .navbar a:last-child{
        position: absolute;
        bottom: 1.5rem;
        margin-left: 10px;
        padding: 5px 20px;
    }
    .navbar a:nth-child(even){
        background: #eee1;
    }
}
@media (max-width: 617px) {
    .header {
        max-width: 617px;
    }
    .subs-btn {
        font-size: 13px;
        padding: 7px 5px;
    }
    .footer-box input{
        width: 130px;
        padding: 9px 5px;
    }   
    .footer-text {
        flex-direction: column-reverse;
        align-items: center;
        gap: 5rem;
    }
    .footer-text img{
        width: 35px;
    }
}
@media (max-width: 450px) {
    .header {
        max-width: 450px;
    }
    html {
        font-size: 50%;        
    }
    .logo img{
        height: 67px;
    }
    .fnew{
        flex-direction: column;
        align-items: center;
        gap: 5rem;
    }
}
@media (max-width: 365px) {
    .header {
        max-width: 365px;
    }
}