/* Header */
.header{
    background-color: var(--white);
    box-shadow: 1px 1px 5px 0px var(--gray);
    position: fixed;
    top: 0;
    padding: 15px 0px 0px 0px;
    width: 100%;
    height: 90px;
    z-index: 10;
}
/* Logo */
.logo{
    display: inline-block;
    color: var(--white);
    font-size: 40px;
    margin-left: 0px;
    text-decoration: none;
}

.logo a:focus, a:hover {
    color: var(--white);
}

/* Topnav menu */
.topnav{
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: var(--white);
    overflow: hidden;
    //margin: 0px 0px 0px -16px;
    margin: 0px 0px 0px 0px;
    z-index: 20;
    text-align: center;
    //left: 0px;
    //border-radius: 0px 0px 10px 10px;
    //box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.topmenu {
    list-style-type: none;
}
.topmenu a{
    display: block;
    padding: 30px;
    color: var(--dark-indigo);
    text-decoration: none;
}
.topmenu a:hover{
    background-color: var(--lightgray);
    color: var(--dark-indigo)
}
.topnav{
    max-height: 0;
    transition: max-height .5s ease-out;
}

/* Menu Icon */
.tophamb{
    cursor: pointer;
    float: right;
    padding: 40px 20px;
}/* Style label tag */

.tophamb-line {
    background: var(--dark-indigo);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;

} /* Style span tag */

.tophamb-line::before,
.tophamb-line::after{
    background: var(--dark-indigo);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}
.tophamb-line::before{
    top: 10px;
}
.tophamb-line::after{
    top: -10px;
}

.topside-menu {
    display: none;
} /* Hide checkbox */

/* Toggle menu icon */
.topside-menu:checked ~ nav{
    max-height: 100%;
}
.topside-menu:checked ~ .tophamb .tophamb-line {
    background: transparent;
}
.topside-menu:checked ~ .tophamb .tophamb-line::before {
    transform: rotate(-45deg);
    top:0;
}
.topside-menu:checked ~ .tophamb .tophamb-line::after {
    transform: rotate(45deg);
    top:0;
}

/* Sub nav */
.subnav-content {
    background-color:  var(--white);
    width: 100%;
    z-index: 1;
    padding: 20px 0 ;
    display: none;
  }
.subnav-content a {
    color: var(--black);
    text-decoration: none;
    padding: 0;
    margin: 10px 0;
    text-align: center;
}
.subnav:hover .subnav-content {
    display: block;
}

@media (min-width: 767px) {
       /* Sub nav */
    .subnav-content {
        padding: 20px 0 ;
        display: none;
        background-color:  var(--black);
    }
    .subnav-content a {
        color: white;
    }

    .topnav{
        position: relative;
        max-height: 0;
        transition: max-height .5s ease-out;
        width: 400px;
        float: right;
        top: 70px;
        right: -100px;
        border-radius: 0px 0px 20px 20px;
        //box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }
}
@media (max-width: 767px) {
    .topnav{
      left: 0px;
    }
}

/* Responsiveness */
/*@media (min-width: 768px) {*/
/*
@media (min-width: 1400px) {
    .topnav{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;
    }
    .topmenu li{
        float: left;
    }
    .topmenu a:hover{
        background-color: transparent;
        color: var(--gray);

    }

    .tophamb{
        display: none !important;
    }
}
*/
