/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* courier-prime-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/courier-prime-v11-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
  background-color: #CCD0D2;
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

nav {
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  border-radius: 5px;
  z-index: 1000;
  padding: 1rem 2rem;
}

blockquote {
  font-family: "Courier Prime", sans-serif;
  font-size: large;
  font-weight: 400;
}

a {
  color: #89a02c;
  text-decoration: none;
}

a:hover{
  color: #6e8023;
  background-color:darkgray
}

nav img {
  margin-inline: 1rem;
  width: 70px;
}

.navText {
  font-weight: 400;
  letter-spacing: .04em;  
}

#titleText p {
    color: #666;
    font-size: .9rem;
    letter-spacing: .05em;
}

#backToTitle {
  font-weight: bold;
  font-size: xx-large;
}

#backToTitle:hover {
  font-size: xx-large;
  font-weight: bold;
}

footer {
  padding: 1rem;
  font-size: small;
  background: #B9BEC1;
  color: #202020;
  border-top: 3px solid #89A02C;
}

footer a {
  color: inherit;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-main {
  margin-bottom: 1rem;
}

#contact {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

#contact img {
  height: 75px;
  width: auto;
  flex-shrink: 0;
}

.contact-block p {
  margin: 0;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  border-top: 1px solid rgba(32, 32, 32, 0.15);
  padding-top: 0.75rem;
}

#info {
  text-align: right;
  font-weight: 500;
}

#info span {
  margin: 0 0.4rem;
}

#credits {
  font-size: 0.8rem;
  opacity: 0.75;
  text-align: right;
}

.linkBtn {
  color: white;
  background-color: #89a02c;
  margin: 1rem;
  padding: 1rem;
  padding-inline: 2rem;
  border: black 2px solid;
  border-radius: 10px;
}

/*Dropdown*/
.dropdown {
  position: relative;
  z-index: 1001;
}

.dropbtn {
  background-color: #89a02c;
  color: white;
  padding: 16px;
  padding-inline: 5rem;
  font-size: 16px;
  border: 1px #89A02C;;
  border-radius: 10px;
  padding: .8rem 1.6rem;
  font-weight: 600;
  margin: 1rem;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
  padding: 12px 16px;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #6e8023;
}

/*Inner navbar alignment*/
nav ul{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 1rem;
}

nav ul li:first-child {
  display: flex;
  align-items: center;
  justify-self: start;
}

nav ul li:nth-child(2) {
  justify-self: center;
}

nav ul li:last-child {
  justify-self: end;
}

@media (max-width: 900px) {

  nav h1 {
    font-size: 1.5rem;
  }

  #backToTitle {
    font-size: 1.8rem;
  }

  .dropbtn {
    padding: 12px;
  }
}

@media (max-width: 650px) {

  nav ul {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    justify-items: center;
    gap: 1rem;
  }

  nav ul li:first-child {
    justify-self: center;
  }

  nav ul li:nth-child(2) {
    justify-self: center;
  }

  nav ul li:last-child {
    justify-self: center;
  }

  #titleText p {
    display: none;
  }

  nav h1 {
    font-size: 1.3rem;
  }

  #contact {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  #info, #credits {
    text-align: left;
  }
}