* {
    box-sizing: border-box;
}

body {
	font-family: sans-serif ;
    background-color: #eee;
	color: #000;
    margin: auto auto;
    max-width: 70em;
    margin-top: 80px;
}

.content {
    padding: 0 8px 0 8px;
}

.logo {
    width: 250px;
    float: left;
    padding: 10px;
}

nav {
    text-align: center;
    justify-content: space-evenly;
    display: flex;
    width: 100%;
}

.nav-wrapper {
    padding: 10px;
	background: #FFF;
    align-items: center;
    display: flex;
    border: 1px solid black;
    border-top: none;
    border-radius: 0 0 5px 5px;
    position: fixed;
    top: 0px;
    width: 70em;
    z-index: 1;
}

a.nav-active {
    font-weight: 700;
}

a.nav-link:hover {
    text-decoration: underline;
}

a {
    color: black;
    text-decoration: none;
}

a:not(.nav-link) {
    text-decoration: underline;
}

.splash {
    backdrop-filter: brightness(80%);
    height: 500px;
    color: white;
}

.background {
    width: 100%;
    background-image: url("images/st-michaels-mount.webp");
    height: 500px;
    background-size: cover;
    text-align: center;
    margin-top: -10px;
}

.splash .title {
    padding-top: 180px;
    margin-bottom: 20px;
}

.description {
    margin-top: 70px;
}

.footer {
    text-align: center;
}

.ct-badge {
    width: 30% !important;
    margin: auto
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    max-width: 160px;
    float: none;
    text-align: left;
    padding: 5px;
    line-height: 30px;
    width: 150px;
}

.dropdown:hover .dropdown-content {
    display: block;
    background: white;
    border: 1px solid black;
}

a:hover > .nav-link-container {
    background: #deddda;
}

.image {
    float: right;
    width: 30%;
}

img:not(.logo) {
    width: 100%;
    border: 1px solid black;
    margin: 10px;
}

.image-no-border {
    float: right;
    width: 30%;
}

.image-no-border img {
    border: 0 !important;
}

.two-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
}

.two-grid div img {
    margin: 0 !important;
}

/* mobile */ 
@media only screen and (max-width: 700px) {
    body {
        margin-top: 100px;
    }

    .nav-wrapper {
        max-width: 100%;
    }

    .nav-wrapper {
        display: block;
    }

    a:has(.logo) {
        display: inherit;
        text-align: center;
    }


    .logo {
        float: none;
    }

    .background {
        background-position: center;
    }

    .dropdown:active .dropdown-content {
        display: block;
        background: white;
        border: 1px solid black;
    }

    .two-grid {
        display: inline-block;
    }

}
