@import url('https://fonts.googleapis.com/css2?family=Do+Hyeon&family=Gaegu:wght@700&family=Inter:wght@500&display=swap');
/* 로고 폰트 (Gaegu) >> font-family: 'Gaegu', cursive;
메인 폰트 (inter) >> font-family: 'Inter', sans-serif; 
강조 폰트 font-family: 'Do Hyeon', sans-serif;*/

* {
    margin: 0;
    padding: 0;
    /* outline: solid 1px green; */
}

body {
    overflow-x:hidden;
}

:root{
    --main-color: #516459;
    --point-color: #89A286;
    --second-color: #CBD3B9;
}

.container {
    width: 75%;
    margin: 70px auto;
}

#banner {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

#banner img {
    width: 100%;
    filter: brightness(50%); 
}

.banner-recommend {
    display: flex;
    position: absolute;
    top: 200px;
    left: 230px;
    font-size: 35px;
    font-family: 'Gaegu', 'cursive';
    color: #000000;
    font-weight: 800;
    z-index: 99;
    background-color: rgb(255, 255, 255);
    border-radius: 100px;
    border: 1p solid black;
    width: 200px;
    height: 200px;
    align-items: center;
    text-align: center;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active {
    background-color: #717171;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 2.5s;
    animation-name: fade;
    animation-duration: 2.5s;
}

.recommend-app {
    margin-top: 330px;
    padding: 15px;
    height: 1000px
    /* outline: 1px solid black;
    border-radius: 10px; */
}

.recommend-app-top {
    display: flex;
    justify-content: space-between;
    align-items:flex-end;
    width: 100%;
}

.recommend-app-top p:nth-child(1) {
    margin-bottom: 10px;
    font-family: 'Do Hyeon', sans-serif;
    font-size: 30px;
    white-space: 2;
    text-decoration: underline 2px;
}

.recommend-app-top p:nth-child(2) {
    font-family: 'Do Hyeon', sans-serif;
    font-size: 20px;
}

.card-view-container {
    padding: 40px;
    margin : 0 auto;
    display: grid;
    height: 100%;
    /* auto-fill : 행, 열 크기에 맞게 자동 조정, repeat() 함수랑 사용 */
    /* minmax : 첫 인수 - 최솟값 / 두 번째 인수 - 최댓값 */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    grid-gap: 50px;
    outline: 3px solid rgb(0, 0, 0);
    flex-wrap: wrap;
    border-radius: 20px;
}

.card-app {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background-color: rgb(180, 180, 180);
    border-radius: 20px 20px 20px 20px;
    transition: all 0.2s linear;
}

.card-app:hover {
    transform: scale(1.1);
}



body > div > div:nth-child(3) > div.card-view-container > div:nth-child(1) {
    align-content: flex-end;
    display: inline-grid;
    padding: 10px;
    height: 86%;
    background-color: rgb(154, 154, 154);
    background-image: linear-gradient(rgba(67, 67, 67, 0.627), rgba(42, 42, 42, 0.7)), url(https://play-lh.googleusercontent.com/r7Rxf3UjX_O7mQzkFhSgsrbaRKTY7-8cx_gYpUVJkXdFXDzCKbvfw0ISRbbdHP2Ortvz=w240-h480-rw);  
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

body > div > div:nth-child(3) > div.card-view-container > div:nth-child(2) {
    align-content: flex-end;
    display: inline-grid;
    padding: 10px;
    height: 86%;
    background-color: rgb(154, 154, 154);
    background-image: linear-gradient(rgba(67, 67, 67, 0.627), rgba(42, 42, 42, 0.7)), url(https://play-lh.googleusercontent.com/Vihg_vieb8FZ_z2TwnM4LJtqcLgCT6xr9d_SEXvp_hHJb3qOafRKf4cOH5ifp7gdHfIj=w240-h480-rw);  
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

body > div > div:nth-child(3) > div.card-view-container > div:nth-child(3) {
    align-content: flex-end;
    display: inline-grid;
    padding: 10px;
    height: 86%;
    background-color: rgb(154, 154, 154);
    background-image: linear-gradient(rgba(67, 67, 67, 0.627), rgba(42, 42, 42, 0.7))   , url(https://play-lh.googleusercontent.com/pOQaf_wSRuToTI0a_oCHnCV26E7UJVjJwLDSRVLIc-a5HBL5sBp0xOm9JT9G0sFvnReA=w240-h480-rw);  
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

body > div > div:nth-child(3) > div.card-view-container > div:nth-child(4) {
    align-content: flex-end;
    display: inline-grid;
    padding: 10px;
    height: 86%;
    background-color: rgb(154, 154, 154);
    background-image: linear-gradient(rgba(67, 67, 67, 0.627), rgba(42, 42, 42, 0.7)), url(https://play-lh.googleusercontent.com/HWWzXfcuWnL_60PY4MPHfS_Jx7ctcWZeQTbe6OOdRirfFh26_maKyAGBUB-FLXW3wb3o=w240-h480-rw);  
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

body > div > div:nth-child(3) > div.card-view-container > div:nth-child(5) {
    align-content: flex-end;
    display: inline-grid;
    padding: 10px;
    height: 86%;
    background-color: rgb(154, 154, 154);
    background-image: linear-gradient(rgba(67, 67, 67, 0.627), rgba(42, 42, 42, 0.7)), url(https://play-lh.googleusercontent.com/9Yxg-8ixwwKJJQ8EFRu7vfKiYqBZ6kUnpJC8S5a3TghZ2MYecc2mNHK0QLvmHDIjwQ=w240-h480-rw);  
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

body > div > div:nth-child(3) > div.card-view-container > div:nth-child(6) {
    align-content: flex-end;
    display: inline-grid;
    padding: 10px;
    height: 86%;
    background-color: rgb(154, 154, 154);
    background-image: linear-gradient(rgba(67, 67, 67, 0.627), rgba(42, 42, 42, 0.7)), url(https://play-lh.googleusercontent.com/4cS8aXSShTIbDAxCZmPAzea6jpsnV2rwAlDtIz72N0o7ecyWzN7mOtEaCUoLVvj5kkk=w240-h480-rw);  
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.card-view-container .card-text {
    display: block;
    font-family: 'Inter', sans-serif;
    color: white;
}

.card-view-container .card-text .intro {
    font-weight: 500;
    font-size: 16px;
}

.card-view-container .card-text .card-name {
    font-weight: 600;
    font-size: 35px;
    margin: 3px 0;
}

.card-view-container .card-text .card-content {
    width: 70%;
    font-weight: 400;
    font-size: 13px;
    margin-bottom: 15px;
}

.card-view-container .platform {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.card-view-container .platform .icon {
    display: flex;
    align-items: center;
}

.card-view-container .platform .icon p {
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 5px;
    margin-right: 10px;
}

.card-view-container img {
    width: 25px;
    height: 25px;
}

.card-view-container .share {
    display: flex;
    /* margin-top: 20px; */
    align-items: center;
}

.beta-card-view-container {
    padding: 60px;
    margin: 0 auto;
    display: grid;
    height: auto;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-template-rows: repeat(2, 300px);
    grid-gap: 60px;
    outline: 3px solid green;
    border-radius: 20px;
}

.beta-card-view-container .card-app {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background-color: rgb(216, 216, 216);
    border-radius: 20px 20px 0 0;
}

.beta-card-view-container .card-main {
    align-content: flex-end;
    display: inline-grid;
    padding: 0px;
    width: 100%;
    height: 86%;
    background-color: rgb(154, 154, 154);
    background-image: linear-gradient(rgba(67, 67, 67, 0.627), rgba(42, 42, 42, 0.7)); 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


.beta-card-view-container .card-main {
    display: flex;
    justify-content: space-between;
    /* padding: 10px; */
    color: white;
}

.beta-card-view-container .card-text .card-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 40px;
    margin-bottom: 20px;
}

.beta-card-view-container .card-cotnent {
    width: 250px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: rgb(194, 194, 194);
}

.beta-card-view-container .card-icon {
    display: flex;
    align-items: flex-end;
    margin-top: 50px;
}

.beta-card-view-container .card-icon p {
    font-size: 15px;
    font-weight: 500;
    margin-right: 20px;
}

.beta-card-view-container img {
    width: 100%;
    height: 250px;
}

/* 실습실 모니터 기준 */
@media screen and (min-width:1536px) {
    .card-view-container {
        padding: 40px;
        margin : 0 auto;
        display: grid;
        height: 100%;
        /* auto-fill : 행, 열 크기에 맞게 자동 조정, repeat() 함수랑 사용 */
        /* minmax : 첫 인수 - 최솟값 / 두 번째 인수 - 최댓값 */
        grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
        grid-gap: 50px;
        outline: 3px solid rgb(0, 0, 0);
        flex-wrap: wrap;
        border-radius: 20px;
    }

    .banner-recommend {
        display: flex;
        position: absolute;
        top: 230px;
        left: 350px;
        font-size: 35px;
        font-family: 'Gaegu', 'cursive';
        color: #000000;
        font-weight: 800;
        z-index: 99;
        background-color: rgb(255, 255, 255);
        border-radius: 100px;
        border: 1p solid black;
        width: 200px;
        height: 200px;
        align-items: center;
        text-align: center;
    }
}

@media  screen and (max-width:1250px) {
    .beta-card-view-container {
        padding: 60px;
        margin: 0 auto;
        display: grid;
        height: auto;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        grid-template-rows: repeat(2, 300px);
        grid-gap: 60px;
        outline: 3px solid green;

        border-radius: 20px;
    }
}

@media screen and (max-width:1096px) {
    .beta-card-view-container {
        padding: 60px;
        margin: 0 auto;
        display: grid;
        height: auto;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        grid-template-rows: repeat(2, 300px);
        grid-gap: 60px;
        outline: 3px solid green;
        border-radius: 20px;
    }
}


@media screen and (max-width:1029px){

    .banner-recommend {
        display: flex;
        position: absolute;
        top: 200px;
        left: 200px;
        font-size: 30px;
        font-family: 'Gaegu', 'cursive';
        color: #000000;
        font-weight: 800;
        z-index: 99;
        background-color: rgb(255, 255, 255);
        border-radius: 100px;
        border: 1p solid black;
        width: 200px;
        height: 200px;
        align-items: center;
        text-align: center;
    }
}

@media screen and (max-width:1000px){

    .banner-recommend {
        display: flex;
        position: absolute;
        top: 200px;
        left: 150px;
        font-size: 30px;
        font-family: 'Gaegu', 'cursive';
        color: #000000;
        font-weight: 800;
        z-index: 99;
        background-color: rgb(255, 255, 255);
        border-radius: 100px;
        border: 1p solid black;
        width: 160px;
        height: 160px;
        align-items: center;
        text-align: center;
    }
}

@media screen and (max-width:816px){

    .card-view-container {
        padding: 40px;
        margin: 0 auto;
        display: grid;
        height: 100%;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        /* grid-template-rows: 100px 100px; */
        grid-gap: 50px;
        outline: 3px solid rgb(0, 0, 0);
        flex-wrap: wrap;
        border-radius: 20px;
    }
}

@media screen and (max-width:765px){

    .card-view-container {
        padding: 40px;
        margin: 0 auto;
        display: grid;
        height: 100%;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        /* grid-template-rows: 100px 100px; */
        grid-gap: 50px;
        outline: 3px solid rgb(0, 0, 0);
        flex-wrap: wrap;
        border-radius: 20px;
    }
}

@media screen and (max-width:680px){

    .banner-recommend {
        display: flex;
        position: absolute;
        top: 200px;
        left: 100px;
        font-size: 30px;
        font-family: 'Gaegu', 'cursive';
        color: #000000;
        font-weight: 800;
        z-index: 99;
        background-color: rgb(255, 255, 255);
        border-radius: 100px;
        border: 1p solid black;
        width: 160px;
        height: 160px;
        align-items: center;
        text-align: center;
    }
}

@media screen and (max-width:629px){

    .card-view-container {
        padding: 40px;
        margin: 0 auto;
        display: grid;
        height: 100%;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        /* grid-template-rows: 100px 100px; */
        grid-gap: 50px;
        outline: 3px solid rgb(0, 0, 0);
        flex-wrap: wrap;
        border-radius: 20px;
    }
}

/* MOBILE */
@media screen and (max-width:480px) {

    .card-view-container {
        padding: 40px;
        margin: 0 auto;
        display: grid;
        height: 100%;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        /* grid-template-rows: 100px 100px; */
        grid-gap: 50px;
        outline: 3px solid rgb(0, 0, 0);
        flex-wrap: wrap;
        border-radius: 20px;
    }

    .recommend-app {
        margin-top: 100px;
        padding: 15px;
        height: 80%;
    }

    .banner-recommend {
        display: flex;
        position: absolute;
        top: 150px;
        left: 80px;
        font-size: 15px;
        font-family: 'Gaegu', 'cursive';
        color: #000000;
        font-weight: 800;
        z-index: 99;
        background-color: rgb(255, 255, 255);
        border-radius: 100px;
        border: 1p solid black;
        width:80px;
        height: 80px;
        align-items: center;
        text-align: center;
    }

    .card-view-container {
        padding: 20px;
        margin: 0 auto;
        display: grid;
        height: 100%;
        /* grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); */
        grid-gap: 30px;
        outline: 3px solid rgb(0, 0, 0);
        flex-wrap: wrap;
        border-radius: 20px;
    }

    .card-view-container img {
        width: 20px;
        height: 20px;
    }

    .card-view-container .card-text .intro {
        font-size: 10px;
    }

    .card-view-container .card-text .card-name {
        font-size: 20px;
    }

    .card-view-container .card-text .card-content {
        width: 100%;
    }

    .beta-card-view-container {
        padding: 25px;
        margin: 0 auto;
        display: grid;
        height: auto;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        grid-template-rows: repeat(2, 250px);
        grid-gap: 60px;
        outline: 3px solid rgb(0, 0, 0);
        border-radius: 20px;
    }

    .beta-card-view-container .card-cotnent {
        width: 65%;
        font-size: 10px;
        margin-left: 5px;
    }
    
    .beta-card-view-container .card-text {
        width: 260px;
        height: 250px;
        margin-left: 5px;

    }


    .beta-card-view-container .card-text .card-name {
        font-size: 30px;
        margin-left: 5px;

    }

    .beta-card-view-container .card-icon p {
        font-size: 10px;
    }

    .beta-card-view-container img {
        width: 100%;
        height: 212px;
    }

    footer {
        margin-top: 120px;
    }

    footer .title {
        font-size: 30px;
        font-family: 'Gaegu', cursive;
        font-weight: 600;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
}