/* adding custom font for questions */
@font-face {
    font-family: 'balooregular';
    src: url('fonts/baloo-regular-webfont.woff2') format('woff2'),
         url('fonts/baloo-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'starborn';
    src: url('fonts/Starborn.ttf');
    font-weight: normal;
    font-style: normal;
}

*{
    box-sizing: border-box;
    text-align: center;
    background: rgb(234, 197, 255);
    
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}


#myHeader{
    background: url(images/bw-leopard.jpg);
    

    /* for desktop */
    height: auto;
    width: 100%;

    align-content: center;
    display:inline-block;
    
    /* for mobile phones */
    @media only screen and (max-width:768px){
        height: auto;
    }
}


#myHeader h1{
    /* for desktop */
    font-family: 'starborn';
    color: rgb(255, 255, 255);
    font-size: 350%;

    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0);

    text-shadow: 2px 2px #c792c9;

    margin-left: 3%;
    margin-right: 3%;

    /* for mobile phones */
    @media only screen and (max-width:768px){
        font-size: 150%;
        -webkit-text-stroke-width: 1px;
    }
}

#myHeader h3{
    /* for desktop */
    font-family: 'balooregular';
    color: rgb(236, 174, 213);
    background-color: rgba(255, 255, 255, 0.6);

    -webkit-text-stroke-width: 0.01px;
    -webkit-text-stroke-color: rgb(0, 0, 0);

    text-shadow: 3px 2px #000000;
    font-size: 25px;

    border-style: dotted;
    border-color: rgb(218, 5, 94);
    border-width: 5px;
    border-radius: 20px;

    padding: 1%;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 2%;
    margin-bottom: 2%;

    /* for mobile phones */
    @media only screen and (max-width:768px){
        font-size: 100%;
    }
}

#instructions{
    background: rgb(234, 197, 255);
    font-family: 'Times New Roman', Times, serif;
    align-content: center;
    height: auto;
    width: 100%;

    padding-top: 5%;
    @media only screen and (max-width:768px){
       height: auto;
    }
}

#instructions img{
    width: 80px;
    position:absolute;
    margin-left: 35%;
    margin-top: -5%;
    background-color: rgba(0, 0, 0, 0);

     /* for mobile phones */
     @media only screen and (max-width:768px){
        width: 60px;
        margin-left: 37%;
        margin-top: -1%;
    }
}

#instructions p{
    font-size: 150%;

    padding-left: 20%;
    padding-right: 20%;

    padding-bottom: 5%;

     /* for mobile phones */
     @media only screen and (max-width:768px){
        font-size: 100%;

        padding-left: 10%;
        padding-right: 10%;
    }
}

#two{
    color: rgb(255, 0, 98);

    font-size: 30px;

    padding-left: 1%;
    padding-right: 1%;

     /* for mobile phones */
     @media only screen and (max-width:768px){
        font-size: 100%;
    }
}

.quiz-container{
    background: rgb(234, 197, 255);

    width: 100%;

    font-family: 'Times New Roman', Times, serif;
    @media only screen and (max-width:768px){
      
    }
}

#demo{
    margin-bottom: 30px;
    @media only screen and (max-width:768px){
    }
}

.question {
    font-family: 'balooregular';
    /* font-weight: bolder ; */
    margin-bottom: 30px;
    max-width: 100%;
}

.question h3{
    font-size: 45px;
    margin: 0 auto;
    padding-left: 10%;
    padding-right: 10%;

    @media only screen and (max-width:768px){
        font-size: 40px;
        padding-left: 0%;
        padding-right: 0%;
    }
}

.btnContainer{
    display: flex;
    flex-wrap: wrap; /* Allow wrapping */
    justify-content: center; /* Space between buttons */
    max-width: 70%; /* Set a max width for the container */
    margin: 0 auto;

    @media only screen and (max-width:768px){
        max-width: 100%; /* Set a max width for the container */
    }
}

input[type="radio"] {
    display: none; /* Hide the radio button itself */
}

.question .btnContainer label{
    width: 30%;
    height: auto;
}

.question .btnContainer label img{
    width: 100%;
    height: auto;

    border-radius: 10px;
    transition: transform 0.3s, border 0.3s;
    cursor: pointer;
    border: 3px solid transparent;

    @media only screen and (max-width:768px){
      
    }
}

input[type="radio"]:checked + img {
    transform: scale(1.1);
    border: 3px solid #4CAF50; /* Add border to the selected image */
  }

button{
    display: block;

    height: 80px;
    width: 100%;

    padding: 10px;
    background-color: #af4c4c;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;

    margin-top: 15px;

    @media only screen and (max-width:768px){
        height: 150px;
        font-size: 25px;
    }
}

a{
    text-decoration: none;
}

button:hover {
    background-color: #888888;
}

#result-container{
    background: rgb(255, 161, 200);
    height: auto;
    width: 100%;
}

#result-container h1{
    padding-top: 40px;
    background-color: rgba(0, 0, 0, 0);
    @media only screen and (max-width:768px){
      
    }
}

#bookCover{
    align-content: center;
    width: 20%;
    height: auto;

    @media only screen and (max-width:768px){
        width: 50%;
    }
}


#result-container p{
    font-size: 20px;
    text-align: left;

    margin: 5%;
    margin-top: 2%;

    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 2%;
    padding-top: 2%;

    background-color: #dfb3db;
    border-radius: 20px;

    @media only screen and (max-width:768px){
        font-size: 100%;
    }
}


#link{
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0);
    word-break: break-all;
    overflow-wrap: break-word;
    color: #af4c4c;
    font-size: 110%;

    margin-left: 1%;
    margin-right: 1%;
}

#cusLink{
    margin: 2%;
    margin-left: 10%;
    margin-right: 10%;
    padding: 2%;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #bee2d2;
    border-radius: 20px;
}

strong{
    background-color: rgba(0, 0, 0, 0);
}

#disclaimer{
    background-color: rgba(0, 0, 0, 0);
    width: 15%;
    position: relative;
    
    margin-left: 1%;
    margin-right: 1%;
}




