body{
    background-color: var(--background-color);
}
/* 배경색 */
#secondback{
    background-color: #ebebeb;
}
.navbar__shadow a{
    color:var(--text-color);
    font-size: 120%;
}
.navbar__shadow{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:var(--back-color);
    position: fixed;
    width: 100%;
    box-shadow: 5px 5px 5px 2px var(--shadow);
    z-index: 5000;
}

/* 옆에 버튼 */
.fornav a{
    color: black;
}
.fornav a:hover{
    color: var(--sub-color);
}
.fornav{
    position: relative;
    left:20px;
    display: block;
}
html{
    scroll-behavior: smooth;
}
/* 작은 화면전용 버튼 */
.fornavsmall{
    display: none;
    box-shadow: 3px 3px 3px 2px var(--shadow);
    z-index: 3000;
}
.fornavsmall nav{
    display:flex;
    width: 100vw;
}
#smallbut{
    width: 33.33333vw;
    height: 40px;
    line-height:40px;
    text-align: center;
    background-color: var(--main-color) ;
    color: white;
}

/* 메인페이지 */
.first-paragraph{
    /* margin-top: 30px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    /* text-align: center; */
}

/* 왼쪽 글들 */
.margin{
    margin-top: 192px;
}
.first_all{
    position:relative;
    transform: translate(-50%,-5%);
    font-size: 36px;
}
.first__writing{
    font-size: 60%;
    color:var(--sub-color);
}
.first__writing__title{
    font-weight: bold;
}
.first__video{
    width: 800px;
    height: 350px;
    display: inline-block;
}
video{
    box-shadow: 10px 10px 10px 5px var(--shadow);
    width: 800px;
}
.two__button{
    display: flex;
    width: 800px;
}
.click{
    font-size: 40px;
    display: block;
    width: 100%;
    height: 350px;
    font-weight: bold;
    background-color: white;
    box-shadow: 5px 5px 5px 5px var(--shadow);
    border:0;
}
.click:hover{
    background-color: var(--main-color);
    color:white;   
}
.on__click{
    display: none;
    box-shadow: 10px 10px 10px 5px var(--shadow);
    padding: 50px;
    border-radius: 50px 0;
    background-color: white;
}
.click__title{
    font-weight: bold;
    font-size: 70%;
    color: var(--main-color);
}
.click__sub{
    font-weight: 300;
    font-size: 50%; 
    color: black;
}

#back{
    padding: 5px 30px;
    margin: 20px 0 0 0;
    border-radius: 15px;
    text-align: center;
    font-size: 50%;
    box-shadow: 5px 5px 5px 2px var(--shadow);
    background-color: var(--main-color);
    color: white;
    border:0;
}
.blank__one {
    display: none;
}

/* 마지막 부분 */
.buttons{
    display:flex;
}

#buttontop{
    padding: 5px;
    width: 150px;
    font-size: 55%;
    background-color: white;
    box-shadow: 5px 5px 5px 5px var(--shadow);
    border: 0;
    border-radius: 15px 0;
    margin-right: 20px;
    font-weight: 400;
}
#thirdparagraph{
    display: none;
    width:800px;
    height:300px;
    margin-top: 50px;
}
.wwriting{
    display:flex;
}
.writing{
    padding: 0 0 0 30px;
    /* line-height: 180%; */
}
/* footer */
.address__forsec{
    width: 100vw;
    background-color: var(--main-color);
    color: white;
    font-weight: 300;
    text-align: center;
    padding: 30px 0;
}
/* 반응형 웹을 위한 css */
@media screen and (max-width: 1165px){
    .navbar__shadow{
        box-shadow: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 0px 30px;
    }
    .margin{
        margin-top: 96px;
    }
    .first-paragraph{
        justify-content: center;
    }   
    .fornav{
        display: none;       
    }
    .fornavsmall, .blank__one{
        display: block;
        position: fixed;
        top: 84px;
    }
    .first_all{
        transform: translate(0%,0%);
    }
    /* 두번째 페이지 */
    .two__button{
        flex-direction: column;
    }
    .click{
        height: 200px;
    }
}   
@media screen and (max-width: 976px){
    .first_all{
        font-size: 15px;
        padding: 0 20px;
        display: inline-block;
    }
    .first__video{
        width: auto;
        height: auto;
        padding: 20px 0;
    }
    .first__video video{
        width: 270px;
        display: inline-block;
    }
    .on__click{
        padding: 30px;
    }
     /* 두번째 페이지 */
     .two__button{
         flex-direction: column;
         width: 310px;
         height: 150px;
     }
     .click{
         width: 280px;
         font-size: 20px;
        }
    .click__title{
        font-size: 80%;
    }
    .click__sub{
        font-size: 75%; 
    }
     /* 세번째 페이지 */
     .buttons{
         width: 300px;
     }
     #thirdparagraph{
         width: 310px;
         margin-top: 0;
     }
     .wwriting{
         flex-direction: column;
         display:initial;
         /* display: flex 때문에 사진크기가 꽉차게 변해서 그거 없애려고*/
     }
     .wwriting img {
         margin-top: 30px;
         width: 150px;
     }
     .writing{
         padding: 0;
     }
     #buttontop{
        margin-right: 10px;
        font-size: 70%;
        box-shadow: 3px 3px 3px 2px var(--shadow);
     }
}
     
    