@import url('https://webfontworld.github.io/sunn/SUIT.css');

html{
    overflow-x: hidden;
}

body{
    font-family: 'SUIT';
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

h1, p{
    margin: 0;
}

img{
    vertical-align: top;
}

a{
    text-decoration: none;
}
.wrap{
    max-width: 600px;
    margin: 0 auto;
}

/* 최상단 */
#greybg{
    width: 100%;
    height: 20px;
    background-color: #383838;
}


/* 팀스터디 */
.title{
    height: 60px;
    background: #0A0C1E;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.title div:first-child{
    padding: 19px 9px 18px 14px;
}
.title .info-area{
    display: flex;
    height: 44px;
    background: #000000;
    border-radius: 4px;
    justify-content: space-between;
    align-items: center;
    margin: 8px 14px 8px 16px;
}
.title .info-area .first-class{
    background: linear-gradient(182.47deg, #FFE70E 2.07%, #FFFF81 35.59%, #FFC310 75.09%, #FFAE11 116.99%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 12px;
    line-height: 15px;
    text-align: center;
}
.title .info-area div:first-child{
    display: flex;
    flex-direction: column;
    padding: 6px 5px 6px 10px;
}
.title .info-area div:nth-of-type(2){
    display: flex;
    flex-direction: column;
    padding: 6px 5px;
}
.title .info-area div .user-info{
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    text-align: right;
    color: #FFEE53;
}
.title .info-area div .user-amount{
    text-align: right;
    color: #FFEE53;
    font-weight: 700;
    font-size: 12px;
    line-height: 15px;
}



/* 장학금 */
.scholarship{
    width: 100%;
    height: 367px;
    background-color: #121522;
}
.scholarship .top-title-area{
    display: flex;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 95%;
    margin: 0 auto;
}
.scholarship .top-title-area span:first-child{
    font-weight: 800;
    font-size: 13px;
    line-height: 16px;
    color: #FFFFFF;
}
.scholarship .top-title-area span:nth-of-type(2){
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    text-align: right;
    color: #FFCF1D;
}
.scholarship .first-cont{
    display: flex;
    width: 95%;
    height: 160px;  
    background: linear-gradient(180deg, #303A5F 0%, #202744 100%);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin: 0 auto;
}
.scholarship .first-cont .all-award {
    margin-top: 23px;
    padding-bottom: 34px;
    border-right: 1px dotted;
    height: 82px;
    width: 100%;
}
.scholarship .first-cont .all-award > span{
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    text-align: center;
    color: #FFFFFF;
    padding: 0 0 0 17px;
}
.scholarship .first-cont .all-award div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 12px 0 17px;
}
.scholarship .first-cont .all-award div img{
    margin-right: 14px;
    width: 25px;
}
.scholarship .common-para{
    font-weight: 700;
    font-size: 30px;
    line-height: 38px;
    text-align: center;
    letter-spacing: -0.06em;
    color: #FFFFFF;
    display: inline-block;
}
.scholarship .first-cont .all-award div > span{
    font-weight: 500;
    line-height: 38px;
    text-align: center;
    letter-spacing: -0.06em;
    margin-left: 5px;
    color: #FFFFFF;
    display: inline-block;
}
.scholarship .first-cont .all-award div:nth-of-type(2){
    display: flex;
    justify-content: center;
    gap:8px;
}
.scholarship .first-cont .all-award div a{
    width: 45px;
    height: 21px;
    background: #5B6EB6;
    box-shadow: 0.5px 0.5px 4px rgba(0, 0, 0, 0.6), inset 1px 1px 2px rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    color:rgba(255, 255, 255, 1);
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pro-award{
    width: 100%;
    padding-top: 16px;
    padding-bottom: 14px;
    padding-right: 21px;
    padding-left: 12px;
}
.pro-award .first-award > div{
    display: flex;
    justify-content: space-between;
    width: 98%;
}
.pro-award .common-title{
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    color: #FFFFFF;
}
.pro-award a{
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #6175C0;
    box-shadow: 0.5px 0.5px 3px rgba(0, 0, 0, 0.5), inset 0.8px 0.8px 1.5px rgba(255, 255, 255, 0.25);
    color: #fff;
    text-align: center;
    display: inline-block;
    line-height: 18px;
}
.pro-award .first-award .first-award-amount{
    margin-top: 2px;
    display: flex;
    align-items: center;
    border-bottom: 1px dotted;
    padding-bottom: 6px;
}
.first-award-amount img{
    width: 25px;
}
#para2{
}
#para3{
}
.common-won{
    font-weight: 500;
    line-height: 38px;
    text-align: center;
    letter-spacing: -0.06em;
    margin-left: 3px;
    color: #FFFFFF;
    display: inline-block;
}
.pro-award .second-award{
    padding-top: 8px;
}
.pro-award .second-award > div{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 98%;
}
.second-award img{
    width: 25px;
}


/* 친구초대 장학금 */
.second-cont{
    background: linear-gradient(180deg, #303A5F 0%, #202744 100%);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    width: 95%;
    height: 160px;
    margin: 7px auto 0;
}

.second-cont > div:first-child{
    padding-top: 13px;
    padding-bottom: 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    margin: 0 auto;
    border-bottom: 1px dotted;
}
.second-cont > div span:first-child{
    font-weight: 700;
    font-size: 15px;
    line-height: 19px;
    color: #FFFFFF;
}
.second-cont > div span:nth-of-type(2){
    font-weight: 900;
    font-size: 13px;
    line-height: 12px;
    color: #FFFFFF;
}
.second-cont .reward{
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    border: none;
    width: 90%;
}
.second-cont .reward div{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    margin-top: 8px;
}
.second-cont .reward div .gold-text{
    font-weight: 900;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    letter-spacing: -0.05em;
    background: linear-gradient(182.47deg, #FFE70E 2.07%, #FFFF81 35.59%, #FFC310 75.09%, #FFAE11 116.99%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
.second-cont .reward div .silver-text{
    font-weight: 800;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    letter-spacing: -0.05em;
    color: #EAEAEA;
}

.second-cont .reward div .gold-btn{
    width: 54px;
    height: 28px;
    background: linear-gradient(182.47deg, #FFE70E 2.07%, #FFFF81 35.59%, #FFC310 75.09%, #FFAE11 116.99%);
    box-shadow: 0.5px 0.5px 3px rgba(0, 0, 0, 0.6), inset 1.5px 1.5px 2px rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    text-align: center;
    color: #C55E00;
    font-size: 15px;
    line-height: 28px;
    font-weight: 700;
}
.second-cont .reward div .silver-btn{
    width: 54px;
    height: 28px;
    margin: 0 auto;
    background: linear-gradient(180deg, #DCDCDC 0%, #ABABAB 100%);    box-shadow: 0.5px 0.5px 3px rgba(0, 0, 0, 0.6), inset 1.5px 1.5px 2px rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    text-align: center;
    color: #6B6B6B;
    font-size: 15px;
    line-height: 28px;
    font-weight: 700;
}

/* 영상 및 하단 설정 */
.bottom-wrap{
   /*  height: 441px;*/
    background: #1E2838;
    padding-top: 7px;
}
.bottom-wrap .movie-area{
    margin: 0 auto;
    width: 95%;
    /* height: 184px;*/
    background: #5F5F5F;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}
.bottom-wrap .movie-area img{
    display: block;
    margin: 0 auto;
    padding-top: 55px;
}

.bottom-wrap .setting-area{
    display: grid;
    grid-template-columns: 47% 47%;
    margin: 11px auto 0;
    justify-content: center;
    grid-column-gap: 8px;
    grid-row-gap: 8px;
}
.bottom-wrap .setting-area a{
    width: 100%;
    height: 95px;
    background: linear-gradient(180deg, #303A5F 0%, #202744 100%);
    box-shadow: 1.5px 1.5px 3px rgba(0, 0, 0, 0.6), inset 1.5px 1.5px 5px rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:10px;
}

.bottom-wrap .setting-area a p{
    font-weight: 900;
    font-size: 20px;
    line-height: 25px;
    text-align: center;
    letter-spacing: -0.05em;
    background: linear-gradient(155.97deg, #FFE70E 9.05%, #FFFF81 36.4%, #FFC310 71.46%, #FFAE11 108.64%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 1px 1px 4px rgba(0, 0, 0,.2);
}
#study-go {
    width: 100%;
    display: flex;
    margin: 0 auto;
    justify-content: center;
    text-align: center;
    position: relative;
}
#study-go img{
    width: 244px;
    height: 53px;
    margin-left: calc(-10px / -2);
}
#study-go span{
    width: 244px;
    position: absolute;
    top: 11px;
    margin-left: calc(-259px / -2);
    font-weight: 900;
    font-size: 24px;
    line-height: 30px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #702800;
    text-shadow: 0px 0px 2px #ff800b;
}

/* 푸터 */
footer{
    height: 55px;
    background: #0A0C1E;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}
footer p{
    font-weight: 300;
    font-size: 12px;
    line-height: 17px;
    text-align: center;
    color: #FFFFFF;
    padding-top: 30px;
}

@media screen and (max-width: 377px) {
    .title #coin2{
        width: 24%;
    }
    .title #title_img{
        width: 72%;
    }
    .title .info-area{
        width: 40%;
    }
    .scholarship .common-para{
        font-size: 7vw;
    }
    
    .first-award-amount img{
        width: 18%;
    }
    .scholarship .top-title-area{
        width: 93%;
    }
    .scholarship .first-cont{
        width: 93%;
    }
    .second-cont{
        width: 93%;
    }
    .second-award img{
        width: 18%;
    }
    #para2{
        margin-left: 0;
    }
    #para3{
        margin-left: 0;
    }
    .scholarship .first-cont .all-award div > span{
        font-size: 5vw;
    }
    .scholarship .first-cont .all-award div img{
        margin-right: 0;
        width: 18%;
    }
    .common-won{
        font-size: 5vw;
    }
    .scholarship .first-cont .all-award div a{
        width: 33%;
    }
    .second-cont > div span:first-child{
        font-size: 4vw;
    }
    .second-cont > div span:nth-of-type(2){
        font-size: 3vw;
    }
    .bottom-wrap .movie-area{
        width: 93%;
    }
    .bottom-wrap .setting-area {
        grid-template-columns: 45.5% 45.5%;
    }
    #study-go span{
    }
    #study-go img{
        width: 65%;
    }
}