@import url("https://fonts.googleapis.com/css?family=Libre+Baskerville:400");
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700,900");

html {
  scroll-behavior: smooth;
}
body {
  background: #fff;
  margin: 0;
}

/*--- Typography ---
  clamp(MIN, PREFERRED, MAX)
  The preferred value uses vw so the size actually scales with viewport width,
  bounded by sensible min/max values in rem.
*/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  line-height: 1.1;
}
h1 {
  font-size: clamp(2.5rem, 4vw + 1.5rem, 5rem);
  letter-spacing: -2px;
}
h2 {
  font-size: clamp(2rem, 2.5vw + 1rem, 3.25rem);
}
h3 {
  font-size: clamp(1.5rem, 1.5vw + 0.75rem, 2.25rem);
}
h4 {
  font-size: clamp(1.25rem, 1vw + 0.75rem, 1.75rem);
}
h5 {
  font-size: clamp(1rem, 0.5vw + 0.75rem, 1.25rem);
  font-weight: 400;
}
p,
li {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1rem, 0.25vw + 0.875rem, 1.125rem);
  line-height: 1.5;
}

/*--- Header ---*/
header {
  min-height: 500px;
  height: 90dvh;
  min-width: 375px;
  width: 100%;
  background: #c0c0c0
    url(https://images.pexels.com/photos/894010/pexels-photo-894010.jpeg)
    no-repeat 50% 55%;
  background-size: cover;
  text-align: center;
  padding: 10dvh 0;
  box-sizing: border-box;
}
header .banner {
  margin: 0 auto;
  width: 85%;
}
header .banner-text {
  width: 100%;
}
header .banner-text h1 {
  color: white;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.8);
}
header .banner-text p {
  font-size: clamp(1.125rem, 0.5vw + 1rem, 1.5rem);
  color: black;
  margin: 0 auto;
  width: 100%;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
}
@media only screen and (min-width: 568px) {
  header .banner-text p {
    width: 70%;
  }
}
header .banner-text p a {
  color: #fff;
}

.container {
  width: 100%;
  margin: 0 auto;
}

section {
  padding: 4em 3em;
}
section .topic {
  margin-bottom: 4em;
}
section .job {
  margin-bottom: 3em;
}

/*--- Contact Section ---*/
.contact p {
  margin-bottom: 1.5em;
}
.contact-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
}
.contact-links li {
  margin: 0;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  color: #0f00ff;
  text-decoration: none;
  padding: 0.5em 0;
  transition: color 0.3s ease;
}
.contact-links a:hover,
.contact-links a:focus {
  color: #060b72;
  text-decoration: underline;
}
.contact-links svg {
  flex-shrink: 0;
}

/*--- Footer ---*/
footer {
  display: flex;
  flex-direction: column;
  background: #c0c0c0;
  font-size: 14px;
  text-align: center;
  padding: 3em;
}
footer > div:first-child {
  display: flex;
  justify-content: center;
  margin-bottom: 2em;
}
footer .footer-copyright p {
  margin: 0;
  font-size: 0.875rem;
}

/* To-top button */
footer .to-top a {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  background: #0f00ff;
  border-radius: 30px;
  transition: background 0.3s ease;
}
footer .to-top a:hover,
footer .to-top a:focus {
  background: #060b72;
}
footer .to-top svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* Accordion buttons */
.accordion {
  background-color: #c0c0c0;
  color: #000;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1.25rem, 1vw + 0.75rem, 1.75rem);
}

.active,
.accordion:hover,
.accordion:focus {
  background-color: #0f00ff;
  color: #fff;
}

.panel {
  padding: 0 18px;
  background-color: #fff;
  display: none;
}
.accordion:after {
  content: "\002B"; /* plus sign */
  font-size: 1.25rem;
  color: #0f00ff;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212"; /* minus sign */
  color: #fff;
}

/*--- Print styles ---*/
@media print {
  header {
    min-height: auto;
    height: auto;
    background: none;
    padding: 1em 0;
  }
  header .banner-text h1 {
    color: #000;
    text-shadow: none;
  }
  header .banner-text p {
    color: #000;
    text-shadow: none;
  }
  .panel {
    display: block !important;
  }
  .accordion:after {
    content: "";
  }
  footer .to-top {
    display: none;
  }
}
