@font-face {
    font-family: Play;
    src: url('/public/lib/font/play/Play-Regular.ttf') format('truetype');
}

.nav-container{
    position: fixed;
    top: 0;
    left:0;
    right:0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--pine-green);
    z-index: 12;
    transition: background-image 0.5s ease, opacity 0.5s ease;
    padding-left: 25px;
    padding-right: 25px;
    height: 60px;
    background-image: url('/public/img/noise.png');
}

.logo{
}

.logo img{
    width: 100px;
    opacity: 90%;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.logo img:hover{
    opacity: 100%;
}

.nav{
    display: flex;
    list-style: none;
    transition: background-color 0.5s ease, opacity 0.5s ease;
}

.nav a{
    color: var(--white);
    text-transform: capitalize;
    font-family: Play, sans-serif;
    font-size: 20px;
    font-weight: normal;
    text-decoration: none;
    transition: opacity 0.5s ease;
    opacity: 90%;
    letter-spacing: 1px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.nav a:hover{
    opacity: 100%;
    transition: opacity 0.5s ease;
}

.nav ul {
    margin: 0 -10px;
}

.nav li {
    margin: 0 10px;
}

.nav li::after {
    
}

.nav li:last-child::before {
    
}

.nav-triangle {
    position: absolute;
    top: 60px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 100vw solid transparent;
    border-top: 175px solid var(--pine-green); 
    background-image: url('/public/img/noise.png');
    z-index: 0;
}

.nav-triangle-2 {
    border-top: 100px solid var(--pine-green); 
}

.nav-filler {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 60px;
    background-color: var(--pine-green);
    background-image: url('/public/img/noise.png');
    z-index: 1; 
}

.nav-scrolled{
    opacity: 0.95;
    transition: background-image 0.5s ease, opacity 0.5s ease;
}

.nav-scrolled a{
    transition: color 0.5s ease, text-shadow 0.5s ease;
}

.navdropdown {
    list-style: none;
}

.navdropdown:hover .dropdown-content {
    display: block;
}

.navdropdown.open .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    z-index: 1;
    list-style: none;
    padding: 0;
    background-color: transparent;
    border: none;
}

.dropdown-content li a {
    padding: 12px 16px;
    opacity: 90%;
    text-decoration: none;
    display: block;
    background-color: var(--pine-green);
    text-align: left;
}

.dropdown-content li a:hover {
    opacity: 100%;
}

.navBtn {
    padding: 6px 15px;
    margin: 8px 4px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.335); 
    color: rgb(167, 224, 232);
    text-shadow: 1px 1px 1px rgb(194, 203, 226);
    border-radius: 10px;
}

.navBtn:hover {
    cursor: pointer;
}

.navTxt {
    border-radius: 10px;
}

.imgnav{
    top: 0;
}

.imgnav > ul{
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1;
    list-style-type: none;
    padding: 0;
}

.imgnav > ul li{
    display: block;
    font-size: x-large;

}

.imgnav > ul li a{
    padding: 3px 16px;
    /* border: lightgrey 1px dashed; */
    color: black;
    width: 100%;
    opacity: 70%;
    overflow: hidden;
    text-decoration: none;
}

.imgnav > ul li a img{
    height: 50px;
    box-shadow: none;
}

.imgnav > ul li a:hover{
    opacity: 100%;
}

.imgnav > ul li a img:hover{
    animation: imgnavhover 2s infinite;
}

.searchbtn a{
    padding-left: 0.5em;
}

.searchbtn:hover{
    cursor: pointer;
}

.menubtn{
    left: 0;
    top: 0;
    z-index: 2;
    list-style-type: none;
    padding: 1%;
    display: none;
    opacity: 70%;
}

#navbtn{
    display: none;
    cursor: pointer;
    opacity: 30%;
    align-items: right;
    justify-content: right;
    text-align: right;
    flex-grow: 1;
    min-height: 52px;
}

#navbtn a img{
    width: 10%;
    height: auto;
    min-width: 30px;
}

.menubtn > ul li a:hover{
    opacity: 100%;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#right{
    width: 20%;
}

.darkoverlay{
    z-index: 7;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 100%;
    background-image: linear-gradient(rgba(63, 63, 63, 0.719), rgb(0, 0, 0, 1));
    text-align: center;
    color: rgb(97, 182, 180);
    text-transform: capitalize ;
    letter-spacing: .1rem;
    padding-top: 15%;
}

.darkoverlay button {
    font-size: larger;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    transform: translateY(60%);
}

.overlay-buttons {
    margin-top: 20px;
}

.pagehead {
    padding-top: 100px;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 10px;
    color: var(--white);
    background-color: var(--pine-green);
    background-image: url('/public/img/noise.png');

}

.pagehead .ph-container {
    display: flex;
    justify-content: space-between;
    min-height: 100px;
    align-items: center;
    flex-wrap: wrap;
}

.pagehead .ph-desc {
    padding: .1em;
    color: var(--white);
    text-shadow: 0px -2px 4px black;
    opacity: 70%;
    letter-spacing: .1rem;
    font-family: Play, sans-serif;
    text-align: center;
    margin-bottom: 20px;
}

.pagehead h2{
    padding: .1em;
    text-shadow: 0px -2px 4px var(--dark-green);
    letter-spacing: .3rem;
    text-decoration: none;
    font-family: Play, sans-serif;
    font-weight: bold;
    font-size: 70px;
    text-transform: capitalize ;
}

.pagehead hr {
    display: block;
    width: 100%;
    height: 1px;
    background-color: rgb(167, 224, 232);
    border: none;
    margin-top: 10px;
    margin-bottom: 20px;
}

.subheads {
    display: flex;
    gap: 20px;
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: center;
}

.subheads a{
    padding-left: 1em;
    padding-right: 1em;
    text-shadow: 0px -2px 4px black;
    opacity: 90%;
    letter-spacing: .1rem;
    text-decoration: none;
    font-family: Play, sans-serif;
    font-weight: bold;
    font-size:larger;
    text-transform: capitalize ;
    transition: color 0.5s ease, text-shadow 0.5s ease;
    color: var(--white);
}

.subheads a:hover{
    opacity: 100%;
    text-shadow: none;
    transition: opacity 0.5s ease, text-shadow 0.5s ease;
}

@media all and (max-width: 1000px) {

    .nav-container{
        flex-direction: column;
        justify-content: space-between;
    }
    .pagehead {
        padding-top: 50px;
    }
    
}

@media all and (max-width: 1000px) {

    .nav-container{
        flex-direction: column;
        justify-content: space-between;
    }
    .logo{
        margin: .25em 0;
        align-self: left;
        position: absolute;
        top: 0;
        left: 0;
        padding-left: 25px; 
        padding-top: 14px; 
    }
    .nav {
        width: 100%;
        background-color: var(--pine-green);
        background-image: url('/public/img/noise.png');
    }
    .nav a{
        justify-content: center;
        text-align: center;
        padding: 10px 20px;
        font-size: 30px;
        display: flex;
        align-items: center;
        letter-spacing: 0.06em;
    }
    .nav li:last-of-type a{
        border-bottom: none;
        margin-bottom: 5px;
    }

    #right{
        width: 100%;
        padding: 0;
    }
    #left{
        width: 100%;
        padding: 0;
    }

    #navbtn{
        display: flex;
        position: absolute;
        top: 0;
        right: 0;
        opacity: 30%;
        padding-right: 25px; 
        padding-top: 14px;
        max-width: 50px;
    }

    .navdropdown:hover .dropdown-content {
        display: none;
    }

    .navdropdown.open .dropdown-content {
        display: block;
    }

    .nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        margin-top: 60px;
    }
}


@keyframes imgnavhover {  
    0% {
        left: 7%;
    }
    50% {
        transform: translate(5%, 1%);
    }
    100% {
        left: 7%;
    }
}

@media all and (max-width: 600px) {
    .pagehead h2 {
        width: 100%;
        text-align: center;
        font-size: 40px;
        padding-bottom: .3em;
    }
}