@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "DM Sans", sans-serif;
}
/* #scrollCase{
    display: none;
    position: fixed;
    bottom: 20px;
    right: 10px;
    width: 600px;
    height: 300px;
    background-color: #003893;
    z-index: 99;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
} */
.logoWrap{
    display: inline-block;
    padding: 0;
    height: 20px;
}
.menu{
    font-size: 24px;
    height: 36px;
    width: 36px;
    border: 1px solid #454545;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    display: none;
}
.menu:hover{
    background-color: white;
}
.afterClick{
    font-size: 30px !important;
}
nav{
    padding: 15px 20px;
    background-color: rgba(223, 223, 223, 0.1);
    width: calc(100% - 280px);
    position: fixed;
    top: 15px;
    left: 140px;
    border-radius: 50px;
    border: 2px solid rgb(255, 255, 255);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 40px;
}
.selected{
    border: 1px solid rgb(34, 126, 155) !important;
    background-color: rgba(34, 127, 155, 0.15);
}
.selected div{
    background-color: rgb(34, 126, 155) !important;
    color: white;
}
.active{
    color: #003893;
    text-decoration: underline;
}
nav ul{
    list-style: none;
    display: flex;
    gap: 20px;
}
nav ul a{
    text-decoration: none;
    color: #454545;
    font-weight: 500;
}
nav ul a:hover{
    color: #003893;
}
.logo{
    height: 24px;
}
#disp{
    height: 500px;
    display: none;
}
.link_card:hover{
    border: 1px solid rgb(34, 126, 155);
    background-color: rgba(34, 127, 155, 0.15);
}
.link_card:hover div{
    background-color: rgb(34, 126, 155);
    color: white;
}
.link_card{
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #454545;
    border: 1px solid rgb(219, 219, 219);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}
.link_card h2{
    font-size: 20px;
    font-weight: 600;
    line-height: 140%;
    flex: 1;
}
.link_card div{
    width: 60px;
    height: 60px;
    background-color: aliceblue;
    font-size: 36px;
    font-weight:bolder;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}
.card_wrap{
    padding: 50px 140px;
}
.card_wrap h2{
    margin-bottom: 20px;
}
.test{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
#test{
    display: flex;
    flex-wrap: wrap;
    column-gap: 15px;
    padding: 50px 140px;
}
#test a{
    width: calc(50% - 10px);
}
.cover{
    padding: 100px 20px 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background-color: aliceblue;
}
.hero{
    padding: 250px 20px 150px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background-color: aliceblue;
}
.hero h1{
    text-align: center;
    font-size: 50px;
    font-weight: 400;
    color: #DC143C;
}
.hero h1 span{
    font-size: 56px;
    text-align: center;
    font-weight: 900;
    position: relative;
    color: #003893;
    z-index: 1;
}
.hero h1 span::after{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    height: 24px;
    width: 100%;
    background-color: rgba(34, 127, 155, 0.2);
    z-index: 0;
}
.cover h1{
    font-size: 56px;
    text-align: center;
}
.course_card{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    width: 32%;
    border: 1px solid rgb(217, 217, 217);
    padding: 15px;
    border-radius: 10px;
}
.course_card:hover{
    border: 1px solid rgba(34, 127, 155, 0.617);
}
.course_card:hover h3{
    color: rgb(34, 126, 155);
}
.course_card img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.course_card h3{
    color: #454545;
    font-weight: 600;
    font-size: 18px;
}
@media screen and (max-width: 1080px) {
    #test, .card_wrap{
        padding: 50px 40px;
    }
    .course_card{
        width: calc(50% - 10px);
    }
    nav{
        padding: 15px 20px;
        width: calc(100% - 80px);
        left: 40px;
        
    }
}
@media screen and (max-width: 900px) {
    #test, .card_wrap{
        flex-direction: column;
    }
    #test a{
        width: 100%;
    }
    .course_card{
        width: 100%;
    }
    nav{
        padding: 15px 20px;
        width: calc(100% - 40px);
        left: 20px;
        
    }
    .logo{
        height: 20px;
    }
}
@media screen and (max-width: 600px) {
    .hide{
        display: none;
    }
    .hero h1{
        font-size: 24px;
    }
    .hero h1 span{
        font-size: 36px;
    }
    nav ul{
        position: absolute;
        padding: 30px 20px;
        border: 1px solid rgb(226, 226, 226);
        width: 100%;
        border-radius: 20px;
        background-color: rgba(255, 255, 255, 0.8);
        left: 0px;
        top: 70px;
        backdrop-filter: blur(4px);
        display: flex;
        flex-direction: column;
    }
    nav{
        justify-content: space-between;
        z-index: 99;
    }
    .menu{
        display: flex;
    }
    #test, .card_wrap{
        padding: 40px 20px;
    }
}