@import url('https://fonts.googleapis.com/css2?family=Nerko+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

body {
    background-color: black;
    margin: 0;
    font-family: Arial, sans-serif;
}

:root {
    --text-color: white;
    --title-font: "Nerko One", cursive; 
    --text-font: "Hanken Grotesk", sans-serif;
}

.navbar {
    background-color: #000000;
    overflow: hidden;
    padding: 10px 0;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    display: block;
    font-size: 18px; 
}

a{
    text-decoration: none;
    color: white;
}

.navbar ul li a:hover {
    background-color: #575757;
    border-radius: 4px;
}

h1 {
    color: var(--text-color);
    text-align: center;
    font-size: 35px;
    margin-bottom: 20px;
    font-family: var(--title-font);
}

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

body {
    font-family: Arial, sans-serif;
    background-color: #000000;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;  
    text-align: center;
}

h1 {
    font-size: 36px;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

h3 {
color: var(--text-color);
font-family: var(--title-font);
font-size: 40px;
color: #43b6b6;
}


.html{
    width: 40px; /* Set width for SVG */
    height: auto; /* Maintain aspect ratio */
    margin: 0; /* Remove any default margin */
    padding-top: 30px; 
}

.htmll{
   display: flex;
}

p{
    color: var(--text-color);
    font-family: var(--text-font);
    font-size: 22px;
    padding-bottom: 20px;
}

.image-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.image-box {
    border-radius: 20px;
    overflow: hidden;
}

.image-box img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    width: 200px;
    height: 210px;
}

.about-section {
    max-width: 800px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.about-section p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.projects {
    display: flex;
    flex-direction: column;
    margin-top: 50px;
}

.project-cards {
    padding: 0 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
}

.wwffoto, 
.rockpapersiccors {
    background-color: #111;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 50px;
    color: rgb(0, 0, 0); 
    justify-content: space-between;
}
.portfoliofoto {
    background-color: #111;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 50px;
    color: rgb(0, 0, 0); 
    flex-direction: row;
}

img {
    width: 50%;
    height: auto;
    border-radius: 5px;
}
.about-project {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    align-items: center;
}
.about-project1 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.visit {
    color: white;
    background-color:#575757;
    width: 100px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-content: space-around;
    justify-content: space-around;
    align-items: center;
    border: solid 1px #91C9FF;
    outline: none;
    background: transparent;
    transition: 1s ease-in-out;
}


.visit:hover {
    transition: 1s ease-in-out;
    background: #4F95DA;
}

.visit1 {
    color: white;
    background-color:#575757;
    width: 100px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-content: space-around;
    justify-content: space-around;
    align-items: center;
    border: solid 1px #91C9FF;
    outline: none;
    background: transparent;
    transition: 1s ease-in-out;
}


.visit1:hover {
    transition: 1s ease-in-out;
    background: #4F95DA;
}

.visit2 {
    color: white;
    background-color:#575757;
    width: 100px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-content: space-around;
    justify-content: space-around;
    align-items: center;
    border: solid 1px #91C9FF;
    outline: none;
    background: transparent;
    transition: 1s ease-in-out;
}


.visit2:hover {
    transition: 1s ease-in-out;
    background: #4F95DA;
}


@media screen and (max-width: 768px) {
    .image-grid {
        flex-direction: column;
        align-items: center;
    }
    .image-box {
        margin-bottom: 20px;
    }
    .image-box img {
        width: 100%;
        height: auto;
        border-radius: 20px;
        object-fit: cover;
        width: 200px;
        height: 210px;
    }
    .about-section {
        max-width: 100%;
    }
    .about-section h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    .about-section p {
        font-size: 16px;
        margin-bottom: 20px;
        line-height: 1.6;
    }
    .project-cards {
        padding: 0 20px;
    }
    .wwffoto, 
    .portfoliofoto, 
    .rockpapersiccors {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .about-project {
        max-width: 100%;
    }
    .visit,
    .visit1,
    .visit2 {
        width: 80px;
        height: 40px;
    }
    .navbar ul {
        flex-direction: column;
        align-items: center;
    }
    .navbar ul li {
        margin: 10px 0;
    }
    .navbar ul li a {
        font-size: 16px;
    }
}

#menu-toggle{
    display: none
}

@media screen and (max-width: 768px) {
    .navbar {
        display: none;
    }

    /* Hide default navbar on small screens */
    .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    /* Image grid in two columns */
    .image-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .image-box {
        width: 45%;
        margin-bottom: 20px;
    }

    /* Hamburger Menu */
    #menu-toggle {
        display: none;
    }

    .hamburger {
        display: block; /* Show hamburger menu only on mobile */
        position: fixed;
        top: 20px;
        right: 20px;
        font-size: 30px;
        cursor: pointer;
        color: white;
        z-index: 1001;
    }

    /* Mobile Navigation Menu */
    .mobile-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: #222;
        box-shadow: -5px 0px 10px rgba(0, 0, 0, 0.3);
        transition: right 0.4s ease-in-out;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    /* Show menu when checkbox is checked */
    #menu-toggle:checked + .hamburger + .mobile-nav {
        right: 0;
    }

    .mobile-nav ul {
        list-style-type: none;
        text-align: center;
    }

    .mobile-nav ul li {
        margin: 20px 0;
    }

    .mobile-nav ul li a {
        color: white;
        font-size: 20px;
    }

    .mobile-nav ul li a:hover {
        color: #4F95DA;
    }
}

/* Hide Hamburger on Large Screens */
@media screen and (min-width: 769px) {
    .hamburger,
    .mobile-nav {
        display: none;
    }
}

/* Ensure the layout adjusts correctly */
.wwffoto, 
.portfoliofoto, 
.rockpapersiccors {
    background-color: #111;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 50px;
    color: rgb(0, 0, 0);
    justify-content: space-between;
    flex-direction: row-reverse; /* Adjust layout to have image on the right */
}

/* Adjust image size and positioning */
img {
    width: 50%;
    height: auto;
    border-radius: 5px;
}

/* Layout adjustments for the about-project sections */
.about-project {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

button {
    color: white;
    background-color:#575757;
    width: 100px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-content: space-around;
    justify-content: space-around;
    align-items: center;
    border: solid 1px #91C9FF;
    outline: none;
    background: transparent;
    transition: 1s ease-in-out;
}

button:hover {
    transition: 1s ease-in-out;
    background: #4F95DA;
}

/* Flexbox for smaller screens */
@media screen and (max-width: 768px) {
    .wwffoto, 
    .portfoliofoto, 
    .rockpapersiccors {
        flex-direction: column;  /* Stack the text and image vertically on mobile */
        gap: 20px;
    }

    img {
        width: 100%;
        height: auto;
    }
}

