<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap" rel="stylesheet">

<!-- 

Hello Camper!

For now, the test suite only works in Chrome! Please read the README below in the JS Editor before beginning. Feel free to delete this message once you have read it. Good luck and Happy Coding! 

- The freeCodeCamp Team 

-->

<header id="header">
  <figure>
    <img id="header-img" src="https://cdn.pixabay.com/photo/2016/09/10/17/18/book-1659717_960_720.jpg" alt="book_in_shelf">

  </figure>

  <nav id="nav-bar">
    <button id="button-1" class="nav-link bttn" href="#video">Video</button>
    <button class="nav-link bttn" href="#form">form</button>
    <button class="nav-link bttn" href="#email">Sign up</button>
  </nav>

</header>

<main>
  <video id="video" autoplay loop>
    <!--  video sources -->
    <source src="https://media.istockphoto.com/videos/opening-book-in-multi-speed-video-id472740775"">
    
   
  </video>

  <form id=" form" action=" https://www.freecodecamp.com/email-submit" target="_self" method="get">

    <label for="email">Email</label>
    <input type="email" id="email" placeholder="please enter your email" name="email">

    <input type="submit" class="bttn" id="submit">

    </form>
</main>

<footer id="footer">

</footer>
body{
  background-color:#adb5bd ;           font-family: 'Roboto', sans-serif;
  


  
}
nav {
  display: flex;
  flex-direction:row;
  align-content: center;
  align-items:space-between;
  position: fixed;
  top: 0;
  margin-left: 450px;
  background-color:#000;
  text-align:center;
  
  
}

.nav-link {
  align-self:center;
  margin-right:170px;
  border:5px solid ;
  padding-left:10%;
  border-radius:12px;
  text-align:center;
  
}


img {
  margin-top: 100px;
  width: 65%;
  height: 290px;
  margin-left:399px;
  
  
}
video {
  border: 2px solid red;
  margin-left:450px;
  width:60%;
  
}
form {
  max-width:20%;
  display: flex;
  flex-direction:column;
   margin-left:700px;
}
form label{
  margin-top:20px;
  margin-bottom:10px;
 text-align:center;
 box-shadow:4px 4px 4px 4px
}
form input{
  margin-top:10px;
}


input[type="submit"]{
  background-color:#dc3545 ;
  border-radius:12px;
  
}

.bttn:hover{
 text-transform:uppercase;
 transform:scale(1.2);
  background-color:#fd7e14;
 }
@media ( min-width:  and max-width: 575px){
  
  
}
@media (max-width:575px){
  html{ display:grid;
  grid-template-rows 1fr;
  margin-left:0;
  }
  
}  
// !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

/***********
INSTRUCTIONS:
  - Select the project you would 
    like to complete from the dropdown 
    menu.
  - Click the "RUN TESTS" button to
    run the tests against the blank 
    pen.
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!
    ************/

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments. 
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.