* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #555;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

strong {
  font-weight: 600;
}

/*************************************************************** */
/* REUSABLE COMPONENTS */
/*************************************************************** */
.container {
  max-width: 130rem;
  margin: 0 auto;
  padding: 0 3.2rem;
}

.grid {
  display: grid;
  row-gap: 9.6rem;
  column-gap: 6.4rem;
}

.grid:not(:last-child) {
  margin-bottom: 9.6rem;
}

.grid-2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4-cols {
  grid-template-columns: repeat(4, 1fr);
}
.grid-5-cols {
  grid-template-columns: repeat(5, 1fr);
}

.grid-center-v {
  align-items: center;
}

.margin-bottom-md {
  margin-bottom: 4.8rem;
}

/*****************************************************************/
/* CONTROLS SECTION */
/*****************************************************************/
.button-container {
  display: flex;
  gap: 3.2rem;
}

.button,
.button:link,
.button:visited {
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  border-radius: 100px;
  transition: all 0.3s;
  cursor: pointer;

  text-decoration: none;
  border: none;
}

.button-primary {
  background-color: #266d7d;
  font-size: 2rem;
  color: #fff;
  font-weight: 500;
  padding: 1.6rem 3.2rem;
}

.button-primary:hover,
.button-primary:active,
.button-tertiary:hover,
.button-tertiary:active {
  background-color: #1e5764;
}

.button-secondary {
  color: #266d7d;
  font-size: 1.2rem;
  padding: 1.6rem 3.2rem;
}

.button-secondary:hover,
.button-secondary:active {
  background-color: #e9f0f2;
  /* box-shadow: inset 0 0 3px #e9f0f2; */
}

.button-tertiary {
  font-size: 1.6rem;
  background-color: #266d7d;
  color: #fff;
  padding: 1.2rem 2.4rem;
}

.arrow-button {
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
  stroke: #fff;
  transition: all 0.3s;
}

.gallery-nav-open .arrow-button {
  transform: rotate(90deg);
}

.hamburger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  position: absolute;
  right: 24px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.line {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 1px;
  transition: all 0.8s;
}

.line:hover {
  background-color: #fff;
}

.nav-open .line-1 {
  transform: rotateZ(-405deg) translate(-8px, 6px);
}

.nav-open .line-2 {
  opacity: 0;
}

.nav-open .line-3 {
  transform: rotateZ(405deg) translate(-8px, -6px);
}

.gallery-nav-sel-container {
  width: 100%;
  padding: 0 0 6.4rem 0;
}

.gallery-nav-selector {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #266d7d;
  padding: 0.5rem 2.4rem;
  cursor: pointer;
  font-size: 1.6rem;
  height: 5rem;
}

.gallery-nav-selected {
  color: #fff;
  display: flex;
  align-items: center;
  font-size: 2.4rem;
  font-weight: 500;
  text-transform: uppercase;
}

.gallery-navigation-bg {
  position: absolute;
  width: 100%;
  top: 5rem;
  left: 0;
  background-color: #266d7d;
  opacity: 0.9;
}

.gallery-navigation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  list-style-type: none;
  opacity: 1;
  width: 100%;
  padding: 2.4rem 0;
}

.gallery-nav-link:link,
.gallery-nav-link:visited {
  font-variant: small-caps;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
}

.gallery-nav-link:hover {
  color: #d9d1ad;
}

.site-link:link,
.site-link:visited {
  display: inline-block;
  font-size: 1.8rem;
  line-height: 1.8;
  text-decoration: none;
  color: #266d7d;
}

.site-link:hover,
.site-link:active {
  text-decoration: underline;
}

/*****************************************************************/
/* FONTS SECTION */
/*****************************************************************/

.channel-regular {
  font-family: "Channel", cursive;
  font-weight: 400;
  font-style: normal;
}

.notice-text {
  font-size: 1.2rem;
  font-weight: 400;
  color: #555;
  text-align: center;
}

@font-face {
  font-family: "Channel";
  src: url(assets/fonts/Channel_Slanted1.ttf) format("truetype");
}

@font-face {
  font-family: "Open Sans";
  src: url(assets/fonts/OpenSans-Regular.ttf) format("truetype");
}

h1,
h2,
h3,
h4 {
  color: #266d7d;
}

h1,
h2 {
  font-family: "Channel", sans-serif;
}

h1 {
  font-size: 4.8rem;
  line-height: 2.1;
}

h2 {
  font-size: 3.2rem;
  line-height: 1.6;
  margin-bottom: 3.2rem;
}

h3 {
  font-size: 2.4rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* HTML: <div class="loader"></div> */
.loader {
  margin: 9.6rem auto;
  width: 6rem;
  aspect-ratio: 4;
  background: radial-gradient(
      closest-side at calc(100% / 6) 50%,
      #266d7d 90%,
      #ffffff00
    )
    0/75% 100%;
  position: relative;
  animation: l15-0 1s infinite linear;
}
.loader::before {
  content: "";
  position: absolute;
  background: inherit;
  clip-path: inset(0 0 0 50%);
  inset: 0;
  animation: l15-1 0.5s infinite linear;
}
@keyframes l15-0 {
  0%,
  49.99% {
    transform: scale(1);
  }
  50%,
  100% {
    transform: scale(-1);
  }
}
@keyframes l15-1 {
  0% {
    transform: translateX(-37.5%) rotate(0turn);
  }
  80%,
  100% {
    transform: translateX(-37.5%) rotate(1turn);
  }
}
