*,
  *:before,
  *:after {
    box-sizing: inherit;
}

html {
    height: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* give body postion relative so that the footer can be absolute */
body {
    text-decoration: none;
  	font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    background-color: #f8f8ff;
    margin: 0;
    padding: 0;
    background-color: #f2f2f2;
    position: relative;
    padding-bottom: 70px;
    min-height: 100%;
}

#callout {
    background-image: url("../images/racket-blue.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
 }    

 /* default h1 font size for smaller screens */
h1 {
    font-size: 1.8rem;
}
/* default h2 font size for smaller screens */
h2 {
    font-size: 1.1rem;
}

.card {
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
	height: 100%;
}
.card-img-top {
	width: 100%;
	height: auto; 
    object-fit: cover;
    box-sizing: border-box;
}
.card-body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.card-text {
	justify-self: flex-start;
}
.card-body a {
	align-self: flex-start;
}


/* styling for BS form control class on register, login and search pages */
.form-control {
    width: 70%; /* 50% width on larger screens */
}

/* searchbox on search pages */
/* code credit: https://www.w3schools.com/howto/howto_css_inline_form.asp; */
.searchbox {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    margin-bottom: 20px;
}

/* searchbox button on search pages */
#searchbox-button {
    margin-left: 5px
}

/* svg icons off white colour */
.svg-icon {
    fill: #f8f8ff;
    width: 25px;
    height: 25px;
}

/* svg icons will change colour to grey on hover */
.svg-icon:hover {
    fill: #bababa;
}


/* styling for the logo title on the top left of navbar*/
#logo-title:hover {
    color: #bababa;
}

/* navbar background colour*/
.navbar {
    background-color: #f17102;
}
/* navbar dropdown colour */
#navbarDropdown {
    color: #fff;
}

/* navbar dropdown will change colour to grey on hover */
#navbarDropdown:hover {
    color: #bababa;
}

/* search icon that will appear in search bar in search page */
/* code credit: https://www.w3schools.com/css/css_form.asp */
.form-search {
    background-image: url('../img/search1.svg');
    background-position: 10px 10px;
    background-repeat: no-repeat;
    padding-left: 40px;
}

/*-------------------about------------------------------*/
.about {
	background-color: #fff;
	margin: 15px;
	padding: 20px;
	border: 1px solid #cdcdcd;
	border-radius: 4px;
}

/*-------------------contact------------------------------*/
.contact{
	grid-area: contact;
	margin: 0 15px;
}
#contact-button {
	margin: 10px 0;	
}
.recaptcha {
	margin-top:20px;
}

/*-------------------footer------------------------------*/
.footer {
	display: flex;
    flex-direction: row;
    justify-content: center;
    min-height: 70px;
    align-items: center;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
}
.footer-logo {
	font-size: 16px;
	font-weight: 900;
	color: #fafafa;
	
	align-self: center;
}
.address {
	color: #fafafa;
}
#social a {
 color: #fff;
padding-left: 20px;
}

svg {
  display: inline-block;
  width: 100px;
  height: 100px;
}   

/* ------------------ general media queries ------------------- */

/* media queries for small screens */
@media screen and (max-width: 400px) {
   
   .product-image {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
   }
   .form-control {
    width: 100%; /* 100% width on small screens */
}
}

/* medium screens and up */
@media screen and (min-width: 768px) {
    html {
        font-size: 1.05rem;
  }
    h1 {
        font-size: 2rem;
  }
    h2 {
        font-size: 1.2rem;
    }
}

/* large screens and up */
@media screen and (min-width: 992px) {
    html {
      font-size: 1.1rem;
  }
    h1 {
      font-size: 2.2rem;
  }
    h2 {
      font-size: 1.3rem;
    }
    .carousel-item {
    height: 85vh;
    }

    #about-box {
    width: 900px; /* Your desired fixed width */
  }
}

/*  extra large screens and up */
@media screen and (min-width: 1200px) {
    html {
      font-size: 1.2rem;
  }
    h1 {
      font-size: 2.5rem;
  }
    h2 {
      font-size: 1.4rem;
    }
}