@charset "utf-8";

* {
        margin: 0;
        padding: 0;
        list-style: none;
        box-sizing: border-box;
        font-family: 'Roboto', sans-serif;
}

body {
        background-color: var(--color-White);
        color: var(--color-text);
}

a {
        text-decoration: none;
        color: inherit;
}

.clearfix::after {
        display: block;
        content: "";
        clear: both;
}

/* header */
.header {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        background-color: var(--color-White);
        position: fixed;
        z-index: 3;
}

.header .menu .nav>li:hover {
        color: var(--color-accent);
        transition: 0.2s;
}


.header .menu .nav>li>a {
        display: inline-block;
        height: 80px;
        line-height: 80px;
        font-weight: 300;
}

.header .menu {
        width: 30%;
}

.header .menu .leftnav li {
        float: left;
        margin-left: 50px;
}

.header .menu .rightnav li {
        float: right;
        margin-right: 50px;
}

.logo {
        position: relative;
        width: 150px;

}

.logo img {
        width: 100%;
}

/* 모바일 햄버거 메뉴 */
.burger {
        position: relative;
        width: 25px;
        height: 16px;
        cursor: pointer;
        display: none;
}

.burger_line {
        position: absolute;
        width: 100%;
        height: 3px;
        border-radius: 2px;
        background-color: var(--color-accent);
        left: 0;
        transition: 0.2s;
}

.burger_line:first-child {
        top: 0;
}

.burger_line:nth-child(2),
.burger_line:nth-child(3) {
        top: 50%;
}

.burger_line:nth-child(4) {
        top: 100%;
}

.burger.active span:nth-child(1),
.burger.active span:nth-child(4) {
        opacity: 0;
}

.burger.active span:nth-child(2) {
        transform: rotate(45deg);
}

.burger.active span:nth-child(3) {
        transform: rotate(-45deg);
}


/* main_ad 구간  */

.main_ad {
        width: 100%;
        height: 800px;
        background: url("../images/main_bg.png") no-repeat;
        background-size: 100%;
}

.main_ad img {
        width: 100%;
}

.main_ad_text {
        position: absolute;
        top: 250px;
        left: 150px;
        z-index: 2;
}

.main_ad h3 {
        font-size: 40px;
        color: var(--color-White);
        letter-spacing: 1px;
        line-height: 40px;
        font-family: 'Montserrat', sans-serif;
}

.main_ad p {
        font-size: 20px;
        line-height: 50px;
        color: var(--color-White);
        font-weight: 200;
}

.main_btn {
        margin-top: 50px;
}

.main_btn a {
        border: 2px solid var(--color-White);
        border-radius: 30px;
        padding: 10px 30px;
        text-align: center;
        font-weight: 300;
        color: var(--color-White);
}

.main_btn a:hover {
        background-color: var(--color-White);
        color: var(--color-text);
}

.main_ad>span {
        position: absolute;
        width: 35%;
        top: 10%;
        right: 8%;
}

.main_ad>span img {
        width: 100%;
}

.main_ad>span img:hover {
        transform: scale(1.1);
        transition: 0.2s;
}


/* content1_recipes */

.content1_title h3 {
        margin: 80px 0px 50px;
        text-align: center;
        font-size: 24px;
        font-family: 'Montserrat', sans-serif;
}

.content1 {
        width: 90%;
        display: flex;
        justify-content: space-around;
        margin: 0 auto;
}

.con1,
.con2,
.con3 {
        width: 400px;
        height: 230px;
        padding: 30px;
        border-radius: 30px;
        background-color: #f0f0f0;
        cursor: pointer;
}

.con1:hover,
.con2:hover,
.con3:hover {
        background-color: var(--color-sub1);
        transition: 0.5s;
}

/* hover시 딜레이 */
.con1 {
        animation-delay: 0s;
}

.con2 {
        animation-delay: 0.2s;
}

.con3 {
        animation-delay: 0.4s;
}


.con_txt>p {
        font-weight: 500;
}

.con1 p {
        margin-bottom: 40px;
}

.con2 p {
        margin-bottom: 75px;
}

.con3 p {
        margin-bottom: 20px;
}


.con_txt>span {
        font-size: 12px;
        font-weight: 200;
}

.con1 img,
.con2 img,
.con3 img {
        width: 170px;
        height: 170px;
        border-radius: 20px;
        float: right;
}

.content1_btn {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 50px auto;
}

.content1_btn>a {
        display: block;
        width: 200px;
        height: 40px;
        border-radius: 20px;
        text-align: center;
        font-weight: 300;
        line-height: 40px;
        background-color: var(--color-accent2);
}

.content1_btn>a:hover {
        background-color: var(--color-White);
        outline: 2px solid var(--color-sub1);
}



/* content2_app */

.content2_wrap {
        width: 100%;
        height: 500px;
        background-color: var(--color-sub1);
}

.content2 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 60px;
        padding-left: 80px;
}

.content2_title h3 {
        font-size: 30px;
        font-weight: 600;
        font-family: 'Montserrat', sans-serif;
        animation-delay: 0.4s;
}

.content2_text {
        font-weight: 200;
        padding: 20px 0;
        animation-delay: 0.4s;
}

.content2_image {
        width: 350px;
        height: 300px;
}

.content2_image>img {
        height: 100%;
        margin-top: 20px;
}

.content2_btn>a {
        display: block;
        width: 180px;
        height: 40px;
        margin-left: 80px;
        border-radius: 20px;
        text-align: center;
        font-weight: 300;
        line-height: 40px;
        background-color: var(--color-White);
}

.content2_btn>a:hover {
        background-color: var(--color-accent);
        color: var(--color-White);
        outline: 2px solid var(--color-White);
}


/* content3_instagram */

.content3_wrap {
        margin: 100px auto;
        position: relative;
}

.con3_flower {
        position: absolute;
        width: 400px;
        top: -140px;
        left: -5%;
}

.con3_flower>img {
        width: 100%;
}

.content3_title>h4 {
        text-align: center;
        font-size: 40px;
        letter-spacing: 1px;
        font-family: 'Montserrat', sans-serif;
}


.content3_btn>a {
        display: block;
        width: 250px;
        height: 50px;
        margin: 20px auto;
        text-align: center;
        font-weight: 300;
        border-radius: 30px;
        line-height: 50px;
        background-color: var(--color-accent2);
}

.content3_btn>a>img {
        width: 19px;
        height: 19px;
        vertical-align: middle;
        transform: translate(0, -1px);
}

.content3_btn>a:hover {
        outline: 2px solid var(--color-accent2);
        background-color: var(--color-White);
}

.content3_txt {
        margin: 30px auto;
        text-align: center;
        line-height: 30px;
        font-weight: 200;
}

/* bottom_banner */
.btimage {
        width: 100%;
        animation-delay: 0.4s;
        visibility: hidden;
}

.btimage img {
        width: 100%;
        display: block;
}


/*-----------footer-----------*/


footer {
        width: 100%;
        padding: 30px;
        font-size: 14px;
        font-weight: 200;
        display: flex;
        justify-content: space-around;
        background-color: var(--color-accent2);
}

footer p {
        font-size: 16px;
        margin-bottom: 15px;
}





/*-------------반응형구간------------*/

@media only screen and (max-width:1920px) and (min-width:1400px) {

        .main_ad>span {
                position: absolute;
                width: 35%;
                top: 12%;
                right: 5%;
        }

        .main_ad>span img {
                width: 90%;
        }
}

/*1920-1400구간 끝*/



@media only screen and (max-width:1399px) and (min-width:1024px) {

        .header .menu .leftnav li {
                float: left;
                margin-left: 20px;
                font-size: 16px;
        }

        .header .menu .rightnav li {
                float: right;
                margin-right: 20px;
                font-size: 16px;
        }

        .main_ad {
                height: 500px;
        }

        .main_ad_text {
                top: 200px;
                left: 80px;
        }

        .main_ad h3 {
                font-size: 30px;
                line-height: 30px;
        }

        .main_ad p {
                font-size: 16px;
                margin-top: 15px;
                width: 300px;
                line-height: 20px;
        }


        .main_btn {
                margin-top: 20px
        }

        .main_btn a {
                padding: 8px 14px;
                text-align: center;
                color: #ffffff;
                font-size: 12px
        }

        .main_ad>span {
                position: absolute;
                width: 35%;
                top: 8%;
                right: 5%;
        }

        .main_ad>span img {
                width: 90%;
        }

        /*----레시피 추천 구간---*/

        .content1 {
                width: 98%;
                display: flex;
                justify-content: space-around;
                margin: 0 auto;
        }

        .con1,
        .con2,
        .con3 {
                width: 320px;
                height: 230px;
                padding: 20px;
                border-radius: 20px;
                margin: 20px auto;
        }

        .con1 p {
                margin-bottom: 120px;
        }

        .con2 p {
                margin-bottom: 120px;
        }

        .con3 p {
                font-size: 16px;
                font-weight: 500;
                margin-bottom: 100px;
        }

        .con1 img,
        .con2 img,
        .con3 img {
                width: 120px;
                height: 120px;
        }


        /*----두번째 콘텐츠 구간(스마트폰)---*/

        .content2_wrap {
                height: 400px;
        }

        .content2 {
                padding-top: 40px;
                padding-left: 60px;
        }

        .content2_title h3 {
                font-size: 25px;
        }

        .content2_text {
                width: 500px;
                font-size: 14px;
        }

        .content2_btn>a {
                width: 120px;
                height: 40px;
                line-height: 40px;
                margin-top: -20px;
                margin-left: 60px;
        }


        /*----세번째 콘텐츠 구간(인스타그램)---*/


        .content3_wrap>span {
                position: absolute;
                top: -130px;
                left: -60px;
        }


        .content3_title h4 {
                font-size: 28px;
        }

        footer {
                padding: 15px 0;
                font-size: 12px;
                display: flex;
                justify-content: space-around;
                background-color: #D0E6FF;
        }

        footer p {
                font-size: 14px;
                margin: 0 4px 12px;
        }

        footer a {
                margin: 0 5px 12px;
        }



}

/*1399-1024구간 끝*/






@media only screen and (max-width:1023px) and (min-width:700px) {
        .header .menu .leftnav li {
                float: left;
                margin-left: 15px;
                font-size: 14px;
        }

        .header .menu .rightnav li {
                float: right;
                margin-right: 15px;
                font-size: 14px;
        }

        /*----main 이미지 구간---*/

        .main_ad {
                height: 400px;
        }

        .main_ad_text {
                top: 150px;
                left: 60px;
        }

        .main_ad h3 {
                font-size: 20px;
                line-height: 25px;
        }

        .main_ad p {
                font-size: 16px;
                margin-top: 10px;
                width: 300px;
                line-height: 20px;
        }

        .main_btn {
                margin-top: 20px
        }

        .main_btn a {
                padding: 8px 14px;
                text-align: center;
                color: #69BAFF;
                border: 2px solid #69BAFF;
                font-size: 12px
        }

        .main_ad>span {
                position: absolute;
                width: 35%;
                top: 12%;
                right: 5%;
        }

        .main_ad>span img {
                width: 90%;
        }


        /*----레시피 추천 구간---*/

        .content1 {
                width: 100%;
                display: block;
        }

        .con1,
        .con2,
        .con3 {
                width: 400px;
                height: 200px;
                padding: 20px;
                margin: 20px auto;
        }

        .con3 p {
                font-size: 16px;
                font-weight: 500;
                margin-bottom: 30px;
        }

        .con1 img,
        .con2 img,
        .con3 img {
                width: 160px;
                height: 160px;
        }


        /*----두번째 콘텐츠 구간(스마트폰)---*/
        .content2_wrap {
                height: 400px;
        }

        .content2 {
                padding-top: 40px;
                padding-left: 60px;
        }

        .content2_title h3 {
                font-size: 20px;
        }

        .content2_text {
                width: 300px;
                font-size: 14px;
        }

        .content2_btn>a {
                width: 120px;
                height: 30px;
                line-height: 30px;
                margin-left: 60px;
                font-size: 14px;
        }


        /*----세번째 콘텐츠 구간(인스타그램)---*/

        .content3_wrap>span {
                position: absolute;
                top: -140px;
                left: -50px;
        }

        .content3_title h4 {
                font-size: 30px;
        }

        footer {
                padding: 15px 0;
                font-size: 12px;
                display: flex;
                justify-content: space-around;
                background-color: #D0E6FF;
        }

        footer div {
                width: 30%;
                padding: 0 10px;
        }

}

/*1023-700구간 끝*/


@media only screen and (max-width:699px) {

        /*햄버거 메뉴 제작*/

        .burger {
                display: block;
                z-index: 4;
                position: absolute;
                top: 32px;
                right: 16px;
        }

        header {
                height: 80px;
        }

        .header .menu {
                width: 100%;
                position: absolute;
                text-align: center;
                background-color: var(--color-White);
                display: none;
        }

        .header .menu:nth-child(1) {
                top: 80px;
        }

        .header .menu:nth-child(3) {
                top: 320px;
        }

        .header .menu .leftnav>li {
                float: none;
                margin-left: 0;
        }

        .header .menu .rightnav>li {
                float: none;
                margin-right: 0;
        }

        .logo {
                width: 100px;
                top: 0px;
                left: -36%;
        }


        /*-----main 구간-----*/
        .main_ad {
                height: 300px;
                background-position-y: 120%;
        }

        .main_ad_text {
                top: 130px;
                left: 40px;
        }

        .main_ad h3 {
                font-size: 18px;
                line-height: 20px;
        }

        .main_ad p {
                font-size: 12px;
                margin-top: 5px;
                width: 250px;
                line-height: 20px;
        }

        .main_btn {
                margin-top: 10px
        }

        .main_btn a {
                padding: 5px 10px;
                text-align: center;
                font-size: 12px
        }

        .main_ad>span {
                top: 100px;
                width: 150px;
                right: 40px;
        }

        /*----레시피 추천 구간---*/

        .content1 {
                width: 100%;
                display: block;
        }

        .content1_title h3 {
                margin: 40px 0px 50px;
        }

        .con1,
        .con2,
        .con3 {
                width: 400px;
                height: 200px;
                padding: 20px;
                margin: 20px auto;
        }

        .con3 p {
                font-size: 16px;
                font-weight: 500;
                margin-bottom: 30px;
        }

        .con1 img,
        .con2 img,
        .con3 img {
                width: 160px;
                height: 160px;
        }


        /*----두번째 콘텐츠 구간(스마트폰)---*/

        .content2_wrap {
                height: 800px;
        }

        .content2 {
                display: block;
                justify-content: center;
                text-align: center;
                padding: 50px;
        }

        .content2_image {
                margin: 0 auto;
        }

        .content2_text {
                font-size: 14px;
        }

        .content2_btn>a {
                width: 200px;
                height: 40px;
                line-height: 40px;
                margin: 20px auto;
        }

        /*----세번째 콘텐츠 구간(인스타그램)---*/

        .content3_wrap>span {
                position: absolute;
                top: -140px;
                left: -50px;
        }

        .content3_title h4 {
                font-size: 26px;
        }

        .content3_txt p {
                font-size: 14px;
        }


        .con3_flower {
                position: absolute;
                width: 350px;
                top: -180px;
                left: -10%;
        }

        footer {
                padding: 15px 0;
                font-size: 12px;
                display: flex;
                flex-wrap: wrap;
                justify-content: space-around;
                background-color: #D0E6FF;
        }

        footer .box1,
        footer .box2 {
                display: none;
        }

        footer div {
                padding: 0 14px;
        }

        footer .box3 {
                width: 40%;
        }

        footer .box4 {
                width: 40%;
        }

        footer .box5 {
                width: 20%;
        }


}

/*700이하 끝*/