* {
  padding: 0;
  margin: 0;
}

body, html {
  height: 100%;
  font-family: "Open Sans", sans-serif;
  color: white;
  background-color: #323232;
}

.mainBlock {
  position:absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(0, 0, 0);
}

.name {
  font-size: 500%;
  display: none;
  font-family: "Times New Roman", serif;
}

/* below for 404 page */
.name404 {
  font-size: 500%;
}

.linkContainer {
  position:absolute;
  top: 90%;
  left: 40%;
  font-size: 100%;
  display: none;
  white-space:nowrap;
}

.linkContainer404 {
  position:absolute;
  top: 90%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  font-size: 200%;
  white-space:nowrap;
}

.hero-image {
background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/1622840496876.jpg");
height: 75%;
/* Position and center the image to scale nicely on all screens below */
background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
}

/* Place text in the middle of the image */
.hero-text {
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
}

/*home button*/
#home{ 
  border: 3px solid #000000; 
  padding: 10px; 
  position:absolute; 
  top:15px; 
  left:10px; 
} 

/*BELOW WAS TAKEN FROM W3SCHOOLS (https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_responsive_header)*/
.header {
  overflow: hidden;
  background-color: #729FCF;
  padding: 5px 10px;
}

/* Style the header links */
.header a {
  float: left;
  color: white;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px;
  border-radius: 50px;
}

.header a:hover {
  background-color: #ddd;
  color: black;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
}

.header a.active {
  color: black;
}

/* Float the link section to the right */
.header-right {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 30px;
  float: right;
}

/* insert footer below*/
.footer-container {
  background-color: black;
  padding: 64px 0 64px 0;
}

.footer {
  width: 80%;
  height: auto;
  background-color: black;
  color: white;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
}

.footer a:hover {
  background-color: #ddd;
  color: black;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
  border-radius: 15px;
}

.footer-heading-first, .footer-heading-second {
  display: flex;
  flex-direction: column;
  margin-right: 64px;
  line-height: 180%; /* makes the tags essentially double spaced*/
}

.footer-heading-third {
  display: flex;
  flex-direction: column;
  line-height: 180%;
}

.footer-heading-first h2, .footer-heading-second h2, .footer-heading-third h2 {
  margin-bottom: 32px;
}

.footer-heading-first a, .footer-heading-second a, .footer-heading-third a {
  color: white;
  text-decoration: none;
  margin-bottom: 8px;
}

.link {
  text-decoration: none;
  color: rgb(128, 128, 128);
  overflow-wrap: break-word;
  text-align: center;
  font-size: 1.00em;
}

.footer .fa-instagram { color: #c1558b; }
.footer .fa-envelope { color: #ffffff; }
.footer .fa-linkedin-square { color: #0077B5; }
.footer .fa-github { color: #ffffff; }
.footer .fa-twitter { color: #1da1f2; }

  /* Media queries for responsiveness */
@media screen and (max-width: 768px) {
  .heading {
    font-size: 300%; /* Further reduce font size for very small screens */
  }

  .header a {
    float: none;
    display: block;
    text-align: left;
  }

  .header-right {
    float: none;
  }

  .footer-heading-first, .footer-heading-second {
    margin-right: 20px;
  }

  .center {
    width: 80%;
  }
}

@media screen and (max-width: 375px) {
  .footer-heading-second {
    margin-left: 10px; /* adds space to the left to make footer look somewhat normal when viewed on mobile device*/
    margin-right: 0px;
  }
  
}

@media screen and (max-width: 320px) {
  .footer-heading-first {
    margin-right: 10px;
  }
  .footer-heading-second {
    margin-right: 0px;
  }
}