/*  Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Abel:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
@font-face {
    font-family: 'HelveticaW01';
    src: url('./static/fonts/HelveticaW01-Light.eot');
    src: url('./static/fonts/HelveticaW01-Light.eot?#iefix') format('embedded-opentype'),
        url('./static/fonts/HelveticaW01-Light.svg#HelveticaW01-Light') format('svg');
    src: url('./static/fonts/HelveticaW01-Light.ttf') format('truetype'),
      url('./static/fonts/HelveticaW01-Light.woff2') format('woff2'),
      url('./static/fonts/HelveticaW01-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Main color palette */
:root{
    --color3: #e3e3e3;
    --color2: white;
    --color4: #85888C;
    --color1: #238500;
}

body{
    background-color: #f7f7f7;
}

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

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

/* Header */
.header{        /* nav bar*/
    background-color:  #1e7668;  /*nav bar background color*/
    box-shadow: 1px 1px 5px 0px var(--color4);
    position: fixed;
    top: 0;
    z-index: 9999;
    width: 100%;
    height: 60px;  /*adjusted nav bar height*/
}

/* Logo */
.logo-text{
    display: inline-block;
    color: #b0b0b0;
    font-size: 53px;
    margin-left: 20px;
    font-family: "Abel";
    text-transform: uppercase;
}

.header .logo-text {    /* added*/
    font-size: 20px;
    line-height: 50px;
}

.logo-text img { /*for the logo img*/
    display: inline-block;
    width: 150px;
    height: auto;
    margin-left:  30px;         /*63px;adjusted closer to left*/
    padding-top: 5px;
    padding-bottom: 5px;
}

.logo{  /*maybe irrelevant*/
    display: inline-block;
    width: 55px;
    height: auto;
    margin-left: 63px;
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Nav menu */
.nav{ /*for expanded menu*/
    width: 100%;
    height: 80%;         /*100%; adjusted drop background height*/
    position: fixed;
    background-color: var(--color2);
    overflow: hidden;
    vertical-align: middle;
    justify-content: center; /*for expanded menu*/
}

.menu a{  /*nav menu tabs */
    display: inline-block;
    padding-left: 30px;  /*distance of each tab*/
    padding-right: 30px;
    padding-top:   18px;     /*28px; adjusted higher*/
    color:  white;
    font-weight: 600;
 }

.menu a:hover{
    background-color: transparent;
    color: #7af3a8;
    transform: scale(1.1);

}

.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
    text-align:  left;
}

/* Menu Icon */

.hamb{
    cursor: pointer;
    float: right;
    padding: 30px 20px;
}


.hamb-line {  /*line icon for menu ;collapsed menu*/
    background: white;
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
}

.hamb-line::before,
.hamb-line::after{
    background: white;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before{
    top: 5px;
}

.hamb-line::after{
    top: -5px;
}


.side-menu {
    display: none;
}

/* Toggle menu icon */

.side-menu:checked ~ nav{
    max-height: 100%;
}

.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;

}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}



@media screen and (max-width: 960px){
    body{
        margin-top: 90px;
    }

    .logo-text {
        font-size: 40px;
    }

    .header {
        text-align: left;
    }

    .menu a{ /* for dropdown menu*/
         color:  black;
}
}

@media screen and (min-width: 960px){
    body{
        margin-top: 110px;
    }

    .nav{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;
    }

    .menu li{
        float: left;
    }

    .hamb{
        display: none;
    }

    .logo {
        display: none
    }

}

.page-header {
    background-color:white;
}

.content-section {
    background: #ffffff;
    padding: 10px 20px;
    border: 1px solid #dddddd;
    border-radius: 3px;
    margin-bottom: 20px;
    margin-top: 15px;
}


.footer {
    display:flex;
    background-color: white;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    width: 100%;
    border-top: 1px solid white;
    justify-content:center;
    align-items:center;
}

.panel-heading {
    background-color: white;
    color: #238500;
    font-family: 'Ubuntu-Th' !important;
    padding-top: 25px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 25px;
    height: 100px;
}

.accent_color {
    color: #238500;
}
