/* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

@font-face {
    font-family: "Bebas";
    src: url("/assets/Bebas-Regular.ttf");
    font-weight: 400;
}

.jomhuria-regular {
    font-family: "Jomhuria", serif;
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: 'Jomhuria', sans-serif;
    background-color: #404040;
    color: white;
}

header {
    padding: 20px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    flex-direction: row-reverse;
}

.nav__item {
    margin-right: 20px;
}

.nav__link {
    text-decoration: none;
    color: #00FFA1;
    /* font-weight: 600; */
    padding: 10px 20px;
    border: 2px solid #00FFA1;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav__link:hover {
    background-color: #00FFA1;
    color: #333;
}

.nav__link {
    font-size: 1.5rem;
    font-family: 'Bebas';
}

.right-links .nav__link {
    font-size: 1rem;
}

.right-links {
    display: flex;
}

#hero {
    height: 30vh;
    background: url('hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
}

.hero-content h1 {
    font-size: 9rem;
    font-weight: 100;
    color: #333333;
}

/* Sticky Second Header */
.sticky-header {
    background-color: #333;
    color: #00FFA1;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    text-align: center;
}

.sticky-header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

.sticky-header nav ul li {
    margin: 0 15px;
}

.sticky-header nav ul li a {
    color: #00FFA1;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 200;
    padding: 5px 10px;
    transition: color 0.3s;
}

.sticky-header nav ul li a:hover {
    color: white;
}

/* Portfolio Grid Layout */
.grid-background {
    background-color: #252424;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 1rem;
}

.grid-item {
    position: relative;
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    border: 0.8rem solid #333;

}

.grid-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.grid-item:hover .overlay {
    opacity: 1;
}

.categories-background {
    background-color: aqua;
}

.text {
    color: white;
    font-size: 24px;
    text-align: center;
}

/* Titles for Categories */
h2 {
    font-size: 4rem;
    color: #00ffa23d;
    margin-top: 40px;
    text-align: left;
    margin-bottom: 10px;
    font-weight: 100;
}

.lighter1 {
    color: #00ffa27a;
}

.lighter2 {
    color: #00ffa1;
}

.lightergrey {
    color: #3a3a3a;
}

/* Footer */
.footer {
    margin-top: 2rem;
}

.footer .overlap {
    position: relative;
    width: 1512px;
    height: 186px;
}

.footer .overlap-group {
    position: absolute;
    width: 1512px;
    height: 179px;
    top: 0;
    left: 0;
}

.footer .separator-footer {
    position: absolute;
    width: 1512px;
    height: 65px;
    top: 0;
    left: 0;
    background-color: #343232;
    border-left-width: 12px;
    border-left-style: solid;
    border-color: #00ffa1;
}

.footer .skull {
    position: absolute;
    width: 217px;
    height: 164px;
    top: 15px;
    left: 72px;
    object-fit: cover;
}

.footer .contact {
    position: absolute;
    width: 222px;
    height: 77px;
    top: 94px;
    left: 1113px;
}

.footer .overlap-group-2 {
    position: absolute;
    width: 218px;
    height: 31px;
    top: 0;
    left: 0;
}

.footer .frame {
    position: absolute;
    width: 266px;
    height: 21px;
    top: 10px;
    left: 0;
    background-color: #343232;
}

.footer .text-wrapper {
    position: absolute;
    top: 0;
    left: 5px;
    font-family: "Bebas", Helvetica;
    font-weight: 400;
    color: #00ffa1;
    font-size: 20px;
    letter-spacing: 0;
    line-height: 20px;
    white-space: nowrap;
}

.footer .overlap-2 {
    position: absolute;
    width: 218px;
    height: 31px;
    top: 46px;
    left: 0;
}

.footer .letter {
    position: absolute;
    width: 84px;
    height: 82px;
    top: 86px;
    left: 1395px;
    object-fit: cover;
}

.link {
    text-decoration: none;
    color: #00FFA1;
}

.footer .text-wrapper-2 {
    position: absolute;
    top: 171px;
    left: 660px;
    font-family: "Kantumruy Pro", Helvetica;
    font-weight: 500;
    color: #bec0be;
    font-size: 13px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}