Pen Settings

HTML

CSS

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

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class="page__wrapper">
  <nav class="nav">
    <div class="nav__inner">
      <ul class="nav__list">
        <li><a href="#">HOME</a></li>
        <li><a href="#">ABOUT</a></li>
        <li><a href="#">CONTACT</a></li>
        <li><a href="#">SERVICES</a></li>
        <li><a href="#">CAREERS</a></li>
      </ul>
      <span class="nav__burger"><i class="fa fa-bars"></i></span>
      <div class="nav__container--mobile">
        <ul class="nav__list--mobile">
          <li><a href="#">HOME</a></li>
          <li><a href="#">ABOUT</a></li>
          <li><a href="#">CONTACT</a></li>
          <li><a href="#">SERVICES</a></li>
          <li><a href="#">CAREERS</a></li>
        </ul>
      </div>
      <!--nav__container--mobile-->
    </div>
    <!--NAV_INNER-->
  </nav>
  <section class="hero">
    <div class="hero__inner">
      <div class="hero__inner--text">
        <h2>I AM SOME PLACE HOLDER TEXT TO ESTABLISH BRAND</h2>
        <h3>MORE INFORMATION ABOUT HOW OUR BUSINESS SUCCESS AT BUSINESSINGS</h3>
        <button class="button">
          Learn More <i class="fa fa-chevron-right"></i>
        </button>
      </div> <!-- HERO INNER TEXT -->
      <div class="hero__inner--image">
        <img src="https://i.ibb.co/jwcpxKk/heropic.png" />
      </div> <!-- hero__inner--image -->
    </div> <!-- HERO INNER -->
    <section>
      <!-- HERO -->
      <section class="content">
        <div class="content__inner">
          <h2 class="content__title">PAGE HEADER</h2>
          <p class="content__paragraph">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam id consequat
            ex,
            sed vulputate enim. Aliquam ac viverra ex. Nunc iaculis, libero sed vehicula sodales, justo mi aliquet
            turpis, a
            luctus lacus nisl convallis augue. Donec sed mauris ipsum. Ut blandit ligula quis massa dictum, et blandit
            velit
            euismod. Vivamus gravida, tellus vel tempor gravida, neque odio vestibulum neque, at dictum eros ligula ac
            augue. Fusce viverra volutpat nulla, ac feugiat sapien accumsan a. Pellentesque magna quam, gravida ac quam
            sed,
            ultricies consequat enim. Curabitur leo urna, laoreet vel tempor in, ornare quis velit. Proin dignissim
            magna id
            eros euismod, et tempus odio consequat. Praesent hendrerit finibus dui in elementum. Pellentesque sed lectus
            eget risus viverra auctor et vitae urna. Suspendisse egestas est a augue congue, et semper mi accumsan.
            Mauris
            semper metus vel justo tempor, vitae ullamcorper mi elementum.</p>

          <p class="content__paragraph">Proin eget rhoncus elit. Praesent auctor nisl sed sem dignissim, nec iaculis
            dolor
            maximus. Vivamus convallis, nulla id gravida congue, nunc risus fermentum nisl, eu finibus eros est ut
            lorem.
            Donec faucibus enim nec nunc euismod hendrerit. Phasellus vel augue ac est posuere fringilla. Praesent quis
            purus non risus fringilla posuere. In tristique justo non augue finibus, ac maximus enim varius. Donec
            accumsan
            dolor neque, vitae porta erat feugiat sed. Mauris ut nulla enim. Praesent vestibulum blandit justo vel
            convallis. Etiam id faucibus risus. Praesent pretium dui quis vestibulum sagittis. Pellentesque ut hendrerit
            ipsum. Mauris dictum, odio eget molestie accumsan, erat tellus mollis neque, eget euismod nisi urna at est.
          </p>
          <div class="content__image--wrapper">
            <img class="content__image" src="https://images.unsplash.com/photo-1516642898673-edd1ced08e87?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80" />
            <img class="content__image" src="https://images.unsplash.com/photo-1519405474421-f6a5fae2db20?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80" />
          </div> <!-- content__image--wrapper-->
          <p class="content__paragraph">Duis nulla nulla, venenatis vitae nulla vel, suscipit efficitur sapien. Ut
            sagittis
            massa eu tincidunt cursus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque non risus
            lacinia,
            maximus dui at, maximus neque. Donec ligula justo, viverra ut ultricies eget, suscipit et felis. Nam libero
            mi,
            efficitur vel interdum vel, mollis vel orci. Praesent fermentum suscipit justo mattis fermentum. Fusce
            tincidunt
            feugiat orci, vel volutpat urna viverra id. Class aptent taciti sociosqu ad litora torquent per conubia
            nostra,
            per inceptos himenaeos. Cras rutrum eu sapien euismod tincidunt. Proin cursus ultrices augue sit amet
            vestibulum. Pellentesque pellentesque nisl in tortor viverra, sit amet dapibus turpis pharetra. Nunc
            condimentum
            arcu sapien, eu laoreet diam tempor nec. Cras sit amet tincidunt nisi. Mauris tempus lacus quam, a laoreet
            nulla
            porttitor ac.</p>

        </div>
        <!--Content__inner-->
      </section><!-- Content -->

      <section class="cta">
        <div class='cta__inner'>
          <div class="cta__left">
            <h3 class="cta__title">OUR FLAVOURS</h3>

            <div class="cta__image">
              <img src="https://images.unsplash.com/photo-1563252781-2f76e089e889?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80" />
            </div>
            <!--IMAGE-->
          </div>
          <div class="cta__details">
            <div class="cta__description">
              ice cream, ice cream cakes, and a range of desserts. The location is in the first floor of the King Kong Building.
            </div>
            <div class="cta__button">
              <button class="button" name="ctabutton">Learn More</button>
            </div>
          </div>
          <!--PRODUCT DETAILS-->
        </div>
        <!--cta__inner-->

        <div class='cta__inner'>
          <div class="cta__left">

            <div class="cta__image">
              <img src="https://images.unsplash.com/photo-1560801619-01d71da0f70c?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80" />
            </div>
            <!--IMAGE-->
            <h3 class="cta__title">OUR TYPES</h3>
          </div>
          <div class="cta__details">
            <div class="cta__description">
              We sell Frozen Yogurt too! We have the best selection of handcrafted yogurt and cottage cheese in South Orange County.
            </div>
            <div class="cta__button">
              <button class="button" name="ctabutton">Learn More</button>
            </div>
          </div>
          <!--PRODUCT DETAILS-->
        </div>
        <!--cta__inner-->

        <div class='cta__inner'>
          <div class="cta__left">
            <div class="cta__image">
              <img src="https://images.unsplash.com/photo-1567206563064-6f60f40a2b57?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1934&q=80" />
            </div>
            <!--IMAGE-->
            <h3 class="cta__title">OUR SPECIALTIES</h3>
          </div>
          <!--CTA__LEFT -->
          <div class="cta__details">
            <div class="cta__description">
              See our variety of ice cream flavours to find a delicious delight to help quench you need.
            </div>
            <div class="cta__button">
              <button class="button" name="ctabutton">Learn More</button>
            </div>
          </div>
          <!--PRODUCT DETAILS-->
        </div>
        <!--cta__inner-->

      </section>
      <section class="contact">
        <div class="contact__inner">
          <div class="contact__inner--left">
            <h3 class="contact__title">Hours of Operation</h3>
            <p>Monday - Friday: 8 AM - 9PM</p>
            <p>Saturday: 8 AM - 6PM</p>
            <p>Sunday: <strong> CLOSED</strong></p><br />
            <h3 class="contact__title">Follow us</h3>
            <div class="contact__socials">
              <a href="https://www.facebook.com"><i class="fab fa-facebook"></i></a>
              <a href="https://www.twitter.com"><i class="fab fa-twitter"></i></a>
              <a href="https://www.instagram.com"><i class="fab fa-instagram"></i></a>
            </div>
            <!--CONTACT SOCIALS -->
            <h3 class="contact__title">Contact</h3>
            <a href="tel:">email@address.com</a><br />
            <a href="mailto">1 (800) 932-4678</a><br />
            <h3 class="contact__title">Areas Served</h3>
            <p>The Greater Kentucky area and all surrounding burroghs</p>
          </div><!-- L:EFT -->
          <div class="contact__inner--right">
            <div class="contact__form">
              <h2>CONTACT US</h2>
              <form action="">
                <p>Name</p>
                <input label="name" name="name">
                <p>Email</p>
                <input label="email" name="email">
                <p>Message</p>
                <textarea name="message" rows="10" cols="60" placeholder="The cat was playing in the garden."></textarea><br />
                <button class="button" label="submit">
                  Submit
              </form>
            </div><!-- RIGHT -->
          </div>
          <!--CONTACT INNER -->
      </section>

      <footer class="footer">
        <div class="footer__inner">
          <div class="footer__socials">
            <a id="fb" href="https://www.facebook.com"><i class="fab fa-facebook-square"></i></a>
            <a id="ig" href="https://www.instagram.com"><i class="fab fa-instagram-square"></i></a>
            <a id="tw" href="https://www.twitter.com"><i class="fab fa-twitter-square"></i></a>
            <a id="li" href="https://www.linkedin.com"><i class="fab fa-linkedin"></i></a>
            <a id="yt" href="https://www.youtube.com"><i class="fab fa-youtube-square"></i></a>
          </div>
          <!--FOOTER SOCIALS -->
          <div class="footer__navigation">
            <a href="#">About</a>
            <a href="#">Getting Started</a>
            <a href="#">Shop Now</a>
            <a href="#">Careers</a>
            <a href="#">Sitemap</a>
          </div><!-- FOOTER NAV -->

          <div class="footer__search">
            <input name="search" type="search" placeholder="...search"><button class="button"><i class="fa fa-search"></i></button>
          </div>
          <!--footer SEARCH -->
          <div class="footer__branding">
            <p>Copyright 2020 <i class="fa fa-copyright"></i> Design by <a href="https://www.millymazilla.com" target="_blank" rel="noopener noreferrer">Jordan W. Crosby</a>
          </div> <!-- FOOTER BRANDING -->
        </div>
        <!--FOOTER INNER -->
        <footer>
          <button onclick="scrollToTop()" class="toTop"><i class="fa fa-chevron-up" aria="hidden" aria-hidden="true"></i></button>
</div>
<!--- PAGE__WRAPPER -->
              
            
!

CSS

              
                // RESPONSIVE MIXIN START
$breakpoints: (
  'mobile'  : 375px,
  'mobile-lg' : 425px,
  'tablet'  : 768px,
  'laptop' : 1024px,
'laptop-lg'  : 1440px,
'desktop'  : 2000px,
'fourk'  : 2560px,
) !default;

// In `_mixins.scss`
@mixin bp($breakpoint) {
  @if map-has-key($breakpoints, $breakpoint) {
    @media (max-width: map-get($breakpoints, $breakpoint)) {
      @content;
    }
  }

  @else {
    @warn "Unfortunately, no value could be retrieved from `#{$breakpoint}`. "
        + "Please make sure it is defined in `$breakpoints` map.";
  }
}

//RESPONSIVE MIXIN END 
//=========================== //
//STYLE.SCSS START //

//SCSS VARIABLES //
//COLORS //
$primary: #8C73BF;
$primary__accent--light: #BC9AFF;
$primary__accent--dark: #5D4D80;
$secondary: #A8D2E6;
$secondary__accent--light: #BAE9FF;
$secondary__accent--dark: #8CAFBF;
$white: #fafafa;
$black: #3e3232;
$shadow: #624279;
$grad1: $primary__accent--light;
$grad2: $secondary__accent--light;
//BRAND COLORS //

$fb: #3b5998;
$ig: #c13584;
$tw: #1da1f2;
$yt: #ff0000;
$li: #0077b5;
  
  //FONTS //
    $font__main: 'Open Sans', sans-serif;
    $font__second: 'Nanum Gothic', sans-serif;
    $font__header: 'Fira Sans Condensed', sans-serif;

//QUALITY OF LIFE //
$center: translate(-50%, -50%);
$transition: 400ms ease all;
$flex: flex;
$row: row;
$col: column;
$even: space-evenly;


//STYLE START
//GLOBAL AND DEFAULTS //
*{padding: 0; margin: 0; box-sizing: border-box;}

h1{
font-size: 2.2rem;
font-family: $font__header;
}
h2{
font-size: 1.75rem;
font-family: $font__header;
}
h3{
font-size: 1.34rem;
font-family: $font__second;
}
h4,
h5,
h6{
font-family: $font__second;
}
.page__wrapper{
width: 100%;
background: linear-gradient(32deg, $primary__accent--light 0%, $secondary__accent--light 92%) !important;
  height: 100vh;
}


.cta__button{
 margin: auto;
}

.cta{
  max-width: 80%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  margin: auto;
}

.cta__inner{
  display: flex;
  align-items: center;
  flex-direction: row;
  box-shadow: 3px 4px 6px $secondary__accent--light;
  &:nth-child(even){
    flex-direction: row-reverse;
  }
}

.cta__title{
  color: $primary;
}
.cta__details{
flex-basis: 50%;
background-image: linear-gradient(120deg, $grad1, $grad2);
min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  text-align: center;

  &:nth-child(4){
background-image: linear-gradient(-120deg, $grad2, $grad1);
  }

}

.cta__left{
position: relative;
  flex-basis: 50%;
  width: 100%;

.cta__title{
  font-family: $font__main;
  position: absolute;
  z-index: 9999;
top: 50%;
  left: 50%;
  transform: $center;
  font-size: 2.45rem;
  color: $white;


}


.cta__image{
  flex-basis: 50%;
transition: $transition;
margin-bottom: -6px;
  img{
width: 100%;
    height: 600px;
    min-width: 600px;
  }

  &:before{
    content: '';
      height: 101%;
    width: 100%;
    background-image: linear-gradient(120deg, $grad1, $grad2);
    position: absolute;
    opacity: 0.6;
  }
  
}

}


.cta__description{
font-size: 2.34rem;
 color: $white;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
margin: auto;
}

//MOBILE RESPONSIVENESS

@include bp(laptop){
.cta{
max-width: calc(100%);
flex-wrap: nowrap;
  }
  .cta__inner{
flex-direction: column;

  &:nth-child(even){
    flex-direction: column;
  }

    .cta__image{
      img{
height: auto;
min-width: auto;
width: 100%;
}
}
}
}
//CONTENT SECTION

.content{
  display: $flex;
  flex-direction: $col;
justify-content: $even;
background: transparent;
 width: 100%;
position: relative;
}

.content__inner{
  display: $flex;
  flex-direction: $col;
justify-content: $even;
 background: $white;
  padding: 2rem;
 min-height: 1000px;
box-shadow: 2px 4px 16px $shadow;
max-width: calc(100% - 211px);
margin: 2rem auto;
  position: relative;
border-radius-top: 10px 10px;

&:before {
    content: '';
    width: 100%;
    height: 20px;
    position: absolute;
     background: linear-gradient(32deg, $primary__accent--light 13%, $secondary__accent--light 92%);
    top: 0;
  left: 0;
border-radius-top: 10px 10px;
}
}

.content__title{
  font-size: 3rem;
  text-align: left;
 letter-spacing: 1.25px;
  color: $primary;
  padding: 15px 0 10px;

}


.content__paragraph{
  font-size: 1.4rem;
   margin: 1rem;
letter-spacing: 1px;
}

.content__image--wrapper{
    display: flex;
  flex-direction:row;
width: 100%

}

.content__image{
  width: 400px;
  height: auto;
   margin: auto;
transition: $transition;
transform: scale(1);
padding: 1rem;
  
  &:hover{
    transform: scale(1.01);
  }
}

@include bp(laptop){
  .content__image{
width: 100%;
}

.content__image--wrapper{
  flex-direction:$col;
}
  
  .content__title{
    padding: 20px 0 10px;
  }
  
  .content__paragraph{
    font-size: 1.2rem;
    letter-spacing: 1px;
  }
}

@include bp(tablet){
  .content__inner{
max-width: calc(100% - 50px);;
padding: 1rem;
margin: 0 auto;
}
  .content__image{
width: 100%;
}
}

.hero{
width: 100%;
box-shadow: 2px 4px 16px $shadow;
background: linear-gradient(32deg, $primary__accent--light 0%, $secondary__accent--light 92%) !important;
}


.hero__inner{
  display: $flex;
  flex-direction: $row;
  justify-content: $even;
margin: auto;
align-items: center;
background-image: url('https://i.ibb.co/xgHxFZN/bgeffect.png');
background-size: cover;
  padding: 6rem;
z-index: 9;



}

.hero__inner--text{
  color: $primary__accent--dark;

  
  h2{
font-size: 3rem;
padding-bottom: 20px;
}
  h3{
  font-size: 1.5rem;
padding-bottom: 20px;
  }
}


.button{
 font-family: $font__main;
  color: $white; 
  background: linear-gradient(18deg, $primary 12%, $secondary 98%);
  font-size: 1.23rem;
text-transform: capitalize;
padding: 15px;
font-weight: 800;
transition: $transition;
transform: scale(1);


    &:hover{
  box-shadow: 2px 2px 8px $black;
  transform: scale(1.02);
  }
}

//REPOSNSIVENESS

@include bp(laptop){
.hero__inner{
flex-direction: column-reverse;
align-items: center;
  padding: 2rem;
  img {
max-width: 100%;
}
  }

.hero__inner--text{
height: auto;
text-align: center;
  }
}

//CONTACT SECTION

.contact{
width: 100%;
  background: transparent;
  
}

.contact__inner{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
align-items: center;

}

.contact__inner--left{
  flex-basis: 50%;
  background: transparent;
align-items: center;
display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: justified;

  h3{
    color: $black;
     font-size: 2rem;
      padding: 1rem;
  }
  p{
    font-size: 1.45rem;
    font-family: $font__second;
    color: $white;
        margin: 0 20px;
    text-align: center;
  }
  a{
     font-size: 2rem;
    color: $white;
    transition: $transition;
    text-decoration: none;
    font-weight: 700;
    &:hover{
      color: $primary__accent--dark;
    }
  }
}


.button{
 font-family: $font__main;
  color: $white; 
  background: linear-gradient(18deg, $primary 12%, $secondary 98%);
  font-size: 1.23rem;
text-transform: capitalize;
padding: 15px;
font-weight: 800;
transition: $transition;
transform: scale(1);


    &:hover{
  box-shadow: 2px 2px 8px $shadow;
  transform: scale(1.02);
  }
}


.contact__inner--right{
  flex-basis: 50%;
  background: $primary;
padding: 4rem;
align-items: center;
display: flex;
  justify-content: center;
  height: auto;
  width: 100%;
}

.contact__form{
 font-family: $font__main;
  color: $white;
  text-align: justified;
  
  h3{
    font-size: 2rem;
  }

   p{
font-size: 1.55rem;
}
  
  input{
    font-size: 1.34rem;
    background: $white;
    border: none;
    border-radius: 11px;
    padding: 10px;
  }
  textarea{
    @extend input;
    width: 100%;
  }
}
.contact__socials{
  a{
font-size: 3rem;
    padding: 0 5px;
  }
}

//MOBILE RESPONSIVENESS //

@include bp(tablet){
  .contact__inner{
    flex-direction: column;
  }
  .contact__inner--right{
    text-align: center;
    max-width: 100%;
  
  }

  .contact__inner--left{
    padding-bottom: 15px;
    padding-top: 1rem;

    h3{
      font-size: 1.8rem;
    }

    p{
      font-size: 1.4rem;
      text-align: center;
    }
    a{
      font-size: 1.4rem;
    }
  }
}


.footer{
  background: $primary;
  height: 500px;
  padding: 4rem
}

.footer__inner{
display: flex;
  flex-direction: column;
justify-content: space-evenly;
  height: 100%;
  align-items: center;
}

.footer__socials{
  a{
    text-decoration: none;
padding: 10px;
font-size: 4rem;
   transition: $transition;


  }
  #fb{
    color: $fb;
    &:hover{
      color: $primary__accent--light;
    }
  }
#ig{
    color: $ig;
    &:hover{
      color: $primary__accent--light;
    }
  }
#tw{
    color: $tw;
    &:hover{
      color: $primary__accent--light;
    }
  }
#li{
    color: $li;
    &:hover{
      color: $primary__accent--light;
    }
  }
#yt{
    color: $yt;
    &:hover{
      color: $primary__accent--light;
    }
  }

}

.footer__navigation{
  @extend .footer__socials;
  
  a{
    font-size: 2rem;
    color: $primary__accent--light;
transition: $transition;

    &:hover{
      color: $secondary;
    }
  }
}

.footer__branding{
  font-size: 1.44rem;
  color: $primary__accent--light;
  text-align: center;
  padding: 1rem;
}

.footer__search{
  input{
    font-size: 1.34rem;
    background: $primary__accent--light;
    border: none;
    color: $white;
    padding: 1rem 10px;

  }
  .button{
     font-family: $font__main;
  color: $white; 
  background: linear-gradient(18deg, $primary 12%, $secondary 98%);
  font-size: 1.23rem;
text-transform: capitalize;
padding: 15px;
font-weight: 800;
transition: $transition;
transform: scale(1);
    border: none;
    
      &:hover{
box-shadow: 2px 2px 8px $shadow;
transform: scale(1.02);
}
  }

}

//MOBILE REPONSIVENESS

@include bp(mobile-lg){
  .footer__socials{
    a{
    font-size: 2rem;
}
  }
  .footer__inner{
    text-align: center;
  }
}

@include bp(tablet){
    .footer__navigation{
    display: flex;
    flex-direction: column;
  }
  .footer{
    padding: 0;
  }
}


.nav{
width: 100%;
}

.nav__inner{
  background: transparent;
 position: absolute;
}
.nav__list{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  padding: 20px;
  li{
    list-style: none;
    transition: $transition;
    transform: scale(1);
    &:hover{
      transform: scale(1.05);
  }
  }
  a{
    text-decoration: none;
    color: $primary;
    padding: 15px;
font-size: 1.34rem;
font-family: $font__second;

    transition: $transition;

    &:hover{

      color: $secondary__accent--dark;

    }
  }
}

//MOBILE NAV //

.nav__burger{
  display: none;
  text-align: center;
  color: $primary__accent--dark;
  font-size: 1.74rem;
  transition: $transition;
  &:focus{
    color: $black;
  }
    &:hover{
    color: $black;
  }
}

.nav__container--mobile{
  visibility: hidden;
  opacity: 0;
  max-height: 0;
  width: 100%;
  background: linear-gradient(42deg, $secondary 0%, $secondary__accent--dark 85%) !important;
  box-shadow: 3px 4px 6px $shadow;
position: absolute;
}

.nav__list--mobile{
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  font-family: $font__second;

  li{
    list-style:none;
padding: 20px;
  }
  a{
    color: $primary__accent--dark;
     text-decoration: none;
    font-size: 1.44rem;
    transition: $transition;
    
    &:hover{
      color: $primary;
    }
  }
}
.nav__expanded{
  max-height: 0vh;
    transition: 400ms ease-in max-height;
}
//MOBILE RESPONSIVENESS //

@include bp(tablet){

  .nav__inner{
    position: initial;
  }
  .nav__list{
    display: none;
  }
  .nav__burger{
    display: block;
    padding: 20px;
  }

  .nav__list--mobile{
    transition: 500ms ease-in max-height;
     
  }
  .nav__expanded{
    max-height: 45vh !important;
    opacity: 1 !important;
    visibility: visible !important;
     transition: 300ms ease opacity;
    
  }

}

.toTop{   
 position: fixed;
    bottom: 0;
    right: 0;
    background: rgba(200, 200, 200, 0.4);
    color: white;
    border-radius: 9px;
    padding: 1.23rem;
    margin: 2em;
    border: none;
    -webkit-transition: 400ms ease all;
    transition: 400ms ease all;
  z-index: 9999999;
  transition: $transition;
  &:hover{
    background: rgba($primary__accent--light , 0.5);
  }
}

.content,
.contact,
.products{
  padding: 4rem 0;
}

.contact{
  padding-bottom: 0;
}

footer{
padding: 0;
}
              
            
!

JS

              
                navExpand = () => {
  let Burger = document.querySelector(".nav__burger");
  let mobileNav = document.querySelector(".nav__container--mobile");

  Burger.addEventListener("click", () => {
    mobileNav.classList.toggle("nav__expanded");
  });
};

navExpand();

const scrollToTop = () => {
  const c = document.documentElement.scrollTop || document.body.scrollTop;
  if (c > 0) {
    window.requestAnimationFrame(scrollToTop);
    window.scrollTo(0, c - c / 8);
  }
};
scrollToTop();

              
            
!
999px

Console