/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #151D26;
    color: #F2F1F0;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    background-color: #A69E86;
    padding: 1rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 0.5rem;
    height: 10vh; 
    margin: 1vw 2vw;
}

.navitem {
    color: #151D26;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
}

.navitem.active {
    background-color: #E1C699;
    color: #333333;
    border-radius: 0.5rem;
    padding: 1rem;
}

/* Home Page */
.homepage {
    background-color: #A69E86;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    color: #151D26;
    margin: 1vh 2vw; 
    border-radius: 0.5rem;
    flex-grow: 1; 
}

.homepage h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.homepage p {
    font-size: 1.2rem;
}

/* Workplace Learning */
.workplacelearning {
    background-color: #A69E86;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    color: #151D26;
    margin: 1vh 2vw;
    border-radius: 0.5rem;
    flex-grow: 1;
}

.workplacelearning h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.workplacelearning p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 80%;
    margin: 0.5rem 0;
}

/* Projects */
.projects {
    background-color: #A69E86;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    color: #151D26;
    margin: 1vh 2vw;
    border-radius: 0.5rem;
    flex-grow: 1;
}

.projects h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.projects p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 80%;
    margin: 0.5rem 0;
}

/* About Page */
.container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 1.25rem;
    padding: 1vh 2vw;
    height: calc(100vh - 50px);
    align-items: stretch;
}

.left-column {
    display: grid;
    grid-template-rows: auto auto;
    gap: 1.25rem;
}

.box {
    padding: 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.picture {
    background-color: #333333;
    color: #F2F1F0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.picture img {
    width: 100%;
    height: auto;
    max-height: 100%;
    border-radius: 0.5rem;
}

.social-links {
    background-color: #333333;
    color: #F2F1F0;
    padding: 0.9rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.social-links h3 {
    margin-bottom: 0.6rem;
}

.social-links a {
    color: #F2F1F0;
    text-decoration: none;
    padding: 0.5rem 0.9rem;
    margin: 0.3rem 0;
    border-radius: 0.3rem;
    font-weight: bold;
    background-color: #555;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    background-color: #777;
}

.about {
    background-color: #A69E86;
    color: #151D26;
    padding: 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.about h2, .about h3 {
    color: #151D26;
    margin-bottom: 0.6rem;
    font-weight: bold;
}

.about p, .about ul {
    font-size: 1rem;
    margin-bottom: 0.9rem;
}

.about ul {
    padding-left: 1.rem;
    list-style-type: disc;
}

.about ul li {
    margin-bottom: 0.5rem;
}

.about strong {
    font-weight: bold;
    color: #151D26;
}

/* Contact Page */
form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 0.3rem;
    font-weight: bold;
    color: #E1C699;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.6rem;
    margin-bottom: 0.9rem;
    border: 1px solid #525659;
    border-radius: 0.3rem;
    background-color: #2A2F36;
    color: #F2F1F0;
    font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #E1C699;
}

textarea {
    height: 6rem;
    resize: vertical;
}

button {
    padding: 0.6rem 0.9rem;
    font-size: 1rem;
    font-weight: bold;
    color: #151D26;
    background-color: #E1C699;
    border: none;
    border-radius: 0.3125rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #A69E86;
}

/* Responsive Font Sizes */
@media (min-width: 600px) {
    body {
        font-size: 1.1rem;
    }
}

@media (min-width: 990px) {
    body {
        font-size: 1.2rem;
    }
}
