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

html {
  /* font-size: 10px; */

  /* 10px / 16px = 0.625 = 62.5% */
  /* Percentage of user's browser font-size setting */
  /* 1rem = 10px */
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

*:focus {
  outline-offset: 1rem;
  outline-color: #dedede;
  z-index: 99999;
}

a:focus img {
  border: 3px solid #dedede !important;
  /* box-shadow: inset 3px solid #2980cb; */
}

a:visited img,
a:active img {
  border: none;
}

a:link,
a:visited {
  text-decoration: none;
  /* border-bottom: 1px solid currentColor; */
  transition: all 0.2s;
  color: rgb(0, 0, 0);
}

a:hover,
a:active {
  color: #555;
}

body {
  font-family: "Model Mono", sans-serif;
  line-height: 1.2;
  font-weight: 300 !important;
  color: rgb(0, 0, 0);
  /* letter-spacing: -0.125em; */

  /* Only works if there is nothing absolutely positioned in relation to body */
  overflow-x: hidden;
}
h1,
h2,
h3,
h4 {
  font-weight: 300;
}

img {
  /* border-radius: 4px; */
}

section {
  padding: 9.6rem 0;
}

.heading-primary {
  font-weight: 300;
  font-size: 3rem;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  /* letter-spacing: -0.06125em; */
}

.heading-secondary {
  font-weight: 300;
  font-size: 3rem;
  margin-bottom: 4.8rem;
  line-height: 1.2;
}

.heading-tertiary {
  font-size: 2.4rem;
  font-weight: 300;
  margin-bottom: 0.8rem;
  line-height: 1.2;
  transition: all 0.2s;
}

.subheading {
  display: block;
  font-weight: 300;
  /* text-transform: uppercase; */
  /* letter-spacing: 0.75px; */
  line-height: 1.4;
}

.subheading--h1 {
  font-size: 2.4rem;
  margin-bottom: 2.4rem;
}

.subheading--h2 {
  font-size: 2.2rem;
  margin-bottom: 1.6rem;
}

.subheading--h3 {
  font-size: 1.75rem;
  margin-bottom: 1.2rem;
  transition: all 0.2s;
  /* white-space: pre; */
}

.hovered .subheading--h3,
.hovered .heading-tertiary {
  color: #555;
}

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

.margin-bottom-md {
  margin-bottom: 2.4rem !important;
}

.margin-bottom-lg {
  margin-bottom: 6.4rem !important;
}

.margin-bottom-xl {
  margin-bottom: 19.2rem !important;
}

.margin-bottom-none {
  margin-bottom: 0 !important;
}

.margin-right-lg {
  margin-right: 6.4rem !important;
}

.width-sm {
  width: 24rem !important;
}

.width-md {
  width: 32rem !important;
}

.grid {
  display: grid;
  gap: 19.2rem;
  column-gap: 4.8rem;
}

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
  column-gap: 10rem;
}

.grid--center-v {
  align-items: center;
}

.grid--center-h {
  justify-content: center;
}

.container {
  max-width: 112rem;
  margin: 0 auto;
  padding: 0 6.4rem;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.flex--flex-start {
  justify-content: flex-start;
}

.icon-center-v {
  /* height: 3.4rem;
  width: 3.4rem; */
  transform: translate(-1rem, 0.25rem);
  height: 2.5rem;
}
.display-none {
  border: none;
  background: none;
  cursor: pointer;
  display: none !important;
}

.link:link,
.link:visited {
  border-bottom: 1px solid currentColor;
}

/**************************/
/* MODAL */
/**************************/

.modal-container {
  position: fixed;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255);
  text-align: left;
}

.modal-pic {
  display: block;
  width: 100%;
  height: 100%;
}

.modal-container img {
  object-fit: contain;
  cursor: zoom-out !important;
  transform: scale(1.2);
  width: 100%;
  height: 100%;
}

.modal-img-caption {
  position: absolute;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  background-color: rgb(255, 255, 255);
  /* border-radius: 4px; */
  padding: 1.2rem 1.2rem 1.2rem 2.4rem;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
  bottom: -4px;
  box-shadow: 0 -2.4rem 4.8rem rgba(0, 0, 0, 0.075);
}

.hidden {
  border: none;
  background: none;
  /* cursor: pointer; */
  display: none;
}

.close-icon-btn {
  cursor: pointer;
}

.close-icon-btn:hover,
.close-icon-btn:focus {
  text-decoration: none;
  cursor: pointer;
  color: #555;
}
.close-icon {
  width: 2.4rem;
  transform: translateY(0.2rem);
}

/**************************/
/* YOU TUBE */
/**************************/

.embed-container-youtube {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  /* border-radius: 4px; */
  overflow: hidden;
}

.embed-container-youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
