.base-button {
  width: 140px;
  height: 45px;
  font-family: 'Roboto' sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: #000;
  background-color: #fff;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  outline: none;
}
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
* {
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
}
html,
body {
  font-family: 'Ubuntu', sans-serif;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Russo One', sans-serif;
}
h2 {
  font-size: 3.2rem;
}
h3 {
  font-size: 2.8rem;
}
p {
  font-size: 1.6rem;
  line-height: 1.4;
}
.container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}
header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/header.jpg);
  height: 60vh;
  background-size: cover;
  background-position: center;
}
@media (max-width: 500px) {
  header {
    display: flex;
    border: solid;
  }
}
.homeul {
  float: right;
  list-style-type: none;
  margin-top: 25px;
  margin-right: 50px;
}
@media (max-width: 500px) {
  .homeul {
    display: flex;
    flex-direction: row;
  }
}
.homeul li {
  display: inline-block;
  margin: 20px;
}
@media (max-width: 500px) {
  .homeul li {
    margin: 5px;
    margin-left: 15px;
    width: 80px;
  }
}
.homeul li a {
  text-decoration: none;
  color: black;
  padding: 5px 20px;
  border: 1px solid #121551;
  transition: 0.6s ease;
}
@media (max-width: 500px) {
  .homeul li a {
    width: 10px;
  }
}
.homeul li :hover {
  background-color: #fff;
  color: #000;
}
.homeul .active a {
  background-color: #fff;
  color: #000;
}
.logo img {
  float: left;
  width: 150px;
  height: auto;
}
.hometitle {
  position: absolute;
  margin-left: 35%;
  top: 20%;
  transform: translate(-50% -50%);
}
.hometitle h1 {
  color: #fff;
  font-size: 70px;
}
@media (max-width: 500px) {
  .hometitle h1 {
    display: none;
  }
}
.button {
  position: absolute;
  width: 50%;
  margin-left: 40%;
  margin-top: 20%;
  text-align: center;
  padding: 1%;
  width: 140px;
  height: 45px;
  font-family: 'Roboto' sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: #000;
  background-color: #fff;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  outline: none;
}
@media (max-width: 500px) {
  .button {
    width: 30%;
    height: 5%;
    padding: 2%;
    margin-top: 50%;
    margin-left: 35%;
  }
}
.button:hover {
  background-color: #2EE59D;
  box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
  color: #fff;
  transform: translateY(-7px);
}
.btn {
  text-align: center;
  color: #000;
  text-decoration: none;
}
.box {
  position: relative;
  display: inline-block;
}
.box img {
  width: 100%;
  border-radius: 20px;
}
@media (max-width: 500px) {
  .box img {
    border-radius: 0px;
  }
}
.box .text {
  color: white;
  font-size: 20rem;
  position: absolute;
  z-index: 999;
  margin: 0 auto;
  left: 30%;
  right: 0;
  top: 60%;
  text-align: right;
  width: 50%;
}
@media (max-width: 500px) {
  .box .text {
    color: purple;
  }
}
@media (min-width: 950px) and "(max-width: 1080px)" {
  .box .text {
    color: red;
  }
}
.box p {
  font-size: 30px;
}
@media (max-width: 500px) {
  .box p {
    font-size: 20px;
  }
}
footer {
  width: 100%;
  background-color: #D8CDCD;
}
footer nav {
  width: 60%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 2%;
  font-size: 14px;
  margin-left: 20%;
}
@media (max-width: 500px) {
  footer nav {
    margin-right: 15%;
    width: 65%;
    float: left;
    justify-content: space-evenly;
    align-items: center;
  }
}
footer a {
  color: black;
  text-decoration: none;
  text-align: center;
}
footer :hover {
  color: turquoise;
}
.top-content {
  display: flex;
  justify-content: space-evenly;
  font-weight: bold;
  width: 100%;
  padding: 5%;
  border-radius: 20px;
  margin-top: 10px;
  text-align: center;
}
@media (max-width: 500px) {
  .top-content {
    flex-direction: column;
  }
}
.top-content .text-container {
  padding: 0 1%;
  padding-bottom: 20px;
  width: 40%;
  font-size: 10px;
}
@media (max-width: 500px) {
  .top-content .text-container {
    width: 100%;
  }
}
.banner1 h1 {
  width: 100%;
  height: 90px;
  text-align: center;
  padding: 15px;
  background-color: turquoise;
  color: white;
  font-size: 50px;
}
@media (max-width: 500px) {
  .banner1 h1 {
    font-size: 20px;
  }
}
.middle-content {
  display: flex;
  justify-content: space-evenly;
  font-weight: bold;
  width: 100%;
  padding: 2%;
  border-radius: 20px;
  margin-top: 10px;
  text-align: center;
}
@media (max-width: 500px) {
  .middle-content {
    flex-direction: column;
  }
}
.middle-content .text-container {
  padding-bottom: 20px;
  width: 50%;
  font-weight: bold;
}
@media (max-width: 500px) {
  .middle-content .text-container {
    width: 100%;
  }
}
.middle-content .img-container {
  margin-bottom: 20px;
  padding: 2% 0;
}
.contacthead {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/header.jpg);
  height: 60vh;
  background-size: cover;
  background-position: center;
}
@media (max-width: 500px) {
  .contacthead {
    display: flex;
  }
}
.contacthead .contacttitle {
  position: absolute;
  margin-left: 35%;
  top: 20%;
  transform: translate(-50% -50%);
}
.contacthead .contacttitle h1 {
  color: #fff;
  font-size: 70px;
}
@media (max-width: 500px) {
  .contacthead .contacttitle h1 {
    font-size: 30px;
    margin-top: 50%;
  }
}
#contactform {
  display: block;
  margin-top: 20px;
  letter-spacing: 2px;
  background-color: turquoise;
}
#contactform form {
  margin: 0 auto;
  width: 459px;
  padding: 2%;
  display: flex;
  flex-direction: column;
}
#contactform label {
  margin-top: 50px;
  height: 70%;
  font-weight: bold;
  font-size: 2rem;
  color: white;
}
input,
textarea {
  padding: 2%;
  width: 479px;
  height: 75px;
  margin-top: 30px;
  background-color: white;
  border-radius: 10px;
}
@media (max-width: 500px) {
  input,
  textarea {
    width: 400px;
  }
}
#submit {
  width: 127px;
  height: 50px;
  background-color: lavender;
  margin-bottom: 3%;
  width: 140px;
  height: 45px;
  font-family: 'Roboto' sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: #000;
  background-color: #fff;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  outline: none;
}
#submit:hover {
  background-color: plum;
}
.contactfooter {
  width: 100%;
  background-color: #D8CDCD;
}
.contactfooter nav {
  width: 60%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 2%;
  font-size: 14px;
  margin-left: 20%;
}
@media (max-width: 500px) {
  .contactfooter nav {
    margin-right: 15%;
    width: 65%;
    float: left;
    justify-content: space-evenly;
    align-items: center;
  }
}
.contactfooter a {
  color: black;
  text-decoration: none;
  text-align: center;
}
.contactfooter :hover {
  color: turquoise;
}
header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/teampage.jpg);
  height: 60vh;
  background-size: cover;
  background-position: center;
}
@media (max-width: 500px) {
  header {
    display: flex;
  }
}
header ul {
  float: right;
  list-style-type: none;
  margin-top: 25px;
  margin-right: 50px;
}
header ul li {
  display: inline-block;
  margin: 20px;
}
@media (max-width: 500px) {
  header ul li {
    margin: 5px;
    margin-left: 15px;
    width: 80px;
  }
}
header ul li a {
  text-decoration: none;
  color: black;
  padding: 5px 20px;
  border: 1px solid #121551;
  transition: 0.6s ease;
}
header ul li :hover {
  background-color: #fff;
  color: #000;
}
header ul .active a {
  background-color: #fff;
  color: #000;
}
header .logo img {
  float: left;
  width: 150px;
  height: auto;
}
header .title {
  position: absolute;
  margin-left: 30%;
  top: 20%;
  transform: translate(-50% -50%);
}
@media (max-width: 500px) {
  header .title {
    margin-left: 75px;
  }
}
header .title .teamtitle {
  color: #fff;
  font-size: 70px;
}
@media (max-width: 500px) {
  header .title .teamtitle {
    margin: 20%;
    font-size: 30px;
    width: 150%;
    padding: 2%;
  }
}
.banner2 h1 {
  width: 100%;
  height: 90px;
  text-align: center;
  padding: 15px;
  background-color: turquoise;
  color: black;
  font-size: 10rem;
}
@media (max-width: 500px) {
  .banner2 h1 {
    font-size: 5px;
    height: 150px;
  }
}
.top-content1 {
  background-image: url(../img/background.jpg);
  background-size: cover;
  background-position: center;
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
@media (max-width: 500px) {
  .top-content1 {
    background-position: none;
  }
}
.top-content1 .text-container {
  margin-top: 5%;
}
@media (max-width: 500px) {
  .top-content1 .text-container {
    margin-left: 10%;
  }
}
.top-content1 .text-container img {
  width: 75%;
}
@media (max-width: 500px) {
  .top-content1 .text-container img {
    width: 50%;
    border-radius: 20px;
  }
}
