<!DOCTYPE html>
<html lang="en">
<style>
    body{
        background-color: #36454F;
        color: white;
    }
    .explore{

        color: deeppink;


    }
     a:link{

        color: red;


    }

     .explore:visited{
         color:purple;
     }

     .explore:hover{
         color:plum;
     }

    .fnd{
        color: dodgerblue;

    }
    .shopping{
        color: orangered;

    }
    .activities{
        color: rebeccapurple;

    }
    .services{
        color: darkseagreen;

    }
    .checklistFlexbox{
        flex-direction: row;
        display: inline-flex;
        /*justify-content: space-between;*/
        flex-wrap: wrap;
        text-align: left;
        border: 2px solid white;
        grid-area: checklistFlexbox;


    }
    .landmarkList{
        padding-right: 15px;

        /*border: 2px solid black;*/




    }

    .landmarkProgress{
        text-align: center;
        font-size: larger; /*vw changes with browser size*/
        color: yellow;
    }



  /*block types denote whether a user has unlocked the respective landmark*/

    #block1{
        width:15px;height:15px;background: red;border-radius:50%;padding: 0; margin: 0px;height: 18px; width:18px;
    }
    #block2{
        width:15px;height:15px;background: red;border-radius:50%;padding: 0; margin: 0px;height: 18px;width:18px;
    }
    #block3{
        width:15px;height:15px;background: green;border-radius:50%;padding: 0; margin: 0px;height: 18px;width:18px;
    }
    #block4{
        width:15px;height:15px;background: red;border-radius:50%;padding: 0; margin: 0px;height: 18px;width:18px;
    }
    #block5{
        width:15px;height:15px;background: green;border-radius:50%;padding: 0; margin: 0px;height: 18px;width:18px;
    }

    .landmarkList, .checkList{
        list-style-type: none;
    }
    .townName{
        grid-area: title1;
    }
    .trailHeader{
        grid-area: title2;
    }
    [BadgeStickerProgress]{
        grid-area: BadgeStickerProgress;

           }
    .landmarkTitle{
        grid-area:landmarkTitle
    }
    .container{
        display:grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: auto;
        grid-template-areas:
        "title1 title1"
        "title2 title2"
        "BadgeStickerProgress ."
        "landmarkTitle ."
        "checklistFlexbox .";
    }

    .checkmark .uncollected{ /*taken from https://www.w3schools.com/css/css_tooltip.asp*/
        visibility: hidden;
        width: 120px;
        background-color: red;
        color: whitesmoke;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;

        /*top: -5px;*/
        /*left: 105%;*/
        top: 5px;
        left: 105%




    }
    .checkmark:hover .uncollected{
        visibility: visible;
    }

    .checkmark .collected{ /*taken from https://www.w3schools.com/css/css_tooltip.asp*/
        visibility: hidden;
        width: 120px;
        background-color: green;
        color: whitesmoke;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;

        top: 0px;
        left: 105%;
        /*background-color: whitesmoke;*/
        /*color: green;*/



    }
    .checkmark:hover .collected{
        visibility: visible;
    }
    /*Header and footer*/

    /* Header */
    .headerBar {
        border-bottom: 2px rgb(230, 230, 230) solid;
        margin-bottom: 20px;
        display: flex;
        background: blueviolet;
    }
    /* Navbar Links */
    .navBar {
        margin-top: 50px;
        margin-left: auto;
        margin-right:20px;
        text-align: right;
    }
    .work{
        color: rgb(255, 255, 255);
    }
    .navBar ul {
        list-style: none;
        display: flex;
        margin-left: 100px;
    }
    .navBar a {
        border-left: 2px rgb(185, 185, 185) solid;
        padding: 10px 40px;
        text-decoration: none;
        color:rgb(87, 86, 86);
        white-space: nowrap;
        overflow: hidden;
        float: right;
    }
    .navBar a:hover {
        background-color: rgb(209, 209, 209);
    }
    .navBar li{
        margin-left: 10px;
        margin-right: 10px;
        color: rgb(255, 255, 255);
    }
    .navListLast {
        border-right: 2px rgb(185, 185, 185) solid;
        margin-right:40px;
    }

    /* Navbar Logo */
    .Logo {
        margin-left:10px;
        padding: 20px;
        width: fit-content;
    }
    .Logo img {
        width: 120px;
        margin-left:15px;
    }

    /* Footer */
    footer {
        margin-top:20px;
        display: flex;
        justify-content: center;
    }
    .footerBar{
        border-top: 2px rgb(230, 230, 230) solid;
        text-align: left;
        display: flex;
        background: blueviolet;
        color: rgb(255, 255, 255);
        padding-left: 30px;
    }
    .footerBar ul {
        list-style: none;
        display: flex;
    }
    .copyright{
        text-align: left;
        display: flex;
    }
    .containerFooter{
        display: flex;
        flex-direction: row;
    }
    .leftFooter{
        flex:1;
        color: rgb(255, 255,255);
    }
    .centerFooter{
        flex: 1;
        color: rgb(255, 255,255);
    }
    .rightFooter{
        flex:1;
        color: rgb(255, 255, 255);
    }
</style>

<head>
    <meta charset="UTF-8">
    <title>Caerphilly</title>
</head>
<body>
<header th:insert="~{towns/Templating.html :: header}"></header>

<main>
    <div class="container">
        <h1 class="townName"> Welcome to the town of Caerphilly.</h1>

        <h2 class="trailHeader"> Welcome to the trail of trail-ness!</h2>
        <section name="BadgeStickerProgress"> Sticker Pictures and stuff go here</section>
        <h2 class="landmarkTitle">Caerphilly Landmark Progress:</h2>
    <div class="checklistFlexbox">
        <div><h2 style="padding-left: 3px">Badge Progress:</h2>
            <div class="landmarkProgress"> <b class="landmarkProgress">2/5</b> </div>
            <br>
            <div  class="landmarkProgress">
                <b class="landmarkProgress" >3 to Go!!</b></div></p>
        </div>
            <li class="checkList">
                <ul class="checkmark"><div id="block1"> </div> <span class="uncollected">Uncollected</span></ul>
                <ul class="checkmark"><div id="block2"> </div><span class="uncollected">Uncollected</span></ul>
                <ul class="checkmark"><div id="block3"> </div><span class="collected">Collected</span></ul>
                <ul class="checkmark"><div id="block4"> </div><span class="uncollected">Uncollected</span></ul>
                <ul class="checkmark"><div id="block5"> </div><span class="collected">Collected</span></ul>



            </li>

            <li name="landmarkList"class="landmarkList">
                <ul><span class="shopping">Landmark 1 </span>
                    <span ><a href="../test.html" class="explore">- Explore!</a></span></ul>
                <hr style="height:0px; visibility:hidden;" />
                <ul><span class="services">Landmark 2 </span>
                    <span class="explore">- Explore!</span></ul> <hr style="height:0px; visibility:hidden;" />
                <ul><span class="activities">Landmark 3 </span>
                    <span class="explore">- Explore!</span></ul> <hr style="height:0px; visibility:hidden;" />
                <ul><span class="shopping">Landmark 4 </span>
                    <span class="explore">- Explore!</span></ul> <hr style="height:0px; visibility:hidden;" />
                <ul><span class="fnd">Landmark 5 </span>
                    <span class="explore">- Explore!</span></ul>
            </li>
        </div>


    </div>
</main>
<footer th:insert="~{towns/Templating.html :: footer}"></footer>
</body>

</html>