/* sets text fade in */
@keyframes fadeIn {
  0% {opacity: 0;}
  100%{opacity: 1;}
}

body {
  animation: fadeIn 0.7s;
  /* inline-block seems to cause thin white space between divs. Applying a background colour to the body makes them invisible */
  background-color: #f0f8f7; 
  
}

.seaSpray {
  background-color: #d3ece9;
}

#nautilusDiv {
  background-color: #f0f8f7; 
}

#nautilusImg {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}

.icon-container {
  display: flex;
  justify-content: center;
  margin-bottom: 10px; /* Adjust as needed */
}

#anchor {
  scroll-margin-top: -200px;
}

p {
  animation: fadeIn 0.7s;
  font-family: "Comic Sans MS";
  text-align: justify;
  text-justify: inter-word;
}

ul{
  font-family: "Comic Sans MS";
}


/* see 'fonts.css' to see how to set up fonts */
.testimonial {
  font-family: "ReenieBeanie";
  font-size: xx-large;
  width: 85%;
  padding: 2%;
  margin: auto;
  display: block;
  text-align: center;
  text-justify: inter-word;
}

.wrapper {
  display: flex;
}

i{
  color: #6fb0bb;
  /* color: #1e6477; */
}

/* images in the cards */
.cardImg {
  margin-top: 5%;
}

/* all the H2 titles */
h1 {
  padding-top: 3%;
  /* padding-bottom: 2%; */
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 12px;
  text-decoration-thickness: 2px;
  color: #1e6477;
  font-family: zap4;
  font-size: 60pt;
  font-weight: 400;
  background-color: #f0f8f7; 
  /* scroll margin top gives padding so that the anchor tag will drop you 120px above the target H2 */
  scroll-margin-top: 110px;
}


h4 {
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 12px;
  text-decoration-thickness: 2px;
  /* background: radial-gradient(#ffffff, transparent); */
}



#holdingShellImg {
  max-width: 600px;
}

/* div1 holds the left place holder image and intro blurb on the right */
/* display in-line block forces the div below down and prevents overlap */
#div1 {
  animation: fadeIn 0.8s;
  display: block;
  margin: auto;
  padding-top: 2%;
  padding-bottom: 4%;
  background-color: #f0f8f7;
  width: 100%;
}

#supervisorImg {
  width: 50%;
  display: block;
  margin: auto;
}

/* intro text on the right */
#introWords {
  font-size: large;
  background-color: #f0f8f7;
  text-align: justify;
  /* text-justify: inter-word; */
  width: 50%;
  display: block;
  margin: auto;
  
}

.flex-container {
  width: 100%;
  background-color: #f0f8f7 !important;
}

.card {
  margin: auto;
  margin-top: 4%;
  
}

/* whatCanYouExpect --------------------------------------*/

#whatYouCanExpectDiv {
  width: 100%;
  display: inline-block;
  background-color: #d3ece9;
  padding: 2%;
}

#whatYouCanExpectText {
  background-color: #d3ece9;
  text-align: center;
  text-align: justify;
  width: 50%;
  float: left;
  padding-left: 5%;
  padding-right: 5%;
}

#whatYouCanExpectH2 {
  background-color: #d3ece9;
  width: 100%;
}

#whatYouCanExpectImg {
  width: 50%;
  float: right;
  padding: 2%;
  padding-top: 2%;
  background-color: #d3ece9;
}

/* whatIsClinicalPsychologist --------------------- */

#whatIsAClinicalPsychologistH2 {
  background-color: #f0f8f7;
}

#whatIsAClinicalPsychologistDiv {
  background-color: #f0f8f7;
  display: inline-block;
  width: 100%;
  margin-top: 4%;
  margin-bottom: 4%;
}

#whatIsAClinicalPsychologistText {
  text-align: center;
  text-align: justify;
  width: 50%;
  padding-left: 4%;
  padding-right: 4%;
  float: right;
  background-color: #f0f8f7;
}

#whatIsAClinicalPsycholgistImg {
  width: 50%;
  float: left;
  padding-right: 4%;
  padding-left: 4%;
  padding-top: 2%;
  background-color: #f0f8f7;
}

/* --------------------------------------------------- */
/* Meet the team */
/* meet the team page */
#meetTheTeamBlurbDiv {
  background-color: #D3ECe9;
  display: inline-block;
  width: 100%;
}

#meetTheTeamBlurbImgHidden {
  width: 50%;
  float: right;
  padding: 2%;
  padding-top: 2%;
  background-color: #d3ece9;
}

#meetTheTeamPara {
  width: 50%;
  float: left;
  text-align: justify;
  padding: 4%;
}

#meetTheTeamBlurbImg {
  width: 50%;
  float: left;
  padding: 4%;
}

#meetTheTeamBlurbImgHidden {
  width: 50%;
  padding: 4%;
  margin: auto;
  display: block;
}



/* div2 holds the bootstrap cards*/
#aboutUsDiv {
  background-color: #f0f8f7;
  /* padding moves the about us title down */
  padding: 2%;
  display: inline-block; 
  width: 100%;
  
}

/* keeps the text to the right */
#aboutUsTextDiv{
 width: 50%;
 float: right;
 padding: 2%;
 padding-top: 6%;
 }


/* keeps the text to the right */
#aboutUsTextDiv2{
  width: 50%;
  float: right;
  padding: 2%;
}

/* keeps the image to the left */
#aboutUsImg {
  /* border-radius: 25px; */
  float: left;
  width: 50%;
  padding: 2%;
  margin-top: 0%;
}

#aboutUsImg2 { 
  float: left;
  width: 50%;
  padding: 1.5%;
  margin-top: 5%;
  /* border-radius: 35px;  */
}

.btn {
    margin: auto;
    display: block;
}

.btn-primary {
  background-color: #6fb0bb !important;
  border-color: #6fb0bb !important;
}

.card-title {
  text-align: center;
}

.card-text {
  text-align: justify;
}

/* bootstrap cards end */

#aboutUs {
  width: 100%;
  padding: 2%;
  float: left;
  text-align: justify;
  text-justify: inter-word;
}

#div4 {
  display: inline-block;
  background-color: rgba(241, 162, 44, 0.459);
  width: 100%;
}

/* the div containing the contact form */
#contactID {

  width: 70%;
  background-color: #6fb0bb;
  /* margin top moves it to be inline with bottom left image */
  margin-top: 2%;
}

/* CSS for the contact form */

/* Style inputs with type="text", select elements and text areas */
input[type=text],
select,
textarea {
  width: 100%;
  /* Full width */
  padding: 12px;
  /* Some padding */
  border: 1px solid #ccc;
  /* Gray border */
  border-radius: 4px;
  /* Rounded borders */
  box-sizing: border-box;
  /* Make sure that padding and width stays in place */
  margin-top: 6px;
  /* Add a top margin */
  margin-bottom: 16px;
  /* Bottom margin */
  resize: vertical
    /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: #45a049;
}

/* Adds a background color and some padding around the form */
.container {
  width: 100%;
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  margin-bottom: 4%;
  margin-top: 4%;
}

.whatWeOfferDiv {
  width: 100%;
  background-color: #6fb0bb;
  text-align: justify;
  /* padding-left: 10%;
      padding-right: 10%; */
}

.whatWeOfferPara {
  background-color: rgb(232, 243, 241);
  padding: 5%;
}

#whatWeOfferH2 {
  padding-top: 6%;
}

/* this is the formatting for the index.html last div, it forces the footer down to the bottom*/
#bottomMainPageDiv {
  display: inline-block;
  width: 100%;
}


/* the last image itself */
#lastImg {
  width: 100%;
  padding: 1%;
}

h1#lisaTitle {
  background-color: #D3ECe9;
}

.privacyPolicies {
  width: 80%;
  margin: auto;
  text-align: justify;
  
  font-family: Arial, sans-serif;
  font-size: 16px;

}


/* adds CSS to hidden text divs that become visible on small screens */
#whatToExpectHiddenDiv {
  padding: 4%;
  text-align: justify;
}

#aboutUsHiddenDiv {
  padding: 4%;
  text-align: justify;
}

#contactContainer {
  margin-top: 25px;
}

#aboutUsImgHidden {
  width: 100%;
}

.forText {
  width: 100%;
  padding-left: 4%;
  padding-right: 4%;
  text-justify: auto;
  margin-top: 2%;
  margin-bottom: 2%;
  background-color: #f0f8f7;
}

#faqAdultsImg {
  width: 35%; 
  margin: auto;
  display: block;
  margin-top: 2%;
  margin-bottom: 2%;
}

#faqChildImg {
  width: 35%; 
  margin: auto;
  display: block;
  margin-top: 2%;
  margin-bottom: 2%;
}

#contactImg {
    width: 40%; 
    margin: auto;
    display: block;
    margin-top: 2%;
    margin-bottom: 2%;
  }

  #adultEMDRGroupImg {
  width: 40%; 
  margin: auto;
  display: block;
  margin-top: 2%;
  margin-bottom: 2%;
  }
  
  #whatWeOfferH2 {
    background-color: #f0f8f7;
  }

  #forProfessionalsImg1 {
    width: 60%; 
    margin: auto;
    display: block;
    margin-top: 2%;
    margin-bottom: 2%;
  }

  #forProfessionalsImg2 {
    width: 60%; 
    margin: auto;
    display: block;
    margin-top: 2%;
    margin-bottom: 2%;
  }

  #specialistTherapiesChildIntroDiv{
    text-align: center;
  }

  .forProfessionalsText {
    width: 85%;
    margin: auto;
    display: block;
    text-align: center;
    padding:2%;
    
  }

  .specImg{
    width: 50%;
    margin: auto;
    display: block;
  }

  .card-text {
    text-align: center;
  }

/* Media query for screens narrower than 1000px */

@media screen and (max-width: 1000px) {
  /* Adjust image width to fill 80% of the screen */
  #aboutUsDiv img,
  #whatYouCanExpectImg,
  #aboutUsDiv > div:nth-child(1) img,
  #whatIsAClinicalPsychologistDiv > div:nth-child(1) img {
    width: 80%;
    max-width: none; /* Override any max-width set in existing CSS */
    padding: none;
    display: block; /* Ensures proper centering */
    margin: 0 auto; /* Centers the images horizontally */
    float: none;
    margin-bottom: 4%;
    margin-top: 4%;
  }

  /* separated so that the background colour cab be set */
  #meetTheTeamBlurbImgHidden{
    width: 100%;
    max-width: none; /* Override any max-width set in existing CSS */
    padding: none;
    display: block; /* Ensures proper centering */
    margin: 0 auto; /* Centers the images horizontally */
    float: none;
    background-color: #D3ECe9;
  }

  /* Adjust text div width to fill 80% of the screen */
  #aboutUsTextDiv,
  #whatYouCanExpectText,
  #whatIsAClinicalPsychologistText {
    width: 80%;
    margin: auto; /* Center the text divs */
    float: none;
  }
}
