:root {
  --primary: #1e555c;
  --accent: #f4d8cd;
  --grayMain: #3a2e39;
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1;
  font-weight: 400;
}

body::-webkit-scrollbar {
  display: none;
}

br {
  display: block;
  margin-bottom: 4rem;
}

.overflowHidden {
  overflow: hidden !important;
}

.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 3.2rem;
}

.heading-primary {
  font-size: 6.4rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--primary);
}

.heading-secondary {
  font-size: 4.8rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  margin-bottom: 4.8rem;
}

.heading-tertiary {
  font-size: 3.2rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--primary);
}

.heading-card {
  font-size: 2rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--grayMain);
}

.heading-modal {
  font-size: 2.8rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--grayMain);
  padding: 2.4rem 0;
}

.hidden {
  display: none;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

.active {
  display: block;
}

.bento-flex {
  display: flex;
}

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

.btn-close {
  border: none;
  background-color: #fff;
}

.close-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  border-radius: 50%;
  transition: all 0.3s;
}

.close-icon:hover,
.close-icon:active {
  background-color: #f4d8cd;
  cursor: pointer;
}

.card {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 1.6rem 3.2rem rgba(0, 0, 0, 0.158);
  transition: all 0.3s;
  cursor: pointer;
}

.card:hover,
.card:active {
  transform: translateY(-1rem);
  box-shadow: 0 1.6rem 3.2rem rgba(0, 0, 0, 0.301);
}

.card-title {
  position: absolute;
  display: flex;
  align-items: center;
  bottom: 0rem;
  width: 100%;
  height: 8rem;
  padding: 2.4rem;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), #fff);
}

.flex-1 {
  flex: 1;
}

.flex-2 {
  flex: 2;
}

.flex-3 {
  flex: 3;
}

/* **************** */
/* BENTO BOX LAYOUT */
/* **************** */

.bento-box {
  gap: 1.6rem;
  flex-wrap: wrap;
}

.bento-col-1 {
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-height: 80rem;
}

.bento-col-2,
.bento-col-3 {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  flex-wrap: wrap;
  max-height: 80rem;
}

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

.modal-link {
  color: var(--primary);
  font-weight: 600;
}
