@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@100;400;700&family=Open+Sans:wght@400;600&family=Quicksand:wght@400;500;600;700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
:root {
  --logo-top: none; /* Start with no pic */
  --gradient: linear-gradient(
    45deg,
    hsl(300, 50%, 96%),
    hsl(300, 60%, 98%),
    hsl(300, 70%, 99%)
  );
}
body {
  background-color: rgba(34, 9, 47, 0.5);
  font-family: "Barlow";
  font-weight: 400;
}

/* ##############################
        Header styling
############################## */
header {
  height: 220px;
  background-color: rgb(255, 255, 255, 1);
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3);
}
.logo {
  background-image: url(pics/TCM-logo.svg);
  background-size: 300px;
  background-repeat: no-repeat;
  background-position: 10px 10px;
}
.hours {
  display: inline-block;
  position: absolute;
  top: 35px;
  right: 24px;
  color: rgba(136, 35, 191, 0.9);
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  border: 1px solid rgba(136, 35, 191, .5);
  border-radius: 10%;
  background-color: hsla(300, 80%, 76%, .3);
}
.contact-info {
  position: absolute;
  top: 175px;
  left: 10px;
  text-align: left;
  font-size: 1rem;
  color: #333; /* Change color as needed */
  padding: 0 10px;
  font-family: "Barlow";
  font-style: italic;
}
.break-contact::after, .break::after {
  content: "\a";
  display: block;
}

h1 {
  margin-top: 10px;
  color: black;
  text-align: center;
  padding-inline: 10px;
}
h2 {
  margin-top: 30px;
  color: black;
  text-align: center;
}

h3 {
  margin-bottom: 15px;
  margin-left: 20px;
}
a {
  color: rgba(136, 35, 191, 0.9);
  text-decoration: none;
}
/* Formatting for list items. <li> */
ol > li {
  list-style-type: none;
  /* list-style-position: outside; */
  text-align: left;
  font-size: 1rem;
  font-weight: bold;
}
.li-indent {
  padding-inline: 3em 2em;
}
.li-indent li {
  font-weight: 400;
  font-size: 1rem;
  list-style: disc;
}
.ol-padding {
  padding-inline: 20px 10px;
}
/* ======================================= 
--- Here will be my p tag stuff yo! ---
======================================= */

p {
  margin: 0 0.5em 30px;
  padding: 5px 5px;
  /* text-indent: 1em; */
}
.p_margin_top {
  margin-top: 20px;
}
.first-words {
  font-size: 1rem;
  font-weight: bold;
}
/* ========================================
 -- This ends the p hizzle tag homies  --
======================================== */

.box-shadow {
  border-radius: 10px;
  box-shadow: 2px 2px 8px hsl(0, 0%, 62%);
  font-size: 1rem;
  border: 1px solid hsla(300, 1%, 55%, 0.314);
}
.content-container {
  background-color: rgba(255, 255, 255, 1);
  margin-block: 2rem;
  margin-inline: 1rem;
  padding-block: 40px;
  min-height: 95vh;
}

.text-container {
  margin-top: 40px;
}
.text-container h4 {
  margin-left: -2em;
}

/* Use if there is not title on regulare web page */
.top_spacing {
  margin-top: 80px;
}

/* This is to add no style to the navigation menu and allows list styling to other lists */
.no-style {
  list-style: none;
}

.navbar {
  min-height: 220px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding-right: 25px;
  padding-bottom: 5px;
}
.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0;
}
.nav-branding {
  font-size: 1rem;
}
nav ul li a:link {
  text-decoration: none;
}
nav ul li {
  list-style: none;
  padding-inline: 5px;
}

/* ------------------------------
  -- Hits all but the last child
------------------------------- */
nav ul li:not(:last-child) {
  border-right: 1px solid rgba(136, 35, 191, 1);
}

.nav-link {
  border-bottom: 1px solid transparent;
  transition: color 1s ease, border-color 1s ease;
}
.nav-link:hover {
  color: hsl(300, 80%, 76%);
  border-block-color: hsl(300, 80%, 76%);
  /* text-decoration: underline; */
}
.hamburger {
  display: none;
  cursor: pointer;
}
.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
  background-color: rgba(0, 0, 0, 1);
}

/* this is for the Agreement to Mediate page if you choose to use it. */
.indent {
  display: inline-block; /* Ensures the text-indent property works */
  text-indent: 1.05em; /* You can adjust the value as needed */
}

/* this one is confusing. You only have to call the class selector .box-shadow to include <p> */
/* nth-last-of-type only covers <li> and 1 starts at the bottom <li> when using last of*/
@media (min-width: 801px) {
  .img-center {
    /* removes tri-county logo from body */
    display: none;
  }
}
@media (max-width: 800px) {
  ol,
  li,
  p,
  .first-words {
    font-size: 1.05em;
  }
  .logo {
    background-image: url(pics/TCM-logo.svg), url(pics/scales.svg);
    background-size: 200px, 30px;
    background-position: center 10px, 95% 20px;
  }
  .contact-info {
    text-align: center;
    font-size: 0.9rem;
    top: 180px;
    right: 15%;
    left: 15%;
  }
  .hours {
    position: absolute;
    top: 125px;
    left: 50%;
    transform: translateX(-50%);
    font-size: .9rem;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    max-width: max-content;
  }
  .break::after {
    content: "\a";
    display: block;
  }
  .top_spacing {
    margin-top: 10px;
  }
  .hamburger {
    display: block;
    z-index: 2; /* need this to keep the X above .nav-menu */
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .nav-menu {
    position: fixed;
    height: 220px;
    left: -130%;
    top: 0;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(205, 113, 255, 0.156);
    box-shadow: 5px 4px 10px rgba(0, 119, 255, 0.1);
    width: 100%;
    text-align: center;
    transition: 0.9s ease;
    z-index: 1; /* need this to keep above .contact-info */
  }
  nav ul li:not(:last-child) {
    border: none;
  }
  .nav-link {
    border-bottom: none;
    transition: none;
  }
  .nav-link:hover {
    color: hsl(300, 80%, 76%);
    text-decoration: underline;
  }
  .nav-item {
    margin: 16px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .text-container {
    margin-right: 15px;
    margin-bottom: 35px;
    text-align: left;
  }

  .box-shadow {
    font-size: 1rem;
    border: 1px solid hsla(300, 1%, 55%, 0.314);
  }
  .ol-padding {
    padding-inline: 5px 5px;
  }
  .img-center {
    background-image: var(--logo-top);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: none;
    height: 150px;
    margin-block: 5px 20px;
  }
}

@media (max-width: 651px) {
  .logo {
    background-image: url(pics/TCM-logo.svg), url(pics/scales.svg);
    background-size: 195px, 30px;
    background-position: center 10px, 95% 20px;
  }
  .hours {
    position: absolute;
    font-size: .8rem;
  }
  .contact-info {
    font-size: .8rem;
  }
  .break::after {
    content: "\a";
    display: block;
  }
}

/* =================================
        SMALL SCREEN FORMATTING
================================== */
@media (max-width: 450px) {
  .hours {
    position: absolute;
    font-size: .8rem;
    font-weight: bold;
    text-align: center;
  }
  .break::after {
    content: "\a";
    display: block;
  }
  .contact-info {
    font-size: .8rem;
  }
}
