/*------------------------------------------------------------------------------------------------*/
/*                   EliteCalisthenics Website(CSS)                                               */
/*------------------------------------------------------------------------------------------------*/
/*                   Name:            Teo Wee How James                                           */
/*                   Class:           DISM/FT/1A/22                                               */
/*                   Admin_Number:    P1827989                                                    */
/*------------------------------------------------------------------------------------------------*/


/*------------------------------------------------------------------------------------------------*/
/*                              RESETTING                                                         */  
/*                               STYLES                                                           */   
/*------------------------------------------------------------------------------------------------*/
html{
    font-size: 12px;
}

body, header, article, footer, figure, figcaption, form, input, section, h1, h2, h3, p, 
nav, li, ul, img, dd, dl, dt, thead, tbody, tr, td, th {
    border: 0;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    width: auto;
 }
 
 ul {
    list-style-type: none;
 }

/*------------------------------------------------------------------------------------------------*/
/*                              STYLING OF                                                        */  
/*                           SITE NAVIGATION BARS                                                 */   
/*------------------------------------------------------------------------------------------------*/

/* skip navigation link */
p.skipnavigation a {
    position: absolute;
    left: -10000px;
 }
 p.skipnavigation a:focus {
    color: ivory;
    background-color: #34180f;
    top: 0.4em;
    left: auto;
    right: 0.4em;
    z-index: 2;
 }

 /* styling of navigation bar */
nav.siteNavigation{
    list-style-type: none;  /*Removes the bullets.*/
    text-align: center;
    padding: 2vw 0.5vw 2vw 2vw;
}

header.navbar{
    background-image: linear-gradient(
        rgba(1, 1, 1, 0.8),
        rgba(1, 1, 1, 0.8),
        rgba(0,0,0,0));
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
}

/*remove the line breaks before and after each list item*/
.siteNavigation li{
    display: inline-block;  
} 

/*styling of each clickable link in nav*/
.siteNavigation li a{
    text-decoration: none; /*remove underlines from links*/
    color: #FFFFFF;
    font-size: 2vw;
    font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
    padding: 0.5em;
}

/* unvisited link (in navigation bar)*/
.siteNavigation li a:link {
    color: #FFFFFF;
}

/* visited link (in navigation bar)*/
.siteNavigation li a:visited {
    color: #FFFFFF;
}

/* mouse over link(in navigation bar)*/
.siteNavigation li a:hover{
    color: #4ea7ff;
}

/* selected link (in navigation bar)*/
.siteNavigation li a:active {
    position: relative;
    bottom: 1px;
    right: 1px;
} 
/* Design the current tab */
.siteNavigation.currentPage a{
    color: #4ea7ff;
}
.currentPage a:hover{
    color: #f0f8ff;
}
/* Style the search box inside the navigation bar */
.siteNavigation input[type=text]{
    padding: 6px;
    border: none;
    width: 10vw;
    margin-top: 8px;
    margin-left: 1em;
    font-size: 1.5em;
}

/* resizing the border of header logo */
.logo img{
    border-radius: 50%;
    float: left;
    margin: 0.5em 6em;
}

/* hiding the 720 menu features */
.menu-button, .close-menu-button, .mobile-logo, li.dropdown-content, #noHref{
    display: none;
}

/*------------------------------------------------------------------------------------------------*/
/*                              STYLING OF                                                        */  
/*                                FOOTER                                                          */   
/*------------------------------------------------------------------------------------------------*/

/*changing footer background color*/
footer{
    clear: both;
    background-color: #a3a3a3;
    overflow: auto;
}

/*styling of footer paragraphs to be of same size*/
footer p{
    font-size: 1.5em;
    font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
    color: #f0f8ff;
}

/*styling of class_subscribe*/
.subscribe{
    float: left;
    width: 45%;
    height: auto;
}

/*making class_subscribe h2 to be in the center*/
.subscribe h2{
    text-align: center;
    font-size: 2.5em;
    font-family: Bitter, 'Times New Roman', Times, serif; 
    color: #f0f8ff;
    padding: 3vh 0;
}

/*making class_subscribe paragraphs to be in the center*/
.subscribe p{
    text-align: center;
    font-size: 1.5em;
    font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
    padding: 0 0 1em 3em;
}

/*styling class_subscribe form*/
.subscribe form{
    text-align: center;
    margin: 1.75vh auto;
}

/* Style the email box */
.subscribe input[type=email]{
    padding: 4px;
    border: none;
    width: 8em;
    font-size: 1.5em;
}

/* Style the subscribe button */
.subscribe input[type=submit]{
    padding: 4px;
    border: none;
    width: 4em;
    margin-left: 0;
    font-size: 1.5em;
}

/*Float class footerQuiz to the right*/
.footerQuiz{
    float: right;
    width: 48%;
    height: auto;
    background-color: #000000;
    padding: 0.8em;
}

/*styling of class_footerQuiz paragraphs*/
.footerQuiz p{
    width: 45%;
    font-size: 2em;
    font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
    line-height: 1.5em;
    margin: 0.5em;
    padding: 0.5em; 
}

/*styling of START HERE link*/
.footerQuiz a{
    display: block;
    text-decoration: none;
    color: #FFFFFF;
    background-color: #4ea7ff;
    font-size: 1.5em;
    font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
    text-align: center;
    width: 20%;
    margin: 0 6em 4em 4vw;
    padding: 0.5em;
}

/* unvisited link (in footer)*/
.footerQuiz a:link {
    color: #FFFFFF;
}

/* visited link (in footer)*/
.footerQuiz a:visited {
    color: #FFFFFF;
}

/* mouse over link (in footer)*/
.footerQuiz a:hover{
    color: #000000;
    opacity: 0.85;
    transition: 0.3s;
}

/* selected link (in footer)*/
.footerQuiz a:active {
    position: relative;
    bottom: 1px;
    right: 1px;
} 

/*setting of size and positioning of class_footerQuiz image*/
.footerQuiz img{
    float: right;
    width: 40%;
    height: 40%;
}

/*styling of facebook & instagram link*/
.external_links{
    clear: left;
    width: 45%;
    text-align: center;
}

.external_links a{
    list-style-type: none;
    margin: 10px;
    display: inline-block;
    font-size: 30px;
    padding: 10px 15px;
    color: #FFFFFF;
    border: 1px solid #ffffff;
    border-radius: 50%;
    transition: .5s;
}

/* mouse over link (in external_links)*/
.external_links a:hover{
    color: #292929;
    border: 1px solid #292929;
    transition: .5s;
}

/* Quiz page Copyright styling */
p.copyright-quiz {
    font-size: 1.5em;
    font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
    text-align: center;
}
/*------------------------------------------------------------------------------------------------*/
/*                              STYLING OF                                                        */  
/*                              INDEX.HTML                                                        */   
/*------------------------------------------------------------------------------------------------*/

/*changing background color of class_quiz*/
.quiz{
    background-image: url('images/gym.png');
    background-size: cover;
    background-attachment: fixed;
    overflow: auto;
    height: 100vh;
}

/*styling of INDEX class_quiz START HERE link*/
.quiz a{
    display: block;
    text-decoration: none;
    color: #FFFFFF;
    background-color: #4ea7ff;
    font-size: 1.5em;
    font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
    text-align: center;
    width: 10vw;
    padding: 0.5em;
    margin: 1em 12em;
}

/* visited link (in quiz-section in index.html page) */
.quiz a:visited {
    color: #FFFFFF;
}

/* mouse/tab over link (in quiz-section in index.html page) */
.quiz a:hover{
    color: #000000;
    opacity: 0.85;
    transition: 0.3s;
}

/* selected link (in quiz-section in index.html page) */
.quiz a:active {
    position: relative;
    bottom: 1px;
    right: 1px;
} 

/*styling of article class_quiz h2*/
.quiz h2{
    font-size: 3.5em;
    color: rgb(240, 248, 255); /*aliceblue color*/
    font-family: Bitter, 'Times New Roman', Times, serif;  
    margin: 5em 5em 0;
}

/*setting of size and positioning of class_quiz image*/
.quiz figure img{ 
    width: 20%;
    height: 40%;
    float: right;
}

/*styling introduction_section*/
.introduction{
    max-width: 100%;
    height: 70vh;
    margin-bottom: 0.5em;
}

/*resizing of logo's image border*/
.introduction img{
    border-radius: 50%;
}

.introduction figure{
    width: 30%;
    text-align: center;
    float: left;
    margin: 1em 1em 4em 12vw;
}

/*styling of h2 class_introduction*/
.introduction h2{
    text-align: center;
    font-size: 3.5em;
    font-family: Bitter, 'Times New Roman', Times, serif;  
    padding: 1.5em;
}

/*setting the width of introduction_content*/
#content{
    width: 42%;
    float: right;
    margin: 0 10vw 0 0;
}

/*styling of h3 class_introduction*/
.introduction h3{
    text-align: center;
    font-size: 2.5em;
    font-family: Bitter, 'Times New Roman', Times, serif; 
    margin: 0 1em 0 0; 
}

/*styling of class_introduction paragraphs*/
.introduction p{
    font-size: 1.5em;
    font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
    margin: 0 1em 1em 2em;
    padding: 1em;
    line-height: 1.5em;
}

/*------------------------------------------------------------------------------------------------*/
/*                              STYLING OF                                                        */  
/*                              PROGRAMS.HTML                                                     */   
/*------------------------------------------------------------------------------------------------*/

/* styling of class_allPrograms */
.allPrograms{
    height: 100vh;
    padding-bottom: 4em;
    text-align: center;
}

/* styling of class_shortQuiz */
.shortQuiz{
    padding: 12em;
    background-image:url('images/squat.jpg');
    background-size: cover;
    background-attachment: fixed;
    height: 65vh;
}

/*styling of element h1 in class_shortQuiz*/
.shortQuiz h1{
    font-size: 3.5em;
    color: rgb(240, 248, 255); /*aliceblue color*/
    font-family: Bitter, 'Times New Roman', Times, serif;  
    text-align: center;
    padding: 4em 0 0;
}

/*styling of INDEX class_quiz START HERE link*/
.shortQuiz a{
    display: block;
    text-decoration: none;
    color: #FFFFFF;
    background-color: #4ea7ff;
    font-size: 1.5em;
    font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
    text-align: center;
    width: 10vw;
    margin: 2em auto;
    padding: 0.5em;
}

/* mouse over link */
.shortQuiz a:hover {
    color: #000000;
    opacity: 0.85;
    transition: 0.3s;
}

/*making three columns of same width*/
.basics{
    display: inline-block;
    width: 25%;
    text-align: center;
    border: 1px solid #000000;
    margin: 20vh 2vw 20vh 4vw;
    padding: 1em;
}

.intermediate{
    display: inline-block;
    width: 25%;
    text-align: center;
    border: 1px solid #000000;
    margin: 20vh 2vw 20vh 2vw;
    padding: 1em;
}

.advanced{
    display: inline-block;
    width: 25%;
    text-align: center;
    border: 1px solid #000000;
    margin: 20vh 4vw 20vh 2vw;
    padding: 1em;
}

.basics h2, .intermediate h2, .advanced h2{
    font-size: 2.5em;
    font-family: Bitter, 'Times New Roman', Times, serif;   
}

/*hover effect on basics,intermediate and advanced*/
.basics:hover, .intermediate:hover, .advanced:hover{
    transform:scale(1.05);
    transition: 0.5s;
    box-shadow:  0 0 10px 10px #808080;
    transform: translateZ(0);   /*fixes blurry text on scaling*/
}

.basics figcaption, .intermediate figcaption, .advanced figcaption{
    font-size: 1.5em;
    font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
}

/*------------------------------------------------------------------------------------------------*/
/*                              STYLING OF APPARELS_PAGES                                         */  
/*                  (APPAREL.HTML, TSHIRT.HTML, JOGGERS.HTML, HOODIES.HTML)                       */   
/*------------------------------------------------------------------------------------------------*/

/* Styling class_allApparelsPage article */
.allApparelsPage article, .tshirtPage article, .joggersPage article, .hoodiesPage article{
    height: 100vh;
    margin: 12em 10em 10em 5em;
}

/* styling of the side navigation in apparels page*/
.apparelNavigation{
    width: 20%;
    background-color: rgba(170, 170, 170, 0.185);
    position: fixed;
}

h1.apparelNavigation{
    width: 16%;
    font-size: 1.75em;
    font-family: Bitter, 'Times New Roman', Times, serif;   
    margin: 0.75em 0 0.30em 1em;
    padding: 0 0 0.3em 0.3em;
    background-color: inherit;
    border-bottom: 1px solid #808080;
}

.apparelNavigation ul{
    margin: 1em;
    padding: 2.5em 0 0 0;
}
.apparelNavigation li{
    margin: 1em;
    list-style-type: none;
}

/*styling of each clickable link in apparelNavigation*/
.apparelNavigation li a{
    font-size: 1.5em;
    font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
    text-decoration: none;
    color: #666666;
}

.apparelNavigation li a:hover{
    color: #000000;
    text-shadow: 0 0 10px rgb(97, 97, 97);
}

/*styling of class_allApparelsItems */
.allApparelsItems{
    color: #000000;
    float: right;
    width: 70%;
    border: 1px solid rgb(0, 0, 0);
}

.allApparelsItems h1, .allApparelsItems h2{
    font-size: 2em;
    font-family: Bitter, 'Times New Roman', Times, serif;   
    padding: 0.5em;
}

.allApparelsItems p{
    font-size: 4em;
    font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
    color: #4ea7ff;
    margin: 2em;
    text-align: center;
}

/*------------------------------------------------------------------------------------------------*/
/*                              STYLING OF                                                        */  
/*                              EQUIPMENTS.HTML                                                   */   
/*------------------------------------------------------------------------------------------------*/

.equips{
    background-image: url('images/equip-girl.jpg');
    height: 100vh;
    background-attachment: fixed;
    background-size: cover;
}

/* styling the heading for class_equipmentPage */
.equips h2{
    position: absolute;
    font-size: 3.5em;
    font-family: Bitter, 'Times New Roman', Times, serif;
    color: #f5f5f5;
    text-align: center;
    top: 55vh;
    left: 50vw;
    transform: translate(-50%, -50%);
}

.equips a{
    position: absolute;
    font-size: 1.75em;
    font-family: Bitter, 'Times New Roman', Times, serif;
    color: #f5f5f5;
    text-align: center;
    top: 70vh;
    left: 50vw;
    transform: translate(-50%, -50%);
}

/* unvisited link */
.equips a:link {
    color: #FFFFFF;
}

/* visited link */
.equips a:visited {
    color: #FFFFFF;
}

/* mouse over link */
.equips a:hover{
    color: #4ea7ff;
}

/* Styling class_equipmentPage article */
.equipmentPage article{
    height: 100%;
    max-width: 100%;
    text-align: center;
    padding: 10em 0 10em 0; 
}

/* creating a border around the entire content */
.equipmentList{
    padding-left: 1em;
}

/* styling the class_equipmentContent */
.equipmentContent{
    display: inline-block;
    margin: 4em 2em 4em 2em;
}

/*hover effect on each equipment*/
.equipmentContent:hover{
    transform:scale(1.05);
    transition: 0.3s;
    box-shadow:  0 0 10px 10px #808080;
    transform: translateZ(0);   /*fixes blurry text on scaling*/
}

/* styling of each captions */
.equipmentPage article figcaption{
    font-size: 1.5em;
    font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
    text-align: center;
}

/* styling of the price_words */
.price{
    font-size: 0.85em;
    font-family: 'Arial Nova', Arial, 'Open Sans', sans-serif;
}

/*------------------------------------------------------------------------------------------------*/
/*                              STYLING OF                                                        */  
/*                          TABLE-SUMMARY.HTML                                                    */   
/*------------------------------------------------------------------------------------------------*/

article.summary{
    height: 100%;
}
.tableSum, .descriptionList{
    margin: 10vh 30vw;
    text-align: center;
}

.tableSum h2{
    font-size: 2em;
    font-family: Bitter, 'Times New Roman', Times, serif;  
    padding-left: 2vw;
    margin-bottom: 6vh;
}
thead{
    background-color: #4ea7ff;
}
td{
    border: 2px solid black;
    font-size: 1.35em;
    padding: 0.75em;
}
th, tbody.apparels, tbody.equipments{
    border: 2px solid black;
}
th{
    padding: 0.5em;
    font-size: 1.75em;
    font-family: Bitter, 'Times New Roman', Times, serif;   
}
td.heading{
    font-weight: bold;
    text-align: center;
    font-size: 1.75em;
    font-family: Bitter, 'Times New Roman', Times, serif;  
}
table{
    border-collapse: collapse;
    border: 2px solid black;
    width: 100%;
}

.descriptionList dt{
    font-size: 1.75em;
    font-family: Bitter, 'Times New Roman', Times, serif;  
    font-weight: bold;
}

.descriptionList dd, .descriptionList p{
    font-size: 1.25em;
    font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
    line-height: 5vh;
}

/*------------------------------------------------------------------------------------------------*/
/*                              STYLING OF                                                        */  
/*                              CONTACT.HTML                                                      */   
/*------------------------------------------------------------------------------------------------*/

.contactBanner{
    background-image:url('images/contact.jpg'); 
    height: 75vh;
    background-attachment: fixed;
    background-size: cover;
}

.contactBanner h1{
    font-size: 3.5em;
    color: rgb(240, 248, 255);
    font-family: Bitter, 'Times New Roman', Times, serif;
    text-align: center;
    padding: 40vh 0 0;
}
.contactPage article{
    height: 100vh;
    padding: 10vh 0;
}

.contactInfo, .meet-up, .feedback, .contactButtons{
    border: none;
}

/* styling of div userName, userEmail and phone*/
.userName, .userEmail, .phone{
    text-align: center;
    margin: 4vh;
}

/* styling name and email input */
.contactInfo input[type="text"], .contactInfo input[type="email"], .contactInfo input[type="tel"]{
    font-size: 2em;
    border-radius: 3px;
    width: 35vw;
    padding: 0.5em;
    background-color: #a3a3a32f; 
}

/* styling of programInterest and meet-up */
.programInterest, .meet-up{
    border: none;
    text-align: center;
    margin: 2em;
}

.programInterest legend, .meet-up legend{
    font-size: 1.85em;
    font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
}

.meet-up legend{
    margin-bottom: 3vh;
}

.programInterest label{
    font-size: 1.5em;
    margin: 0 1em;
    font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
}

.meet-up label{
    font-size: 1.5em;
    width: 100%;
    padding: 0.35vh;
    font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
    border: 2px solid black;
    border-radius: 2px;
    text-align: center;
}

/* styling feedback div */
.feedback{
    text-align: center;
    margin: 2em;
}

/* styling the message(textarea) */
.feedback textarea{
    font-size: 1.5em;
    background-color: #a3a3a32f; 
    width: auto;
}

/* styling the buttons */
.contactButtons{
    float: right;
    margin-right: 10vw;
    margin-bottom: 10vh;
}

.contactButtons input[type="submit"], .contactButtons input[type="reset"]{
    padding: 8px;
    width: 8vw;
    font-size: 3vh;
    border-radius: 3px;
}

/*------------------------------------------------------------------------------------------------*/
/*                              STYLING OF                                                        */  
/*                          RESULTCONTACT.HTML                                                    */   
/*------------------------------------------------------------------------------------------------*/
.resultContactBanner{
    background-image:url('images/contact.jpg'); 
    height: 100vh;
    background-size: cover;
}

.resultContactBanner h1{
    font-size: 3.5em;
    color: rgb(240, 248, 255);
    font-family: Bitter, 'Times New Roman', Times, serif;
    text-align: center;
    padding: 40vh 0 0;
}

/*styling of INDEX class_quiz START HERE link*/
.resultContactBanner a{
    display: block;
    text-decoration: none;
    color: #FFFFFF;
    background-color: #4ea7ff;
    border-radius: 3px;
    font-size: 1.5em;
    font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
    text-align: center;
    width: 18vw;
    margin: 2em auto;
    padding: 0.5em;
}

/* mouse over link */
.resultContactBanner a:hover {
    color: #000000;
    opacity: 0.85;
    transition: 0.3s;
}

/*------------------------------------------------------------------------------------------------*/
/*                              STYLING OF                                                        */  
/*                   QUIZ(GENDER, AGE, BODYTYPE, BODYGOAL, RESULT)                                */   
/*------------------------------------------------------------------------------------------------*/

/* styling the quiz header */
.startQuiz header,.ageQuiz header, .bodyTypeQuiz header, .bodyGoalQuiz header, .resultQuiz header, .resultSent header{
    text-align: center;
}

.startQuiz ul, .ageQuiz ul, .bodyTypeQuiz ul, .bodyGoalQuiz ul, .resultQuiz ul, .resultSent ul{
    background-color: #4ea7ff;
}

.startQuiz li, .ageQuiz li, .bodyTypeQuiz li, .bodyGoalQuiz li, .resultQuiz li, .resultSent li{
    display: inline-block;
    list-style-type: none;  /*Removes the bullets.*/
    text-align: center;
    color: #FFFFFF;
    font-size: 2.5vw;
    padding: 0.5em 1em 0.5em 1em;    
}

/* styling the quiz article */
.startQuiz article, .ageQuiz article, .bodyTypeQuiz article, .bodyGoalQuiz article, .resultQuiz article, .resultSent article{
    text-align: center;
    margin: 2em;
}

/* styling startQuiz h1 element*/
.startQuiz h1{
    font-size: 2em;
    font-family: Bitter, 'Times New Roman', Times, serif;
    margin: 1em 0 4em 0;
}

/* styling resultsent h1 element */
.resultSent h1{
    font-size: 4em;
    font-family: Bitter, 'Times New Roman', Times, serif;
    margin: 2.5em 0 10vh 0;
}

/* styling of quiz h2 element */
.startQuiz h2, .ageQuiz h2, .bodyTypeQuiz h2, .bodyGoalQuiz h2, .resultQuiz h2{
    font-size: 4em;
    font-family: Bitter, 'Times New Roman', Times, serif;
    margin: 1em 0 0.5em 0;
}

/* styling of clickable link is quiz */
.startQuiz a, .ageQuiz a, .bodyTypeQuiz a, .bodyGoalQuiz a{
    display: inline-block;
    background-color: #4ea7ff;
    text-decoration: none;
    font-size: 2em;
    font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
    margin: 0.5em 1em 0.5em 1em;
    padding: 0.5em;
    width: 30%;
}

.resultSent a{
    background-color: #4ea7ff;
    text-decoration: none;
    font-size: 2em;
    font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
    padding: 0.5em;
    width: 20%;
}

/* unvisited link */
.startQuiz a:link, .ageQuiz a:link, .bodyTypeQuiz a:link, .bodyGoalQuiz a:link, .resultSent a:link{
    color: #FFFFFF;
}

/* visited link */
.startQuiz a:visited, .ageQuiz a:visited, .bodyTypeQuiz a:visited, .bodyGoalQuiz a:visited, .resultSent a:visited{
    color: #FFFFFF;
}

/*hover effect */
.startQuiz a:hover, .ageQuiz a:hover, .bodyTypeQuiz a:hover, .bodyGoalQuiz a:hover, .resultSent a:hover{
    transform:scale(1.05);
    transition: 0.5s;
    box-shadow:  0 0 5px 5px #808080;
    transform: translateZ(0);   /*fixes blurry text on scaling*/
}

/* selected link */
.startQuiz a:active, .ageQuiz a:active, .bodyTypeQuiz a:active, .bodyGoalQuiz a:active, .resultSent a:active{
    position: relative;
    bottom: 0.5px;
    right: 0.5px;
}

/* styling resultQuiz form */
.resultQuiz fieldset{
    border: none;
}

.resultQuiz input[type=text], .resultQuiz input[type=email]{
    display: block;
    padding: 0.5em;
    border: 1px solid #000000;
    width: 15%;
    margin: 2em auto;
    font-size: 1.5em;
    text-align: center;
}

.resultQuiz input[type=submit]{
    padding: 0.5em;
    border: none;
    width: 15%;
    font-size: 1.5em;
    margin: 0 auto;
}

/*------------------------------------------------------------------------------------------------*/
/*                              Mobile Responsive breakpoints                                     */  
/*                               (480px, 720px,1175px, 1281px)                                    */   
/*------------------------------------------------------------------------------------------------*/

/* Breakpoint 1281px */
@media screen and (min-width:1281px){
    /* Programs Page */
    .basics{
        margin: 20vh 2vw 20vh 4vw;
        height: 50%;
    }
    
    .intermediate{
        margin: 20vh 2vw 20vh 2vw;
        height: 50%;
    }
    
    .advanced{
        padding: 1em;
        height: 50%;
    }

    /* Equipment */
    .equipmentContent {
        margin: 4em 5vw 4em 5vw;
    }
}

/* Breakpoint: 1175px */
@media screen and (max-width:1175px){
    /* Programs Page */
    .basics, .intermediate, .advanced{
        width: 50%;
        display: block;
        margin: 6em 25vw 0 25vw;
    }

    .allPrograms{
        height: 100%;
        padding: 0;
        margin: 0 auto; 
    }

    .basics{
        float: none;
    }

    .advanced{
        float: none;
        margin-bottom: 6em;
    }

}

/* Breakpoint: 720px */
@media screen and (max-width:720px){
    /* Site's Navigation Bar */
    nav.siteNavigation, .logo{
        display: none;
    }

    #noHref{
        display: block;
    }

    .mobile-logo{
        display: block;
        position: absolute;
        z-index: 10;
        color: #f5f5f5;
        font-size: 3.5vh;
        font-style: italic;
        font-family: Bitter, 'Times New Roman', Times, serif;
        text-align: center;
        padding-top: 1.5vh;
        padding-left: 4vw;
        
    }

    /* unvisited link (in navigation bar)*/
    .mobile-logo a:link {
        color: #FFFFFF;
    }

    /* visited link (in navigation bar)*/
    .mobile-logo a:visited {
        color: #FFFFFF;
    }

    .mobile-logo{
        text-decoration: none;
    }

    .menu-button{
        display: inline-flex;
        float: right;
        font-size: 3.5em;
        color: #f5f5f5;
        margin: 0.5em;
    }

    .close-menu-button{
        position: absolute;
        float: left;
        width: 100vw;
        height: 100vh;
        background-color: rgba(128, 128, 128, 0.534);
        font-size: 3.5em;
        top: 0vh;
        padding: 15vh 10vw;
    }

    header.navbar{
        background-image: linear-gradient(
             rgba(1, 1, 1, 0.8),
             rgba(1, 1, 1, 0.8),
             rgba(0,0,0,0.8));
    }

    .siteNavigation ul{
        position: absolute;
        top:0vh;
        right:0;
        z-index: 10;
        float: right;
        background-color: rgba(0, 0, 0, 0.993);
        height: 100vh;
        text-align: center;
    }

    .siteNavigation li{
        display: block; 
        padding: 2vh; 
        margin-top: 2vh;
    } 

    .siteNavigation li a{
        font-size: 4vw;
        padding: 0.5em;
    }

    /* dropdown-content */
    #bigDisplay{
        display: none;
    }

    li.dropdown-content{
        display: none;
    }

    /* styling the drop-down items */
    li.dropdown-content a{
        display: block;
        text-decoration: none; /*remove underlines from links*/
        color: #FFFFFF;
        font-size: 2vw;
        font-family: 'Open Sans', 'Arial Nova', Arial, sans-serif;
        padding: 0.5em;
    }
    
    /* unvisited link (in navigation bar)*/
    li.dropdown-content a:link {
        color: #FFFFFF;
    }
    
    /* visited link (in navigation bar)*/
    li.dropdown-content a:visited {
        color: #FFFFFF;
    }
    
    /* mouse over link(in navigation bar)*/
    li.dropdown-content a:hover{
        color: #4ea7ff;
    }
    
    /* selected link (in navigation bar)*/
    li.dropdown-content a:active {
        position: relative;
        bottom: 1px;
        right: 1px;
    } 

    /* Footer */
    .footerQuiz{
        display: none;
    }

    .subscribe{
        width: 100%;
    }

    .subscribe p{
        width: 80vw;
        padding: 0;
        margin: 0 auto;
    }

    .subscribe form{
        width: 80vw;
    }

    .external_links{
        width: 100%;
    }

    /* Index.html */
    .quiz{
        background-image: url('images/tablet-gym.png');
    }

    .quiz h2{
        width: 80vw;
        font-size: 2.75em;
        margin: 7em 0 0 2em;
    }
    .quiz a{
        width: 30%;
        margin: 1em 0 0 4em;
    }
    .introduction p{
        margin: 0;
    }
    .introduction h2{
        font-size: 3em;
        margin: 2vw;
        padding: 8.25vw;
    }
    .introduction figure{
        width: 25%;
        float: left;
        margin: 2.5em;
    }
    #content{
        width: 60vw;
        margin: 0;
    }
    #content h3{
        display: none;
    }
    /* Programs Page */
    .shortQuiz{
        background-image: url('images/tablet-squat.jpg');
    }

    .shortQuiz h1{
        width: 125%;
        padding: 0;
        margin: 3.5em 2.5em 0em -1.5em;
        font-size: 2.75em;
    }
    .shortQuiz a{
        width: 50%;
        border-radius: 5px;
        margin: 1.5em auto 0;
    }

    .basics, .intermediate, .advanced{
        width: 75%;
        display: block;
        margin: 6em 6em 0 6em;
    }

    .allPrograms{
        height: 100%;
        padding: 0;
    }

    .basics{
        float: none;
    }

    .advanced{
        float: none;
        margin-bottom: 6em;
    }

    /* Apparels(All_Apparels,Tshirts,Joggers,hoodies) */
    .apparelNavigation{
        display: none;
    }
    .allApparelsItems {
        float: none;
        width: auto;
    }

    /* Equipments */
    .equipmentPage article{
        overflow: auto;
    }

    .equips h2{
        width: 100%;
    }

    /* Quiz  */
    .startQuiz li, .ageQuiz li, .bodyTypeQuiz li, .bodyGoalQuiz li, .resultQuiz li, .resultSent li{
        font-size: 3vw;
        padding: 0.5em;    
    }

    .ageQuiz article, .bodyTypeQuiz article, .bodyGoalQuiz article, .resultQuiz article, .resultSent article{
        margin-top: 8em;
    }

    .resultQuiz input[type=text], .resultQuiz input[type=email]{
        padding: 0.5em;
        width: 35%;
    }
    
    .resultQuiz input[type=submit]{
        padding: 0.5em;
        width: 35%;
    }

    /* Table */
    .tableSum{
        margin: 5vh 5vw;
    }

    /* contactResult.html */
    .contactButtons input[type="submit"], .contactButtons input[type="reset"]{
        font-size: 1.5vh;
    }
}

/* Breakpoint: 480px */
@media screen and (max-width:480px){

    /* Index.html */
    .quiz{
        background-image: url('images/mobile-gym.png');
    }

    .quiz h2{
        width: 50%;
    }
    
    .quiz a{
        width: 30%;
    }

    .introduction figure{
        display: none;
    }

    #content{
        width:90%;
    }

    #content h3:first-of-type{
        display: none;
    }
    
    #content p{
        margin: 0;
    }

    /* programs page */
    .shortQuiz{
        background-image: url('images/mobile-squat.jpg');
    }

    .shortQuiz h1{
        width: 150%;
        margin: 3.5em 2em 0em -1.5em;
        font-size: 2.5em;
    }
    .shortQuiz a{
        width: 80%;
        border-radius: 5px;
        margin: 1.5em auto;
    }

    .basics, .intermediate, .advanced{
        margin: 6em 4em 0 4em;
    }

    .advanced{
        margin-bottom: 6em;
    }

    /* Apparels(All_Apparels,Tshirts,Joggers,hoodies) */

    section.allApparelsItems{
        width: 100%;
    }

    .allApparelsItems p{
        font-size: 8vw;
    }

    /* Quiz  */
    .startQuiz li, .ageQuiz li, .bodyTypeQuiz li, .bodyGoalQuiz li, .resultQuiz li, .resultSent li{
        font-size: 3vw;
        padding: 0.5em;    
    }

    .startQuiz h2, .ageQuiz h2, .bodyTypeQuiz h2, .bodyGoalQuiz h2, .resultQuiz h2{
        font-size: 3em;
    }

    .startQuiz a, .ageQuiz a, .bodyTypeQuiz a, .bodyGoalQuiz a{
        display: block;
        font-size: 1.25em;
        margin: 1.5em auto;
        width: 70%;
    }

    .ageQuiz article, .bodyTypeQuiz article, .bodyGoalQuiz article, .resultQuiz article, .resultSent article{
        margin-top: 10em;
    }

    .resultQuiz input[type=text], .resultQuiz input[type=email]{
        font-size: 1.25em;
        padding: 0.5em;
        width: 45%;
    }
    
    .resultQuiz input[type=submit]{
        font-size: 1.25em;
        padding: 0.5em;
        width: 45%;
    }

    /* Table */
    .tableSum{
        margin: 5vh 0;
    }

    .contactButtons input[type="submit"], .contactButtons input[type="reset"]{
        width: 10vw;
        font-size: 1.25vh;
    }
}