/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #333;
    color: lightgray;
    margin-top: 100px;
}

/* Style the header */
header {
    background-color: #333;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
}


/* Logo styling */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo h1 {
    margin: 0;
    font-size: 1.3rem;
}

.logo h2 {
    margin: 0;
    font-size: 2rem;
}


/* Style the navigation */
nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 15px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Style list items */
nav ul li {
    position: relative;
}

/* Style the main menu links */
nav ul li a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    display: block;
    white-space: nowrap;
}

/* Hover effect for links */
nav ul li a:hover {
    color: white;
    background-color: #575757;
    border-radius: 5px;
}

/* Submenu styling */
nav ul li ul {
    border-radius: 5px;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #444;
    padding: 0;
    list-style-type: none;
    min-width: 150px;
    z-index: 1000;
}

/* Show submenu on hover */
nav ul li:hover>ul {
    display: block;
}

/* Style submenu items */
nav ul li ul li a {
    padding: 8px 16px;
    color: white;
    text-decoration: none;
    display: block;
}

/* Hover effect for submenu items */
nav ul li ul li a:hover {
    background-color: #666;
}

.container {
    width: 95%;
    margin: auto;
    overflow: hidden;
    padding-top: 10px;
    color: black;
    display: flex;
    max-width: 1200px;
}

.article {
    text-align: center;
    margin-top: 0;
    font-size: 1.3rem;
    font-weight: bold;
}

.about {
    scroll-margin-top: 70px;
    font-size: 1.3em;
    text-align: justify;
}

.inline-box {
    display: flex;
    flex-direction: column;
    padding: 20px;
    justify-content: space-between;
}


.card {
    display: flex;
    align-items: center;    
    gap: 10px;  
    border: 2px solid transparent;
    border-radius: 5px;
    margin-bottom: 5px;
    min-height: 2.5em;
    background-color: #D0D0D0;
}

.card img {
    width: 40px;
    object-fit: contain;
    padding: 3px;
}

.card p {
    margin: 0;
    font-size: 0.9rem;
}


.project {
    scroll-margin-top: 70px;
    font-size: 1.3em;
    text-align: justify;
}


/* Contact form */
.contact {
    scroll-margin-top: 70px;
    display: flex;
    max-width: 1200px;
    align-items: center;
    margin: auto;
}

.feedback-form {
    padding-top: 10px;
    width: 50%;
    margin: 10px;
    color: lightgray;
}

.form-group {
    display: flex;
    margin-bottom: 10px;
}


.inline-fields {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
/*    margin-bottom: 10px;*/
}

.inline-fields label {
    margin-left: 10px;
    white-space: nowrap;
    text-align: right;
}

.inline-fields input[type="text"], .inline-fields input[type="email"] {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 10px;
}

.form-group textarea {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    resize:vertical;
    border-radius: 10px;
}

.form-group button {
    display: inline-block;
    width: 40%;
    height: 80%;
    padding: 10px;
    background: #0779e4;
    color: #fff;
    border: none;
    border-radius: 10px;
}