html {
  background-color: black;
}

body {
  text-align: center;
  background-color: black;
}

h1 {
  font-family: futura-pt; sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 7rem;
  color: white;
}

h4 {
  /* text-transform: uppercase !important; */
  font-family: futura-pt; sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #DDD;
}

#apollo {
  width: 100%;
  height: 125vh;
  min-height: 75rem;
  display: block;
  background-color: black;
  background-image: url('../photos/EarthApollo4.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: left;

  text-align: center;
}

#logo {
  padding: 12rem 0rem;
  width: 80vw;
  max-width: 100vh;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.8s;
}

#cubesat {
  position: relative;
  top: 52vh;
  width: 25vw;
  margin-top: 10rem;
  max-width: 500px;
  min-width: 30rem;
}

#section1 {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 75rem;
  background-color: black;
  background-image: linear-gradient(to right, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0)), url('../photos/AS07-11-2010_3.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: scroll;
  position: relative;
  text-align: center;
}

#section1 h1 {
  font-size: 6.1rem;
  margin: auto;
}

#section1 h4 {
  font-size: 46px;
  margin: auto;
  max-width: 65rem;
}

#section1 .col {
  align-self: center;
}

#section1 .col-xl {
  padding: 5vw;
  align-self: center;
}

#israelcubesat {
  transform: rotate(358deg);
  max-width: 36rem;
}

#section2 {
  display: grid;
  padding: 0px;
  margin: auto;
  background-image: linear-gradient(to right, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0)), url('../photos/Skyline_BG.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  position: relative;
}

#section2 h4{
  font-size: 46px;
}

#section2 .container-lg {
  padding: 20rem 5vw;
}

#section3 {
  display: grid;
  padding: 6vh 5vw;
  background-image: linear-gradient(to right, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0)), url('../photos/Apollo_Earth_Background.png');
  background-position: center;
  background-attachment: scroll;
  position: relative;
}

#section3 .row {
  width: 100%;
}

#section3 img {
  max-width: 100%;
}

#section3 table {
  /* text-transform: uppercase !important; */
  border-style: hidden;
  margin: auto;
}

#section3 td, th {
  text-align: center;
  padding: 1.6rem;
  border-style: solid;
  font-weight: 200;
  border-width: 1px;
  border-color: #bfbfbf;
  border-block-style: none;
}

#section3 th {
  color: white;
  font-family: futura-pt, sans-serif;
  font-weight: 600;
  font-size: 2.6rem;
}

#section3 td {
  color: #f1f1f1;
  font-family: futura-pt, sans-serif;
  font-size: 2rem;
}

#section3 .col {
  margin: auto;
  padding: 2rem 0;
}

#specs {
  min-width: 40vw;
  min-height: 50rem;
  display: flex;
}

#diagram {
  min-height: 50rem;
  display: grid;
}

#diagram img {
  margin: auto;
  min-width: 55rem;
}

table tr td:nth-child(1) {
  font-weight: 600 !important;
}

#contactsection {
  display: grid;
  padding: 6vh 5vw;
  background-image: linear-gradient(to right, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0)), url('../photos/EarthApollo4.jpg');
  background-position: bottom;
  background-attachment: scroll;
  position: relative;
}

#contactsection h1 {
  font-size: 6rem;
  padding-bottom: 2rem;
}

#contactsection div {
  margin: 15rem 0;
}

#emailbutton {
  font-family: 'futura-pt', sans-serif;
  font-size: clamp(2vh, 1.7rem, 3rem);
  text-decoration: none;
  color: white;
  border: 2px;
  border-style: solid;
  border-color: white;
  padding: 1rem;
  transition: ease 0.5s;
}

#emailbutton:hover {
  color: black;
  background-color: white;
  transition: ease 0.5s;
}

#contactsection p {
  /* text-transform: uppercase !important; */
  margin-top: 3rem;
  color: #a7a7a7;
  font-family: futura-pt;
  font-size: clamp(1.7vh, 1.5rem, 3rem);
}

#contactsection p a {
  color: #cccccc;
  text-decoration: none;
}


@media (min-width: 1200px) {

  #apollo {
    background-position: center;
    background-attachment: fixed;
  }

  #section1 {
    background-attachment: fixed;
  }

  #section1 h1 {
    clamp(3.2rem, 4.3vw, 7rem)
  }

  #section1 h4 {
    font-size: 28px;
  }

  #section2 {
    background-attachment: fixed;
  }

  #section2 h4 {
    font-size: 28px;
  }

  #section3 {
    background-attachment: fixed;
  }

  #section3 td {
    font-size: 1.6rem;
  }

  #section3 th {
    font-size: 2.2rem;
  }

  #contactsection {
    background-attachment: fixed;
  }

}
