/* style.css */

body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

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

header {
    position: fixed;
    background-color: #333;
    color: #fff;
    padding: 5px 0;
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    margin-right: 5px;
}

.logo img{
    width: 85px;
    height: 85px;
    background-color: transparent;
}

.logo{
    display: flex;
}

.logo h1{
    margin:20px
}

nav{
    overflow: hidden;
    transition: height ease .5s, top ease .5s .5s, transform ease .5s;
}
nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

#hero {
    background-color: #f0f0f0;
    text-align: center;
    padding: 100px 0;
}

#hero h2 {
    margin-bottom: 20px;
    margin-top: 114px;
}

.button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    white-space: nowrap;
}


#web, #apps, #embedded, #process, #testimonials, #contact {
    padding: 80px 0;
}

#web .button, #apps .button, #embedded .button, #process .button, #testimonials .button, #contact .button {
    
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.project {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.project img {
    max-width: 160px;
    height: auto;
}

form input, form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.testimonial {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.contact .container form{
    padding: 20px;
}

header{
    line-height: initial;
}

.menu{
    display: none;
}
/* Responsive Design */

@media (max-width: 768px) {
    .menu{
        display: block;
    }
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        margin-top: 10px;
    }

    nav ul li {
        margin: 5px 0;
    }

    .nav-closed{
        height: 0;
    }
    .nav-opened{
        height: 168px;
    }
    .logo img{
        width:65px;
        height:65px
    }

    .logo h1{
        margin:10px;
        font-size: 1.5em;
        margin-top: 18px;
    }
    
    header .container{
        padding: 0 5px;
    }

    .logo a{
        margin-right: 0;
    }

    .logo h1{
        margin-left: 5px;
    }
}
