@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 120px;
    background: #1f242d;
    opacity: 0.9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 25px;
    text-align: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

nav a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
}

nav a:hover,
nav a.active {
    color: red;
    text-decoration: underline;
}

.video {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.meow {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    text-align: center;
}

.meow h3 {
    font-size: 90px;
}

.meow p {
    font-size: 50px;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    row-gap: 20px;
    margin-top: 7%;
    margin-right: 1%;
    margin-left: 1%;
}

.container img {
    max-width: 100%;
    transition: transform .2s;
    height: auto;
    border-radius: 25px;
}

.container img:hover {
    transform: scale(1.05);
    border-color: #ccf43a;
}

.text {
    max-width: 100%;
    display: flex;
    font-size: 30px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.footer {
    font-size: 18px;
    text-align: center;
    margin-top: 7%;
}

.end {
    font-family: cursive;
    justify-content: center;
    text-align: center;
    align-items: center;
    font-size: 15px;
}

.home {
    min-height: 100vh;
    display: flex;
    background: #1f242d;
    font-size: 100px;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: 700;
}

.about {
    font-size: 20px;
    justify-content: center;
    align-items: center;
}

.projects {
    font-size: 50px;
    justify-content: center;
}

.contact {
    min-height: 0vh;
    justify-content: center;
}

table {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
    table-layout: fixed;
    border-spacing: 100px;
}

td {
    width: 50%;
    overflow: hidden;
}

td img {
    max-width: 100%;
    height: auto;
    display: block;
}

.h1 {
    width: 100%;
}

.social-icons {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 20px;
    padding: 10px;
}

.social-icon {
    font-size: 30px;
    color: white;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #f39c12;
}

section {
    min-height: 100vh;
    display: flex;
    background: #1f242d;
    font-size: 100px;
    color: #fff;
    font-weight: 700;
}

section:nth-child(odd) {
    background: #161616;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .logo {
        font-size: 22px;
    }

    nav a {
        font-size: 16px;
    }

    .meow h3 {
        font-size: 60px;
    }

    .meow p {
        font-size: 30px;
    }

    .container {
        grid-template-columns: 1fr;
        margin-top: 10%;
    }

    .footer {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 20px;
    }

    nav a {
        font-size: 14px;
        margin-left: 20px;
    }

    .meow h3 {
        font-size: 50px;
    }

    .meow p {
        font-size: 30px;
    }

    .container {
        grid-template-columns: 1fr;
        margin-top: 5%;
    }

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

    .social-icon {
        font-size: 25px;
    }

    .footer {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    nav a {
        font-size: 12px;
        margin-left: 15px;
    }

    .meow h3 {
        font-size: 40px;
    }

    .meow p {
        font-size: 25px;
    }

    .container {
        grid-template-columns: 1fr;
        margin-top: 10%;
    }

    .footer {
        font-size: 12px;
    }

    .social-icon {
        font-size: 20px;
    }
}
.about-table {
    width: 100%;
    table-layout: fixed;
}

.about-table td {
    padding: 10px;
}

.about-text {
    font-size: 16px;
    color: #fff;
}

.about-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 25px;
}

/* Reordering for smaller screens */
@media (max-width: 768px) {
    .about-table tr {
        display: flex;
        flex-direction: column;
    }

    .about-table td {
        width: 100%;
    }

    .about-image {
        order: 2;
    }

    .about-text {
        order: 3;
    }

    .h1 {
        text-align: center;
    }

    .about-image img {
        width: 100%;
    }
}
/* General Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 120px;
    background: #1f242d;
    opacity: 0.9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

/* Nav Menu */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-links {
    list-style: none;
    display: flex;
    position: absolute;
    justify-content: flex-end;
    margin-left: 15%;
    align-items: center;
    text-align: right;

}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: red;
    text-decoration: underline;
}

/* Burger Menu Styles */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 30px;
    color: #fff;
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Hide nav links by default */
    .nav-links {
        display: none;
        width: 100%;
        justify-content: center;
        align-items: center;
        background-color: #1f242d;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 20px 0;
        margin-left: 0;
        z-index: 10;
        flex-direction: column; 
    }

    .nav-links li {
        margin: 10px 0;
        font-size: 18px;
    }

    .menu-toggle {
        display: block;
        margin-left: 20px;
        align-items: center;
    }

    .nav-links.active {
        display: flex;
    }
}
