/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: rgb(113,8,106); 
}

#container {
    display: grid;
    grid-template-columns: 2fr 1fr; 
    grid-template-areas:
        "header header"
        "image1 image1" 
        "title image2"
        "content1 image2"
        "footer footer";  
    gap: 10px;
    max-width: 1200px;
    margin: auto;
}

.header {
    grid-area: header;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: gray;
}

.header .logo {
    max-height: 200px;
    width: auto;
    margin-right: 20px;
}

.logo{
    border-radius: 15px;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700; /* bold headings */
}

.hamburger {
    display: none; 
    font-size: 2em;
    cursor: pointer;
    color: white;
}

.nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav a, button {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav a:hover {
    color: #ffcc00;
}

button:hover {
    background-color: #444;
}

.nav a {
    color: white;
    text-decoration: none;
}

button{
    background:black;
    color: white;
    border-radius: 15px;
    padding: 10px;
    margin-top: -10px;
}

.nav{
    background-color: rgb(113, 8, 106);
    color: white;
    padding: 10px;
    border-radius: 15px;
}

.image1 {
    grid-area: image1;
    display: flex;          
    justify-content: center; 
    align-items: center;     
}

.image1 { grid-area: image1;
    background-color: grey; }
.image2 { grid-area: image2;
    background-color: grey; }
.title { grid-area: title;
    background-color: grey; }
.content1 { grid-area: content1;
    background-color: grey; }
.footer { grid-area: footer;
    background-color: grey; }

img {
    display: block;
}

.content1 p {
    padding: 10px;
}


/* Phones: show hamburger, hide links */
@media (max-width: 480px) {
    .nav ul {
        display: none; /* hide links by default */
        flex-direction: column;
        background-color: rgb(113,8,106);
        position: absolute;
        top: 60px; /* adjust if header is taller */
        right: 10px;
        width: 200px;
        border-radius: 10px;
        padding: 10px;
        z-index: 1000;
    }

    .nav.show ul {
        display: flex; /* show links when toggled */
    }

    .nav ul li {
        margin: 10px 0;
    }

    .hamburger {
        display: block; /* show hamburger on phones */
    }

    button {
        width: 100%; /* optional: full width on phone */
    }
}

@media (min-width: 411px) and (max-width: 1023px) {
    #container {
        grid-template-columns: 1fr 1fr; /* 2-column layout for tablets */
    }
    .header {
        flex-direction: row;
        justify-content: space-between;
    }
}