
/* @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");  */


.header{
    /* background-color: var(--black); */
    background-color: green;
    box-shadow: 1px 1px 5px 0px var(--gray);
    position: sticky;
    top: 0;
    width: 100%;
    border: solid 1px;
}

.mid{
    display: flex;
    border: solid 1px blue; 
    align-items: center;

  
}

/* Logo */
.logo{
    display: inline-block;
    color: var(--white);
    font-size: 20px;
    margin-left: 10px;
    padding: 5px;
    align-items: center;
    text-align: center;
    border: solid 1px;
    vertical-align: text-top;
}


.logoimg{
    display: flex;
    align-items: center;
    color: white;
    font-size: 18px;
    margin-left: 10px;
    padding: 5px;
    border: solid 1px;

}



.menu a{
    display: block;
    padding: 30px;
    color: var(--white);
}
.menu a:hover{
    background-color: var(--gray);
}
.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}

/* Menu Icon */
.hamb{
    cursor: pointer;
    display: block;
    /* flex-grow: inherit; */
    /* float: right; */

    /* padding: 40px 20px; */
}/* Style label tag */

.hamb-line {
    background: var(--white);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;

} /* Style span tag */

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

.side-menu {
    display: none;
} /* Hide checkbox */


/* 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;
}

body:has(.side-menu:checked) {
  overflow: hidden;
}

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


.showmenu{
    display: flex;
}    

/* Responsiveness */
@media (min-width: 768px) {
    /* .nav{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;
    } */
    .menu li{
        float: left;
    }
    .menu a:hover{
        background-color: transparent;
        color: var(--gray);

    }

    .hamb{
        display: none;
    }
}


.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 1s linear infinite; /* Safari */
  animation: spin 1s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
