@charset "UTF-8";
/* CSS Document */

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* 1. header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: orange;
    height: 50px;
    z-index: 1000;
}

.header-name {
    float: left;
    color: white;
    font-weight: bold;
    line-height: 50px;
    margin-left: 20px;
}

header nav {
    float: right;
    margin-right: 20px;
}

header nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    line-height: 50px;
}

header nav ul li {
    display: inline;
    margin-left: 15px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
}

/* 2. banner styles */
.banner {
    width: 100%;
    height: 200px;
    background-image: url("images.jpg");
    background-size: cover;
    background-position: center;
    margin-top: 50px;
    position: relative;
    text-align: center;
}

.banner h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    margin: 0;
}

/* 3. main section & columns (float layout) */
main {
    padding: 20px;
}

.left-column {
    float: left;
    width: 53%;
    background-color: #b3ecb3;
    padding: 20px;
    box-sizing: border-box;
}

.left-column h2 {
    font-family: serif;
}

.left-column p {
    font-family: sans-serif;
}

.right-column {
    float: right;
    width: 43%;
    box-sizing: border-box;
    text-align: center;
}

/* style for stacked images */
.stacked-image {
    width: 100%;         
    max-width: 300px;    
    height: 150px;       
    object-fit: cover;   
    display: block;      
    margin: 0 auto 20px; 
    border: none;        
}

/* clear float to contain elements inside main */
.clearfix {
    clear: both;
}

/* 4. footer styles */
footer {
    padding: 20px;
    background-color: #f4f4f4;
    text-align: left;
}

footer a {
    color: orange;
    text-decoration: underline;
}