/* 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: 1fr 1fr 1fr;
    gap: 10px;
    max-width: 1200px;
    margin: auto;

    grid-template-areas:
        "header header header"
        "image1 image1 image1"
        "title title title"
        "nameInput emailInput submitBtn"
        "subjectInput messageInput messageInput"
        "info1 info2 info3"
        "imgA imgB imgC"
        "footer footer footer";
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700; /* bold headings */
}

.header{ 
    grid-area: header; 
    background: gray; 
    padding: 10px; 
    display:flex; 
    justify-content:space-between; 
    align-items:center; }

.image1{ grid-area: image1; 
    background:gray; 
    display:flex; 
    justify-content:center; }

.title{ 
    grid-area: title; 
    background:gray; 
    padding:10px;  }

.hamburger {
    display: none; 
    font-size: 2em;
    cursor: pointer;
    color: white;
}

input:required {
  background-color: pink;
  border-color: red;
}

.req {
  color: red;
}

.nameInput{
     grid-area: nameInput; 
     background:gray; 
     padding:20px; }

.emailInput{
     grid-area: emailInput; 
     background:gray; 
     padding:20px; }

.submitBtn{ 
    grid-area: submitBtn; 
    background:gray; 
    padding:20px; 
    display:flex; 
    align-items:end; }


.subjectInput{ 
    grid-area: subjectInput;
    background:gray; 
    padding:20px; }

.messageInput{ 
    grid-area: messageInput; 
    background:gray; 
    padding:20px; }


.info1{ 
    grid-area: info1; 
    background:gray; 
    padding:10px; }

.info2{ 
    grid-area: info2; 
    background:gray; 
    padding:10px; }

.info3{ 
    grid-area: info3; 
    background:gray; 
    padding:10px; }


.imgA{ 
    grid-area: imgA; 
    background:gray; }

.imgB{ 
    grid-area: imgB; 
    background:gray; }

.imgC{ 
    grid-area: imgC; 
    background:gray; }


.footerLogo{ 
    grid-area: footerLogo; 
    background:gray; 
    padding:10px; }

.footerSocial{ 
    grid-area: footerSocial; 
    background:gray; 
    padding:10px; 
    text-align:right; }


.footer{ 
    grid-area: footer; 
    background:gray; 
    padding:10px; 
    text-align:center; }


input, textarea{
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: none;
}

textarea{
    height: 120px;
}

button{
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    background: black;
    color: white;
}

.nav ul{
    display: flex;
    gap: 20px;
    list-style:none;
}

.nav a{
    color:white;
    text-decoration:none;
}

.nav{
    background: rgb(113,8,106);
    padding:10px;
    border-radius:15px;
}

.nav a, button {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav a:hover {
    color: #ffcc00;
}

button:hover {
    background-color: #444;
}

.header .logo {
    max-height: 200px;
    width: auto;
    border-radius: 15px;
}

.smallLogo{
    width:150px;
}

.socialIcon{
    width:50px;
}

.hamburger {
    display: none; /* hide on desktop */
    font-size: 2em;
    cursor: pointer;
    color: white;
}


@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;
    }
}