@import url(fonts/fonts.css);

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --main-ff: "Geologica";
  --secondary-clr: #26bd7e;
  --header-box-shadow: 0 0 16px rgba(108, 108, 108, 0.1);
  --box-shadow: 0 0 16px rgba(46, 46, 46, 0.1);
  --body-bg: #f5f5f5;
  --white: white;
  --black: #3e3e3e;

  --nav-link-underline-clr: rgb(224, 224, 224);

  --scrollbar-track-clr: #e6e6e6;
  --scrollbar-thumb-clr: #7c7c7c;
  --scrollbar-thumb-hover-clr: #5f5f5f;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  font-family: var(--main-ff);
  background: var(--body-bg);
  padding-top: 90px;
  color: var(--black);
}

.container {
  position: relative;
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
}

.header__container {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  padding: 20px 0;
  background: var(--white);
  box-shadow: var(--box-shadow);
  z-index: 100;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.header__breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.header__breadcrumbs__link {
  text-align: left;
  font-size: 0.9rem;
  font-weight: 500;
  transition: 0.2s;
}

.header__breadcrumbs__link:hover {
  color: var(--secondary-clr);
}

.spacer {
  margin: 0 10px;
}

.header__logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary-clr);
  cursor: pointer;
  transition: 0.2s;
}

.header__logo:hover {
  color: var(--black);
}

.main {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.content__container {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--box-shadow);
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
}

.content {
  display: flex;
  flex-direction: column;
}

.content__image__container {
  width: 100%;
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.content__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content img{
  max-width: 100% !important;
}

.content a{
  color: var(--secondary-clr);
  text-decoration: underline!important;
}

.content a:hover,.content a:active,.content a:focus{
  text-decoration: none!important;
}

.content__text, .content p {
  font-weight: 300;
  margin-bottom: 15px;
}

.content__container__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 20px;
}

.content__heading,.content h2{
  font-size: 1.6rem;
  margin: 20px 0;
  font-weight: 700;
}

.content h3 {
  font-size: 1.5rem;
  margin: 20px 0;
  font-weight: 700;
}
.content__unordered__list,.content ul {
  font-weight: 300;
  margin: 10px 0;
  padding: 0 0 0 30px;
  list-style-type: disc;
}

.content__ordered__list,.content ol {
  font-weight: 300;
  margin: 10px 0;
  padding: 0 0 0 32px;
}

.content__unordered__list__item, .content ul li {
  padding: 2px 0 2px 0;
}

.content__ordered__list__item, .content ol li {
  padding: 2px 0 2px 2px;
}

.content__link {
  transition: 0.2s;
  margin: 3px 0;
}

.content__link:hover {
  color: var(--secondary-clr);
}

.nav__container {
  flex-shrink: 0;
  width: 420px;
  height: 650px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--box-shadow);
}

.nav__container__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary-clr);
}

::-webkit-scrollbar {
  width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  background: var(--scrollbar-track-clr);
}

/* Handle */
::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: var(--scrollbar-thumb-clr);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover-clr);
}

.nav {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  padding-right: 5px;
}

.nav__link {
  font-size: 0.95rem;
  border-bottom: 1px solid var(--nav-link-underline-clr);
  transition: 0.2s;
  padding: 10px 0;
  font-weight: 500;
}

.nav__link:hover {
  color: var(--secondary-clr);
}

.grid {
  margin: 30px 0;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 8px;
  gap: 10px;
}

.grid__item {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--box-shadow);
}

.grid__item__line {
  display: flex;
  align-items: flex-start;
}

.grid__item__icon {
  position: relative;
  top: 2px;
  width: 15px;
  height: 15px;
  margin-right: 3px;
}

.grid__item__link {
  transition: 0.2s;
}

.grid__item:hover .grid__item__link {
  color: var(--secondary-clr);
}

.footer__container {
  width: 100%;
  padding: 30px 0;
  margin-top: 30px;
  background: var(--white);
  box-shadow: var(--box-shadow);
}

.footer {
  display: flex;
  justify-content: space-between;
}

.footer__text {
  font-size: 0.9rem;
  font-weight: 300;
}

.footer__link {
  font-size: 0.9rem;
  transition: 0.2s;
}

.footer__link:hover {
  color: var(--secondary-clr);
}

@media screen and (max-width: 1450px) {
  .container {
    padding: 0 40px;
  }
}

@media screen and (max-width: 1000px) {
  .main {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .nav__container {
    max-width: 820px;
    width: 100%;
  }
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 900px) {
  body {
    padding-top: 70px;
  }
  .container {
    padding: 0 10px;
  }
  .header__logo {
    margin-left: 10px;
  }
  .header__breadcrumbs {
    justify-content: flex-end;
  }
  .empty {
    display: none;
  }
  .footer {
    padding: 0 10px;
  }
}

@media screen and (max-width: 800px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .header__breadcrumbs {
    display: none;
  }
}