/* General Styling */
@font-face {
    font-family: 'RoisCustom';
    src: url('Rois-Medium.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}


body {
    font-family: 'RoisCustom', sans-serif;
    margin: 0;
    padding: 0;
}

section {
    padding: 50px 280px;
}

h1, h2 {
    text-align: center;
    color: #9e9e9e;
    font-family: 'Roboto', sans-serif;
}

h3 {
    font-family:Arial, Helvetica, sans-serif
}

h2 {
    padding-bottom: 50px;
}

/* General Navbar Styles */
.navbar {
    background-color: #f4f4f4; /* Transparent background */
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 80px 280px 20px;

}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 10;
    margin: 0;
    font-family: 'RoisCustom'; /* Thin, modern font */
    justify-content: right;
}

.navbar ul li a {
    color: black;
    text-decoration: none;
    padding: 10px;
    font-size: 12px;
}

.navbar ul li a:hover {
    color: #818181;
}

/* Menu toggle for small screens */
.menu-toggle {
    display: none;
    color: black;
    font-size: 30px;
    cursor: pointer;
}

.martin {
    display:inline-block;
    justify-content: left;
    font-size: 30px;
}

@media (max-width: 1200px) {

    section {
        padding: 40px 140px;
    }
}
@media (max-width: 950px) {

    section {
        padding: 30px 90px;
    }
}

/* Responsive Design with hover */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .martin {
        display: none;
    }

    .nav-list {
        display: none;
        list-style-type: none;
        flex-direction: column;
        /* background-color: rgba(101, 101, 101, 0.247); */
        /* position: absolute;
        top: 60px;
        right: 0;
        width: 100%; */
        transition: all 0.3s ease;
    }
    
    .navbar
    {
        padding: 10px;
    }

    .navbar ul
    {
        display: none;
    }

    .nav-list.active {
        display: block;
    }

    /* Menu will collapse when not hovered */
    /* .navbar:hover .nav-list.active {
        display: flex;
    }

    .navbar:not(:hover) .nav-list.active {
        display: none;
    } */

    .nav-list.active li a{
        font-size: 20px;
    }

    .nav-list.active li {
        padding: 10px;
        border-top: 2px solid rgba(255, 255, 255, 0.2);
    }

    section {
        padding: 30px;
    }
}

/* Work Section */
#work {
    /* padding: 0px 280px; */
    background-color: #f4f4f4;
    text-align: center;
}

/* About Section */
#media {
    /* padding: 80px 280px; */
    background-color: #f4f4f4;
    /* text-align: center; */
    align-items: center;
}

/* Contact Section */
#contact {
    /* padding: 80px 280px; */
    text-align: center;
    background-color: #f4f4f4;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(198px, 1fr));
    gap: 20px;
}

.project img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.project h3 {
    margin-top: 15px;
    font-size: small;
    color: #333;
}

.instagram-icon {
    width: 32px;  /* Adjust the width */
    height: 32px; /* Adjust the height */
    margin-left: 10px;
    vertical-align: middle;
}