body {
    font-family: 'roboto', Arial, Helvetica, sans-serif;
}
li {
    list-style: none;
}
img {
    max-width: 100%;
    max-height: 100%;
}
ul {
    margin: 0px;
    align-items: center;
}
button {
    padding: 10px 16px;
    margin: 16px 0px;
    background-color: #3882f6;
    font-family: 'roboto';
    font-size: 16px;
    color: white;
    border: 0px;
    border-radius: 7px;
}
#header,
#navbar,
#intro,
#info-header,
#info,
#quote,
#quote-origin 
#call-to-action {
    display: flex;
}
#header {
    background-color: #1f2937;
    font-size: 24px;
    font-weight: 700;
    padding: 40px;
    color: #E5E7EB;
    text-decoration: none;
}
#header a img{
    width: 240px;
    height: auto;
}
#mobile-header {
    display: none;
    text-decoration: none;
    color: #E5E7EB;
}
#mini-navbar{
    display: none;
}
/* configure the navigation bar styles */
#navbar {
    margin-left: auto;
}
#navbar a {
    color: #E5E7EB;
    text-decoration: none;
    font-size: 18px;
    padding: 8px;
    justify-content: space-around;
}
#navbar li ul {
	display: none;
	position: absolute;
}
#navbar li ul li {
	display: block;
	list-style: none;
	width: 180px;
	padding: 10px;
	margin-left: -5px;
	border: 1px solid #3882f6;
    background-color: #223d86;
    color: #E5E7EB;
	text-align: left;
}
#navbar li:hover ul{
    display: block;
}
#navbar li ul li:hover{
    background-color: #2d4fad;
}
#navbar li ul li a {
    font-size: 15px;
}
/* Configure the introductory paragraph */
#intro {
    width: 100%;
    background-color: #1f2937;
    color: #F9FAF8;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-bottom: 40px;
}
#intro-text {
    width: 400px;
    padding: 32px;
}

#intro-pic {
    width: 300px;
    height: auto;
    padding-right: 32px;
}
/*For "What does this site do" region*/
#info-header {
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    color: #1f2937;
    padding: 20px;
}

#info{
    padding: 30px 50px;
    gap: 10px;
    margin: auto;
    justify-content: center;
}

#info-pic {
    text-align: center;
    max-width: 250px;
}

#info-pic img {
    width: 100px;
    height: auto;
    padding: 20px;
    border: 2px solid #3882f6;
    border-radius: 8px;
}
/*For Exercise directory page, configures the region with button*/
#exercise{
    padding: 10px 30px;
    color: #1f2937;
    line-height: 1.6;
}
#exercise-links ul li a{
    text-decoration: none;
    color: #FFFFFF;
    padding: 15px;
    background-color: #214580;
    border-radius: 8px;
    line-height: 60px;
}
/*For the actual exercise and calculator page*/
#QuizRegion, 
#exercise,
#calculator{
    width: 600px;
    margin: 0 auto;
    color: #294368;
    line-height: 1.5;
}
/*For calculator only*/
#FormInput fieldset,
#FormInput input {
    border: #3882f6 solid 1px;
    border-radius: 5px;
    color: #1f2937;
}
#OriBVD:disabled,
#NewBVD:disabled{
    color: darkgray;
}
/*For the quote region of home page*/
#quote {
    flex-direction: column;
    background-color: #e5e7eb;
    padding: 60px 150px;
    align-items: flex-end;
}

#quote-box {
    font-size: 20px;
    font-style: italic;
    color: #1f2937;
}

#quote-origin {
    width: 300px;
    padding-top: 20px;
    font-size: 12px;
    font-weight: 500;
    text-align: end;
}

#call-to-action {
    justify-content: center;
    background-color: #3882f6;
    color: white;
    text-align: center;
    font-size: 18px;
    padding: 30px;
    border: 1px solid white;
    border-radius: 10px;
    margin: 50px;
}
#call-to-action button {
    border: 1px solid white;
    margin: 20px 0px 0px;
}
#footer {
    text-align: center;
    background-color: #1f2937;
    color: #E5E7EB;
    padding: 10px
}
#question{
    font-weight: 600;
  }
#answers {
      margin-bottom: 20px;
  }
#submit{
    font-family: sans-serif;
    font-size: 20px;
    background-color: #297;
    color: #fff;
    border: 0px;
    border-radius: 3px;
    padding: 20px;
    cursor: pointer;
    margin-bottom: 20px;
  }
#QuizRegion {
    padding: 20px;
    line-height: 1.3;
}
#submit:hover{
    background-color: #3a8;
  }
  
  /*medium display*/
@media (max-width: 900px){
    #header {
        position: sticky;
        top: 0;
    }
    #header a img{
        width: 120px;
        height: auto;
        margin-left: auto;
    }
    #mini-navbar{
        display: block;
        margin-left: auto;
        padding-left: 0;
    }
    #mini-navbar a img {
        width: 20px;
        position: absolute;
        right: 20px;
    }
    #mini-navbar ul li {
        border-bottom: solid 2px #E5E7EB;
        padding-right: 20px;
    }
    #mini-navbar ul li a {
        color: #E5E7EB;
        text-decoration: none;
        font-size: 18px;
    }
    #navbar{
        display: none;
    }
    .vertical-navbar{
        display: none;
    }
    #intro-text {
        width: 300px;
        padding: 32px;
    }
    #intro-pic {
        width: 250px;
        height: auto;
    }
    #mobile-header {
        display: none;
        text-decoration: none;
        color: #E5E7EB;
    }
    #info-header{
        font-size: 20px;
    }
    #info{
        min-width: 421px;
        max-width: 700px;
        padding: 20px 10px;
        flex-wrap: wrap;
    }
    #info-pic {
        max-width: 250px;
        flex: auto;
    }    
    #info-pic img {
        width: 100px;
        height: auto;
        padding: 20px;
        border: 2px solid #3882f6;
        border-radius: 8px;
        
    }    
    #quote {
        flex-direction: column;
        background-color: #e5e7eb;
        max-width: 900px;
        padding: 30px 20px;
        align-items: flex-end;
    }
    #quote-box {
        font-size: 20px;
        font-style: italic;
        color: #1f2937;
    }
    #quote-origin {
        width: 300px;
        font-size: 12px;
        font-weight: 500;
        text-align: end;
    }
    
}
