@import url('https://fonts.googleapis.com/css2?family=Gowun+Batang&family=Jua&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jua&display=swap');

body { font-family: 'Gowun Batang', serif;
} 
p { font-family: 'Jua', sans-serif; 
}

.start>h2{
    font-size: 20px; 
    color: #7c7c77;
}

.but>button{
    font-size: 40px; 
    color: black; 
    width: 400px; 
    height: 200px;
}
    
.start>h3{
    font-size : 30px; 
    color : black; 
    margin : auto
}
    
 .question>h3{
    font-size : 35px; 
    color : black;
 }
    
.question>button{
    font-size: 30px; 
    color: black;
}   
    
.result>major{
    color : black
}
    
.result>about{
    color : black
}

    

article{
    display: flex;
    flex-direction: column;
}

.back{
    display: none;
}

.question{
    display: none;
} 

.result{
    display: none;
}

back{
    display: none;
}

.share{
    margin: 0 auto;
}

.logo{
    display: flex;
    flex-direction: column;
}

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    opacity: 0.5;
}
.footer img {
    height: 30px;
    margin: 0 auto;
    filter: grayscale(1);
    opacity: 0.8;
}

body.container {
    background: url(bg_silk1.png) repeat;
}
.bgwrap {
    position: fixed;
    /* top: 0; */
    left: 0;
    /* right: 0; */
    bottom: 0;
    z-index: -1;
    max-width: 40%;
    /* background-size: contain; */
    /* opacity: 0.9; */
}
.bgwrap2 {
    position: fixed;
    top: 0;
    /* left: 0; */
    right: 0;
    /* bottom: 0; */
    z-index: -1;
    max-width: 40%;
    /* background-size: contain; */
    /* opacity: 0.9; */
}
.bgwrap img {
    width: 90%;
    opacity: 0.9;
}
.bgwrap2 img {
    transform: rotate(180deg);
    width: 60%;
    float: right;
    opacity: 0.7;
}

h1.logo {
    margin:0 auto;
}
h1.logo img {
    height: 41px;
}

.button{
    border-radius: 5px;
    border-radius: 50%;
}

.back>button{
    font-size: 20px; 
    height: 60px; 
    color: black; 
    width: 200px; 
    border-radius: 30px;
    background-color: rgb(255 255 255 / 50%);
}

.result>img{
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.result>h4{
    background-color: rgb(255 255 255 / 50%);
    color: black;
    border: 4px solid #4f4f9d;
    border-radius: 10px;
    /* height: 180px; */
    padding: 25px 0px;
    margin: 0 auto;
    width: 60%;
    line-height: 140%;
}

.result>h6{
    font-family: 'Jua', serif; 
    color: #4f4f9d;
    margin: 0 auto;
    width: 80%;
    font-size: 30px; 
    text-align: center;
}

.result>h7{
    color:#7c7c77;
    margin: 0 auto;
    width: 80%;
    font-size: 15px;
}

h2#major br {
    display: none;
}


@media (max-width: 600px){
    .detail{
        width: 100px;
        font-size: 20px;
        height: 140px;
    }

    .but>button{
        font-size: 30px; 
        color: black; 
        width: 270px; 
        height: 180px;
    }

    .start>h3{
        font-size : 25px; 
        color : black; 
        margin : auto
    }
    
    .result>img {
        width: 90%; 
        height: auto;
    }
    
    .result>h1{
        font-size: 30px;
    }
    
    .result>h3{
        font-size: 20px;
    }
    
    .result>h4{
        width: 330px;
        font-size: 20px;
    }

    .result>h6{
        font-size: 19px;
    }

    .back>button{
        font-size: 17px;
        width: 140px;
    }

    .question>h3{
        font-size : 27px; 
        color : black;
     }

     .question>button{
        font-size: 20px; 
        color: black;
    } 
    
    h2#major br {
        display: block;
    }

    .type>A{
        background-color: white !important;
    }

    .btn-outline-secondary:hover {
        background: unset;
        color: unset;
    }

}

.progress-bar{
    background-color: rgb(223, 161, 214) !important;
}