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

html body {
  font-family: 'Arimo', Helvetica, Arial, sans-serif;
  padding: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  background-color: rgb(255, 255, 255);
}

.scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background-color: red;
  z-index: 9999;
}

/* navigation bar */

.navbar {
  background-color: rgba(255, 255, 255, 0.7);
  /* white with opacity */
  backdrop-filter: blur(10px);
  /* glass effect */
  -webkit-backdrop-filter: blur(10px);
  /* Safari support */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  /* subtle depth */
  z-index: 1000;
}

.navbar-brand {
  padding-left: 30px;
  font-size: 200px;
}

.nav-item .nav-link {
  font-family: 'Arimo', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    position: relative;
    margin-right: 80px;
    display: inline-block;
    font-size: 30px;
    color: black;
}

/* underline */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 0%;
  height: 3px;
  background-color: red;
  transition: width 0.3s ease;
}

/* hover effect */
.nav-link:hover::after {
  width: 100%;
}

.code {
  font-size: 30px;
  color: hsl(0, 0%, 0%);
}

.code:hover {
  cursor: default;
}

ul {
  padding: 0;
  margin: 0;
}

/*image and text downwards */

.row h1 {
    text-align: center;
    padding-top: 110px;
    color: black;
}

.website-btn {
  width: 400px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  margin-left: 400px;
  padding-bottom: 40px;
}

.website-btn:hover {
  transform: scale(1.05);
  opacity: 0.85;
}

.col p {
  text-align: justify;
  margin-left: 240px;
  margin-right: 200px;
  padding-bottom: 40px;
  color: black;
}

.preview4 {
  padding-left: 20px;
}

/* image grid display */

.gallery-grid {
  display: grid;
  align-self: center;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;

  margin-top: 40px;
}

.gallery-grid img {
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  margin-left: 320px;
}

/* vertical rectangle */
.gallery-grid .tall {
  height: 500px;
}

/* square */
.gallery-grid .square {
  height: 250px;
  margin-top: 120px;
}

@media (max-width: 992px) {

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

}

/* phone */
@media (max-width: 768px) {

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-grid .tall,
  .gallery-grid .square {
    height: auto;
  }

  .gallery-grid img {
    width: 100%;
  }

}

.gallery-item p {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Arimo', Helvetica, Arial, sans-serif;
  line-height: 1.4;
  color: black;
}

/* footer */

.footer-image {
  width: 100%;
}

.footer-image img {
  width: 100%;
  height: auto;
  display: block;
  padding-top: 80px;
}