/* Theming */
@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Raleway:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");

:root {
  --theme-dark: #11171d;
  --theme-light: #ebebeb;
  --theme-color: #4f6348;

  /* --theme-links: #145218; */

  --white: #f9f9f9;
  --black: #36383f;

  --light-slate-gray: #778899;

  /* --blue-grey: #5e7680;
  --light-grey: rgb(206 218 222);
  --watercress: #748c69;
  --light-watercress: #bfcdba;
  --dark-watercress: #4f6348;
  --dark-green: #344230;
  --blue: #4da1d7;
  --yellow: #f2b405;
  --dark-blue: #151031; */
} /* variables*/

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Raleway, sans-serif;
}

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

body {
  background-color: var(--white);
  font-family: Raleway, sans-serif;
}

h2 {
  color: var(--theme-color);
}
h3 {
  color: var(--theme-color);
}
article {
  text-align: justify;
}
a {
  color: var(--theme-color);
  text-decoration: underline;
}

.article-body {
  position: relative;
  background: #f8f8f8;
  width: 90%;
  padding: 2em;
  margin: 1em auto;
  border: 3px solid rgba(0, 0, 0, 0.08);
}

h1:before,
h1:after {
  background-color: var(--theme-color);
}

/* START  === BASE HEADING === */

.title-text {
  position: relative;
  z-index: -1;
  padding: 0;
  margin: 0;
  font-family: Raleway, sans-serif;
  font-weight: 300;
  font-size: 40px;
  color: var(--theme-dark);
  -webkit-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}

.title-text span {
  display: block;
  font-size: 0.5em;
  line-height: 1.3;
}
.title-text em {
  font-style: normal;
  font-weight: 600;
}

.title-text a {
  color: var(--theme-color);
  text-decoration: underline;
}

a {
  text-decoration: none;
}
ul {
  list-style: none;
}
/* Header */
.header {
  background-color: var(--white);
  box-shadow: 1px 1px 5px 0px var(--theme-dark);
  position: sticky;
  top: 0;
  width: 100%;
  padding: 20px;
  margin-bottom: 45px;
}

/* Logo */
.logo {
  display: inline-block;
  color: var(--theme-dark);
  font-size: 40px;
  margin-left: 20px;
}

/* Menu Icon */
.hamb {
  cursor: pointer;
  float: right;
  padding: 40px 20px;
} /* Style label tag */

.hamb-line {
  background: var(--white);
  display: block;
  height: 2px;
  position: relative;
  width: 24px;
} /* Style span tag */

.hamb-line::before,
.hamb-line::after {
  background: var(--white);
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.2s ease-out;
  width: 100%;
}
.hamb-line::before {
  top: 5px;
}
.hamb-line::after {
  top: -5px;
}

.side-menu {
  display: none;
} /* Hide checkbox */

/* Toggle menu icon */
.side-menu:checked ~ nav {
  max-height: 100%;
}
.side-menu:checked ~ .hamb .hamb-line {
  background: transparent;
}
.side-menu:checked ~ .hamb .hamb-line::before {
  transform: rotate(-45deg);
  top: 0;
}
.side-menu:checked ~ .hamb .hamb-line::after {
  transform: rotate(45deg);
  top: 0;
}

/* Nav menu */
.nav {
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: var(--white);
  overflow: hidden;
  left: 0;
}

.subnav {
  position: relative;
}

.menu a,
.subnavbtn {
  display: block;
  font-size: 20px;
  padding: 17px;
  color: var(--theme-dark);
}

.menu a:hover,
.subnavbtn:hover {
  background-color: var(--theme-light);
  color: var(--theme-dark);
}
.nav {
  max-height: 0;
  transition: max-height 0.5s ease-out;
}

/* Sub nav */
.subnav-content {
  z-index: 1;
  padding: 20px 0;
  display: none;
  position: absolute;
  background-color: var(--white);
}
.subnav-content a {
  text-decoration: none;
  margin: 10px 0;
  text-align: center;
  color: var(--theme-dark);
  font-size: 18px;
}
.subnav:hover .subnav-content {
  position: fixed;
  z-index: 9998;
  display: block;
}

/* PAGES WITH pdf FILES */
.pdf-wrapper {
  display: block;
  margin-top: 20px;
}

section {
  margin: 20px;
  padding-bottom: 100px;
}

.presentation img {
  margin: 0;
  max-width: 35%;
  height: auto;
}
section h2 {
  display: block;
  margin: 20px;
  font-size: 45px;
  text-align: center;
}
section p {
  margin: 20px 0;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.presentation {
  display: flex;
  align-items: center;
  padding-right: 10px;
}

.presentation div {
  margin: 0 0 0 35px;
}

.presentation a {
  color: var(--theme-color);
  text-decoration: underline;
}

@media (max-width: 768px) {
  section {
    display: block;
  }
  section img {
    max-width: 30%;
    margin: 0 auto;
  }
  .header {
    padding: 10px;
  }
  .presentation {
    display: grid;
    width: 100%;
  }

  .article-body {
    position: relative;
    background: #f8f8f8;
    width: 100%;
    padding: 1em;
    margin: 20px auto;
    border: 1px solid rgba(0, 0, 0, 0.08);
  }
  .side-menu:checked ~ nav {
    text-align: center;
  }
  .subnav .subnav-content {
    position: relative;
    display: block;
    text-align: center;
    padding: 20px;
    width: 100%;
  }
}

/* Responsiveness */
@media (min-width: 768px) {
  section {
    margin: 20px 10vw;
  }
  .nav {
    max-height: none;
    top: 0;
    position: relative;
    float: right;
    width: fit-content;
    background-color: transparent;
  }
  .menu {
    display: flex;
  }

  .menu a:hover {
    background-color: var(--theme-light);
    color: var(--theme-dark);
  }

  .hamb {
    display: none;
  }
}

/* FOOTER */

footer {
  margin-top: 20px;
  background-color: var(--white);
  box-shadow: 1px 1px 5px 0px var(--theme-color);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;
  padding: 15px;
  max-height: 90px;
  width: 100%;
  color: #fff;
  text-align: center;
}

footer a {
  color: var(--theme-dark);
}

.footer-content {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.footer-content h3 {
  font-size: 2.1rem;
  font-weight: 500;
  text-transform: capitalize;
  line-height: 3rem;
}

.socials {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0 3rem 0;
}
.socials li {
  margin: 0 10px;
}
.socials a {
  text-decoration: none;
  color: #fff;
  border: 1.1px solid var(--theme-dark);
  padding: 5px;
  border-radius: 50%;
}
.socials a i {
  font-size: 1.1rem;
  width: 20px;
  transition: color 0.4s ease;
}
.socials a:hover i {
  color: aqua;
}

.footer-bottom {
  background: #000;
  width: 100vw;
  padding: 20px;
  padding-bottom: 40px;
  text-align: center;
}

/* === HEADING STYLE #1 === */
.one .title-text {
  text-align: center;
  padding-bottom: 5px;
}
/* .one .title-text:before {
  width: 28px;
  height: 5px;
  display: block;
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  margin-left: -14px;
  background-color: var(--watercress);
} */
.one .title-text:after {
  width: 20%;
  height: 1px;
  display: block;
  content: "";
  position: relative;
  margin-top: 25px;
  left: 50%;
  margin-left: -10%;
  background-color: var(--theme-color);
}

/* === HEADING STYLE #2 === */
/* .two .title-text {
  text-transform: capitalize;
} */
.two .title-text:before {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 2px;
  content: "";
  background-color: var(--theme-color);
}

.two .title-text span {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  line-height: 3em;
  padding-left: 0.25em;
  color: var(--theme-dark);
  padding-bottom: 10px;
}
.alt-two .title-text {
  text-align: center;
}
.alt-two .title-text:before {
  left: 50%;
  margin-left: -30px;
}

/* === HEADING STYLE #3 === */
.three .title-text {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5em;
  padding-bottom: 15px;
  position: relative;
}
.three .title-text:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 55px;
  background-color: var(--theme-dark);
}
.three .title-text:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: 95%;
  max-width: 255px;
  background-color: var(--theme-light);
}

/* === HEADING STYLE #4 === */
.four .title-text {
  text-align: center;
  padding-bottom: 0.7em;
}
.four .title-text span {
  font-weight: 300;
  word-spacing: 3px;
  line-height: 2em;
  padding-bottom: 0.35em;
  color: var(--theme-light);
}
.four .title-text:before {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 1px;
  content: "";
  left: 50%;
  margin-left: -30px;
  background-color: var(--theme-light);
}

/* === HEADING STYLE #5 === */
.five .title-text {
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--light-slate-gray);
  /* text-transform: uppercase; */
  word-spacing: 1px;
  letter-spacing: 2px;
}
.five .title-text span {
  margin-top: 9px;
  text-transform: none;
  font-size: 15px;
  /* font-size: 0.9em; */
  font-weight: normal;
  font-style: italic;
  font-family: Raleway, sans-serif;
  color: var(--light-slate-gray);
  letter-spacing: -0.005em;
  word-spacing: 1px;
  letter-spacing: none;
}
.five .title-text:before {
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 60px;
  height: 1px;
  content: "";
  left: 30px;
  margin-left: -30px;
  background-color: var(--light-slate-gray);
}

/* STYLE 6
   ----------------------------- */
.six .title-text {
  text-align: center;
  color: var(--theme-dark);
  font-size: 30px;
  font-weight: 400;
  text-transform: uppercase;
  word-spacing: 1px;
  letter-spacing: 2px;
  color: var(--theme-color);
}
.six .title-text span {
  line-height: 2em;
  padding-bottom: 15px;
  text-transform: none;
  font-size: 0.7em;
  font-weight: normal;
  font-style: italic;
  font-family: Raleway, sans-serif;
  color: var(--theme-light);
  letter-spacing: -0.005em;
  word-spacing: 1px;
  letter-spacing: none;
}
.six .title-text:after,
.six .title-text:before {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45px;
  height: 4px;
  content: "";
  right: 45px;
  margin: auto;
  background-color: var(--theme-color);
}
.six .title-text:before {
  background-color: var(--theme-color);
  left: 45px;
  width: 90px;
}

/* Style 7
   ----------------------------- */
.seven .title-text {
  text-align: center;
  font-size: 30px;
  font-weight: 300;
  color: var(--theme-dark);
  letter-spacing: 1px;
  text-transform: uppercase;

  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  grid-template-rows: 27px 0;
  grid-gap: 20px;
  align-items: center;
}

.seven .title-text:after,
.seven .title-text:before {
  content: " ";
  display: block;
  border-bottom: 1px solid var(--theme-color);
  border-top: 1px solid var(--theme-color);
  height: 5px;
  background-color: #f8f8f8;
}

/* Style 8
   ----------------------------- */
.eight .title-text {
  text-align: center;

  text-transform: uppercase;
  font-size: 26px;
  letter-spacing: 1px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 16px 0;
  grid-gap: 22px;
}

.eight .title-text:after,
.eight .title-text:before {
  content: " ";
  display: block;
  border-bottom: 2px solid #ccc;
  background-color: #f8f8f8;
}

/* Style 9
   ----------------------------- */
.nine .title-text {
  text-align: center;
  font-size: 50px;
  text-transform: uppercase;
  color: #222;
  letter-spacing: 1px;
  font-family: Raleway, sans-serif;
  font-weight: 400;
}
.nine .title-text span {
  margin-top: 5px;
  font-size: 15px;
  color: #444;
  word-spacing: 1px;
  font-weight: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: Raleway, sans-serif;
  font-weight: 500;

  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  grid-template-rows: 27px 0;
  grid-gap: 20px;
  align-items: center;
}

.nine .title-text span:after,
.nine .title-text span:before {
  content: " ";
  display: block;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  height: 5px;
  background-color: #f8f8f8;
}

.ten .title-text {
  font-size: 34px;
  font-weight: 500;
  text-transform: uppercase;
}
.ten .title-text:before {
  background-color: var(--theme-color);
  border-radius: 0.25rem;
  content: "";
  display: block;
  height: 0.25rem;
  width: 42px;
  margin-bottom: 1.25rem;
}

.eleven .title-text {
  font-size: 30px;
  text-align: center;
  line-height: 1.5em;
  padding-bottom: 45px;
  font-family: Raleway, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #111;
}

.eleven .title-text:before {
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 60%;
  left: 50%;
  margin-left: -30%;
  height: 1px;
  content: "";
  background-color: #777;
  z-index: 4;
}
.eleven .title-text:after {
  position: absolute;
  width: 40px;
  height: 40px;
  left: 50%;
  margin-left: -20px;
  bottom: 0px;
  content: "\00a7";
  font-size: 30px;
  line-height: 40px;
  color: var(--theme-color);
  font-weight: 400;
  z-index: 5;
  display: block;
  background-color: #f8f8f8;
}

.twelve .title-text {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  width: 160px;
  text-align: center;
  margin: auto;
  white-space: nowrap;
  padding-bottom: 13px;
}
.twelve .title-text:before {
  background-color: var(--theme-color);
  content: "";
  display: block;
  height: 3px;
  width: 75px;
  margin-bottom: 5px;
}
.twelve .title-text:after {
  background-color: var(--theme-color);
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  height: 3px;
  width: 75px;
  margin-bottom: 0.25em;
}

.thirteen .title-text {
  position: relative;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0px;
  text-transform: uppercase;
  width: 150px;
  text-align: center;
  margin: auto;
  white-space: nowrap;
  border: 2px solid #222;
  padding: 5px 11px 3px 11px;
}
.thirteen .title-text:before,
.thirteen .title-text:after {
  background-color: var(--theme-color);
  position: absolute;
  content: "";
  height: 7px;

  width: 7px;
  border-radius: 50%;
  bottom: 12px;
}
.thirteen .title-text:before {
  left: -20px;
}
.thirteen .title-text:after {
  right: -20px;
}
/* END  === BASE HEADING === */

/* Accordion styles */
.tabs {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
  margin: 30px 0 45px;
}
.tab {
  width: 100%;
  color: var(--theme-dark);
  overflow: hidden;
}
.tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

/* :checked */
.accordion.active ~ .panel {
  height: fit-content;
  min-height: 100%;
  max-height: max-content;
  padding: 1em;
}

.accordion.active::after {
  transform: rotate(90deg);
}

.accordion {
  display: flex;
  justify-content: space-between;
  background: var(--light-grey);
  color: var(--theme-dark);
  font-weight: 600;
  font-family: Raleway, sans-serif;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 17px;
  transition: 0.4s;
}
.accordion.active,
.accordion:hover {
  background: var(--light-slate-gray);
  color: var(--white);
}
.accordion::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  transition: all 0.35s;
}
.panel {
  max-height: 0;
  color: var(--theme-dark);
  transition: all 0.35s;
  padding: 0 18px;
  background-color: white;
  overflow: hidden;
}
.tab-close {
  display: flex;
  justify-content: flex-end;
  padding: 1em;
  font-size: 0.75em;
  background: var(--theme-color);
  cursor: pointer;
}
.tab-close:hover {
  background: var(--light-grey);
}

.books-list {
  list-style: inside;
}

/* student works page */

.work-btns a {
  display: block;
  padding: 15px;
  margin: 10px;
  background-color: var(--light-grey);
}

/* articles page */

.articles-wrapper ul {
  margin: 20px 0;
}

.articles-wrapper li {
  margin: 20px 0;
}

.work-btns {
  text-align: center;
  display: flex;
  justify-content: center;
}

.photoblock {
  max-width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}

.photoblock img {
  width: max-content;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
