* {
    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;
}

/* text */

.col-8 {
    color: rgb(0, 0, 0);

}

.subtitle {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

.top-line {
    display: block;
    padding-top: 100px;
    padding-bottom: 10px;
}

.bottom-line {
    display: block;
    font-weight: 700;
    font-size: 20px;
    /* strong + clear */
    color: black;
    margin-top: -20px;
}

.col-8 p {
    font-family: 'Arimo', Helvetica, Arial, sans-serif;
    text-align: justify;
    margin-left: 80px;
    margin-right: 40px;
    /* Adjust as needed */
    padding-top: 10px;
    z-index: 1;
    position: relative
}

.preview5 {
    width: 400px;
    padding-top: 10px;
    padding-left: 40px;
}

h3 {
    text-align: center;
    font-family: 'Arimo', Helvetica, Arial, sans-serif;
    padding-top: 30px;
}

/* image grid display */

/* image grid display */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

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

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

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

@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;
    padding-left: 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;
}