:root {
  --black: hsl(0, 0%, 0%);
  --darkest: hsl(0, 0%, 15%);
  --darker: hsl(0, 0%, 35%);
  --medium: hsl(0, 0%, 50%);
  --lighter: hsl(0, 0%, 75%);
  --lightest: hsl(0, 0%, 95%);
  --primary: hsl(0, 0%, 50%);
  --white: hsl(0, 0%, 100%);
  /* --red: hsl(0, 35%, 50%); */
  /* --yellow: hsl(60, 65%, 50%); */
  /* --green: hsl(120, 35%, 50%); */
  --red: hsl(0, 25%, 60%);
  --yellow: hsl(60, 45%, 85%);
  --green: hsl(120, 20%, 80%);
  --blue: hsl(240, 10%, 45%);
  --link: hsl(20, 100%, 40%);
  --error: hsl(0, 100%, 40%);
  --body_background: hsl(0, 0%, 100%);
}

/* Tag based rules */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* font-family: Times New Roman, Baskerville, Palatino; */
  font-family: Garamond, Serif;
  /* font-family: Serif; */
  /* font-size: 62.5%; */
}

body {
  font-size: 18px;
  height: 100vh;
  line-height: 30px;
  margin: 0 auto;
  /* max-width: 1000px; */
  background-color: var(--body_background);
}

h1 {
  font-size: 24px;
  font-weight: 100;
}

h2 {
  font-size: 24px;
  font-weight: 100;
}

pre {
  font-family: inherit;
}

a {
  /* display: block; */
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--black);
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

::placeholder {
  color: var(--medium);
}

/* Global settings */

.alert {
  font-size: 18px;
  position: relative;
  text-align: center;
  width: 100%;
  padding: 5px 0;
  line-height: 40px;
  border: 1px solid var(--black);
}

.alert-success {
  background-color: var(--green);
}

.alert-error {
  background-color: var(--red);
}

.alert-warning {
  background-color: var(--yellow);
}

/* The Close Button */
.close-modal {
  color: var(--textColor);
  position: absolute;
  right: 10px;
  /* float: right; */
  font-size: 36px;
  font-weight: bold;
}

.close-modal:hover,
.close-modal:focus {
  color: var(--black);
  text-decoration: none;
  cursor: pointer;
}

.justify-center {
  text-align: center;
}

.justify-left {
  text-align: left;
}

.justify-right {
  text-align: right;
}

.grid-body {
  display: grid;
  grid-template-rows: 1fr auto;
  /* grid-template-rows: auto 1fr auto; */
}

.container-narrow {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 0;
}

.owl50 > * + * {
  margin-top: 50px;
}

.owl20 > * + * {
  margin-top: 20px;
}

.header .logo {
  height: 150px;
  text-align: center;
  background-image: url("/images/logo.jpg"); 
  background-repeat: no-repeat;
  background-position: 50% 60%;
  background-size: 100%;
}

.header h1 {
  font-family: "Brush Script MT", cursive;
  font-size: 36px;
  padding: 10px 0 10px 0;
  color: var(--white);
  background-color: var(--black);
}

.breadcrumbs {
  display: flex;
  justify-content: space-between;
  text-align: left;
  font-size: 16px;
  padding: 0 25px;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  background-color: var(--lightest);
}

.breadcrumbs p,
.breadcrumbs a {
  display: inline;
  padding: 0 20px 0 0;
}

.breadcrumbs a:last-child {
  padding: 0;
}

.title {
    font-size: 20px;
}

.pre {
  white-space: pre-wrap;
  line-height: 24px;
}

.form {
  font-size: 24px;
}

.form * {
  width: 100%;
}

.form-select {
  font-family: inherit;
  font-size: 24px;
  height: 50px;
  padding: 10px;
  background: inherit;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}

.form-input {
  font-family: inherit;
  font-size: inherit;
  width: 100%;
  border: 1px solid hsl(0, 0%, 75%);
  padding: 10px;
  outline: none;
  background-color: hsl(0, 0%, 97%);
}

.form-input:focus {
  border: 1px solid black;
  background-color: hsl(0, 0%, 100%);
}

.invalid-input {
  height: 25px;
}

.checkbox_container {
  cursor: pointer;
  display: block;
  position: relative;
  padding: 5px 0 0 30px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* hide the default checkbox */
.checkbox {
  position: absolute;
  opacity: 0;
  /* top: 0; */
  /* left: 0; */
}

/* custom checkbox */
.checkmark {
  position: absolute;
  top: 10px;
  left: 0;
  height: 20px;
  width: 20px;
  border: 1px solid black;
  background-color: white;
}

/* change background color on hover */
.checkbox_container:hover input + .checkmark {
  background-color: white;
}

/* the checkmark, hidden when not checked */
.checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

/* show the checkmark when checked */
.checkbox_container input:checked + .checkmark::after {
  display: block;
}

/* style the checkmark */
.checkbox_container .checkmark::after {
  left: 5px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid black;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.button {
  line-height: normal;
  display: inline-block;
  color: var(--black);
  font-family: inherit;
  font-size: inherit;
  padding: 10px;
  border: 1px solid hsl(0, 0%, 50%);
  background-color: var(--lightest);
  transition: all 0.25s;
}

.button:focus {
  outline: none;
}

.button-wide {
  width: 100%;
}

.button-small {
  display: inline-block;
  color: black;
  font-family: inherit;
  font-size: 16px;
  padding: 5px 0;
  margin: 30px 20px 0 20px;
  width: 45%;
  max-width: 100px;
}

.button-green {
  background-color: var(--green);
}

.button-yellow {
  background-color: var(--yellow);
}

.button-red {
  background-color: var(--red);
  color: var(--black);
}

.button:hover {
  filter: brightness(105%);
  border: 1px solid black;
}

.text-medium {
  font-size: 20px;
}

.text-small {
  font-size: 20px;
}

.text-red {
  color: var(--error);
}

.list-link {
  display: block;
}

.outline {
  border: 1px solid black;
  padding: 10px;
}

.announcements {
  padding: 20px 20px 0 20px;
  /* border: 1px solid var(--black); */
  /* background-color: var(--lightest); */
}

.announcement {
  padding: 20px 0 0 0;
  line-height: 30px;
  text-align: left;
  list-style-position: outside;
}

.announcement li {
  margin: 0 0 10px 0;
}

.announcement li::marker {
    font-size: 20px;
}

.footer {
  font-size: 24px;
  color: var(--lighter);
  background-color: var(--darkest);
  padding: 50px 10px;
}

.footer a:hover {
  color: var(--lighter);
}

@media only screen and (min-width: 650px) {
    .container-narrow {
        width: 80%;
    }
    
    .header .logo {
        height: 300px;
    }
    
    body,
    .alert,
    .title,
    .text-medium {
        font-size: 28px;
    }

    h1 {
        font-size: 48px;
    }

		.header h1 {
			font-size: 64px;
			padding: 30px 0;
		}

    .breadcrumbs {
        font-size: 22px;
        padding: 0 55px;
    }

    .announcement li::marker {
        font-size: 30px;
    }

    .pre {
	line-height: 40px;
    }

}

@media only screen and (min-width: 800px) {
    .header .logo {
        height: 500px;
    }
    
    body,
    .alert,
    .title,
    .text-medium {
        font-size: 28px;
    }

    h1 {
        font-size: 36px;
    }

    .button-categories {
        display: inline-block;
        width: 40%;
        margin: 20px;
        font-size: 24px;
    }
}

