:root {
  --color-black: #231f20ff;
  --color-white: #fff;
  --color-white-alpha: #ffffffAA;
  --color-red: #e30c0c;
  --color-working-area: black;
  --color-silver: #717171;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: Sans, serif;
  margin: 0;
  text-align: center;
}

a {
  color: initial;
  text-decoration: none;
}
a:hover {
  color: var(--color-red);
}
.white-link {
  color: white;
}

h2 {
  font-size: 3rem;
}

.section-header-2 {
  margin: 2rem;
}

.section-paragraph {
  margin: 1.8rem auto;
}

.make-it-red {
  color: var(--color-red);
}

.main-wrapper {
  background-color: var(--color-working-area);
  overflow: hidden;
}

header {
  align-items: center;
  background-color: var(--color-white);
  color: var(--color-black);
  display: flex;
  flex-direction: row;
  height: 65px;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  z-index: 1;
}
.fuji-logo {
  height: 60px;
  margin-left: 5px;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 3rem;
  width: 90%;
  padding-right: 2rem;
}

main {
  margin-top: 65px;
}

#section-01, #section-02, #section-03 {
  height: 100%;
  min-height: 65vh;
  overflow: hidden;
  position: relative;
}

#section-01{
  background-attachment: fixed;
  background-image: url("https://spharce-front.s3-us-west-2.amazonaws.com/freecodecamp/Responsive+Web+Design+Certification/Product+Landing+Page/img/background-train.jpeg");
  background-size: cover;
  color: var(--color-black);
}
#section-02 {
  background-color: var(--color-black);
  color: var(--color-white);
}
#section-03 {
  background-color: var(--color-white);
  color: var(--color-black);
}

.welcome-section {
  background-color: var(--color-white-alpha);
  backdrop-filter: blur(5px);
  height: 60vh;
  position: relative;
}

.welcome-section > div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

#welcome-image {
  max-width: 20em;
  min-width: 10em;
  position: relative;
  width: 100%;
}
#welcome-image:hover {
  animation-name: fuji-leviosa;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-direction: alternate-reverse;
}
@keyframes fuji-leviosa {
  0% {
    top: 0;
  }
  50% {
    top: -30px;
  }
  100% {
    top: 0;
  }
}

#welcome-container-01, #welcome-container-02, #welcome-container-03 {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  font-size: 2rem;
}
#welcome-container-03 > div {
  width: 400px;
}
#welcome-container-03 > div > div {
  text-align: center;
}

.red-vertical-separator {
  background: linear-gradient(0deg,maroon,var(--color-red));
  height: 75%;
  width: 6px;
}

.red-horizontal-separator {
  background: linear-gradient(90deg,maroon,var(--color-red));
  height: 6px;
  margin: 5rem auto;
  width: 25%;
}

#video {
  width: 736px;
  height: 461px;
}

#spec-table {
  font-size: 1.1rem;
  /*margin: 2rem auto 5rem auto;*/
  text-align: left;
}

.spec-icon {
  height: 60px;
  margin-right: 10px;
  width: auto;
}

footer {
  align-items: center;
  background-color: var(--color-black);
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  overflow: hidden;
  padding: 20px 0;
}

#newsletter-section
{
  padding-bottom: 4rem;
}

#submit {
  background-color: var(--color-white);
  border: 2px solid var(--color-silver);
  border-radius: 5px;
  margin-top: 1rem;
  outline: none;
  padding: 5px;
}
#submit:hover {
  border-color: var(--color-red);
}
#submit:focus {
  border-color: var(--color-red);
}

#email {
  box-sizing: border-box;
  border: 2px solid var(--color-silver);
  border-radius: 5px;
  outline: none;
  padding: 5px;
}
#email:focus {
  border: 2px solid var(--color-red);
}

#goodbye-image {
  max-width: 1000px;
  width: 100%;
}

.section-anchor {
  background-color: red;
  height: 65px;
  position: absolute;
  top: -65px;
  visibility: hidden;
  width: 100%;
}

.section-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-evenly;
  align-items: center;
  padding: 3rem 1rem;
}

@media  (max-width: 700px) {
  .welcome-section {
    height: 80vh;
  }
  .welcome-section > div {
    flex-direction: column;
    align-items: center;
  }
  #welcome-container-02 {
    display: none;
  }
  #welcome-container-03 > div {
    width: 100%;
  }

  #section-02, #section-03 {
    padding-left: 5px;
    padding-right: 5px;
  }

  #spec-table {
    font-size: 1rem;
    margin: 0.5rem auto 4rem auto;
    margin-bottom: 1rem;
    text-align: left;
  }

  footer {
    flex-direction: column;
  }

  #yt-container {
    width: 100%;
  }

  #video {
    width: 100%;
    height: auto;
    box-sizing: border-box;
  }
}
