/* 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-areas:
        "header header header"
        "image1 image1 image1"
        "title title title"
        "audio1 audio1 name1"
        "audio2 audio2 name2"
        "audio3 audio3 name3"
        "img2 img3 img4"
        "img5 img6 img7"
        "footer 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;
    border-radius: 15px;
}

.hamburger {
    display: none; 
    font-size: 2em;
    cursor: pointer;
    color: white;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700; /* bold headings */
}

.nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 10px;
    padding: 10px;
}

.nav a {
    color: white;
    text-decoration: 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{
    background-color: rgb(113, 8, 106);
    color: white;
    padding: 10px;
    border-radius: 15px;
}

button {
    background:black;
    color: white;
    border-radius: 15px;
    padding: 10px;
    border: none;
    cursor: pointer;
}

/* Main image */
.image1 {
    grid-area: image1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: grey;
}

.image1 img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.title {
    grid-area: title;
    background-color: grey;
    padding: 10px;
}

.audio1 { grid-area: audio1; background-color: grey; padding: 10px; }
.audio2 { grid-area: audio2; background-color: grey; padding: 10px; }
.audio3 { grid-area: audio3; background-color: grey; padding: 10px; }

.name1 { grid-area: name1; background-color: grey; text-align: center;  }
.name2 { grid-area: name2; background-color: grey; text-align: center;  }
.name3 { grid-area: name3; background-color: grey; text-align: center;  }

.img2 { grid-area: img2; background-color: grey; }
.img3 { grid-area: img3; background-color: grey; }
.img4 { grid-area: img4; background-color: grey; }
.img5 { grid-area: img5; background-color: grey; }
.img6 { grid-area: img6; background-color: grey; }
.img7 { grid-area: img7; background-color: grey; }

.img2 img, .img3 img, .img4 img, .img5 img, .img6 img, .img7 img {
    width: 100%;
    border-radius: 10px;
}

.footer {
    grid-area: footer;
    background-color: grey;
    text-align: center;
    padding: 10px;
}

/* Responsive Phone */
@media (max-width: 768px) {
    #container {
        grid-template-areas:
            "header"
            "image1"
            "title"
            "audio1"
            "name1"
            "audio2"
            "name2"
            "audio3"
            "name3"
            "img2"
            "img3"
            "img4"
            "img5"
            "img6"
            "img7"
            "footer";
    }
}


@media (max-width: 480px) {
    .nav ul {
        display: none; 
        flex-direction: column;
        background-color: rgb(113,8,106);
        position: absolute;
        top: 60px; 
        right: 10px;
        width: 200px;
        border-radius: 10px;
        padding: 10px;
        z-index: 1000;
    }

    .nav.show ul {
        display: flex; 
    }

    .nav ul li {
        margin: 10px 0;
    }

    .hamburger {
        display: block; 
    }

    button {
        width: 100%; 
    }
}

@media (min-width: 411px) and (max-width: 1023px) {
    #container {
        grid-template-columns: 1fr 1fr; 
    }
    .header {
        flex-direction: row;
        justify-content: space-between;
    }
}