@import url("https://fonts.googleapis.com/css2?family=Open+Sans&family=Roboto:wght@300&display=swap");

:root {
  --darkblue: rgb(0, 18, 51);
  --brightblue: rgb(2, 62, 125);
  --blue: rgb(2, 62, 125);
  --slate: hsl(210, 27%, 26%);
  --darkgray: hsl(190, 52%, 28%);
  --sea: hsl(188, 100%, 66%);
  --carolina: hsl(210, 90%, 85%);
  --bluegray: hsl(203, 19%, 79%);
  --lightgray: #f3f6f8;
  --w: rgba(255, 255, 255, 0.95);
}

.bg-darkblue {
  background-color: var(--darkblue);
  color: var(--w);
}

.bg-blue {
  background-color: var(--blue);
  color: var(--w);
}

.bg-darkgray {
  background-color: var(--darkgray);
  color: var(--w);
}

.bg-brightblue {
  background-color: var(--brightblue);
  color: var(--w);
}

.bg-slate {
  background-color: var(--slate);
  color: var(--w);
}

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  min-width: 320px;
  text-align: center;
}

h1 {
  font-size: clamp(1.25rem, -0.875rem + 5.333vw, 3rem);
  margin: 0rem;
  font-weight: 400;
  padding: 1rem;
}

h3 {
  font-size: clamp(1.25rem, -0.875rem + 5.333vw, 3rem);
  margin: 0rem;
  font-weight: 400;
  padding: 1rem;
}

a {
  color: var(--w);
  text-decoration: none;
}

.logobg {
  background-color: var(--slate);
  display: flex;
  justify-content: center;
  height: 66vh;
  padding: 2rem;
}

.colorbar1 {
  align-items: center;
  justify-content: center;
}

.phone {
  margin: auto;
}

.logobg img {
  max-width: 95vw;
}

.foot-head {
  font-size: 1.75rem;

  font-weight: 400;
  color: var(--sea);
  padding: 1rem;
  text-decoration: underline;
}

.heading {
  display: flex;
  justify-content: center;
}

.heading h2 {
  font-size: 2.33rem;
  font-weight: lighter;
  max-width: max-content;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
}

.heading p {
  display: flex;
}

.highlight {
  color: var(--sea);
}
.highlightdark {
  color: var(--darkgray);
}

.resources a,
.wrapper a {
  color: var(--carolina);
  text-decoration: none;
  font-weight: 600;
  line-height: 2;
}

.resources a {
  font-size: 1.3rem;
}

.wrapper {
  padding: 5%;
}

.wrapper h2,
.card h2 {
  max-width: fit-content;
  font-size: 2rem;
}

.card {
  margin: auto;
}

.card h2 {
  margin-left: auto;
  margin-right: auto;
}

.card p {
  font-size: 1.33rem;
}

.card img {
  display: block;
  width: 100%;
}

.wrapper h2 {
  margin-left: 5%;
}

.myphoto {
  min-width: 250px;
  margin: auto;
}

.myphoto img {
  width: 100%;
  clip-path: circle(50%);
}

.resources {
  padding: 2rem;
  background-color: var(--slate);
  border-bottom: 1px solid var(--r);
  color: var(--w);
}

ul {
  padding: 0%;
}

.resources > ul {
  display: grid;
  list-style: none;
  grid-gap: 1rem;
}

.resources > ul > li {
  padding: 1rem;
  border-bottom: 1px solid var(--sea);
}

.resources > ul > li > p {
  font-size: 1.25rem;
  line-height: 1.75;
  padding: 1rem 0.75rem;
  color: #666666;
}

.resources > ul > li > a {
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  text-align: ceter;
}

.resources > p {
  text-align: left;
}

.end {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1rem;
  padding: 10px;
  background-color: var(--lightgray);
}

.middle {
  display: grid;
  margin: auto;
}

.contact,
.location,
.hrs,
.map {
  border-bottom: 2px solid var(--sea);
  flex: 1;
  margin: 1rem;
}

.footer {
  padding: 1rem;
}

/* ########################################################################### */

@media only screen and (min-width: 680px) {
  .logobg {
    background-image: url(img/fronts.webp);
    background-size: cover;
    justify-content: left;
    min-height: 88vh;
    padding: 0rem;
    margin: 0;
  }

  .logobg img {
    margin: 3rem;
  }

  .colorbar1 {
    display: flex;
    flex-wrap: wrap;
  }

  .resources > ul {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .resources > ul > li {
    padding: 1rem;
    border-right: 1px solid var(--sea);
    border-bottom: none;
  }

  .resources {
    border-top: 1px solid var(--r);
  }

  .linkpage {
    column-count: 2;
  }

  .wrapper p,
  .card p {
    text-align: left;
  }

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

  .myphoto {
    margin: auto 2% auto auto;
  }

  .end {
    grid-template-columns: 2fr 1fr;
  }

  .section {
    min-width: max-content;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    padding: 0 0 0.25rem 0;
  }

  .map {
    background-image: url(img/aerial.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
    content: "  ";
    min-height: 100px;
  }

  .footer {
    text-align: right;
  }

  .flex3 {
    flex: 3;
  }

  .row-parent {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .row {
    flex: 1;
    display: flex;
    flex-wrap: nowrap;
  }

  .map,
  .hrs,
  .location,
  .contact {
    border-right: 2px solid var(--sea);
    border-bottom: none;
  }
}

@media only screen and (min-width: 1079px) {
  .row-parent {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }
}
