@font-face{
    font-family: "Nanum_Gothic-Bold";
    src: url("../font/Nanum_Gothic/NanumGothic-Bold.ttf");
}

@font-face{
    font-family: "Nanum_Gothic-Regular";
    src: url("../font/Nanum_Gothic/NanumGothic-Regular.ttf");
}

@font-face{
    font-family: "Noto_Sans_KR-Regular";
    src: url("../font/Noto_Sans_KR/NotoSansKR-Regular.otf");
}

@font-face{
    font-family: "Noto_Sans_KR-Bold";
    src: url("../font/Noto_Sans_KR/NotoSansKR-Bold.otf");
}

@font-face{
    font-family: "Noto_Sans_KR-Black";
    src: url("../font/Noto_Sans_KR/NotoSansKR-Black.otf");
}

body {
    background-color: #36393f;
}

.main_img{
    background-image: url("../img/YBOT_main.png");
    background-size: cover;
    width: 100%;
    height: 800px;
    opacity: 0.5;
    background-position: center;
}

.main-section{
    position: relative;
    width: 100%;
    height: 400px;
    background: #303030;
    overflow: hidden;
}

.wave-section1 {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
    background: #33373a;
}

.wave-section2 {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
    background: #33373a;
}

section .wave{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("../img/wave.png");
    background-size: 1000px 100px;
}

section .wave.wave1{
    animation: animate1 30s linear infinite;
    z-index: 3;
    opacity: 1;
    animation-delay: 0s;
    bottom: 0;
}

section .wave.wave2{
    animation: animate1 30s linear infinite;
    z-index: 2;
    opacity: 0.2;
    animation-delay: -2s;
    bottom: 0;
}

section .wave.wave3{
    animation: animate2 30s linear infinite;
    z-index: 3;
    opacity: 1;
    animation-delay: 0s;
    bottom: 0;
}

section .wave.wave4{
    animation: animate2 30s linear infinite;
    z-index: 2;
    opacity: 0.2;
    animation-delay: -2s;
    bottom: 0;
}

@keyframes animate1{
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 1000px;
    }
}

@keyframes animate2{
    0% {
        background-position-x: 1000px;
    }
    100% {
        background-position-x: 0;
    }
}

.main {
    padding-top: 30px;
    padding-bottom: 30px;
    width: 100%;
    height: 100%;
    text-align: center;
}

.center {
    display: flex;
    justify-content: center;
    text-align: center;
}

.grid {
    padding-bottom: 30px;
}

@media (min-width: 1020px) {
    .grid {
        display: grid;
        grid-template-columns: 1fr 50px 1fr 50px 1fr;
    }

    .agent-moblie{
        display: none;
    }

    .agent-pc{
        display: block;
    }
}

@media (max-width: 1020px) {
    .agent-moblie{
        display: block;
    }

    .agent-pc{
        display: none;
    }
}

.dashboard-topic{
    font-family: Noto_Sans_KR-Black;
    font-weight: 500;
    font-size: 2.5rem;
}

.dashboard-desc{
    padding-bottom: 20px;
    font-family: Noto_Sans_KR-Regular;
    font-size: 25px;
}

.invite_btn{
    font-size: 20px;
    font-weight: bold;
    color: white;
    line-height: 50px;
    text-align: center;
    background: #0080ff;
    padding: 6px 30px 6px 30px;
    border-radius: 20px;
    text-decoration: none;
}

.invite_btn:hover{
    background: #343a40;
    color: white;
    text-decoration: none;
    outline: 0;
}

@keyframes key_up {
    0% {
        bottom: 0px;
    }
    100% {
        bottom: 20px;
    }
}

.grid-content:hover{
    position: relative;
    animation: key_up 0.3s alternate linear forwards;
}