:root {
    --primary-background: rgb(52, 146, 235);
}

* {
    margin: 0;
    padding: 0;

    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', sans-serif;
}

.logo {
    height: 40px;
    margin-right: 10px;
}

.blue {
    color: var(--primary-background);
}

#site_start {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#main {
    padding: 80px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;

    user-select: none;
}

#navlogo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}


#introicon {
    align-items: center;
    text-align: center;
    height: 20%;
    width: 100%;
}

.navbutton {
    color: white;
    background-color: transparent;
    border: none;
    font-size: 15px;
    font-weight: 600;
}

.navbutton:hover {
    text-decoration: underline;
    cursor: pointer;
}

#navbutton-container {
    display: flex;
    gap: 40px;
}

#introimg {
    width: 30%;
    max-width: 400px;
}

#navibar {
    padding: 20px 80px;
    background-color: rgb(25, 25, 25);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#navibar span {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
}

/* 추천 정리 */
#hot {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section {
    display: flex;
    padding: 30px;
}

.recommend_container {
    display: flex;
    padding: 10px;
    gap: 10px;
}

.img_container {
    display: flex;
    width: 100%;
    max-width: 200px;
    padding: 10px;
    box-shadow: 0px 10px 20px 0px #D9D9D9;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.img_container img {
    width: 120px;
    height: auto;
}

.name1 {
    font-size: 20px;
    font-weight: bold;
}

.name2 {
    font-size: 15px;
    font-weight: 400px;
}

.recommend_info_container {
    width: 100%;
    max-width: 700px;
    display: flex;
    padding: 20px;
    box-shadow: 0px 10px 20px 0px #D9D9D9;
}

.recommend_info {
    font-size: 18px;
}

/* 추천 정리 */


/* about */
#about {
    display: flex;
    flex-direction: column;
}

.about_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5%;
}

#features,
#footer {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}

#footer {
    text-align: center;
}

#email {
    margin-top: 70px;
    display: flex;
    justify-content: space-evenly;
    text-align: center;
    width: 100%;
}

#email div {
    display: flex;
    justify-content: center;
    text-align: center;
    box-shadow: 0px 10px 20px 0px #D9D9D9;
    transition: 0.3s;
}

#email div:hover {
    transition: 0.3s;
    box-shadow: 0px 10px 20px 0px var(--primary-background);
}

.text_container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.about_title {
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    font-weight: 900;
    font-size: 24px;
    padding: 5px;
}

.about_content {
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    font-weight: 400;
    font-size: 18px;
    padding: 5px;
}

.about_container {
    display: flex;
    cursor: default;
}

/* about */


.step {
    border: #313131 5px solid;
    width: 20%;
    margin: 10%;
    background-color: #f2f2f2;
    border-radius: 5px;
}


/* 채팅 쪽 */
#everything-container {
    display: flex;
    gap: 100px;
    padding: 20px 150px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.section-title {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    padding: 5px;
}

.chat-container {
    display: flex;
    flex-direction: column;

    background-color: #F7F7F7;
    box-shadow: 0px 10px 20px 0px #D9D9D9;
    padding: 20px;
    gap: 5px;
    width: 100%;
    max-width: 600px;
    height: 1000px;
}

.chat-settings {
    display: flex;
    justify-content: center;
    gap: 10px;

    padding: 10px;

    width: 100%;
}

.chat-settings>span {
    display: block;

    padding: 10px 15px;
    border: solid 1px rgb(200, 200, 200);
    border-radius: 100vmax;

    background-color: rgb(230, 230, 230);
    color: rgb(50, 50, 50);

    font-size: 0.8rem;
}

.loader {
    display: flex;
    align-items: center;
}

#youtube-container {
    /* results 담는 흰 박스 */
    /* 여기서 results 값들을 정렬해주는 거임. results 건드려도 안 바뀜 */
    height: 100%;
    overflow-y: auto;

    display: flex;
    text-align: center;
    flex-direction: column;
    background-color: #ffffff;

    padding: 40px;
    box-shadow: 0px 10px 20px 0px #D9D9D9;
}

.info-container {
    display: flex;
    background-color: #F7F7F7;
    box-shadow: 0px 10px 20px 0px #D9D9D9;
    gap: 5px;
    padding: 20px;
    width: 100%;
    max-width: 1400px;
    height: 1000px;
    flex-direction: column;
}

.iframe {
    position: relative;
    padding-top: 56%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.iframe>iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.iframey {
    position: relative;
    padding-top: 56%;
    width: 100%;
    height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.iframey>iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 유튜브 */
#results {
    /* 목록으로 돌아가기 후에 나오는 리스트 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.resultvideo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    width: 100%;
    max-width: 600px;
    transition: 0.3s;

    background-color: rgb(245, 245, 245);
    color: white;
}

.resultvideo:hover {
    cursor: pointer;
}

#resultvideo-container {
    /* 썸네일이랑 영상 제목 묶어놓은 div */
    position: relative;
    z-index: 0;

    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    text-align: left;

    width: 100%;
    height: 100%;

    border-radius: 10px;
    overflow: hidden;
}

#resultvideo-container>img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;

    width: 100%;
    height: 100%;

    object-fit: cover;
    filter: brightness(25%);
    transform: scale(1);

    transition: ease 0.5s all;
}

#resultvideo-text {
    /* resultvideo-container 속 span 건드리는 거 */
    width: 100%;
    max-width: 500px;
    height: 100%;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 40px 30px;

    user-select: none;
    transform: translateY(0%) scale(1);

    transition: ease 0.5s transform;
}

#resultvideo-container:hover>img {
    filter: brightness(100%);
    transform: scale(1.05);
}

#resultvideo-container:hover #resultvideo-text {
    transform: translateY(100%) scale(0.95);
}

/* 유튜브 */

/* 채팅 박스 */
.chat-box {
    background-color: #ffffff;
    overflow-y: auto;
    height: 100%;
    padding: 20px;
    box-shadow: 0px 10px 20px 0px #D9D9D9;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chat-message {
    color: rgb(255, 255, 255);
    font-size: 18px;
    border: none;

    width: 100%;

    display: flex;
    justify-content: flex-end;
}

.chat-message p {
    background-color: var(--primary-background);
    padding: 15px 20px;
    border-radius: 15px 15px 5px 15px;
    max-width: 400px;
}

.chat-message.assistant p {
    border-radius: 15px 15px 15px 5px;
    background-color: rgb(35, 37, 41) !important;
}

.chat-message.assistant {
    justify-content: flex-start !important;
}

.chat-input {
    background-color: #ffffff;
    display: flex;
    box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.15);
    border-radius: 10px;

    margin-top: 10px;
    padding: 5px;
    gap: 5px;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
}

.chat-input button {
    background-color: var(--primary-background);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.4s;
}

.chat-input button:hover {
    background-color: rgb(15, 63, 166);
    transition: 0.4s;
}

/* 채팅 박스 */
/* 채팅 쪽 */

#buttons {
    display: flex;
    justify-content: center;
    text-align: center;
    gap: 15px;
    margin-top: 15px;
}

.buttons-design {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #787878;
    font-weight: bold;
    color: white;
    transition: 0.3s;
    box-shadow: 0px 10px 20px 0px #929292;
}

.buttons-design:hover {
    border-radius: 20px;
    background-color: #1f1f1f;
    transition: 0.3s;
}


#selctStartButton {
    /* 버튼 */
    flex-direction: row;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    align-items: center;
}

#selctStartButton button {
    padding: 20px 60px;
    background-color: #313131;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 40px;
    color: white;
    font-size: 20px;
    transition: 0.6s;
    cursor: pointer;
}

#selctStartButton button:hover {
    background-color: #000000;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    transition: 0.6s;
}

/*옵션 선택 창 css*/
#master-info {
    width: 100%;
    justify-content: center;
}

#info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
    width: 100%;
    padding: 100px;
}

.step-box {
    /* step 묶는 박스 */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    box-shadow: 2px 3px 5px 0px #D9D9D9;
    padding: 30px 0px;
    width: 500px;
    background-color: #F7F7F7;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    margin-top: 20px;
}

.grid-item:hover {
    background-color: #909090;
    transition: 0.6s;
}

.grid-item {
    background-color: #D9D9D9;
    transition: 0.3s;
    border: none;
    padding: 10px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

.grid-item img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
}

.arrow-right {
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #D9D9D9;
    /* 화살표 */
}

select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

.select-container {
    padding: 18px;
}

.select-option {
    font-weight: bold;
    font-size: 15px;
    border: none;
    background-color: #D9D9D9;
    padding: 20px 50px;
    border-radius: 1em;
    transition: 0.3s;
    cursor: pointer;
}

.select-option:hover {
    background-color: #909090;
    transition: 0.3s;
}

.border {
    margin: 20px;
    border: 0.5px solid black;
    width: 200px;
}

.date-container {
    padding: 30px;
    text-align: center;
    font-weight: bold;
}

.date-input {
    font-weight: bold;
    font-size: 15px;
    border: none;
    background-color: #D9D9D9;
    transition: 0.3s;
    padding: 10px 45px;
    border-radius: 1em;
    cursor: pointer;
}

.date-input:hover {
    background-color: #909090;
    transition: 0.3s;
}




#selctStartButton2 {
    /* 버튼 */
    flex-direction: row;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    align-items: center;
}

#selctStartButton2 button {
    padding: 20px 60px;
    background-color: #313131;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 40px;
    color: white;
    font-size: 20px;
}

.step1 {
    text-align: center;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: whitesmoke;
    margin-bottom: 20px;
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
    margin-bottom: 10px;
    height: 300px;
}

.step2 {
    text-align: center;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: whitesmoke;
    margin-bottom: 20px;
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
    margin-bottom: 10px;
    height: 300px;
}

.step3 {
    text-align: center;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: whitesmoke;
    margin-bottom: 20px;
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
    margin-bottom: 10px;
}