* {
    padding: 0;
    margin:0;
    /* border: 1px solid black; */
}
body {
    background-image: url("background_flower.jpg");
    background-size: 100%;
    
    color: rgb(239, 114, 135);
    /* background-repeat: no-repeat;
    background-position:center;
    background-size: cover;
    background-color: pink;
    color: white; */
}



.container {
    max-width: 700px;
    margin: 0 auto;
    box-sizing:border-box;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    
}
header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    padding: 1.2rem 0;
}

header>p {
    font-size: 1.5rem;
    font-weight: 700;
}
header>ul{
    display: flex;
}

header>ul>li {
    list-style-type: none;
    margin-left: 1.5rem;
    
}
header>ul>li>a{
    text-decoration:none;
    font-size: 1.2rem;
    font-weight: 800;
    padding-bottom: 5px;
}
header>ul>li:first-child>a {
    border-bottom: 5px solid
    black;
}
header>ul>li>a:hover {
    border-bottom: 5px solid  gray;
}

@media screen and (max-width: 600px){
    header {
        flex-direction:column;
    }
}



section {
    padding: 0 3rem;
    text-align: center;
   
}
section>p {
    margin-bottom: 1rem;
}
section>p:first-child{
    font-size: 2rem;
    font-weight: 900;
}
section>p:last-of-type{
    font-size: 1.3rem;
    font-weight: 500;
}
section>a {
    display:black;
    border: 1px solid black;
    width:150px;
    font-size:1.3rem;
    font-weight: 600;
    margin:auto;
    padding:1rem;
    border-radius: 10px;
    text-decoration:none;
}

/* product */ 
#product {
    width:900px;
    margin:20px auto;
    text-align:justify;
    height: 50px;
  }
  product>h1 {
    text-align:center;
    height: 50px
  }
  .prod-list {
    list-style:none;
    padding:0;
  }
  .prod-list li {
    float: left;
    padding: 0;
    margin: 10px;
    overflow: hidden;
    position: relative;
  }
  .prod-list img {
    margin:0;
    padding:0;
    float:left;
    z-index:5;
  } 
  .prod-list .caption {
    position: absolute;
    top:200px;  /* 기준 위치보다 200px 아래로 */
    width:300px;
    height:200px;
    padding-top:20px;
    background:rgba(0,0,0,0.6);  /* 반투명한 검정 배경 */ 
    opacity:0;  /* 화면에 보이지 않게 */ 
    transition: all 0.6s ease-in-out;  /* 나타날 때 부드럽게 트랜지션 추가 */
    z-index:10;  /* 다른 요소보다 위에 있도록 */ 
  }
  .prod-list li:hover .caption {
    opacity: 1;  /* 설명글이 화면에 보이게 */ 
    transform: translateY(-200px);  /* 설명글이 위로 200px 이동하게 */
  }  
  .prod-list .caption h2, .prod-list .caption p {
    color: #fff;
    text-align: center;
  }      

  .img1{
    width:300px;
    height:200px;

}

footer { 
    margin-bottom:2rem;
    font-size:1.1rem;
    color: pink;
}
footer>a {
    text-decoration: none;
    color: while;
}


*{padding:0;margin:0}
li{list-style:none}
a{text-decoration:none;font-size:14px}
.menu {
    width: 800px;
    overflow: hidden;
    margin: 15px auto;
  }
  
  .menu > li {
    width: 20%; /*20*5=100%*/
    float: left;
    text-align: center;
    line-height: 40px;
    background-color: #f5849c;
    
}
  
  .menu a {
    color: #fff;
  }
  
  .submenu > li {
    line-height: 50px;
    background-color: #feb8e9;
  }
  
  .submenu {
    height: 0; /*ul의 높이를 안보이게 처리*/
    overflow: hidden ;
  }

  .menu > li:hover {
    background-color: #f0467c;
    transition-duration: 0.5s;
  }
  
    .menu > li:hover .submenu {
    height: 250px; /*서브메뉴 li한개의 높이 50*5*/
    transition-duration: 1s;  
 
    .menu {
            width: 300px;
            overflow: hidden;
            margin: 150px auto;
        }
        
     .menu > li {
            width: 100%;
            text-align: center;
            line-height: 40px;
            background-color: #5778ff;
        }
        
        .copy {
            margin-top: 50px;
        }

        .main_image{
            text-align: auto;
            display: block;
            float: left;
            
            
        }
        .main_text {
            position: absolute;
            top:40%;
            left:50%;
            width:100%;
            transform:translate(-50%, - 50%);
            text-align:center;
        }
/*
        botton.pinkBtn {background-color: rgb(130, 44, 59);}
        
        botton.pinkBtn {
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);

        }

        pinkBtn { 
            color: pink;
            background-color: transparent;
            background-image: none;
            border-color: red;
        }
        */