/*!
 * Main style based on Milligram v1.4.1, released under MIT license
 * https://milligram.io
*/

/* Load self-hosted Poppins fonts */
/* poppins-300 - latin */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  src: local(""), url("/https/www.santisoler.com/fonts/poppins-v15-latin-300.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("/https/www.santisoler.com/fonts/poppins-v15-latin-300.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* poppins-regular - latin */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: local(""), url("/https/www.santisoler.com/fonts/poppins-v15-latin-regular.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("/https/www.santisoler.com/fonts/poppins-v15-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* poppins-500 - latin */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  src: local(""), url("/https/www.santisoler.com/fonts/poppins-v15-latin-500.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("/https/www.santisoler.com/fonts/poppins-v15-latin-500.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* poppins-600 - latin */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  src: local(""), url("/https/www.santisoler.com/fonts/poppins-v15-latin-600.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("/https/www.santisoler.com/fonts/poppins-v15-latin-600.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* poppins-700 - latin */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  src: local(""), url("/https/www.santisoler.com/fonts/poppins-v15-latin-700.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("/https/www.santisoler.com/fonts/poppins-v15-latin-700.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Poppins", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  color: #ececec;
  background-color: #1b2224;
  font-size: 1.6em;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

b,
strong {
  font-weight: bold;
}

p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 300;
  letter-spacing: -0.1rem;
  margin-bottom: 2rem;
  margin-top: 3rem;
}

h1 {
  font-size: 4.6rem;
  line-height: 1.2;
  margin-bottom: 3rem;
  margin-top: 4.5rem;
}

h2 {
  font-size: 3.6rem;
  line-height: 1.25;
}

h3 {
  font-size: 2.8rem;
  line-height: 1.3;
}

h4 {
  font-size: 2.2rem;
  letter-spacing: -0.08rem;
  line-height: 1.35;
}

h5 {
  font-size: 1.8rem;
  letter-spacing: -0.05rem;
  line-height: 1.5;
}

h6 {
  font-size: 1.6rem;
  letter-spacing: 0;
  line-height: 1.4;
}

img {
  max-width: 100%;
}

a {
  color: #58b792;
  text-decoration: none;
}

a:hover {
  color: #58b792;
  opacity: 40%;
}

dl,
ol,
ul {
  list-style: none;
  margin-top: 0;
  padding-left: 0;
}

dl dl,
dl ol,
dl ul,
ol dl,
ol ol,
ol ul,
ul dl,
ul ol,
ul ul {
  font-size: 90%;
  margin: 1.5rem 0 1.5rem 3rem;
}

ol {
  list-style: decimal inside;
}

ul {
  list-style: circle inside;
}

li {
  margin-bottom: 1rem;
}

blockquote {
  border-left: 0.3rem solid #d1d1d1;
  margin-left: 0;
  margin-right: 0;
  padding: 1rem 1.5rem;
}

blockquote *:last-child {
  margin-bottom: 0;
}

code {
  background: #282c34;
  border-radius: 0.4rem;
  font-size: 86%;
  margin: 0 0.2rem;
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
}

pre {
  background: #282c34;
  overflow-y: hidden;
}

pre > code {
  border-radius: 0;
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre;
}

hr {
  border: 0;
  border-top: 0.1rem solid #f4f5f6;
  margin: 3rem 0;
}

figure {
  margin: 1rem 0;
}

.button,
button {
  background-color: #678fff;
  border: 0.1rem solid #678fff;
  border-radius: 0.4rem;
  color: #1b2224;
  cursor: pointer;
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  height: 3.8rem;
  letter-spacing: 0.1rem;
  line-height: 3.8rem;
  padding: 0 2rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.button:hover,
button:hover {
  opacity: 100%;
  background-color: #606c76;
  border-color: #606c76;
  color: #fff;
  outline: 0;
}

iframe {
  width: 100%;
}

/* ------ */
/* Navbar */
/* ------ */
nav {
  background-color: #141a1b;
  margin-bottom: 0;
  height: 100%;
  padding: 3rem 0;
}

nav ul.navbar {
  list-style: none;
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: column;
  margin-bottom: 0;
  padding: 0;
  display: none;
}

nav ul.navbar.opened {
  display: flex;
}

nav ul.navbar li {
  margin: 0;
  font-size: 1.8rem;
}

nav ul li a {
  color: #ececec;
}

.nav-home > a {
  font-weight: 700;
}

.nav-burger {
  font-size: 2.1rem;
  margin-bottom: 0;
  padding: 0;
}

.nav-burger a {
  color: #ececec;
}

@media (max-width: 576px) {
  .nav-burger a {
    margin-left: 3rem;
  }
  nav ul.navbar li {
    margin-left: 3rem;
  }
}

@media (min-width: 768px) {
  nav ul.navbar {
    align-items: center;
    flex-direction: row;
    display: flex;
  }

  .nav-burger {
    display: none;
  }
}

/* ------ */
/* Header */
/* ------ */
header {
  background-color: #141a1b;
  height: 30vh;
  min-height: 7rem;
  margin-bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

header.main-header {
  height: calc(100vh - 9rem); /* fill all viewport (remove navbar height) */
  text-align: center;
}

/* For short screens, fix the header height */
@media (max-height: 600px) {
  header.main-header {
    height: calc(600px - 6rem);
  }
}

header h1 {
  font-size: 5.5rem;
  margin-top: 0;
  text-align: center;
}

header img {
  border-radius: 50%;
  max-height: 30rem;
  margin-bottom: 3rem;
}

ul.social-icons {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

ul.social-icons > li {
  margin: 0 10px;
  font-size: 2.5rem;
}

ul.social-icons > li > a {
  color: #ececec;
}

ul.social-icons > li > a:hover {
  color: #58b792;
  opacity: 70%;
}

/* ---- */
/* Home */
/* ---- */

section > h2 {
  font-size: 4.6rem;
  text-align: center;
  margin-top: 10rem;
  margin-bottom: 5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ababab;
}

.entry {
  margin-bottom: 3rem;
}

.thumbnail-col {
  text-align: center;
}

.entry img {
  border-radius: 50%;
}

.entry h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 3rem;
}

.entry p {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
  .entry h3 {
    text-align: center;
  }

  .thumbnail-col img {
    max-width: 50%;
  }
}

.community {
  text-align: center;
}

.community img {
  width: auto;
  height: auto;
  max-height: 150px;
}

.community h3 {
  font-size: 2.2rem;
  margin-top: 1rem;
}

/* ------ */
/* Footer */
/* ------ */
footer {
  background-color: #141a1b;
  text-align: center;
  padding: 3rem 0;
  font-size: 1.4rem;
  margin-top: 10rem;
  height: 100%;
}

footer p {
  margin-bottom: 0;
}

/* ----- */
/* About */
/* ----- */

img.profile {
  border-radius: 50%;
  margin-top: 2rem;
  margin-bottom: 2rem;
  max-width: 300px;
  text-align: center;
}

/* -------------- */
/* Custom classes */
/* -------------- */

.title {
  margin-bottom: 1rem;
}
.authors {
  font-size: 1.8rem;
}

.warning {
  color: #141a1b;
  background-color: #e5c07b;
  font-weight: 400;
  border-radius: 2px;
  padding: 0.5rem 1rem;
}

.text-warning {
  color: #e5c07b;
}

.text-align-center {
  text-align: center;
}

.no-margin-top {
  margin-top: 0 !important;
}

.pager {
  font-size: 1.3rem;
  padding-left: 0;
  margin: 20px 0;
  text-align: center;
  list-style: none;
}
.pager li {
  display: inline;
}
.pager li > a,
.pager li > span {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 15px;
}
.pager li > a:hover,
.pager li > a:focus {
  text-decoration: none;
  background-color: #141a1b;
  color: #58b792;
  opacity: 100%;
}
.pager .next > a,
.pager .next > span {
  float: right;
}
.pager .previous > a,
.pager .previous > span {
  float: left;
}
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
  color: #777;
  cursor: not-allowed;
  background-color: #fff;
}

/* Improve style for embedded videos */
.videowrapper {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.videowrapper iframe,
.videowrapper object,
.videowrapper embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Change color of iframes for embedded pdfs */
.pdf {
  color: #1b2224;
}

/* Define ratio classes (copied from bootstrap) */
/* -------------------------------------------- */

.ratio {
  position: relative;
  width: 100%;
}
.ratio::before {
  display: block;
  padding-top: var(--bs-aspect-ratio);
  content: "";
}
.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ratio-1x1 {
  --bs-aspect-ratio: 100%;
}

.ratio-4x3 {
  --bs-aspect-ratio: 75%;
}

.ratio-16x9 {
  --bs-aspect-ratio: 56.25%;
}

.ratio-21x9 {
  --bs-aspect-ratio: 42.8571428571%;
}

/* Create thumbnail for youtube videos */
/* ----------------------------------- */
.yt {
  background-size: cover;
  text-align: center;
  width: 100%;
  height: 100%;
}

.yt a {
  text-decoration: none;
  color: #fff;
}

.yt a:hover {
  text-decoration: none;
  color: #fff;
}

.play-button {
  width: 68px;
  height: 48px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -34px;
  margin-top: -32px;
  background-color: rgba(23, 23, 23, 0.8);
  border-radius: 10px;
}

.play-button:hover {
  background-color: rgba(255, 0, 0, 1);
}

.play-button img {
  width: 25%;
  height: auto;
  margin: 18% 0;
  padding-top: 2px;
}

.watch-on-yt {
  background-color: rgba(23, 23, 23, 0.8);
  position: absolute;
  left: 0px;
  top: auto;
  bottom: 5px;
  height: 48px;
  width: auto;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.5rem;
  line-height: 1.5rem;
}

.watch-on-yt img {
  height: 1.5rem;
  width: auto;
  margin-left: 0.5rem;
  padding-bottom: 1px;
}
