/* **************** */
/* GENERAL */
/* **************** */

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

/* **************** */
/* NAVIGATION */
/* **************** */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary);
  height: 9.6rem;
  padding: 0 4.8rem;
}

.header-logo {
  font-size: 3.2rem;
  color: var(--accent);
  text-decoration: none;
}

.main-nav-list {
  display: flex;
  align-items: center;
  gap: 4.8rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  color: var(--accent);
  font-weight: 500;
  font-size: 2rem;
  text-decoration: none;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #999;
}

.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  height: 8rem;
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
  background-color: rgba(30, 85, 92, 0.9);
  z-index: 9999;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.1);
}

.sticky .section-about {
  margin-top: 9.6rem;
}

/* **************** */
/* ABOUT ME */
/* **************** */

.section-about {
  padding: 9.6rem 0;
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.about-text-box {
  max-width: 50%;
}

.about-img-box {
  max-width: 50%;
}

.about-img {
  height: 400px;
  border-radius: 50%;
  box-shadow: 0 0.8rem 1.6rem 0 rgba(0, 0, 0, 0.15);
}

.about-info {
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--grayMain);
}

strong {
  text-transform: uppercase;
  color: var(--primary);
}

.typing {
  display: inline-block;
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--primary);
  animation: typing 3s steps(20, end);
}

.cursor {
  display: inline-block;
  width: 0.3rem;
  height: 1.6rem;
  background-color: var(--accent);
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%,
  100% {
    background-color: transparent;
  }

  50% {
    background-color: var(--primary);
  }
}

/* **************** */
/* LEARNING OUTCOMES */
/* **************** */

.btn-box {
  display: flex;
  justify-content: space-around;
  margin-bottom: 6.4rem;
}

.lo-btn {
  border: none;
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--accent);
  background-color: var(--primary);
  padding: 1.2rem 2.4rem;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.3s;
}

.lo-btn:active,
.lo-btn:hover {
  transform: translateY(-10px);
  box-shadow: 0 0.8rem 1.6rem 0.8rem rgba(0, 0, 0, 0.15);
}

.section-tlo {
  padding: 9.6rem 0;
  background-color: var(--accent);
}

.bento-masonry {
  display: flex;
  gap: 1.6rem;
}

.mason-col-1,
.mason-col-2 {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* **************** */
/* MODAL WINDOWS */
/* **************** */

.modal-card {
  position: fixed;
  z-index: 444;
  padding-top: 9.6rem;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  /* background-color: rgb(0, 0, 0); */
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-card::-webkit-scrollbar {
  display: none;
}

.modal-content-card {
  background-color: #fefefe;
  margin: auto;
  padding: 3.2rem;
  width: 80%;
  border-radius: 9px;
}

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

.tag {
  display: inline-block;
  margin-bottom: 4.8rem;
  font-size: 1.8rem;
}

.lo-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.lo-text {
  max-width: 80%;
  display: flex;
  flex-direction: column;
}

.lo-image {
  height: 30rem;
  width: auto;
}

.desc-modal {
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 6.4rem;
}

.figure {
  display: flex;
  align-self: center;
  margin-bottom: 6.4rem;
  gap: 1.6rem;
  width: 100%;
  overflow-x: auto;
}

/* **************** */
/* GALLERY */
/* **************** */

.section-gallery {
  padding: 9.6rem 0;
  background-color: var(--accent);
}

.gal-title {
  font-size: 4.8rem;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  padding: 1.6rem 0 6.4rem 0;
}

.grid {
  columns: 3;
  gap: 1rem;
}

.gal-item {
  border-radius: 9px;
  box-shadow: 0 0.8rem 1.6rem 0 rgba(0, 0, 0, 0.15);
  margin-bottom: 1rem;
  overflow: hidden;
}

.gal-img {
  width: 100%;
  transition: all 0.5s ease-in-out;
}

.gal-img:hover {
  cursor: pointer;
  transform: scale(1.2);
}

/* **************** */
/* PROJECTS */
/* **************** */

.section-projects {
  padding: 9.6rem 0;
}

.project-card {
  justify-self: center;
  border-radius: 9px;
  box-shadow: 0 0.8rem 1.6rem 0 rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.project-img-box .box {
  width: 58rem;
  height: 30rem;
  background-position: top;
  transition: ease-in-out 6s;
}

.project-img-box .box.box1 {
  background-image: url("/img/project.png");
  background-size: cover;
}

.project-img-box .box.box2 {
  background-image: url("/img/STVMNT-website.png");
  background-size: cover;
}

.project-img-box .box:hover {
  background-position: bottom;
}

.project-box {
  display: flex;
  gap: 3.2rem;
  justify-content: space-around;
}
