* {
  margin: 0;
  padding: 0;
  font-family: 'Gowun Dodum', sans-serif;
}

ul {
  list-style: none;
}

body { /*화면 전체 이미지 적용*/
  background-repeat: no-repeat;
  background-size: cover;
}

#head { /*상단 제목+메뉴 구역*/
  background-color:rgba(212, 210, 210, 0.3);
  height: 190px;
  font-weight: bold;
  font-size: 22px;
  /* border-bottom: 1px solid rgba(15, 1, 1, 0.144); */
}

nav { /*상단 제목+메뉴의 내부 텍스트*/
 height: 88px;
 text-align: center;
 margin-top: 40px;
}

h1 { /*오늘 뭐먹지!? 텍스트*/
  color: black;
  text-align: center;
  padding-top: 20px;
}

nav a{ /*상단 제목+메뉴의 내부 텍스트의 밑줄, 간격 설정*/
  text-decoration: none;
  color: black;
  margin: 1em 2em; 
}

nav a:hover{ /*상단 제목+메뉴바 위에 커서 올렸을 때*/
  text-decoration: none;
  color: black;
}

#modal_btn{ /*옵션 목록*/
  border: none;
  border-radius: 12px;
  width:300px;
  height: 40px;
  font-size: 20px;
  padding-left:10px;
  padding-bottom: 5px;
}

.modal_wrap{ /*주소 모달창*/
  display: none;
  width: 500px;
  height: 600px;
  position: absolute;
  top:50%;
  left: 50%;
  margin: -250px 0 0 -250px;
  background:#eee;
  z-index: 20;
  border-radius: 12px;
}
.black_bg{
  display: none;
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color:rgba(0, 0,0, 0.5);
  top:0;
  left: 0;
  z-index: 10;
}
.modal_close{
  width: 26px;
  height: 26px;
  position: absolute;
  top: -20px;
  right: 0;
}
.modal_close> button{
  border: none;
  display: block;
  width: 100%;
  height: 100%;
  background:url(https://img.icons8.com/metro/26/000000/close-window.png);
  margin: 2em 2.5em; 
}

#search_parent { /*주소 검색 윗부분 마진 추가하려고 묶음*/
  margin-top: 30px;
} 

#s { /*모달창 안 주소 검색 텍스트*/
  display: inline-block;
}

#search_address { /*모달창 안 주소 검색란*/
  width: 300px;
  height: 28px;
}

#search_map {  /*모달창 안 지도 들어갈 공간*/
  width: 400px;
  height: 400px;
  border: 1px solid lightgray;
  margin: 30px 50px;
  padding-top: 0px;
}

#complete_search_btn{ /* 모달창 지도 아래 완료 버튼*/
  width: 100px;
  height: 30px;
}

#weather {
  margin: 1em;
}

#box_parent { /* 부모 박스 - 모든 박스를 묶은 큰 틀 */
  position: relative; 
  width: 1700px;
  margin: auto;
  margin-top: 45px;
}

#box_child1 {  /*왼쪽 박스 - 지도 들어갈 곳*/
  width: 600px;
  height: 650px;
  border: none;
  border-radius: 12px;
  position: absolute;
  top: 40%;
  left:13%;
  background-size: 100% 100%;
  background-image: url('/imges/main_WeatherLoading.jpg');
  box-shadow: 5px 5px 5px rgba(88, 87, 87, 0.605);
  color: black;
  box-sizing: border-box;
  overflow: hidden;
}

#main_count {
  position: relative;
  left: 200px;
  top: 470px;
  font-size: 50px;
  font-weight: 900;
}

iframe {
  position: relative;
  width: 1000px;
  height: 200%;
  transform: scaleX(0.76) scaleY(0.9);
  transform-origin: left top;
  top: -80px;
  left: -71px;
}

#box_child2 { /*오른쪽 박스 큰 틀 - 식당 추천, 랜덤 버튼 위치 맞추려고 크게 묶음 */
  width: 600px;
  height: 650px;
  /* border: 2px solid red; 테두리 크기 확인용 */
  border: none; 
  position: absolute;
  top: 40%;
  right:13%;
}

#mapBox {  /*오른쪽 박스 상단 - 식당 추천*/
  float: right;
  width: 550px;
  height: 530px;
  border: none;
  border-radius: 12px;
  background-color: whitesmoke;
  box-shadow: 5px 5px 5px rgba(88, 87, 87, 0.605);
  /* position: absolute; */
}

#random_button { /*오른쪽 박스 하단 - 음식 랜덤 뽑기 버튼*/
    float: right;
    text-align: center;
    border: none;
    border-radius: 20px;
    width: 550px;
    height: 80px;
    background-color: rgb(231, 231, 231);
    color: black;
    font-size: 33px;
    font-weight: bold;
    box-shadow: 5px 5px 5px rgba(88, 87, 87, 0.605);
    margin-top: 40px;
    /* position: absolute; */
}

#random_button:hover { /*뽑기 버튼에 커서 올렸을 때*/
  background-color: rgba(207, 226, 237, 0.559);
  color: black;
}

/***********************************************************************/
.modal_wrap2{ /* 옵션 모달창*/
  display: none;
  width: 500px;
  height: 600px;
  position: absolute;
  top:50%;
  left: 50%;
  margin: -250px 0 0 -250px;
  background:#eee;
  z-index: 20;
  border-radius: 12px;
}
.black_bg2{
  display: none;
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color:rgba(0, 0,0, 0.5);
  top:0;
  left: 0;
  z-index: 10;
}
.modal_close2{
  width: 26px;
  height: 26px;
  position: absolute;
  top: -20px;
  right: 0;
}
.modal_close2> button{
  border: none;
  display: block;
  width: 100%;
  height: 100%;
  background:url(https://img.icons8.com/metro/26/000000/close-window.png);
  margin: 2em 2.5em; 
}

#o { /*목록 텍스트(p 태그)*/
  margin-top: 30px;
  margin-bottom: 20px;
}

#option_list {
  text-align: left;
  padding: 0 25px;
}

#option_list fieldset {
  border: none;
  height: 500px;
}
#option_list legend {
  width: 450px;
  padding: 40px 0 10px;
  text-align: center;
}

#option_list #position {
  width: 450px;
}

#option_list p {
  line-height: 2.5em;
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid gray;
}

#option_list img {
  width: 450px;
  height: 50px;
}

#complete_option_btn { /*옵션창 내부 완료 버튼 */
  margin-top: 30px;
  width: 100px;
  height: 30px;
}

