@font-face {
    font-family: 'Work Sans';
    src: url('fonts/work_sans/worksans-variablefont_wght-webfont.woff2') format('woff2'), url('fonts/work_sans/wworksans-variablefont_wght-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Architects Daughter';
    src: url('fonts/architectsdaughter/architectsdaughter-webfont.woff2') format('woff2'), url('fonts/architectsdaughter/architectsdaughter-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "Work Sans";
    margin: 0;
    color: #033664;
    background-color: #eee;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}
#header {
    transition-duration: 1s;
}

.wrapper {
    flex: 1;
}

h1, h2, h3 {
	font-family: "Architects Daughter";
}
h2 {

    font-size: 30px;
}

.flex {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

ul {

}

@media screen and (min-width: 850px)
/* Desktop */

{
    .flex {
        display: flex;
        justify-content: center;
        flex-direction: row;
    }
}

.flex-colum {
    flex-direction: column;
}
nav>ul {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 7rem;
    transform: translate(-50%);
    position: absolute;
}

@media screen and (max-width: 1439pxpx) {
    nav>ul {
        background-color: rgba(224, 223, 216, 0.78);
    }
}

@media screen and (min-width: 1440px) {
    .nav-background {
        top: 16px;
        background-color: rgba(224, 223, 216, 0.78);
        position: absolute;
        width: 100%;
        height: 81px;
    }
}

@media screen and (min-width: 1440px)
/* Desktop */

{
    .nav {
        flex-direction: row;
		left: 50%;
    }
}

.nav-img {
    width: 100%;
    height: 26em;
    object-fit: cover;
}

@media screen and (min-width: 1440px)
/* Desktop */

{
    .nav-img {
        height: 37em;
    }
}

nav>ul>li {
    padding: 0.8em;
    min-width: 85px;
}

nav>ul>li>a {
    margin: 0.2em;
    text-align: center;
    color: #033664;
    text-decoration: none;
    font-size: 1.2em;
}

.active {
    background-color: #033664;
}

.active>a {
    color: #fff;
}

@media screen and (min-width: 1440px) {
    nav>ul>li {
        margin: 1em;
    }
}

nav>ul>li:hover {
    background-color: #033664;
}

nav>ul>li:hover a {
    color: #fff;
}

.subnav {
    margin-right: 1em;
    margin-left: 1em;
}

@media screen and (min-width: 1440px)
/* Desktop */

{
    .subnav {
        margin-top: -70px;
        margin-right: 150px;
        margin-left: 0;
        float: right;
        width: 20%;
    }
}

.subnav>ul {
    list-style-type: none;
    padding-left: 0;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-right: 44px;
}

.subnav>ul>li {

    padding: 0.4em;
    padding-left: 1em;
    /* width: 50%; */
    background-color: #033664;
}

.subnav>ul>li>a {
    text-align: left;
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
}

.subnav>ul>li:hover {
    color: #fff;
    background-color: #0886f8;
}

.content {
    margin-left: 5%;
    margin-right: 5%;
	min-height: 60rem;
}

@media screen and (min-width: 1440px)
/* Desktop */

{
    .content {
        margin-top: 0rem;
        margin-left: 25%;
        margin-right: 25%;
    }
}

.footer {
    margin-top: 4rem;
    background-color: #3984c8;
}

.footer-spacer {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

@media screen and (min-width: 1440px)
/* Desktop */

{
    .footer-spacer>ul {
        display: block;
    }
}

.footer-spacer>ul>li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.footer-spacer>ul {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    column-gap: 1rem;
}

@media screen and (min-width: 1440px)
/* Desktop */

{
    .footer-spacer>ul {
        flex-direction: row;
    }
}

.footer-spacer>ul>li>a {
    text-align: center;
    color: #fff;
    background-color: #033664;
    padding: 0.6em;
    text-decoration: none;
}

.footer-spacer>ul>li:hover a {
    color: #033664;
    background-color: #fff;
}

.nextArea {
    width: 300px;
    box-shadow: 5px 5px 5px gray;
    border: solid;
    padding: 1em;
    position: absolute;
}

@media screen and (min-width: 1440px)
/* Desktop */

{
    .nextArea {
        margin-left: 100px;
    }
}

.nextPractice {
    top: 36rem;
}

.nextEvent {
    top: 46rem;
}


@media screen and (max-width: 1259px)
/* Desktop */

{
    .moveDown {
        margin-top: 19rem;
    }
	
	.facebook {
		overflow: hidden;
		top: 36rem;
		right: 3.7rem;
		height: 18rem;
	}

}

@media screen and (min-width: 1440px)
/* Desktop */

{
    .nextPractice {
        top: 32rem;
    }
    .nextEvent {
        top: 42rem;
    }
	.facebook {
		top: 54rem;
	}
}

.image-left {
    float: left;
    margin-right: 0.5rem;
}

.image-right {
    float: right;
}

hr {
    border-top: 3px solid #033664;
}

.shop-button, .btn-primary{
	display: inline-block;
	padding: 1rem 15.5rem;
	background-color: #033664;
	color: #fff;
	border: none;
	border-radius: 25px;
	cursor: pointer;
	font-size: 1.3rem;
}
.shop-button:hover, .btn-primary:hover{
	background-color: #0886f8;
}
.btn-primary {
	padding: 0.5rem 2rem;
}


fieldset {
    border: 0;
}

