/*STYLING FOR THE BODY*/
* {
   box-sizing: border-box;
  }

body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      background-color: rgba(255, 176, 59, 1);
      
    }

/*STYLING FOR THE NAVIGATION MENU*/
.topnav {
  background-color: #D27D2D;
  overflow: hidden;
}

.topnav a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #D27D2D;
  color: black;
}

.topnav .icon {
  display: none;
}





/*STYLING FOR THE FOOTER*/

 /*this is the overall container for the footer elements*/  
     .footercontainer{
       background-color:#D27D2D;
     }  

/*this class refers to the div container that houses the img element of the footer logo*/
     .footer{
       background-color:none;
       width:auto;
       height: auto;
       color:black;
       text-align:center;
       padding:5px;
     }

/*this is styling for the logo image in the footer container. The image is made into a hyperlink. This is the formatting for the image as a hyperlink*/
     .footer a{
       color:black;
       text-decoration:none;
     } 

/*this is the id name for the logo in the footer section of the page*/
     #footerlogo{
       width: 20px;
       height: auto;
       margin-left: auto;
       margin-right: auto;
     }

 /*this is the class formatting for the name of Brave Heart Cardiac and Specialist Clinic in the footer section*/
     .footername{
       justify-content:center;
       margin:1px;
       padding:1px;
       font-size:10px;
       text-align:center;
       font-weight:bold;
     }
     /*this is the class formatting for the text: QUICKLINKS in the footer section*/
     .quicklinksheading{
       font-size:9px;
       text-align:center;
       font-weight:bold;
       margin:0px;
     }

 /*quicklinks is the class name for the PARENT flex container that holds the links in the footer together*/
     .quicklinks{
       display:flex;
       text-align:center;
       justify-content:center;
       margin:0px;
       padding:1px;
     }  
     

 /*this class is applied to every div container that holds two hyperlinks*/
     .linkgroups{
       padding:0;
       margin:0;
     }

/*this is class formatting for all the hyperlinks within the parent quicklinks flex container*/
     .quicklinks a{
       display:block;
       color:black;
       text-decoration:none;
       font-size:11px;
       padding:3px;
       text-align:center;
       
     } 



 /*this is the class formatting for the copyright information at the last end of the page*/
     .closingfooter{
       font-size:10px;
     }   
 




/*MEDIA QUERIES AND RESPONSIVENESS*/

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}


/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

/*this media query changes the orientation of the links in the footer from row to column. The container for those links i.e. the flex parent has quicklinks as the class name*/
     @media screen and (max-width: 600px) {
       .quicklinks {
         flex-direction: column;
       }
     }   


