body{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Puritan', sans-serif;
    font-size: 16px;
}
.container{
    width: 90%;
    max-width: 1200px;
    margin: 10px auto;
    position: relative;
}

#header{
    background-image: url("images/North-Devon-NL-Broadstrand-pan-c-Neville-Stanikk.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    padding-top: 200px;
    background-blend-mode: multiply;
}

#header h1{
    text-shadow:2px 2px 44px rgba(0, 0, 0, 1);
}

h1, h2, h3{
    font-family: "Arvo", serif;
}

h1{
    font-size:2rem;
}
h2{
    font-size:1.5rem;
    background-color: #486e31;
    padding: 10px 40px;
    margin-left: -40px;
    display: inline-block;
    color: white;
    border-left:5px solid white;
}
h3{
    font-size:1rem;
    border-top:1px dashed black;
    padding-top: 8px;
}

section{
    padding: 10px 0;
}

#rule{
    padding: 5px;
    position: relative;
}

#rule div img{
    position: absolute;
    top: 0;
    left: 0;
}

#header-wash{
    padding: 200px 0 20px 0;
    background-color: rgba(255,255,255,0.2);
}



sticker{
    background-color: #111;
    color: white;
    padding: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Arvo', serif;
}

.cta{
    padding: 8px 20px;
    color: white;
    background-color: #111;
    font-weight: bold;
    display: inline-block;
    border: 2px solid white;
    font-size: 1.5rem;
    font-family: 'Arvo', sans-serif;
    text-decoration: none;
}

.green{
    background-color: #486e31;
    color: white;
}
.blue{
    background-color: #7090a7;
    color: white;
}
.blue li{
    background-color: white;
    color: black;
    border: 0;
}
.black{
    background-color: #111111;
    color: white;
}


p{
    margin-right: 30%;
    line-height: 130%;
    font-size: 1.2rem;
}

ul{
    padding: 0;
}

li{
    display: inline-block;
    padding: 10px;
    border: 1px solid black;
    margin: 5px;
    border-radius:8px;
}

nav{
    display: block;
    clear: both;
    text-align: right;
}

nav a{
    padding: 10px;
    display: inline-block;
    border: 2px solid #486e31;
    font-weight: bold;
    border-radius: 8px;
    background-color: white;
    color: #486e31;
    font-family: 'Arvo', sans-serif;
    text-decoration: none;
}

nav a:hover{
    border-color: black;
    color: black;
    text-decoration: underline;
}

.popoutbox{
    border: 1px solid white;
    padding: 20px;
    display: inline-block;
}

.popoutbox p{
    width: 80%;
}

#gallery{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

#gallery a{
    height: 80px;
    padding: 10px;
    background-color: white;
    border-radius: 10px;
}
#gallery a img{
    height: 80px;
    width: auto;
}

.tab{
    background-color: #486e31;
    position: absolute;
    width: 200px;
    height: 120px;
    top:0;
    left:0;
    padding: 20px;
    vertical-align: middle;
    text-align: center;
}


footer p{
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
        width: auto;
        margin: 0;
    }

    p {
        margin-right: 10%;
    }

    #header {
        padding-top: 120px;
    }

    li {
        padding: 8px;
        margin: 3px;
    }

    #gallery a {
        height: 60px;
        padding: 8px;
    }

    .popoutbox {
        padding: 15px;
    }

    h2 {
        padding: 8px 30px;
        margin-left: -30px;
    }

    nav a{
        display: block;
        border-radius: 0;
    }

    #rule div img{
        position: relative;
        max-width: 150px;
    }
    .tab{
        width: 100%;
        height: auto;
        padding: 0;
        position: relative;
        display: block;
    } 

    h1{
        font-size: 1.25rem;
    }
    h1 span{
        font-size: 1.5rem !important;
    }
    h2{
        font-size: 1rem;
    }
    .cta{
        font-size: 1rem;
    }

    .h{
        display: none;
    }
    .full{
        display: block;
        text-align: center;
    }
    .green{
        border-bottom:1px solid white;
    }

    #header-wash{
        padding: 20px 0 20px 0;
    }

    sticker{
        font-size: 1rem;
        margin-bottom: 10px;
        display: inline-block;
    }

}

