/* GENERAL STYLES */
:root {
  --color-text: #212529;
  --color-form-borders: #ced4da;
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

::selection {
  background: var(--color-text);
  color: #fff;
}

html {
  /* 62.5% of 16px = 10px */
  font-size: 62.5%;
}

body {
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  height: 100vh;
  margin: 0;
}

@media (min-width: 768px) {
  body {
    font-size: 1.6rem;
  }
}

header,
footer {
  padding: 1rem;
}

@media (min-width: 768px) {
  header,
  footer {
    padding: 1.5rem 1rem;
  }
}

header {
  border-bottom: 1px solid #dee2e6;
}

footer {
  background-color: #222;
  color: white;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

/* HEADER */
/* ****** */
.container__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (min-width: 1140px) {
  .container__header {
    padding: 0;
  }
}

.header__logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.toggler__icon {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 1.8rem;
  justify-content: space-between;
  width: 2.3rem;
}

.toggler__icon span {
  background-color: black;
  border-radius: 2px;
  display: block;
  height: 0.2rem;
  transition: 0.3s;
  width: 100%;
}

.toggler__icon.collapsible--expanded span {
  box-shadow: 0.15rem 0.15rem 0 0 #666;
}

nav {
  width: 100%;
}

.collapsible__content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s;
}

.collapsible__content.collapsible--expanded {
  max-height: 100vh;
  opacity: 1;
}

@media (min-width: 768px) {
  .toggler__icon {
    display: none;
  }

  nav {
    width: auto;
  }

  .collapsible__content {
    max-height: 100vh;
    opacity: 1;
  }
}

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

.nav__item {
  padding-top: 0.8rem;
}

@media (min-width: 768px) {
  .nav__list {
    display: flex;
  }

  .nav__item {
    padding-top: 0;
  }

  .nav__item:not(:last-child) {
    margin-right: 2.5rem;
  }
}

.nav__link {
  color: var(--color-text);
  text-decoration: none;
}

.nav__link:hover {
  text-decoration: underline;
  text-decoration-color: #dee2e6;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.nav__link.active {
  font-weight: 600; /* Makes text bold */
}

/* MAIN AREA */
/* ********* */
main {
  padding: 1rem 0;
  text-align: center;
}

@media (min-width: 768px) {
  main {
    padding: 1.5rem 1rem;
  }
}

main {
  flex: 1;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 2.6rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 2rem;
}

.container__main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 90%;
}

/* BUTTONS */
.btn {
  border: 1px solid transparent;
  border-radius: 0.6rem;
  cursor: pointer;
  font-weight: 400;
  line-height: 1.5;
  transition: all 0.15s ease-in-out;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.btn-primary {
  color: #fff;
  background-color: #0d6efd; /* Bootstrap’s signature blue */
  border-color: #0d6efd;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

.btn-primary:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
}

.btn-primary:active {
  background-color: #0a58ca;
  border-color: #0a53be;
}

.btn__form {
  font-size: 1.6rem;
  padding: 0.5rem 1rem;
}

.bold {
  font-weight: bold;
}

.italic {
  font-style: italic;
}

/* FOOTER */
/* ****** */
footer {
  display: flex;
  justify-content: center;
}

footer .container {
  text-align: center;
}

.footer__title {
  margin-bottom: 1rem;
}

.footer__title,
.footer__privacy {
  font-size: 1.4rem;
}

.footer__privacy {
  color: white;
  text-decoration: none;
}

.footer__privacy:hover {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.7);
}

.footer__privacy::selection,
.footer__title::selection,
.footer__title span::selection {
  background-color: #949292;
}

/* INDEX PAGE */
/* ********** */
.index-container h1 {
  margin-bottom: 1rem;
}

.index-image {
  margin-bottom: 0.25rem;
  margin-top: 0;
}

.index-container p {
  font-size: 1.6rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
  text-align: justify;
}

.index-container p.intro {
  text-align: center;
}

.index-container p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .index-container p {
    font-size: 1.7rem;
    line-height: 1.6;
  }
}

@media (min-width: 1140px) {
  .index-container p {
    font-size: 1.8rem;
    line-height: 1.5;
  }
}

.index-container .p-list {
  margin-bottom: 1rem;
}

.index-list {
  margin: 0 0 1.6rem 0;
  padding-left: 2.5rem;
}

.index-list li {
  font-size: 1.6rem;
  line-height: 1.5;
  margin-bottom: 1.6rem;
  text-align: justify;
}

.index-list li::marker {
  content: "●  ";
}

@media (min-width: 768px) {
  .index-list li {
    font-size: 1.7rem;
  }
}

@media (min-width: 1140px) {
  .index-list li {
    font-size: 1.8rem;
  }
}

.index-container .p-name {
  margin-bottom: 2.5rem;
}

.index__link-container {
  margin-bottom: 1rem;
}

.index__link {
  display: inline-block;
  padding: 0.6rem 0.8rem;
  text-decoration: none;
}

@media (min-width: 768px) {
  .index__link-container {
    display: flex;
    align-items: start;
  }
}

/* PRIVACY PAGE */
/* ************ */
.privacy__content {
  text-align: justify;
}

.privacy__content h2 {
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.privacy__content ul {
  margin: 1rem 0 0 0;
  padding-left: 2rem;
}

.privacy__update {
  margin: 2rem 0 1rem 0;
}
