
body{
    font-family: PopReg;
}

header{
    position: sticky;
    top: 0;
    background-color: #fff;
    box-shadow:1px 1px 8px #595959;
    z-index: 10;
}

header #logo{
    max-width: 250px;
    margin: 0.5em 1em;
}
/*FONTS*/
    @font-face {
        font-family: PopReg;
        src: url("../fonts/Poppins-Regular.ttf") format("truetype");
    }
    @font-face {
        font-family: PopMed;
        src: url("../fonts/Poppins-Medium.ttf") format("truetype");
    }
    @font-face {
        font-family: PopBold;
        src: url("../fonts/Poppins-Bold.ttf") format("truetype");
    }
    @font-face {
        font-family: PopSB;
        src: url("../fonts/Poppins-SemiBold.ttf") format("truetype");
    }

/*NAVBAR*/
nav{
    margin-top: 0.5em;
    float: right;
    vertical-align: middle;
    /* border: 3px solid red; */
}

#navbar_back{
    max-height: 130px;
    background-image: url("../images/navBarBackgrnd.png");
    background-size: cover;
}

.menu{
    display: block;
    list-style: none;
    margin-left: 0;
    padding: 0.5em 2em;
    z-index: 10;
}

nav ul li{
    font-family:rubik, sans-serif;
    margin: 0.3em 1em 0 1em;
    display: inline-block;
    font-weight: 700;
    font-size: 1.2em;
}

nav li a{
    color: #fff;
    margin: 0.2em;
    padding: 0.3em;
    /* border: 1px solid #000; */
    text-decoration: none;
    text-shadow: 0 0 5px #280606;
}

.listarrow{
    width: 16px;
    vertical-align: top;
    margin-top: 4px;
    -webkit-filter: drop-shadow(0 0 6px #280606);
    filter: drop-shadow(0 0 6px #280606);
}

.currentPage{
    opacity: 0.5;
    filter: drop-shadow(0 0 5px #7d4700);
}

/*Button for responsive menu, it is hidden until 800px media query*/
#btnHamburger, .hamburgerImg{
    display: none;
}

nav li a:hover{
    border-bottom: 3px solid #fff;
    opacity: 0.6;
}

nav li a:active{
    opacity: 0.2;
}

/*DROPDOWN LIST*/
    .dropdown{
        cursor: pointer;
    }
    
    .dropdown-content{
        display: none;
        position: absolute;
        top: 4.4em;
        margin-top: 20px;
        padding: 0.2em;
        font-size: 0.8em;
        margin: 0 auto;
        color: #595959;
        /* border-left: 1px solid #e25252; */
        background-color: #fff;
        text-shadow: none;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 15;
    }

    .dropdown-content a {
        text-align: left;
        color: #595959;
        display: block;
        text-align: left;
        background-color: #fff;
        text-shadow: none
    }

    .dropdown-content a:hover{
        opacity: 1;
        color: #e25252;
    }
    
    .dropdown:hover .dropdown-content {
        display: block;
        /* background-color: #e25252; */
    }
            

/*BANNERS*/

    #slider img, .banner img{
         width: 100%;
    }

    .banner{
        filter: grayscale(1);
        -webkit-filter: grayscale(1);
    }

    .banner:hover{
        filter: none;
        -webkit-filter: none;
    }


/*BODY & MAIN - Titles, headings, paragraphs*/
    main{
        margin: 2em 12em;
    }
    /*This class solves the sticky header from blocking anchored content*/
    .anchor {
        scroll-margin-top: 6rem;
    }
    .sectionheader{
        background-image: linear-gradient(90deg,#e25252, rgb(241, 106, 72),#e25252) ;
        padding: 0px 0.8em;
        color: #fff;
        height: fit-content;
    }

    .sectionheader img{
        float: right;
        margin: -6px;
        padding: 0;
        display: inline;
        height: 3.1em;
    }

    h1{
        font-family: rubik, sans-serif;
        display: inline;
    }

    h2{
        font-family: rubikRegular, sans-serif;
        font-size: 1.8em;
        margin: 0.4em 0 0 0;
        text-shadow:2px 2px 5px #c5c5c5;
    }

    .col1{
        min-width: 250px;
        padding-left: 50px;
        margin-bottom: 30px;
    }

    .rows{
        max-width: 1080px;
        margin: auto;
        padding-right: 25px;
    }

    .col1 img{
        width: 200px;
        padding: 1.2em;
    }

    .categories{
        margin: 10px 0;
        color: #e25252;
        /* max-width: 950px; */
    }

    .categories p, .categories ul{
        color:#444444;
    }
    
/*EXTERNAL LINKS*/
    main a, section a{  
        display: block;
        background-color: #e25252;
        width: fit-content;
        color: #ffffff;
        border: 2px solid transparent;
        font-family: PopBold;
        border-color: white;
        border-radius: 20px;
        padding: 5px 30px;
        margin: 20px 0 25px 15px;
        border-width: 3px;
        text-decoration: none;
    }

    main a:hover, section a:hover{  
    background-color: white;
    border-color: #e25252;
    border-width: 3px;
    color: #e25252;
    }

/*ABOUT*/
    #about{
        margin: auto;
        color: rgb(45, 45, 45);
        border-left: 1px solid #e25252;
        border-radius: 3px;
    }

    #about p, #services p{
        padding: 0 1.3em;
    }

    #about p::first-letter{
        font-size: 1.4em;
    }

    #about span{
        font-weight: bold;
        font-style: italic;
        font-size: 1.2em;
        color: #595959;
    }

    .team img{
        padding: 1.2em;
        width: 300px;
    }

/*SERVICES*/
    #services{
        margin: auto;
        color: rgb(45, 45, 45);
        border-left: 1px solid #e25252;
        border-radius: 3px;  
    }

    #services hr{
        margin: 5px 0;
        height: 3px;
        color: #e25252;
    }

/*RECREATION*/
ul.recreation {
    display: grid;
    grid-template-columns: repeat(3,1fr);
} 

ul.recreation li{
    display: grid;
    line-height: 20px;
}

ul.recreation li a {
    margin-top: 2em;
    margin-left: 1.3em;
    padding: 0;
    text-decoration: none;
    font-family: PopReg;
    color: rgb(88, 88, 88);
    background-color: #fff;
    border-radius: 4px;
    border: none;
    box-shadow: none;
}

ul.recreation1 li a {
    margin-top: 2em;
    margin-left: 1.3em;
    padding: 0;
    text-decoration: none;
    font-family: PopReg;
    color: rgb(88, 88, 88);
    background-color: #fff;
    border-radius: 4px;
    border: none;
    box-shadow: none;
}

ul.recreation li a:hover {
    margin-top: 2em;
    margin-left: 1.3em;
    padding: 0;
    text-decoration: none;
    font-family: PopReg;
    color:#e25252;
}   

ul.recreation1 li a:hover {
    margin-top: 2em;
    margin-left: 1.3em;
    padding: 0;
    text-decoration: none;
    font-family: PopReg;
    color:#e25252;
}
/*SIMCARD*/
.mobileproviders{
    margin-left: 25px;
}
.mobileproviders h3{
    color:#444444;
}

/*FOOTER*/
.footer{
    font-size: 14px;
    padding:30px 0;
    background-color:#e25252;
    color: pink;
  }
  a{
    text-decoration: none;
  }
  .footer a{
    color: papayawhip;
  }
  .footer p{
    color: papayawhip;
  }
  .footer h3{
    color: pink;
  }
  .footer ul{
    padding-left:10px;
  }
  .sociallinks{
    margin-top: 10px;
  }
  .footer hr{
    border: none;
    background: papayawhip;
    height: 2px;
    margin: 20px 0;
  }
  .copyright{
    text-align: center;
  }
  .footercontainer{
    max-width: 1300px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
  }
  .footerrow{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
  }

    
/*RESPONSIVENESS*/
/*950px*/
@media only screen and (max-width: 950px) {
    
        #logo{
            width: 14em;
        }
    
        #navbar_back{ 
            margin-right: -2.9em;
            background-image: url("../images/navBarBackgrnd.png");
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }
    
        .menu{
            display: block;
            padding-bottom: 0px;
            margin-bottom: 0;
            margin-top: 17px;
        }

        .banner{
            margin-top: -1px;
        }
        
        nav ul li{
            /* margin: 0.6em 1.1em 0.2em 0.4em; */
            margin: 0.25em 1em 0.5em 0;
        }
    
        nav li a{
            color: #fff;
            margin: 0.2em ;
            padding: 0.3em;
        }
    
        .dropdown-content a {
            padding: 0.3em;
        }
    
        .background{
            position: absolute;
        }
    
        main{
            margin: 2em 6em;
        }
    
        .team img{
            width: 200px;
        }
    
        .col1 img{
            width: 180px;
        }

}
/*800px*/
@media only screen and (max-width: 800px) {

    header{
        position: static;
        box-shadow:none;
    }

    #logo{
        width: 13em;
    }

    nav{
        margin-top: 0px;
        width: 100%;
        /* z-index: 1; */
    }

    #navbar_back{
        max-height: none;
        margin: 0;
        background-image: none;
        background-repeat:no-repeat
    }

   #btnHamburger{
        float: right;
        margin-top: -55px;
        display: block;
        background-color: #fff;
        border: none;
        cursor: pointer;
    }
    
    .hamburgerImg{
        display: block;
        max-width: 4em;
        margin-right: 1em;
        margin-bottom: 1.5em;
    }

    .menu{
        display: none;
        margin: 0;
        clear: right;
        padding: 0;
        text-align: center;
        flex-direction: column;
        }

    nav ul li {
        color: #fff;
        margin: 0;
        padding: 0;
        width: 100%;
        display: inline-block;
        border: 1px solid #ffffff;
        text-decoration: none;
        text-shadow: 0 0 5px #280606;
        z-index: 2;
        background-color: #e25252;
    }

    nav ul li a{
        display: block;
        margin: 0;
        padding: 0.4em 0;
    }

    nav ul li a:hover {
        background-color: #fff;
        border: none;
        text-decoration: none;
        color: #e25252;
        text-shadow: none;
    }

    .dropdown-content{
        display: none;
        width: 100%;
        position: relative;
        top: 5px;
        text-align: center;
        z-index: 3;
        padding: 0.2em;
        font-size: 0.8em;
        margin: 0 auto;
        color: #595959;
        background-color: #fff;
        text-shadow: none;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    }

    .dropdown-content a {
        text-align: center;
        color: #595959;
        display: block;
        background-color: #ffb9b9;
        padding: 0.4em 0;
        text-shadow: none
      }
    
    .hamburgerImg:hover  {
        opacity: 0.5;
    }

    main{
        margin: 2em 2em ;
    }

    .categories{
        margin: 0;
    }

    .col1{
        padding-left: 20px;
    }

    .rows{
        padding-right: 0;
    }

    h1{
        font-size: 1.8em;
    }

    h2{
        font-size: 1.5em;
    }

    .sectionheader img{
        height: 2.8em;
    }

    .team img{
        width: 160px;
    }

    .col1 img{
        width: 120px;
    }

    .foot p{
        font-size: 1em;
    }

    .footer-col-2, .footer-col-3{
        padding: 0 10px;
    }

    ul.recreation {
        margin-left: -30px;
        display: grid;
        grid-template-columns: repeat(2,1fr);
        
    } 
}
/*FORM ELEMENT FOR PART-TIME JOBS*/
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999; /* Ensure the popup is on top of other elements */
  }
  
  .popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    max-width: 400px; /* Limit the width of the popup */
    width: 90%; /* Use a percentage width for responsiveness */
  }
  
  .close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
  }
  
  /* Additional styles for the form elements*/
  form {
    margin-top: 20px;
  }
  
  label {
    display: block;
    margin-bottom: 8px;
  }
  
  input {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  input[type="submit"] {
    background-color: #e25252;
    color: #fff;
    cursor: pointer;
  }
  