123

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <head>
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
</head>

<body>
  <header id="header">
    <nav id="nav-bar">
      <div id="collapse">
        <div id="logo">
          <a href="#top">discovr</a>
        </div>
        <img src="" alt="" id="header-img">
        <div id="menu-icon" onclick="menuIcon(this)">
          <div id="bar1"></div>
          <div id="bar2"></div>
          <div id="bar3"></div>
        </div>
      </div>
      <div id="nav-links" class="hide">
        <ul>
          <li><a href="#about" class="nav-link">about</a></li>
          <li><a href="#services" class="nav-link">services</a></li>
          <li><a href="#contact" class="nav-link">contact us</a></li>
        </ul>
      </div>
    </nav>
  </header>

  <div id="top">
    <div id="top-img">
      <div id="top-content">
        <h1>
          pack up. we cover the rest.</h1>
      </div>
    </div>
  </div>

  <div id="about">
    <div id="about-img">
      <div id="quote">
        <p>"Travel and change of place impart new vigour to the mind."<br><span style="font-size: 20px; font-weight: bold;">Seneca</span>
          <p>
      </div>
    </div>
    <div id="about-content">
      <p><span style="font-size: 36px;font-weight: bold;font-family:'Great Vibes';padding: 5px 5px 5px 30px;">Explored</span> is a travel agency that helps natural beauty seekers by insuring all aspects of their adventures, which comprehend, safety, planning,
        discovery, and last but not least the fun along the way.<br><br>Here are some adventures that illustrate our last year:</p>
      <iframe src="https://www.youtube.com/embed/RcmrbNRK-jY" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen id="video"></iframe>
    </div>
  </div>

  <div id="services">
    <div id="our-services">Our Services</div>
    <div class="service" id="destination">
      <div class="content">
        <h2>Destination</h2>
        <p>We will go wherever you want us to go. Islands, beaches, woods, mountains, or cities. How we get there is our concern. Choose wisely. ;)</p>
      </div>
      <div class="image">
        <img src="https://images.pexels.com/photos/697662/pexels-photo-697662.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"></div>
    </div>
    <div class="service" id="planning">
      <div class="image">
        <img src="https://images.pexels.com/photos/297642/pexels-photo-297642.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"></div>
      <div class="content">
        <h2>Planning</h2>
        <p>Too many things to explore? We are here to help you organize and plan your trip so you get to visit everything you desired.</p>
      </div>
    </div>
    <div class="service" id="accommodation">
      <div class="content">
        <h2>Accommodation</h2>
        <p>We always ensure the place where you stay, whether it be a Hotel room, in the woods, or even on a summit. We also ensure your meals according to your preferences.</p>
      </div>
      <div class="image">
        <img src="https://images.pexels.com/photos/6757/feet-morning-adventure-camping.jpg?auto=compress&cs=tinysrgb&h=650&w=940"></div>
    </div>
    <div class="service" id="tools">
      <div class="image">
        <img src="https://images.pexels.com/photos/933843/pexels-photo-933843.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"></div>
      <div class="content">
        <h2>Gadgets</h2>
        <p>Need a surf board? a tent? swimming gear? We have got your back. Wherever you're planning to go, we'll worry about the eventual stuff you need.</p>
      </div>
    </div>
  </div>
  
  <div id="contact">
    <div id="form-container">
      <form action="https://www.freecodecamp.com/email-submit" id="form">
        <h2>Get in touch!</h2>
          <input type="text" id="name" placeholder="First Name" autocomplete="off" required class="inputs">
          <!--<label class="name" for="name">First Name</label>-->
        <input type="email" id="email" placeholder="Email" name="email" required class="inputs">
        <textarea placeholder="Message" type="textarea" rows="5" id="comment" class="inputs"></textarea>
        <input type="submit" id="submit" value="Submit">
      </form>
    </div>
  </div>

  <footer>
    <div class="bottom-links">
    <ul>
          <li><a href="#top" class="nav-link">scroll to the top</a></li>
          <li><a href="#about" class="nav-link">about</a></li>
          <li><a href="#services" class="nav-link">services</a></li>
          <li><a href="#contact" class="nav-link">contact us</a></li>
        </ul>
      <p>copyright © 2018 – explored</p>
    </div>
    <div class="social-media">
      <p>find us on social medias</p>
    <ul>
          <li><a href="https://www.instagram.com" target="_blank"><i class="fab 5x fa-instagram"></i></a></li>
          <li><a href="https://www.facebook.com" target="_blank"><i class="fab 5x fa-facebook-f"></i></a></li>
          <li><a href="https://www.twitter.com" target="_blank"><i class="fab 5x fa-twitter"></i></a></li>
          <li><a href="https://www.pinterest.com" target="_blank"><i class="fab 5x fa-pinterest"></i></a></li>
        </ul>
    </div>
  </footer>

</body>
            
          
!
            
              @import url(https://fonts.googleapis.com/css?family=Roboto:100,100italic,300,300italic,400,400italic,500,500italic,700,700italic,900,900italic&subset=latin,latin-ext,cyrillic,cyrillic-ext,greek-ext,greek,vietnamese);
@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext,cyrillic-ext,cyrillic,greek-ext,greek,vietnamese);
@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700&subset=latin,latin-ext,greek-ext,greek,vietnamese,cyrillic,cyrillic-ext);

html {
  scroll-behavior: smooth;
}
body {
  margin: 0 auto;
  background-color: #eee;
  font-family: Roboto;
}





/* HEADER STYLING (Navbar) */

header {
  position: fixed;
  width: 100%;
}
#logo a, #logo a:active, #logo a:focus {
  text-decoration: none;
  color: black;
}
#nav-bar {
  display: flex;
  margin-top: 8px;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 5px;
}
#collapse {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
#logo {
  display: flex;
  align-items: center;
  font-size: 36px;
  font-family: Roboto;
  font-weight: 100; 
  height: 100%;
  margin-left: 50px;
}
@media screen and (max-width: 900px) {
  #logo {
    margin-left: 20px;
  }
}
#menu-icon {
  display: none;
}
#bar1, #bar2, #bar3 {
  height: 3px;
  width: 30px;
  margin 0px 0;
  transition: 0.4s;
  background: #222;
}
.change #bar1 {
  -webkit-transform: rotate(-45deg) translate(0, 12px);
  transform: rotate(-45deg) translate(0, 12px);
}
.change #bar2 {
  opacity: 0;
}
.change #bar3 {
  -webkit-transform: rotate(45deg) translate(0, -12px);
  transform: rotate(45deg) translate(0, -12px);
}
#nav-links {
  
}
#nav-links ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  margin-right: 50px;
  height: 100%;
}
#nav-links ul li {
  margin: 0 20px;
  font-size: 22px;
  font-family: Roboto;
  font-weight: 100; 
  height: 100%;
}
#nav-links a {
  color: black;
  padding: 0px 3px;
  position: relative;
  text-decoration: none;
}
#nav-links a::before {
  content: "";
  display: block;
  opacity: 0.5;
  position: absolute;
  top: 60%;
  width: 0%;
  height: 1px;
  background: black;
  transition: all ease-in-out 0.3s;
}
#nav-links a:hover::before {
  width: 100%;
}

@media screen and (max-width: 900px) {
  #header-img {
    margin-left: 30px;
    font-size: 40px;
  }
  #nav-links ul {
    margin-right: 5px;
  }
  #nav-links ul li {
    margin: auto 20px;
    font-size: 24px;
  }
}

@media screen and (max-width: 700px) {
  #nav-bar {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
  }
  #collapse {
    width: 100%;
  }
  #nav-links {
    position: absolute;
    top: 65px;
    background: white;
    width: 100%;
    -webkit-transition: opacity 300ms, visibility 300ms;
    transition: opacity 300ms, visibility 300ms;
  }
  #nav-links ul {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  #nav-links ul li {
    margin: 20px auto;
    font-size: 24px;
  }
  #menu-icon {
    display: flex;
    height: 21px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    margin-right: 30px;
  }
  .hide {
    visibility: hidden;
    opacity: 0;
  }
}
















/* TOP STYLING */
#top {
  background: white;
}
#top-img {
  background: url("https://images.pexels.com/photos/670061/pexels-photo-670061.jpeg?auto=compress&cs=tinysrgb&h=720&w=1377");
  background-size: cover;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#top-content {
  background: rgba(10, 10, 10, 0.8);
  height: auto;
  border-radius: 100px;
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#top-content h1 {
  font-size: 24px;
  font-weight: 100;
  text-align: center;
  font-family: "Roboto";
  color: #EEE;
}

@media screen and (max-width: 900px) {
  #top-content h1 {
    font-size: 24px;
  }
}

@media screen and (max-width: 700px) {
  #top-content {
    padding: 10px 13px;
  }
  #top-content h1 {
    font-size: 18px;
  }
}






/* ABOUT STYLING */
#about {
  background: white;
  display: flex;
  flex-direction: row;
  padding: 0;
  width: 100%;
  height: auto;
}
#about-img {
  background: url("https://images.pexels.com/photos/1051075/pexels-photo-1051075.jpeg?auto=compress&cs=tinysrgb&h=650&w=940");
  width: 50%;
  background-attachment: fixed;
}
#quote {
  display: none;
}
#about-content {
  background: white;
  padding: 90px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 50%;
}
#about-content p {
  font-size: 18px;
  font-family: "Roboto";
  text-align: justify;
  text-justify: inter-character;
  line-height: 26px;
  color: #111s;
  padding-bottom: 20px;
}
#about-content iframe {
  width: 500px;
  height: 315px;
}

@media screen and (max-width: 900px) {
  #about-content {
    width: 100%;
  }
  #about-content p {
    font-size: 16px;
  }
  #about-content iframe {
  width: 400px;
  height: 215px;
  }
}

@media screen and (max-width: 700px) {
  #about {
    flex-direction: column-reverse;
    width: 100%;
  }
  #about-img {
    width: 100%;
    height: 400px;
    display: flex;
  }
  #quote {
    align-self: center;
    display: block;
    padding: 10px;
    margin: auto;
    background: #1F1F1F;
    width: 80%;
    min-height: 60px;
  }
  #quote p {
    font-size: 16px;
    color: #EEE;
    text-align: center;
    font-family: Roboto;
    vertical-align: middle;
    line-height: 25px;
  }
  #about-content {
    box-sizing: border-box;
  }
  #about-content p {
    font-size: 16px;
  }
  #about-content iframe {
    width: 70%;
    height: 45vw;
  }
}





#services {
  background: url("https://images.pexels.com/photos/139321/pexels-photo-139321.jpeg?auto=compress&cs=tinysrgb&h=1080&w=1920");
  background-size: cover;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px;
}
#our-services {
  text-align: center;
  background: white;
  align-self: center;
  padding: 20px 60px;
  margin: 40px;
  margin-top: 70px;
  font-size: 28px;
  font-weight: bolder;
  font-family: Roboto;
}
.service {
  background: white;
  border-radius: 2px;
  font-family: Roboto;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  padding: 30px;
  margin: 10px;
  width: 70vw;
  height: auto;
  transition: all ease-in-out 0.2s;
}
#planning, #tools {
  align-self: flex-end;
}
.image {
  width: 45%;
  height: auto;
}
.image img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
}
.content {
  width: 45%;
  height: auto;
  box-sizing: border-box;
  padding: 20px;
}
  .content h2 {
    font-size: 30px;
  }

@media screen and (max-width: 900px) {
  #our-services {
    font-size: 26px;
  }
  .service {
    width: 80vw;
  }
  .content {
    width: 50%;
  }
  .content h2 {
    font-size: 24px;
  }
}

@media screen and (max-width: 700px) {
  #planning, #tools {
    align-self: center;
  }
  #services {
    align-items: center;
    padding: 10px;
  }
  #our-services {
    font-size: 22px;
    padding: 20px;
    width: 180px;
  }
  .service {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px 10px;
    width: 85vw;
  }
  .content {
    width: 100%;
  }
  .image {
    width: 90%;
  }
  .content h2 {
    font-size: 22px;
  }
}







#contact {
  background: url("https://images.pexels.com/photos/615060/pexels-photo-615060.jpeg?auto=compress&cs=tinysrgb&h=1080&w=1920");
  background-size: cover;
  background-attachment: fixed;
  height: 700px;
  display: flex;
  align-items: center;
  padding: 40px 10px;
}
#form-container {
  font-family: Roboto;
  padding: 30px 60px;
  width: 500px;
  height: auto;
  background: white;
  margin: 0 auto;
  border-radius: 5px;
}
#form-container h2 {
  text-align: center;
  font-weight: lighter;
  font-size: 24px;
}
.inputs {
  display: block;
  width: 80%;
  font-size: 16px;
  font-family: Roboto;
  padding: 7px 10px;
  margin: 50px auto;
  outline: none;
  border: none;
  border-bottom: 1px solid #222;
}
#submit {
  background: #222;
  color: #EEE;
  padding: 10px 20px;
  font-family: Roboto;
  display: block;
  margin-left: auto;
  margin-right: 10%;
  border: none;
  outline: none;
  cursor: pointer;
  transition: all ease-in-out 0.15s;
}
#submit:hover {
  transform: translate(0, -5px);
}
#form fieldset {
  border: none;
}
@media screen and (max-width: 900px) {
  #form-container {
    min-width: 70%;
  }
}
@media screen and (max-width: 700px) {
  #form-container {
    min-width: 90vw;
    box-sizing: border-box;
    padding: 30px;
  }
}






footer {
  padding: 40px 100px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  background: white;
}
footer ul {
  list-style: none;
  padding-left: 0;
}
footer ul li {
  margin: 10px 0;
}
.bottom-links, .social-media {
  width: 40%;
}
.bottom-links ul li a {
  color: #666;
  padding: 5px;
  text-decoration: none;
  transition: all ease-in-out 0.15s;
}
.bottom-links ul li a:hover, .bottom-links ul li a:focus, .bottom-links ul li a:active {
  color: black;
}
.social-media ul li {
  display: inline-block;
}
.social-media i {
  font-size: 1.8em;
  transition: all ease-in-out 0.3s;
}
.social-media i:hover {
  transform: translate(0, -5px)
}
.social-media ul li a {
  color: #222;
  padding: 5px;
  text-decoration: none;
  transition: all ease-in-out 0.3s;
}
@media screen and (max-width: 900px) {
  footer {
    padding: 40px 50px;
    flex-wrap: wrap;
  }
  .bottom-links p {
    font-size: 14px;
  }
}
@media screen and (max-width: 700px) {
  footer {
    padding: 40px 20px;
    flex-wrap: wrap;
  }
  .bottom-links, .social-media {
    font-size: 14px;
    min-width: 200px;
    margin: 20px auto;
  }
}
            
          
!
            
              function menuIcon(x) {
    x.classList.toggle("change");
    document.getElementById("nav-links").classList.toggle("hide");
  }
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console