*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    font-family: sans-serif;
}

body {
    margin: 0;
    background-color: lightsteelblue;
}

@media (width > 1200px) {
    .dropdown {
	display: none;
    }
}

@media (width < 550px) {
    /* #header-holder { */
    /* 	align-items: center; */
    /* 	margin-left: -2em; */
    /* } */

    header  {
	flex-direction: column;
	margin: 0;
	padding: 0;
	align-self: center;

	li:nth-child(1) {
	    display: block !important;
	}

	nav {
	    display: flex;
	    flex-direction: row-reverse;
	}
    }

    .dropdown-contents {
	overflow: hidden;
    }

    .dropdown-content {
	a:nth-child(1) {
	    display: none !important;  
	}
    }
}

/* #header-holder { */
/*     padding: 0 2em; */
/*     background-color: black; */
/*     display: flex; */
/*     width: 100%; */
/*     align-items: center; */
/* } */

header {
    display: flex;
    align-items: center;

    font-weight: bold;
    background-color: black;
    color: white;
    text-wrap: nowrap;

    > p > a {
	color: white;
	font-size: 20pt;
	text-decoration: none;
    }

    nav {
	display: flex;
	align-items: center;
	font-size: 14pt;

	ul {
	    width: 100%;
	    display: flex;
	    list-style: none;
	}

	li {
	    margin: .5em 1em;

	    a {
		color: white;
		text-decoration: none;
		padding: 0 .5em;
		border-bottom: solid 1px white;
		padding-bottom: 2pt;
	    }
	}

	a:hover {
	    color: black;
	    background-color: white;
	    border: solid 2px grey;
	}
    }
}

#titlecard {
    padding: 0;
    margin: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;

    background: #00000020 url("res/field.webp") no-repeat;
    background-blend-mode: darken;
    background-position: center;
    background-size: cover;

    p {
	color: white;
	font-weight: bold;
	font-size: 50pt;
	width: fit-content;
	/* text-wrap: nowrap; */
    }
}

.top-portion {
    padding: 0;
    margin: 0;
    height: 50vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right 35% bottom 45%;
}

.bottom-portion {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 85%;
    max-width: 2480px;

    font-size: 18pt;

    > h1 {
	margin-top: 2em;
    }

    p:last-of-type {
	padding-bottom: 6em;
    }

    ul {
	list-style: none;
    }

    li {
	margin-bottom: 1em;
    }

    #insta-link::before {
	content: url("res/insta-icon.png") / "Instagram";
	position: relative;
	top: 7px;
	right: .5em;
    }
}

.dropdown {
}

.dropbtn {
    border: none;
    background-color: black;
    color: white;
    font-size: 14pt;
    font-weight: bold;
    cursor: pointer;
    border-bottom: solid 1px;

    margin: 5px 0 0 .5em;
    padding: 0 .5em 2pt .5em;

    &:after {
	content: "";
	border: solid white;
	border-width: 0 3px 3px 0;
	display: inline-block;
	padding: 3px;
	transform: rotate(45deg);
	margin: 0 0 2px 40px;
    }

    &:hover:after {
	border-color: black;
    }
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,5);
    margin-left: 9px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: black;
    color: white;
}

/* Show the dropdown content on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change background color of dropdown button on hover */
.dropdown:hover .dropbtn {
    background-color: white;
    color: black;
}

.dropbtn:has(+ .dropdown-content:hover):after {
    border-color: black;
}

.dropdown-content > a {
    display: none;
}
