/* OPEN SANS - GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
}

:root{
    --color1: #B98D3B;
    --color2: #004282;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    background-color: #f5f5f5;
}

img{
    width: 100%;
}

a{
    text-decoration: none;
    color: inherit;
}

a:hover{
    text-decoration: 2px dotted underline;
}



/* FLEX CLASSES */
.flex{
    display: flex;
}

.row-center{
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.row-between{
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.row-end{
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.row-start{
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.row-around{
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.row-even{
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.wrap{
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.column-center{
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.column-start{
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.column-end{
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

/* ACTION */
.action{
    width: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.action .act{
    width: fit-content;
    margin: 0px 8px;
    text-transform: capitalize;
}

.action .act:last-child{
    margin-right: 0;
}

.action .act.alt{
    padding: 7px 20px;
    border: none;
    font-weight: bold;
    text-decoration: none;
    background-color: var(--color2);
    color: #fff;
}

/* MENU BTN */
.menubtn{
    display: none;
    font-size: 1.5em;
}

/* OVERLAY */
.overlay{
    z-index: 9999;
    position: fixed;
    top: 0;
    right: 0;
    width: 0%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--color2);
    color: #fff;
    transition: .5s;
}

.closebtn{
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2em;
}

.overlay .navlinks{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    text-transform: capitalize;
}

.overlay .navlinks .link{
    margin: 10px 0;
}


/* NAVBAR */
.navbar{
    width: 100%;
    height: auto;
    padding: 25px 40px;
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.navbar .top{
    width: 100%;
    height: auto;
    padding: 0px 10px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.navbar .top .bu-link{
    width: fit-content;
    height: auto;
    font-weight: bold;
    text-transform: capitalize;
    color: var(--color1);
}

.navbar .mid{
    width: 100%;
    padding: 0px 10px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
}

.navbar .logo{
    width: auto;
    font-size: 2em;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color2);
}

.navbar .down{
    width: 100%;
    height: auto;
    padding: 0px 10px;
    padding-bottom: 5px;
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 1px solid var(--color2);
}

.navbar .down .navlinks{
    width: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.navbar .down .navlinks .link{
    width: fit-content;
    height: auto;
    padding: 2px 5px;
    margin-right: 15px;
    border-bottom: 2px solid transparent;
    font-weight: bold;
    text-transform: capitalize;
    text-decoration: none;
}

.navbar .down .navlinks .link:hover{
    border-bottom: 2px solid var(--color1);
}

.navbar .down .navlinks .link.active{
    border-bottom: 2px solid var(--color2);
}

/* globe */
.globebg{
    z-index: -1;
    position: absolute;
    top: 15%;
    left: 15%;
    transform: translate(-50%,-50%);
    opacity: .1;
}



/* HERO */
.hero{
    width: 100%;
    height: auto;
    padding: 20px 50px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.hero .first{
    width: 62%;
}

.hero .first .heading{
    width: 100%;
    height: auto;
    padding: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--color2);
    font-weight: bold;
    text-transform: capitalize;
}

.hero .first .flex.row-between.wrap{
    justify-content: space-around;
    align-items: stretch;
}

/* JOURNAL-TAB */
.journal-tab{
    position: relative;
    width: 48%;
    height: auto;
    padding: 10px;
    margin-bottom: 20px;
    border: 2px solid rgba(0, 0, 0, .25);
    display: inline-flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: space-between;
    background-color: #fafafa;
}

.journal-tab .tab-image{
    width: 100%;
    overflow: hidden;
    padding: 7px;
    border: 2px solid rgba(0, 0, 0, 0.25);
}

.journal-tab .tab-name{
    max-width: 90%;
    margin-bottom: 10px;
    font-size: 1em;
    font-weight: 900;
    text-transform: capitalize;
    color: var(--color2);
}

.journal-tab .tab-name .eph{
    font-weight: 900;
    text-transform: uppercase;
    color: #000;
}

.journal-tab:hover{
    background-color: #eee;
}

.between{
    width: 100%;
    height: 5vh;
}

.emphasis{
    width: 95%;
    font-weight: 500;
    text-align: justify;
}

.mid-link{
    color: var(--color1);
    font-weight: bold;
    text-decoration: underline;
}

.head{
    width: fit-content;
    height: auto;
    margin-bottom: 5px;
    font-weight: bold;
    /*text-transform: capitalize;*/
    color: var(--color2);
}

.listing{
    width: 100%;
    height: auto;
}

.listing ol{
    list-style-position: inside;
}

.listing ul{
    list-style-type: circle;
}

.listing ol li{
    margin-bottom: 10px;
    font-weight: 500;
}

.listing ul li{
    margin-bottom: 10px;
    font-weight: 500;
}

.listing ol li span{
    padding-left: 10px;
}

/* BOARD */
.board{
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: .9em;
}

.board tr:nth-child(even){
    background-color: #f2f2f2;
}

.board th{
  padding: 5px 10px;
  border: 2px solid #ccc;
  border-bottom: 2px solid #000;
  text-transform: capitalize;
  background-color: #fff;
  color: #000;
}

.board td{
    border: 1px solid #aaa;
    padding: 5px 10px;
    font-weight: 500;
}

.linkback{
    width: fit-content;
}

.linkback a{
    width: fit-content;
    padding: 10px 20px;
    border-radius: 20px;
    background-color: var(--color2);
    color: #fff;
    text-transform: capitalize;
}

.linkback a:hover{
    background-color: #002e5b;
    font-weight: bold;
    text-decoration: none;
}


.hero .second{
    width: 30%;
}

/* SIDE */
.side{
    width: 100%;
    height: auto;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.side .intro{
    width: 100%;
    height: auto;
    padding: 10px;
    font-size: 1em;
}

.side .call{
    width: 100%;
    height: auto;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    background-color: #fff;
}

.side .call .head{
    padding: 5px;
    margin-bottom: 10px;
    border-bottom: 2px solid #000;
    font-size: 1.1em;
    font-weight: bold;
}

.side .listed{
    width: 100%;
    height: auto;
    padding: 20px;
    list-style-type: square;
    list-style-position: inside;
    background-color: #fff;
}

.side .listed .sub-head{
    width: fit-content;
    padding: 5px;
    margin-bottom: 10px;
    border-bottom: 2px solid #000;
    font-size: 1em;
    font-weight: bold;
    text-transform: capitalize;
}

.side .listed li{
    margin-bottom: 3px;
    font-weight: bold;
    color: #5E6475;
}

/* LOGIN */
.login{
    width: 100%;
    height: auto;
    min-height: 55vh;
    padding: 20px 100px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

form.log{
    width: 70%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

form.log .header{
    width: 50%;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--color1);
    font-family: var(--font1);
    font-size: 1.5em;
    font-weight: bold;
    text-transform: uppercase;
}

form.log input{
    width: 100%;
    height: auto;
    padding: 15px 55px;
    margin-bottom: 20px;
    border: 2px solid var(--color2);
}

.user-inp{
    background-image: url('assets/img/user.svg');
    background-repeat: no-repeat;
    background-position: 20px center;
    background-size: 1.5em;
}

.mail-inp{
    background-image: url('assets/img/mail.svg');
    background-repeat: no-repeat;
    background-position: 20px center;
    background-size: 1.5em;
}

.pass-inp{
    background-image: url('assets/img/pass.svg');
    background-repeat: no-repeat;
    background-position: 20px center;
    background-size: 1.5em;
}

form.log button[type=submit]{
    width: fit-content;
    height: auto;
    padding: 10px 30px;
    border: none;
    font-family: var(--font1);
    font-weight: bold;
    text-transform: capitalize;
    background-color: var(--color2);
    color: #fff;
}

form.log button[type=submit]:hover{
    cursor: pointer;
    background-color: #002e5b;
}

span .text-danger{
    color: black;
    background-color:red ;
}

/* FOOTER */
footer{
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 120px;
    padding: 30px 50px;
    background-color: #000;
    color: #fff;
}

.mailer{
    width: 80%;
    height: 250px;
    overflow: hidden;
    padding: 20px 50px;
    margin: auto;
    margin-top: -120px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #000;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.mailer .heading{
    width: fit-content;
    margin-bottom: 20px;
    font-size: 1.4em;
    font-weight: bold;
    text-transform: capitalize;
    text-align: center;
}

.mailer .mail-form{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mail-form .topper{
    width: 80%;
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.mail-form .downer{
    width: 80%;
    margin-bottom: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.mail-form input{
    width: 100%;
    height: auto;
    padding: 10px 20px;
    margin: 0px 5px;
    border: 2px solid #000;
}

footer .header{
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: bold;
    text-transform: uppercase;
}

footer .footer-links{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

footer .footer-links .block{
    width: 20%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

footer .footer-links .block:last-child{
    width: 30%;
}

footer .footer-links .block .head{
    width: fit-content;
    height: auto;
    padding: 3px 20px;
    padding-left: 0;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--color1);
    font-size: 1.15em;
    font-weight: bold;
    text-transform: capitalize;
    color: #f2f2f2;
}

footer .footer-links .block .link{
    width: fit-content;
    height: auto;
    margin-bottom: 7px;
    font-size: 1.1em;
    text-transform: capitalize;
}

footer .footer-links .block .socialite{
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

footer .footer-links .block .socialite .soci{
    width: auto;
    height: auto;
    padding: 10px;
    margin-right: 20px;
    font-size: 1.5em;
    background-color: #fff;
    color: var(--color1);
    transition: .3s;
}

footer .footer-links .block .socialite .soci:hover{
    background-color: var(--color1);
    color: #fff;
}

footer .footer-links .block .explain{
    font-size: 1.1em;
}

footer .footer-end{
    width: 100%;
    padding: 10px 0;
    margin-top: 50px;
    border-top: 2px solid #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

footer .footer-end .ender{
    width: fit-content;
    padding: 2px 10px;
    border-right: 2px solid #fff;
    text-transform: capitalize;
}

footer .footer-end .ender:last-child{
    border: none;
}



/* MOBILE RESPONSIVE */
@media screen and (max-width: 780px) {
    /* ACTION */
    .action{
        width: fit-content;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }

    .action .act{
        width: fit-content;
        margin: 0px 8px;
        text-transform: capitalize;
    }

    .action .act:last-child{
        margin-right: 0;
    }

    .action .act.alt{
        padding: 7px 20px;
        border: none;
        font-weight: bold;
        text-decoration: none;
        background-color: var(--color2);
        color: #fff;
    }

    /* MENU BTN */
    .menubtn{
        display: block;
    }

    /* NAVBAR */
    .navbar{
        padding: 25px;
    }

    .navbar .top .action{
        display: none;
    }

    .navbar .logo{
        width: auto;
        font-size: 1.75em;
        font-weight: 800;
        text-transform: uppercase;
        color: var(--color2);
    }

    .navbar .down .navlinks{
        display: none;
    }

    /* HERO */
    .hero{
        padding: 10px 30px;
        flex-direction: column;
    }

    .hero .first{
        width: 100%;
    }

    .hero .first .heading{
        width: 100%;
        margin-bottom: 20px;
        border-bottom: 2px solid var(--color2);
    }

    /* JOURNAL-TAB */
    .journal-tab{
        width: 100%;
    }

    .journal-tab .tab-name{
        max-width: 100%;
        margin-bottom: 15px;
    }

    .hero .second{
        width: 100%;
    }



    /* FOOTER */
    footer{
        position: relative;
        width: 100%;
        height: auto;
        margin-top: 120px;
        padding: 30px;
        background-color: #000;
        color: #fff;
    }

    .mailer{
        width: 100%;
        height: auto;
        overflow: hidden;
        padding: 20px;
        margin-top: -120px;
        margin-bottom: 50px;
    }

    .mailer .heading{
        width: fit-content;
        margin-bottom: 15px;
        font-size: 1.1em;
    }

    .mail-form .topper{
        width: 100%;
    }

    .mail-form .downer{
        width: 100%;
    }

    .mail-form input{
        padding: 10px 15px;
        border: 1px solid #000;
    }

    footer .header{
        margin-bottom: 20px;
        font-size: 1.25em;
        font-weight: bold;
        text-transform: uppercase;
    }

    footer .footer-links{
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
    }

    footer .footer-links .block{
        width: max-content;
        margin-bottom: 20px;
    }

    footer .footer-links .block:last-child{
        width: 100%;
    }

    footer .footer-end{ 
        margin-top: 30px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    footer .footer-end .part{
        margin-bottom: 20px;
    }

    footer .footer-end .ender{
        width: 100%;
        padding: 0;
        padding-right: 5px;
        margin-right: 5px;
        border-right: 2px solid #fff;
        text-transform: capitalize;
    }

    footer .footer-end .ender:last-child{
        border: none;
    }
}