*{
	font-family:"Lato", Verdana, "sans-serif";
	font-size:17px;
	color:#000;
	margin:0;
	padding:0;
	box-sizing:border-box;

}
#wrapper{
    max-width:1000px;
    min-height:100vh;/*view height*/
    margin: 0 auto;
    /* primary grid */
    display:grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(300px, auto) 180px;
}
#wrapper footer {
    background-color:#000000;
}

header img{
  width: 100%;
  height: auto;
  display: block;
}
nav{
	display: flex;
  width:100%;
	height:80px;
  margin-bottom: 1%;
}
nav ul {    
	width:80%;
	list-style:none;
	/* a flexbox inside nav for menu layout (row) */
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-around;	
  margin: 1% auto;
  
}
nav li a {
  display: flex; 
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

nav a:hover{
    color:rgb(0, 0, 0);
	background-color: #c7c7c7;
}
main {
	grid-column: 1/2;
  grid-row: 1/2;
  max-width:100%;
	min-height:auto;
	margin-bottom: 2%;
}
           
.index-main h2 {
	color:#000000;
	font-size:30px;
	margin-top:3%;
	margin-bottom:5%;	
}
.index-main p{
  border: 1px solid #7c5323;
  padding: 2%;
  margin: 3% 0 5% 0;
  text-indent: 0.5em; 
  font-size: 18px;
  }
section h2{
font-size: 22px;
margin-bottom: 1%;
/* index page end */ 
}

.heading h2{  
  border: 2px solid #7c5323;
  font-size: 33px;
  padding: 1% 1% 1% 2%;
  margin-bottom: 4%;
  width: 100%;
  text-align: left;  
  line-height: 1; 
  font-weight: 300; 
}



.eventtype{
  display:grid;
	grid-template-columns: 1fr 1fr;
	gap:2%;
	margin-bottom: 4%;
  max-width: 100%;
}
.eventtype h3{
  margin-top:10%;
	margin-bottom: 10%;
	font-size: 22px;
}
.product{
    display:grid;
	grid-template-columns: 1fr 2fr;
	gap:8%;
	margin-bottom: 7%;
}
.product img {
  justify-self: center;  
  align-self: center; 
}
.product h3{
    margin-bottom: 4%;
	font-size: 22px;
}
fieldset {
  width: 70%;
  border-radius: 5px;
  background-color: #9ea7cf;
  padding: 20px;
}
input[type=text],
select,
textarea {
  width: 100%;
  padding: 17px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}
button{
padding: 1% 4%;
margin-bottom: 1%;
}
fieldset p {
font-size: 12px;
}

#form-and-map{
  display: flex;
  gap: 5px;
  align-items: flex-start;

}

.add-cart {
  display: inline-block;
  margin-top: 1%;          
  background-color:#9cacf5; 
  color: rgb(0, 0, 0);
  border: none;
  padding: 0.5% 1%;
  font-size: 20px;
}
.add-cart:hover {
    background-color: #bbbbbb;
}
.cart-table table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #000; 
  margin: 0 auto;
}
.cart-table th {
  background-color:#e3e5ff; 
  border: none;
  text-align: left;
  padding: 10px;
  font-size: 18px;
}
.cart-table td {
  border: none;
  padding: 1%;
  vertical-align: middle;
  font-size: 17px;
}
.cart-table img {
  width: 80px;
  height: auto;
  vertical-align: middle;
  margin-left: 7%;
}
.cart-table td span {
  font-size: 1em;
  margin-left: 20%;

}
/*------footer----------*/
footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr; 
  grid-template-rows: auto auto; 
  gap: 20px;
  padding: 1em;
  background-color: #000;
  color: white;
  
}

footer,
footer * {
  color: white !important;
}

#sitemap h3 {
  font-size: 1.3em;
  margin-bottom: 0.5em;
}

#sitemap {

margin-left: 3%;

}

#sitemap a {
  text-decoration: none; 
  margin-left: 1%;
}

aside {
  grid-column: 4;
  grid-row: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

aside img {
  width: 40px;
  height: auto;
}

.contact {
  grid-column: 2 / 4; 
  grid-row: 1;
}

.copyright {
  grid-column: 4;
  grid-row: 2;
  text-align: right;
  font-size: 0.9em;
}



/*-------------End of Web version-------------*/

/* mobile, tablet version */

@media screen and (max-width: 768px) {
 
  header img{
  display:none
  }
  
  .kr .en {
   font-size: 0.4em;
  }
  nav ul {    
	width:100%;
  }
  .eventtype{
    display: grid;
    grid-template-columns: 1fr;     
    grid-template-rows: auto auto;
    gap:1%;
  }
  .eventtype h3{
  margin-top:3%;
	margin-bottom: 3%;
  margin-left: 1%;
	font-size: 1.2em;
}
 .eventtype p {
  margin-left: 1%;
  margin-bottom: 1%;
 }
 .cart-table td span {
  font-size: 0.9em;
  margin-left: 0%;
}
}