/* CSS Styles */

body {
    background: url('images/background-pattern.png') repeat;
    font-family: 'Roboto', sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFDD0; /* Vintage cream */
    padding: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav a {
    text-decoration: none;
    color: #8B4513; /* Dark vintage brown */
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #8B4513; /* Dark vintage brown */
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav a:hover::after {
    transform: scaleX(1);
}

main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    padding: 20px;
}

article {
    background-color: #FFFDD0; /* Vintage cream */
    padding: 20px;
}

aside {
    background-color: #FFFDD0; /* Vintage cream */
    padding: 20px;
    text-align: center;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    background-color: #8B4513; /* Dark vintage brown */
    color: #FFFDD0; /* Vintage cream */
    text-decoration: none;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFFDD0; /* Vintage cream */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.button:hover::after {
    transform: scaleX(1);
}

.button:hover {
    color: #8B4513; /* Dark vintage brown */
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #8B4513; /* Dark vintage brown */
    color: #FFFDD0; /* Vintage cream */
    padding: 10px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    display: inline;
    margin: 0 10px;
}

footer a {
    position: relative;
    color: #FFFDD0; /* Vintage cream */
    text-decoration: none;
}

footer a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #FFFDD0; /* Vintage cream */
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

footer a:hover::after {
    transform: scaleX(1);
}

.project img {
    transition: transform 0.3s;
}

.project img:hover {
    transform: scale(1.1);
}