@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3.5rem;

/*========== Colors ==========*/
    --first-color: #bbb;
    --button-color: hsl(274, 28%, 59%);
    --button-color-alt: hsl(0, 0%, 21%);
    --title-color: #fff;
    --text-color: #000;
    --text-color-light: hsl(0, 0%, 55%);
    --body-color: hsl(0, 0%, 99%);
    --container-color: #fff;
    --border-color: hsl(0, 0%, 94%);
    --bd-color: #ededed;

/*========== Font and typography ==========*/
    --body-font: 'Roboto', sans-serif;
    --biggest-font-size: 2rem;
    --h1-font-size: 2.5rem;
    --h2-font-size: 2.25rem;
    --h3-font-size: 2rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

/*========== Font weight ==========*/
    --font-medium: 500;
    --font-bold: 700;

/*========== Margenes Bottom ==========*/
    --mb-0-5: .5rem;
    --mb-0-75: .75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;

/*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

@media screen and (min-width: 968px) {
    :root {
        --biggest-font-size: 2.5rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/*=============== BASE ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body,
button,
input,
textarea,
select {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    /* font-family: 'Lato', sans-serif; */
    font-family: 'Noto Sans KR', sans-serif;
}

pre {
    font-family: 'Noto Sans KR', sans-serif;
    white-space: pre-line;
}

body {
    margin: 0;
    background-color: #f0f0f0;
    color: var(--text-color);
    /*For animation dark mode*/
    transition: .4s;
    top:0 !important;
}

h1, h2, h3, h4 {
    font-weight: var(--font-medium);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.swiper-button-next {
    color: #fff !important;
}

.swiper-button-prev {
    color: #fff !important;
}

.swiper-pagination-bullet-active {
    background-color: #fff !important;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
    max-width: 1170px;
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
}

.grid {
    display: grid;
}

.main {
    overflow: hidden;
}

.section {
    padding: 3.5rem 0 1rem;
}

/*=============== SCROLL UP ===============*/
.scrollup {
    position: fixed;
    right: 1rem;
    bottom: -30%;
    background-color: var(--container-color);
    box-shadow: 0 4px 12px hsla(0, 0%, 20%, .1);
    display: inline-flex;
    padding: .25rem;
    z-index: var(--z-tooltip);
    opacity: .8;
    transition: .4s;
}

.scrollup:hover {
    opacity: 1;
}

.scrollup_icon {
    font-size: 1.5rem;
    color: var(--first-color);
}

/* Show Scroll Up*/
.show-scroll {
    bottom: 3rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
    width: .6rem;
    background: hsl(0, 0%, 74%);
}

::-webkit-scrollbar-thumb {
    background: hsl(0, 0%, 17%);
}

/*=============== HEADER & NAV ===============*/
.header {
    width: 100%;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    /*For animation dark mode*/
    transition: .4s;
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1002;
}
/* 
.nav_logo, 
.nav_toggle, 
.nav_shop, 
.nav_close {
    color: var(--title-color);
}

.nav_toggle i {
    color: var(--title-color);
} */

.nav_logo {

    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
}

.nav_logo img {
    width: 140px;
}

.nav_logo-icon {
    font-size: 1.25rem;
}

.nav_btns {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

.nav_toggle, 
.nav_shop {
    font-size: 1.25rem;
    cursor: pointer;
}

@media screen and (max-width: 767px) {
    .nav_menu {
        position: fixed;
        background-color: #fff;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        padding: 6rem 2rem 3.5rem;
        transition: .3s;
    }
}

.nav_list {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 2rem;
    z-index: 1;
    cursor: pointer;
}

.nav_item {
    padding: 5px 15px;
    border-radius: 15px;
}

.nav_link {
    font-weight: var(--font-medium);
    text-transform: uppercase;
    font-size: var(--normal-font-size);
    transition: .3s;
}

.nav_link:hover {
    color: #ffa000;
}

.nav_close {
    font-size: 2rem;
    position: absolute;
    top: .9rem;
    right: 1.25rem;
    cursor: pointer;
}

/* Show menu */
.show-menu {
    right: 0;
}

/* Change background header */
.scroll-header {
    background-color: #fff;
    box-shadow: 0 1px 4px hsla(0, 4%, 15%, .10);
}

/* Active link */
.active-link {
    color: var(--first-color);
}


.nav_top {
    width: 100%;
    height: 45px;
    background-color: #f0f0f0;
}

.nav_top_div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav_top_list {
    height: 45px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
}

.nav_top_icon {
    display: flex;
    align-items: center;
    color: #000;
    gap: 10px;
}

.top_icon_box {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.home {
    margin-top: 100px;
    width: 100%;
    min-height: 400px;
    position: relative;
}

.home_bac {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.home_section {
    height: 400px;
    align-items: center;
    align-content: center;
    row-gap: 10px;
}

.home_section h1 {
    color: #fff;
    padding: 10px;
}

.home_section p {
    color: #ffa000;
    padding: 10px;
}

.post_div {
    background-color: #fff;
    margin-bottom: 30px;
}

.post_line {
    width: 100px;
    height: 2px;
    background-color: #ffa000;
    margin: 30px 0;
}

.post_line2 {
    width: 100px;
    height: 2px;
    background-color: #ffa000;
    margin-top: 20px;
    margin-bottom: 30px;
}

.post_box {
    width: 380px;
    height: 390px;
}

.post_text {
    padding: 20px;
}

.post_img {
    width: 100%;
    height: 280px;
    position: relative;
}

.post_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post_title {
    padding: 30px;
}

.post_box_div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.post_img_num {
    width: 60px;
    height: 60px;
    background-color: #ffa000;
    padding: 5px;
    text-align: center;
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 40px;
}

.recent {
    margin-bottom: 120px;
}

.recent_nav {
    min-width: 330px;
}

.recent_nav_search {
    width: 100%;
    height: 75px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.recent_nav_search input {
    width: 80%;
    height: 100%;
    border: none;
    outline: none;
}

.recent_nav_search button {
    background-color: transparent;
    font-size: 25px;
}

.recent_div {
    background-color: #fff;
    width: 100%;
}

.recent {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.text_num {
    min-width: 60px;
    height: 60px;
    background-color: #ffa000;
    color: #fff;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.text_num h1 {
    margin-bottom: -15px;
    font-weight: bold;
}

.recent_text_box {
    padding: 40px;
    display: flex;
    gap: 30px;
}

.recent_icon div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #bbb;
}

.recent_icon div p {
    font-size: 13px;
}

.recent_icon {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.recent_text button {
    width: 120px;
    height: 45px;
    background-color: #f0f0f0;
}

.recent_nav_box {
    background-color: #fff;
    margin-top: 30px;
    padding: 30px;
}

.recent_nav_icon_box {
    width: 45px;
    height: 45px;
    color: #fff;
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recent_nav_icon_div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
}

.popular_img {
    min-width: 75px;
    height: 75px;
    background-color: #d9d9d9;
}

.popular_div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.popular_text p {
    color: #bbb;
    margin-top: 5px;
    font-size: 13px;
}

.popular {
    margin-bottom: 50px;
}

.twitter_box {
    color: #999;
    font-size: 13px;
    margin-bottom: 30px;
}

.twitter_box span {
    color: #bbb;
}

.latest {
    margin-bottom: 50px;
}

.twitter {
    margin-bottom: 50px;
}

.tag_div {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 370px;
    font-size: 13px;
}

.tag_div p {
    padding: 10px;
    background-color: #f0f0f0;
    color: #999;
    cursor: pointer;
}

.tag_div p:hover {
    background-color: #ffa000;
    color: #fff;
}

.bac_gr {
    background-color: #7adb8c;
    color: #fff;
    padding: 100px 80px;
}

.bac_gr h1 {
    font-size: 35px;
    font-style: italic;
}

.bac_bl {
    background-color: #76bff7;
    color: #fff;
    padding: 40px;
}

.div_bottom {
    width: 100%;
    height: 90px;
    background-color: #4d4d4d;
    margin-top: 80px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 40px;
}

.bottom_box {
    width: 45px;
    height: 45px;
    background-color: #fff;
    color: #4d4d4d;
    text-align: center;
    line-height: 45px;
    cursor: pointer;
}

.bottom_box:hover {
    background-color: #ffa000;
    color: #fff;
}

.footer {
    background-color: #323232;
    color: #fff;
}

.footer_div1 {
    max-width: 350px;
}

.footer_div1_text {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    color: #bbb;
}

.footer_div1_text i {
    margin-top: 5px;
}

.footer_div1_inp {
    width: 100%;
    height: 60px;
    background-color: #404040;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin-top: 50px;
}

.footer_div1_inp input {
    background-color: transparent;
    border: none;
    outline: none;
    width: 80%;
    height: 100%;
}

.footer_div1_inp button {
    background-color: transparent;
    color: #ffa000;
    font-size: 25px;
}

.footer_div2_text h4 {
    margin-bottom: 10px;
}

.footer_div2_img {
    min-width: 105px;
    height: 105px;
    background-color: #d9d9d9;
}

.footer_div2_box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer_div2 {
    max-width: 350px;
}

.footer_div3 {
    max-width: 350px;
}

.footer_div3_img {
    width: 110px;
    height: 100px;
    background-color: #d9d9d9;
}

.footer_div3_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 20px;
}

.footer_section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer_bottom {
    background-color: #373737;
    height: 150px;
    color: #bbb;
    font-size: 12px;
    margin-top: 100px;
}

.foo_t {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer_bottom_section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    height: 100%;
}


@media screen and (min-width: 767px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }
    .section {
        padding: 5.5rem 0 1rem;
    }

    .nav {
        height: 120px;
        justify-content: space-between;
        column-gap: 6rem;
        margin: 0 auto;
    }
    .nav_toggle, 
    .nav_close {
        display: none;
    }
    .nav_list {
        flex-direction: row;
    }
    .nav_item {
        padding: 5px 25px;
        border-radius: 15px;
    }
    .nav_link {
        text-transform: initial;
        font-size: var(--normal-font-size);
    }
    .nav_btns {
        margin-left: auto;
    }
    .nav_logo img {
        width: 180px;
    }
    .home {
        margin-top: 165px;
    }

    .recent {
        flex-wrap: nowrap;
    }
    .post_img {
        width: 380px;
        height: 280px;
        position: relative;
    }
}