* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

h1 {
  text-align: center;
  text-transform: uppercase;
  color: #fdfdfd 
}

p.ex1 {
  margin: 35px;
}
/* Background Style */
img.bg {
  min-height: 100%;
  min-width: 1024px;
  width: 100%;
  height: auto;
  position: center;
  top: 0;
  left: 0;
}

@media screen and (max-width: 1024px) {
  img.bg {
      left: 50%;
      margin-left: -512px;
  }
}

/* Style the header */
header {
  text-align: center;
  font-size: 40px;
  color: white;
}
/*style the navigation bar*/
ul {
  list-style-type: none;
  margin: 1px;
  padding: 1px;
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
 }
 
 li {
  float: left;
  border-right: 2px solid #e7e7e8;
 }
 
 li a {
  display: block;
  color: white;
  text-align: left;
  padding: 15px 17px;
  text-decoration: none;
 }
 
 /* Links will change color when hovered over */
 li a:hover {
  background-color: #7300ff;
 }
 
 .active {
  background-color: #d61d1d;
 }

img.bg {
  min-height: 300%;
  min-width: 1024px;
  width: 100%;
  height: auto;
  position: fixed;
  top: 0;
  left: 0;
}

@media screen and (max-width: 1024px) {
  img.bg {
      left: 50%;
      margin-left: -512px;
  }
}/* image side by side*/

* {
  box-sizing: border-box;
}

.column {
  float: left;
  width: 33.33%;
  padding: 5px;
}

/* Clearfix (clear floats) */
.row::after {
  content: "";
  clear: both;
  display: table;
}
/* for the images on the team page*/

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

div.gallery:hover {
  border: 1px solid rgb(255, 48, 48);
}

div.gallery img {
  width: 50%;
  height: auto;
}

div.desc {
  padding: 15px;
  text-align: center;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}

@media only screen and (max-width: 200px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
/*end of it*/

body {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}

.p2 {
text-align: justify;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  }

p {
color: rgb(255, 255, 255);
}

p.oblique {
font-style: oblique;
}
/* Style the footer */
.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(226, 184, 221, 0.815);
  color: white;
  text-align: center;
}

/* Responsive layout - makes the two columns/boxes stack on top of each other instead of next to each other, on small screens */
@media (max-width: 600px) {
  nav, article {
    width: 100%;
    height: auto;
  }
}
* {
  box-sizing: border-box;
}

/* Create two equal columns that floats next to each other */
.column {
  float: left;
  width: 50%;
  padding: 10px;
  height: 300px; /* Should be removed. Only for demonstration */
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}