@charset "utf-8";
@import url(reset.css);
@import url(font.css);

body {font-family: "Pretendard-M"; font-size: 1rem; background-color: #F8F9FC;}


header {
    position: absolute;
    left: 0;
    right: 0;
    top: 10%;
    height: 15%;
    padding: 1%;
    box-sizing: border-box;
}

header .title {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    margin: auto;
    text-align: center;
}
header .title p:nth-child(1) {font-family: "SB-B"; color: #2E3A59; font-size: 2.5rem;}
header .title p:nth-child(2) {font-family: "SB-M"; color: #8A8FA3; font-size: 1.5rem;}

main {
    position: absolute;
    left: 0;
    right: 0;
    top: 25%;
    padding: 3% 1%;
    box-sizing: border-box;
}

main .btnArea {
    width: 50%;
    margin: auto;
    text-align: center;
}

main .btnArea .fontDownload {
    text-align: right;
    margin-bottom: 5%;
}

main .btnArea .fontDownload a {font-size: 1.2rem; display: block;}
main .btnArea .fontDownload a:hover {text-decoration: underline;}

main .btnArea ul {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
}

main .btnArea ul li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 23.5%;
    height: 12rem;
    padding: 1%;
    box-sizing: border-box;
    border-radius: 1rem;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: border-color 0.25s ease;
    border: 2px solid #ffffff;
}
main .btnArea ul li:not(:nth-child(4n)) {margin-right: 2%;}
main .btnArea ul li:not(:nth-child(-n+4)) {margin-top: 2%;}

main .btnArea ul li:hover {
    border-color: #2E3A59; /* 브랜드 포인트 컬러 */
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

main .btnArea ul li .logoArea {
    height: 65%;
    width: 100%;
    display: flex;
    align-items: center;
}

main .btnArea ul li .logoArea img {
    width: 60%;
    margin: auto;
}

main .btnArea ul li .textArea {
    height: 35%;
    line-height: 1.6;
}

main .btnArea ul li .textArea p:nth-child(1) {color: #2E3A59; font-weight: bold;}
main .btnArea ul li .textArea p:nth-child(2) {color: #A0A7BA;}

main .btnArea ul li a {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}