/* nav bar */ 

* {
  box-sizing: border-box;
}

body {
  margin: 0; 
  padding: 0;

    font-family:sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: black;
    text-align: left; 
 
}

/* SPS LOGO ANIMATION START */ 

@-webkit-keyframes title-push {
  50% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@keyframes title-push {
  50% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}



.the-title {
  font-size: 2.5rem;
  margin: .5rem;
  /* ---- ADDING SAME COLOUR AS TRAVEL PHOTOGRAPHY  */
  font-family: sans-serif;
  font-size: 45px;
  font-weight: 800;
  color: white;
  border: 5px;
  border-radius: 30%;
  background-color: royalblue;
  font-style: oblique;
  padding: 10px;
  /* border: 2px solid red; */
}

.the-title:hover {
  box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
  font-size: 50px;
  cursor:default;
}



/* PUSH TEST FOR SPS LOGO */
.title-push {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.title-push:hover, .title-push:focus, .title-push:active {
  -webkit-animation-name: title-push;
  animation-name: title-push;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}


/* END OF TITLE PUSH TEST */

/* NAV BAR */
.navbar {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  color: black; 
  height: 80px;
  padding-top: 30px;
  /* border: 2px solid red; */

}

.navbar-links {
  height: 100%;
  font-size: 20px;
  /* border: 2px solid red; */
}

.navbar-links ul {
  display: flex;
  margin: 0;
  padding: 0;
}

.navbar-links li {
  list-style: none;
}

.navbar-links li a {
  display: block;
  text-decoration: none;
  color: black;
  padding: 1rem;
}

.navbar-links li:hover {
  background-color: royalblue; /* CHANGE THIS */
  opacity: 0.75;
  font-size: 22px;
  font-variant: small-caps;
  border-radius: 50%;
  font-weight: bolder;
}

.toggle-button {
  position: absolute;
  top: .75rem;
  right: 1rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.toggle-button .bar {
  height: 3px;
  width: 100%;
  background-color: midnightblue;
  border-radius: 10px;
}

@media (max-width: 800px) {
  .navbar {
      flex-direction: column;
      align-items: flex-start;
  }

  .toggle-button {
      display: flex;
  }

  .navbar-links {
      display: none;
      width: 100%;
      background-color: white;
  }

  .navbar-links li:hover {
    /* background-color: lightgray; CHANGE THIS */
    opacity: 0.75;
    font-size: 22px;
    font-variant: small-caps;
    border-radius: 50%;
    font-weight: bolder;

  }

  .navbar-links ul {
      width: 100%;
      flex-direction: column;
      
  }

  .navbar-links ul li {
      text-align: center;
  }

  .navbar-links ul li a {
      /* padding: .5rem 1rem; ORIGINAL */
      background-color: lightgray;
      /* padding: 15px 0px 0px 0px;
      border: 2px black; */
      
  }

  .navbar-links.active {
      display: flex;
  }

  /*end of nav bar media */

  /* SPS Logo decrease font size */

  .the-title {
    font-size: 30px;
  }

  .the-title:hover {
    font-size: 50px;
    margin: .5rem;
    /* ---- ADDING SAME COLOUR AS TRAVEL PHOTOGRAPHY  */
    font-family: sans-serif;
    font-size: 45px;
    font-weight: 800;
    color: white;
    border: 5px;
    border-radius: 30%;
    background-color: royalblue;
    font-style: oblique;

  }

    /* UNIQUE TO CONTACT FORM, "How to get in touch" PUSH THIS DOWN SO THE NAV BAR HAMBURGER DOESN'T OVERLAP*/
  /* h1 {
    position: relative;
    margin-top: 100px; */
  }



/* END OF NEW NAV 23/6 */

/* 22 June CONTACT TITLE Let's Start A Conversation, same as Sandra's code for the portfolio title */
/*----------------------------------------------header starts here */

.contact-title { 
  
  font-family: sans-serif;
  font-size: 70px;
  font-weight: 800;
  color: royalblue; 
  padding-top: 100px;
  margin-top: 10px;
  text-align: center;
  /* border: 2px solid red; */
  

  /* How to get in touch title */
  /* text-align: center;
  font-family:sans-serif;
  font-size: 40px; */
  
  
  
/* Moving text to center - need to amend */
/* height: 1.23em;
width: 500px;
position: absolute;
left: 35%;
margin-right: -50%;
translate: translate(-50%, -50%); */
/* added below properties instead of above */
display:flex;
justify-content: center;



  /* Same as before */
  background: linear-gradient(to right, midnightblue, midnightblue 50%, royalblue 50%);

  /* Same as before */
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  background-position: 100%;

  /* Same as before */
  transition: background-position 275ms ease;
}
.contact-title:hover {
  background-position: 0 100%;
}

/* END OF CONTACT TITLE 22/6 */

/* 23 JUNE moved body tag to the top */

/* -------------------------------- CONTACT FORM STARTS HERE */

/*MAIN CONTACT BOX 24 june, changed padding size,added height, added position and top*/
/* Adjusts the size of the contact boxes */
.contactBox label {
  display: inline-block;
  width:240px;
}

/* 26 June increased height */
.contactBox {
  width: 1000px;
  margin: auto;
  padding: 25px;
  height: 530px;
  position:relative; /* Pushes contact form up */
  top: -2em;
  border: 2px solid;
  border-color: midnightblue;
  border-radius: 3%;
  -webkit-box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 5px 5px 50px 5px rgba(0,0,0,0); 
  box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 5px 5px 50px 5px rgba(0,0,0,0);}

/*26 June amending phone/address box */

/* 27 June added rainbow upon hovering */
.contactBox:hover {
  -webkit-box-shadow: 5px 5px 15px 5px #FF8080, -9px 5px 15px 5px #FFE488, -7px -5px 15px 5px #8CFF85, 12px -5px 15px 5px #80C7FF, 12px 10px 15px 7px #E488FF, -10px 10px 15px 7px #FF616B, -10px -7px 27px 1px #8E5CFF, 5px 5px 50px 5px rgba(0,0,0,0); 
box-shadow: 5px 5px 15px 5px #FF8080, -9px 5px 15px 5px #FFE488, -7px -5px 15px 5px #8CFF85, 12px -5px 15px 5px #80C7FF, 12px 10px 15px 7px #E488FF, -10px 10px 15px 7px #FF616B, -10px -7px 27px 1px #8E5CFF, 5px 5px 50px 5px rgba(0,0,0,0);

}

/*Message text box */

input[type="text"], select, textarea {
  width: 70%;                          /* Set the width to 70% of the parent container */
  padding: 14px;                       /* Add padding inside the input elements */
  border: 2px solid #ccc;              /* Light gray border */
  border-radius: 7px;                  /* Rounded corners */
  box-sizing: border-box;              /* Include padding and border in the total width/height calculation */
  margin-top: 2px;                     /* Small space above the input */
  margin-bottom: 10px;                 /* Space below the input */
  text-align: left;                    /* Left-aligned text inside the input */
  font-family: sans-serif;             /* Use a sans-serif font */
  font-size: 16px;                     /* Optional: makes the text inside easier to read */
}



/* changed 24june, added text align and margin */
p.para1{  /*Send me a message */
  font-family: Arial, sans-serif;
  font-size: 15px;
  text-align: left;
  margin-top: 0;
  vertical-align: top;
}

/* changed 26 june, removed padding*/
p.para2{ /*Please note: all fields required */
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: bold;
  /* padding: 5px; */
  margin-bottom: 20px;
  }



/*26 June amended 'paragraph' to paragraphPhoneAddress */
.paragraphPhoneAddress {
  padding: 10px;
  width: 250px; /* Set a fixed width to make the box smaller */
  border: 1.5px solid midnightblue;
  border-radius: 3%;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  position: relative;
  top: -50px; /* Reset top positioning */
  margin-right: 0; /* Align it to the right */
  margin-left: auto; /* Automatically adjust left margin to push to the right */
  box-sizing: border-box; /* Include padding in total width/height */
  float: right; /* Float the element to the right */
}




/* 26 June amended contact message font*/


p.para3{ /* Phone: */
font-family: Arial, sans-serif;
font-size: 15px;
font-weight: bold;
text-align: left;
}

p.para4{ /* (+44) 079 090 90909 */
font-family: Arial, sans-serif;
font-size: 15px;
text-align: left;
text-decoration: none !important;

}

p.para5{ /* Address: */
font-family: Arial, sans-serif;
font-size: 15px;
font-weight: bold;
text-align: left;
}

p.para6{ /* 123 Box & Email & photography@SPS  */
font-family: Arial, sans-serif;
font-size: 15px;
text-align: left;
}




input[type=submit] {
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
}

/* 26 JUNE Amending form submission button */

#submitForm {
  background: linear-gradient(to bottom left, royalblue 100%, midnightblue 100%);
  border: none;
  color: black;
  padding: 5px 5px;
  margin: 5px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  border-radius: 35%;
  box-shadow: 0 5px #999;
  /* position: relative; */
  bottom: 4px;
  /* button size amend - contact form only */
  height: 33px;
  width: auto;
  order: 1;

}

#submitForm:hover {
  background: linear-gradient(to bottom left,  white 40%, midnightblue 100%);
  cursor: pointer;
}

#submitForm:active {
  background-color: rgb(176, 169, 169);
  box-shadow: 0 5px #666;
  transform: translateY(4px);  
}


input {
  width: 40%;
}

/* 24 june, added input and label checkbox  to put checkbox and text left side*/
input[type="checkbox"] {
  width: auto;
  height: 15px;
  /* position: left; */
  margin-top: 15px;
  }

label.checkbox {
 line-height: 24px;
  margin: 2px 2px;
  display: block;
  height: 15px;


}

/* Marketing checkbox / send message button */
.form {
   width: 650px;
  display: flex;
  justify-content: space-between;
}

/* End of contact form */

/* MAP */
.map {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  /* border: 5px solid red; */
}

 /* ------------------------ FOOTER STARTS HERE
 Outer container = emailform
 */ 

 

  #the-footer {
    background-color: rgb(240, 240, 240);
    height: 95px;
    width: 100%;
    position: relative;
   border-style: solid;
   border: 0px;
    /* border-color: red;  */
    /* > Add padding? */
}

#footer-title {
    text-align: center;
    font-size: 20px;
    color:rgb(9, 17, 102);
    font-weight: 900;
/*  */
}

#footer-subtitle {
    text-align: center;
    font-size: 15px;
    color:rgb(9, 17, 102);

}

#emailform {
    text-align: center;
    font-size: 12px;
    color:rgb(9, 17, 102);
    background-color: rgb(240, 240, 240);
    /* border-style: solid; 
     border-color: orange;  */
    padding: 20px 10px 40px 10px;

}

/*26 JUNE unique to contact form */
#emailBox {
  width: 150px
}



#submitFooter {
    background: linear-gradient(to bottom left, royalblue 100%, midnightblue 100%);
    border: none;
    color: black;
    padding: 5px 5px;
    margin: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    border-radius: 35%;
    box-shadow: 0 5px #999;
    position: relative;
    bottom: 4px;
    /* button size amend - contact form only */
    height: 33px;
    width: auto;

}

#submitFooter:hover {
  background: linear-gradient(to bottom left,  white 40%, midnightblue 100%);
  cursor: pointer;
}

#submitFooter:active {
    background-color: rgb(176, 169, 169);
    box-shadow: 0 5px #666;
    transform: translateY(4px);  
}


 /* #submit:hover {
    background-color: rgb(176, 169, 169);
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
    cursor: pointer;
} */

#copyright {
    font-size: 12px;
    color:rgb(9, 17, 102);
     /* position: absolute; */
    bottom: -50px;
    position:absolute;
   
}


#Twitter {
    position: absolute;
    bottom: -40px;
    right: 0px;  
      

}

#Facebook {
    position: absolute;
    bottom: -40px;
    right: 47px;
    }