@import url(https://fonts.googleapis.com/earlyacess/notosanskr.css);
@import url(https://fonts.googleapis.com/css2?family=Roboto&display=swap);

html {
    font-family: "Roboto", "Noto Sans KR", sans-serif;
    font-size: 20px;
}

:root {
    --text-color: #f0f4f5;
    --background-color: #003054;
    --accent-color: orange;
    --icons-color: rgb(152, 187, 201);
    --bodybackground-color: #fff;
    position: absolute;
    width: 100%;
    min-width: 840px;
}

body { 
    margin: 0;
    background-color: var(--bodybackground-color);
    height: 100%;
    /* display: flex; */
    
    min-height: 131vh;
    /* background: linear-gradient((to left top, #031A9A, #8B53FF)); */
}

.navbar {
    min-width: 840px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--background-color);
    padding: 8px 50px;
    height: 100px;
}

.navbar_logo i {
    color: var(--accent-color);
    padding-left: 0;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

.navbar_menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding-left: 0;
}

.navbar_menu li {
    padding: 8px 50px;
}

/* 비활성화 일때 버튼 클래스 */
.nav-lang {
    border: whitesmoke 2px solid;
    border-radius: 4px;
    padding: 5px 10px;
    color: whitesmoke
}
/* 활성화 일때 버튼 클래스 */
.active {
    border: #ff8400 2px solid;
    color:#1ecba7
}
/* 마우스 올렸을 때 버튼 색 변화 */
.nav-lang:hover {
    border: #1ecba7 2px solid;
    color:#1ecba7
}
#language{
    display:none;
}

.wrapper {
    /* max-width: 940px; */
    width: 100%;
    min-width: 100%;
    background-color: #8B53FF;
    /* padding: 1px; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* position: absolute; */
}
.wrapper .carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3) - 15px);
    gap: 1em;
    overflow: hidden;
    padding: 10px;
}
/* .wrapper i {
    height: 50px;
    width: 50px;
    background: #fff;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    font-size: 1.25rem;
    transform: translateY(-50%);
    box-shadow: 0 3px 6px rgba(0,0,0,0.23);
}
.wrapper i:first-child {
    left: calc((100% / 2) - 400px - 10px);
}
.wrapper i:last-child {
    right: calc((100% / 2) - 400px - 10px);
} */
.carousel :where(.card, .img) {
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel.dragging .card {
    cursor: grab;
    user-select: none;
}
.carousel .card {
    width: 240px;
    height: 280px;
    list-style: none;
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 5px 5px 5px 1px rgba(0,0,0,0.5);
}
.card .img {
    background: #8B53FF;
    width: 154px;
    height: 154px;
    border-radius: 50%;
}
.card .img img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
}
.card h2 {
    font-weight: 500;
    font-size: 1.56rem;
    margin: 30px 0 5px;
}
.card span {
    color: #6a6d78;
    font-size: 1.31rem;
}

/* @media screen and (max-width: 840px) {
    .wrapper .carousel {
        grid-auto-columns: calc((100% / 3) - 15px);
    }
} */
.your-centered-div {
    padding-top: 20px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}