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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                <!-- import external fonts -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Chewy&family=Patrick+Hand&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="css/style.css">

<!-- import font awesome icons -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    
    <script src = "scripts/function.js" defer></script>

<!-- Import External minting dApp -->
    <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js"></script>
    <script src="/build/main.js"></script>


    <div class="container">

<!-- Page Navigation -->

      
<div class="mainnav" id="myMain">


          <a href="" class="active"><img id="lslogo" src="https://www.lazysloth.art//NFT-Site/img/logo_lazy_sloth.png" alt="Lazy Sloth TREEHOUSE ( our Discord )"></a>
          
          <a href="#rarity">RARITY</a>
          <a href="#roadmap">ROADMAP</a>
          <a id="mintbt"  href="#mint">MINT</a>
          <a href="#faq">FAQ</a>
          <a id="streetwearbt" href="https://www.lazysloth.art/shop/" target="_blank" >SHOP STREETWEAR</a>
          <a href="javascript:void(0);" class="icon" onclick="myMenu()">
            <i class="fa fa-bars"></i>
          </a>
        
      </div>

<!-- Banner image with option for C2A -->
      <div class="banner">
        <img id="top" src="https://www.lazysloth.art/NFT-Site/img/treehouse_low.png" alt="Lazy Sloth TREEHOUSE ( our Discord )">
      </div>

<!-- Main text for oboarding people -->
      <div class="main">
          <h1 id="lazy_sloth">LAZY SLOTH</h1>
          <p>The LAZY SLOTH NFT collection consists of 3333 NFTs. Lasy Sloth
            artworks are stored as ERC-721 tokens on the Polygon blockchain
            because both the environmental impact and the gas fees are much lower.</p>

          <p>We drew 128 different traits that can populate different layers
            using smart algorithms to generate the final piece of digital art.
            Together the 3333 Sloths form a family,
            and we use the hashtag #slothfam in all of our socials.</p>

          <p>Lazy Sloths are cool animals that love hanging around the Treehouse.
            Here they drink cocktails, talk about the Web3 space
            and talk about their business. Sloth are entrepreneurs and together
            they own a streetwear label. The revenue of this label is partly divided
            among the Sloths.
            In some sort of way you could say they own a family business.</p>
      </div>

<!-- Rarity section with gif on the left and traits on the right -->
            <div class="rarity">
              <div class="left">
                <img class="ls_gif" src="https://www.lazysloth.art/NFT-Site/img/rarity_lazysloth.gif" alt="Display the NFT, gif image">
                <div class="counter">
                  <div>
                    <h3 data-target="3333" class="count">3333</h3>
                    <p>LAZY SLOTH NFTs</p>
                  </div>
                  <div>
                    <h3 data-target="128" class="count">128</h3>
                    <p>POSSIBLE TRAITS</p>
                 </div>
                </div>
              </div>

              <div class ="right"><!-- Need to set the right values -->
                <h1 id="rarity">RARITY</h1>
                <table>
                  <tr>
                    <td><h4>24</h4></td>
                    <td><p>BACKGROUNDS</p></td>
                  </tr>
                  <tr>
                    <td><h4>20</h4></td>
                    <td><p>CLOTHES</p></td>
                  </tr>
                  <tr>
                    <td><h4>20</h4></td>
                    <td><p>FACE</p></td>
                  </tr>
                  <tr>
                    <td><h4>20</h4></td>
                    <td><p>EYES</p></td>
                  </tr>
                  <tr>
                    <td><h4>20</h4></td>
                    <td><p>MOUTH</p></td>
                  </tr>
                  <tr>
                    <td><h4>20</h4></td>
                    <td><p>SUNGLASES</p></td>
                  </tr>
                  <tr>
                    <td><h4>20</h4></td>
                    <td><p>HEADWEAR</p></td>
                  </tr>
                </table>

              </div>
           </div>

<!-- Mint Area. Pricing and mint buttons, later on connect to Open Sea -->
          <div class="mintarea">
                   <h1 id="mint">GET YOUR LAZY SLOTH NFTs</h1>

                   <div class="mintwrapper">
                      <main>
                        <!-- code of the minting-dapp gets inistalled using yarn -->
                    
                        <div id="minting-dapp"></div>
                      </main>
                   </div>
        
          </div>

<!-- Roadmap section. How the development of the project 'maps out' -->
            <div class="roadmap">
                <h1 id="roadmap">ROADMAP</h1>

                <div class="rmcontainer">
                <div class="step completed">
                <div class="v-stepper">
                  <div class="circle"></div>
                  <div class="line"></div>
                </div>

                    <div class="content">
                      <h3>Phase 1 Genesis</h3>
                      <ul>
                        <li class="done">Launch the LAZY SLOTH website</li>
                        <li class="done">Launche the TREEHOUSE Discord</li>
                        <li class="done">Upload files to IPFS</li>
                        <li>Write Samrt Contract</li>
                        <li>Build community #slothfam</li>
                        <li>Mint 1000 LAZY Sloth NFTS (0.02 - 0.04 ETH)</li>
                      </ul>
                    </div>
                </div>


                <div class="step active">
                <div class="v-stepper">
                <div class="circle"></div>
                <div class="line"></div>
                </div>

                    <div class="content">
                      <h3>Phase 2 Streetwear (Utility)</h3>
                      <ul>
                        <li>Launch the Streetwearbrand ( genesis 10 items )</li>
                        <li>Promotion on social</li>
                        <li>Setup collabs with artists and designers</li>
                        <li>Streetwear giveaway</li>
                        <li>1.5 ETH lottery</li>
                        <li>Mint 1000 NFTS</li>
                      </ul>
                    </div>
                </div>


                <div class="step">
                <div class="v-stepper">
                  <div class="circle"></div>
                  <div class="line"></div>
                </div>

                  <div class="content">
                      <h3>Phase 3 Consolidation</h3>
                      <ul>
                        <li>Launch new streetwear</li>
                        <li>More promotion this time of the streetwear</li>
                        <li>Setup collabs with artists and designers</li>
                        <li>Streetwear giveaway</li>
                        <li>1.5 ETH lottery</li>
                        <li>Mint 1000 NFTS</li>
                      </ul>
                    </div>
                </div>


                <div class="step">
                <div class="v-stepper">
                  <div class="circle"></div>
                  <div class="line"></div>
                </div>

                    <div class="content">
                      <h3>Phase 4 DAO</h3>
                      <ul>
                        <li>NFT drops</li>
                        <li>Streetwear give aways</li>
                        <li>More promotion this time of the streetwear</li>
                        <li>Launch the DAO</li>
                      </ul>
                    </div>
                </div>

                </div>
          </div>



<!-- FAQ section. Toggle boxes with questions regarding the project -->
            <div class="faq">

                    <h1 id="faq"> FAQ's</h1>

                    <details>
                        <summary><h2>What are LAZY SLOTH NFTs?</h2></summary>
                        <h2>
                          A LAZY SLOTH NFT is a digital artwork you can collect. <br/>
                          LS-NFTS can be staked to vote and to receive a royalties from the LAZY-fund.
                        </h2>
                    </details>

                    <details>
                        <summary><h2>What is the LAZY-fund?</h2></summary>
                        <h2>
                          The LAZY-funds is a wallet in controle by the DAO. Funds go when a LS-NFT changes hand or whenever a piece of streetwear is soled.
                          There is also the TREEHOUSE-funds. The DAO uses these funds to help sustainability projects.
                        </h2>

                    </details>

                    <details>
                        <summary><h2>Are LAZY SLOTH NFTs a good investment?</h2></summary>
                        <h2>
                          A lot of NFT projects slowly fade out after the secundairy market,
                          mainly becasue there is no resaon to own it other than the artwork itself.
                          LAZY SLOTH NFTs gives you ownership of a streetwear-label. Long after the minting we will design,
                          marker and sell streetwear. We believe this will continue to fuel demand for the NFT.
                        </h2>
                    </details>

                    <details>
                        <summary><h2>Where are the LAZY SLOTH NFT's stored?</h2></summary>
                            <h2>
                              LAZY SLOTH digital artwork is stored on the IPFS.
                            </h2>
                    </details>

                    <details>
                        <summary><h2>How much is the value of a LAZY SLOTH NFT?</h2></summary>
                        <h2>
                          The floorprice on mint is 1 0.04ETH for 1 Lazy Sloth NFT
                        </h2>
                    </details>

                    <details>
                        <summary><h2>What are the project Utilities?</h2></summary>
                        <h2>
                          1. Staking to receive royalies on streetwear, secundary market and minting.
                          2. Voting on the furthering of the project.
                          3. Burn-2-Print (trade digital art for real life art)
                          4. Early access to Streetwear.
                        </h2>
                    </details>

                    <details>
                        <summary><h2>I want a LAZY SLOTH, how do I get one?</h2></summary>
                        <h2>
                          LAZY SLOTHs can be minted in a single, duo and pack of vife.
                          The more you mint the more value for money you receive.
                          After the minting LAZY SLOTHs will be
                          available on the secundary market like Open Sea.
                         </h2>
                    </details>
              </div>

<!-- Some example NFTs -->
              <div class="sloths">
                <div class="sloth-wrapper">
                  <div class="nft">
                    <img src="https://www.lazysloth.art/NFT-Site/img/31.png">
                    <h5>#0031</h5>
                  </div>
                  <div class="nft">
                    <img src="https://www.lazysloth.art/NFT-Site/img/9.png">
                    <h5>#0009</h5>
                  </div>
                  <div class="nft">
                    <img src="https://www.lazysloth.art/NFT-Site/img/83.png">
                    <h5>#0083</h5>
                  </div>
                </div>

              </div>

<!-- Join the community. CTA and maybe a email subscription form or the Discord link -->
                      <div class="community">
                        <h1>Are you ready to become a brandowner?</h1>
                        <p>Own your own streetwear-label, together with 3333 other sloths.
                        We do all of the hard work (designing, marketing, selling. All you have to do is stake you're NFTs and profit form this cool opertunity.</p>
                        <div class="button">
                          <a href="https://discord.gg/YjBNPjFQkB">JOIN OUR DISCORD</a>
                        </div>
                        </div>

<!-- Footer section. Links to our social platforms -->
                      <div class="foot">
                       <h1>FIND US ON:</h1>
                       <p>Only use links provided on this website and always validate the smart contract !</p>
                        <div class="footwrapper">
                        <a href="https://opensea.io/collection/lazyslothart"><img src="https://www.lazysloth.art/NFT-Site/img/opensea.webp" alt="Open Sea Link"></a>
                        <a href="https://nftcalendar.io/event/nft-give-away/"><img src="https://www.lazysloth.art/NFT-Site/img/nftcalendar.webp" alt="NFT Calendar Link"></a>
                        <a href="https://twitter.com/lazysloth_art_"><img src="https://www.lazysloth.art/NFT-Site/img/twitter.png" alt="Twitter Link"></a>
                        <a href="https://www.instagram.com/lazysloth_art_/"><img src="https://www.lazysloth.art/NFT-Site/img/instagram.png" alt="Instagram  Link"></a>
                        </div>
                        <div class="footnote">
                          <p>2022 Lazy Sloth . Art</p>
                        </div>
                      </div>




    </div>

 



  


              
            
!

CSS

              
                /* 
Global site setting
*/
*{
  margin: 0;
  padding: 0;
  font-family: 'Patrick Hand', cursive;
  /* 
  fontsize 
  */

  color: #1E3F20;
}

body {
  background-color: #96CB5E;
}

.container {
  width: 100%;
  min-height:100vh;
  box-sizing: border-box;
  overflow: hidden;
}

h1 {
  display: block;
  font-family: 'Chewy', cursive;
  font-size: 5em;
  margin: 20px;
  font-weight: bold;
  color: #1E3F20;
  text-align: center;
}

h3 {
  display: block;
  font-family: 'Chewy', cursive;
  font-size: 2em;
  margin: 20px;
  font-weight: bold;
  color: #1E3F20;
  text-align: center;
}

h5 {
  display: block;
  font-family: 'Chewy', cursive;
  font-size: 2em;
  margin: 20px;
  font-weight: bold;
  color: #1E3F20;
  text-align: center;
}

P {
  font-family: 'Patrick Hand', cursive;
  text-align: center;
  font-size: 1.3em;
  margin: 20px;
  color: #1E3F20;
}

A {
  font-family: 'Chewy', cursive;
  font-size: 1.2em;
  font-weight: bold;
  letter-spacing: 1px;
  color: #1E3F20;
  text-decoration: none;
}


/* 
Navigation 
*/
/* Add a black background color to the top navigation */
.mainnav {
  background-color: #FF9F1C;
  overflow: hidden;
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 100%;
}

/* Style the links inside the navigation bar */
.mainnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 2em;
}

#lslogo {
  height: 52px;
}

/* Change the color of links on hover */
.mainnav a:hover {
  background-color: #96CB5E;
  color: black;
}

/* Add an active class to highlight the current page */
.mainnav a.active {
  background-color: #96CB5E;
  color: white;
}

#streetwearbt {
  border: dashed #0094C6 5px;
  border-radius: 8px;
  padding-left: 50px;
  padding-right:50px;
}

/* Hide the link that should open and close the topnav on small screens */
.mainnav .icon {
  display: none;
}


/* 
Mobile menu -- use java to show
*/
@media screen and (max-width: 600px) {
  .mainnav a:not(:first-child) {display: none;}
  .mainnav a.icon {
    float: right;
    display: block;
  }

  .mainnav.responsive {position: relative;}
  .mainnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .mainnav.responsive a {
    float: none;
    display: block;
    text-align: left;
    
  }
}

/* 
Banner section of the page. This is the banner image and the CTA
that can be on top of it 
*/


.banner img {
  width: 100%;
}

.banner_text {
  text-align: center;
  color: white;
  font-size: 40px;


}

/* 
Main section of the page. Mostly text about the project 
*/
.main, .roadmap, .faq  {
  padding: 30px 30px;
  background-color: #96CB5E;
}

/* 
Rarity section of the page. Here we set how the left and righ boxes behave.
Also the styling of the content in it 
*/
.rarity {
  display: flex;

}

.rarity img {
  width: 100%;
  border-radius: 15px;
}

.counter {
  display: flex;
  margin-top: 30px;
}

.rarity h3 {
  text-align: center;
  font-family: 'Chewy', cursive;
  font-size: 5em;
  font-weight: bold;
  color: #FF9F1C;

}

.rarity h4 {
  text-align: center;
  font-family: 'Chewy', cursive;
  font-size: 2.5em;
  margin: 5px 40;
  font-weight: bold;
  color: #FF9F1C;
}

.rarity P {
  font-family: 'Patrick Hand', cursive;
  font-size: 1.5em;
  margin: 10px;
  font-weight: bold;
  color: #829399;
  text-align: right;
}

.left, .right {
  flex: 1;
  align-items: center;
  padding: 5%;
  background-color: #757780;
}

.right table {
  width: 100%;
}

.right table tr:hover {
  background-color: #ddd;
}

/* 
MintArea 
*/
.mintarea {
 padding: 30px 30px;
 background-color: #829399;
 }

.mintwrapper {
  margin-top: 30px;
  padding-left: 5%;
  padding-right: 5%;
  align-items: center;
}

#minting-dapp {
  width: 100%;
  border-style: dashed;
  border-color: #FF9F1C;
  border-width: thick;
  padding: 10px 5px;
  

}


button {
  background-color: #FF9F1C;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

input[type=text] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
}


/* 
RoadmapArea 
*/
.roadmap ul {
  list-style: none;
  font-family: 'Patrick Hand', cursive;
  text-align: left;
  font-size: 1.6em;
  margin-left: 40px;
  color: #1E3F20;
}

.done {
  text-decoration: line-through;
  text-decoration-color: #FF9F1C;
  text-decoration-style: wavy;
}

.content {
  margin-left: 30px;
  padding-top:20px;
  padding-bottom: 20px;
  width: 100%;
  display: inline-block;
  background-color: #829399;
}

.step {
  padding: 10px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  background-color: cream;
}

.v-stepper {
  position: relative;
}

.step .circle {
  background-color: transparent;
  border: 5px solid gray;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  display: inline-block;

}

.step .line {
    top: 49px;
    left: 22px;
    height: 92%;
    position: absolute;
    border-left: 5px solid gray;
}

.step.completed .circle {
  visibility: visible;
  background-color: #829399;
  border-color: #FF9F1C;
}

.step.completed .line {
  border-left: 5px solid #FF9F1C;
}

.step.active .circle {
  background-color: transparent;
  visibility: visible;
  border-color: #FF9F1C;
}

.step.empty .circle {
  visibility: hidden;
}

.step.empty .line {
  top: 0;
  height: 150%;
}

.step:last-child .line {
  border-left: 5px solid white;
  z-index: -1;
}

/* 
FAQ Section 
*/

.faq {
  padding: 30px 0;
}

details h2 {
  text-align:center;
  padding: 50px 20px;
}

details {
    padding: .2em .2em 0;
    margin-bottom: 50px;
}

summary {
    font-weight: bold;
    margin: -.5em -.5em 0;
    padding: .5em;
    background-color: #829399;
}

details[open] {
    padding: .5em;
    background-color: #FF9F1C;
}

details[open] summary {
    margin-bottom: .5em;

}

/* 
Here are some NFT examples
*/
.sloth-wrapper {
  justify-content: space-around;
  text-align: center;
  padding: 20px 0px;
  display: flex;
}

.nft img {
  width: 250px;

  border-radius: 50%;
  border: 10px solid #1E3F20;
}



/* 
FooterArea 
*/
.community {
  background-color: #757780;
  padding: 30px 10px;
}

.community h1 {
  color: #FF9F1C;
}
  .button {
    background-color: #FF9F1C;
    Margin: 5% 20%;
    padding: 20px 50px;
    color: white;
    border-radius: 10px;
    text-align: center;
  }

  .button:hover {
    transform: translateY(-3px);
     box-shadow: 0 10px 20px rgba(0, 0, 0,);
  }
  .foot  {
      width: 100%;
      padding: 30px 30px;
      background-color: #96CB5E;
  }
  .footwrapper {
    display: flex;
    padding-left: 30%;
    padding-right: 30%;
    margin-top: 40px;
    justify-content: space-between;
    align-items: center;
  }

    .foot img {
      width: 50px;
      height: 50px;
    }

    .footnote {
      margin-top: 30px;
      margin-bottom: 30px;
    }

/* Mobile */
@media screen and (max-width: 600px) {
  .mintwrapper {
    flex-direction: column;
    row-gap: 2rem;
    }
  .box {
    width: 100%;
  }
  /* Rarity section */
  .rarity {
    flex-direction: column;
  }
  /* Sloth */
  .sloth-wrapper {
    flex-direction: column;
    row-gap: 2rem;
    align-items: center;
  }
  #ls_logo {
    display: none;
  }
}



/* Mobile Menu*/


/* 
    Stying of the mint dApp
    Styling of the container in the regular page scetion (MintArea)
*/
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/





textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input:-ms-input-placeholder, textarea:-ms-input-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/*
Ensure the default browser behavior of the `hidden` attribute.
*/

[hidden] {
  display: none;
}

*, ::before, ::after {
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}



strong {
  font-weight: 600;
}

main {
  display: flex;
  flex-direction: column;
}

span.emoji {
  font-size: 1.5rem;
  line-height: 2rem;
}

.error {
  display: flex;
  flex-direction: column;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 1.2rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity));
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(254 202 202 / var(--tw-border-opacity));
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.error::before {
  content: "Error";
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5rem;
}
.error button {
  display: inline-block;
  margin-top: 0.75rem;
  margin-left: auto;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(239 68 68 / var(--tw-bg-opacity));
  --tw-border-opacity: 1;
  border-color: rgb(239 68 68 / var(--tw-border-opacity));
}
.error button:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity));
  --tw-border-opacity: 1;
  border-color: rgb(220 38 38 / var(--tw-border-opacity));
}

button {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity));
  --tw-bg-opacity: 1;
  background-color: #FF9F1C / var(--tw-bg-opacity);
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity));
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
button:hover {
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(241 245 249 / var(--tw-bg-opacity));
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity));
}
button.primary {
  --tw-text-opacity: 1;
  color: #fff / var(--tw-text-opacity);
  --tw-bg-opacity: 1;
  background-color: #FF9F1C;
  --tw-border-opacity: 1;
  border-color: rgb(99 102 241 / var(--tw-border-opacity));
}
button.primary:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  --tw-bg-opacity: 1;
  background-color: #96CB5E;
  --tw-border-opacity: 1;
  border-color: rgb(79 70 229 / var(--tw-border-opacity));
}
button.primary:disabled {
  opacity: 0.3;
}
button.primary:disabled:hover {
  cursor: not-allowed;
}

input[type=text] {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 9999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(79 70 229 / var(--tw-text-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity));
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  outline: 2px solid transparent;
  outline-offset: 2px;
}
input[type=text]:focus {
  --tw-text-opacity: 1;
  color: rgb(79 70 229 / var(--tw-text-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity));
  --tw-border-opacity: 1;
  border-color: rgb(165 180 252 / var(--tw-border-opacity));
}
input[type=text]:disabled {
  opacity: 0.5;
}
input[type=text]:disabled:hover {
  cursor: not-allowed;
}

label {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  margin-left: 0.25rem;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(79 70 229 / var(--tw-text-opacity));
}

#minting-dapp {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5rem;
  width: 100%;
  max-width: 70rem;
}
#minting-dapp .no-wallet {
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-radius: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
#minting-dapp .no-wallet .use-block-explorer:not(:first-child) {
  margin-top: 0.75rem;
}
#minting-dapp .no-wallet .use-block-explorer:not(:first-child)::before {
  content: "";
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  width: 3rem;
  border-top-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity));
}
#minting-dapp .no-wallet .merkle-proof-manual-address {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}
#minting-dapp .no-wallet .merkle-proof-manual-address h2 {
  font-weight: 600;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.75rem;
  --tw-text-opacity: 1;
  color: rgb(79 70 229 / var(--tw-text-opacity));
}
#minting-dapp .no-wallet .merkle-proof-manual-address p {
  margin-top: 0.75rem;
}
#minting-dapp .no-wallet .merkle-proof-manual-address .feedback-message {
  border-radius: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem;
  font-size: 1.2rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(224 231 255 / var(--tw-bg-opacity));
}
#minting-dapp .no-wallet .merkle-proof-manual-address input {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}
#minting-dapp .no-wallet .merkle-proof-manual-address button {
  border-bottom-right-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-top-width: 0px;
}
#minting-dapp .collection-not-ready {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-radius: 0.5rem;
  font-size: 1.2rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
#minting-dapp .collection-not-ready .spinner {
  display: inline;
  margin-left: -0.25rem;
  margin-right: 0.75rem;
  height: 2rem;
  width: 2rem;
  --tw-text-opacity: 1;
  color: rgb(99 102 241 / var(--tw-text-opacity));
}
@-webkit-keyframes spin {

  to {
    transform: rotate(360deg);
  }
}
@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}
#minting-dapp .collection-not-ready .spinner {
  -webkit-animation: spin 1s linear infinite;
          animation: spin 1s linear infinite;
}
#minting-dapp .collection-status {
  display: grid;
  grid-auto-rows: -webkit-min-content;
  grid-auto-rows: min-content;
}
@media (min-width: 640px) {

  #minting-dapp .collection-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
#minting-dapp .collection-status {
  border-radius: 0.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1.2rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
#minting-dapp .collection-status > * {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
#minting-dapp .collection-status > * .label {
  font-size: 0.75rem;
  line-height: 1rem;
  --tw-text-opacity: 1;
  color: rgb(79 70 229 / var(--tw-text-opacity));
}
@media (min-width: 640px) {

  #minting-dapp .collection-status .user-address {
    grid-column: span 2 / span 2;
  }
}
#minting-dapp .collection-status .user-address {
  overflow: hidden;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity));
}
#minting-dapp .collection-status .user-address .address {
  width: 100%;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}
#minting-dapp .collection-status .supply .label, #minting-dapp .collection-status .current-sale .label {
  display: block;
  font-weight: 600;
}
#minting-dapp .collection-status .supply.supply, #minting-dapp .collection-status .current-sale.supply {
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity));
}
@media (min-width: 640px) {

  #minting-dapp .collection-status .supply.supply, #minting-dapp .collection-status .current-sale.supply {
    border-bottom-width: 0px;
  }

  #minting-dapp .collection-status .supply.supply, #minting-dapp .collection-status .current-sale.supply {
    border-right-width: 1px;
  }
}
#minting-dapp .cannot-mint, #minting-dapp .not-mainnet, #minting-dapp .collection-sold-out {
  border-radius: 0.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-align: center;
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
#minting-dapp .cannot-mint.cannot-mint .emoji, #minting-dapp .not-mainnet.cannot-mint .emoji, #minting-dapp .collection-sold-out.cannot-mint .emoji {
  display: block;
  line-height: 2.5rem;
}
#minting-dapp .cannot-mint.not-mainnet, #minting-dapp .not-mainnet.not-mainnet, #minting-dapp .collection-sold-out.not-mainnet {
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(250 204 21 / var(--tw-bg-opacity));
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(234 179 8 / var(--tw-border-opacity));
}
#minting-dapp .cannot-mint.not-mainnet .small, #minting-dapp .not-mainnet.not-mainnet .small, #minting-dapp .collection-sold-out.not-mainnet .small {
  display: block;
  
  line-height: 1.25rem;
}
#minting-dapp .cannot-mint.collection-sold-out h2, #minting-dapp .not-mainnet.collection-sold-out h2, #minting-dapp .collection-sold-out.collection-sold-out h2 {
  margin-bottom: 0.75rem;
  
  line-height: 1.75rem;
}
#minting-dapp .mint-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0.5rem;
  overflow: hidden;
  text-align: center;
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
#minting-dapp .mint-widget .preview {
  padding: 2rem;
  --tw-bg-opacity: 1;
  background-color: rgb(199 210 254 / var(--tw-bg-opacity));
}
#minting-dapp .mint-widget .preview img {
  margin: auto;
  max-height: 13rem;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.4));
}
#minting-dapp .mint-widget .price {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
#minting-dapp .mint-widget > * {
  width: 100%;
}
#minting-dapp .mint-widget > *:not(:last-child) {
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity));
}
#minting-dapp .mint-widget .controls {
  display: flex;
  align-items: stretch;
}
#minting-dapp .mint-widget .controls > * {
  border-radius: 0px;
  border-width: 0px;
}
#minting-dapp .mint-widget .controls .decrease, #minting-dapp .mint-widget .controls .mint-amount {
  border-right-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity));
}
#minting-dapp .mint-widget .controls .mint-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.75rem;
  --tw-text-opacity: 1;
  color: rgb(79 70 229 / var(--tw-text-opacity));
}

              
            
!

JS

              
                // mobileMenu need to go here
/* Toggle between adding and removing the "responsive" class to topnav when the user clicks on the icon */
function myMenu() {
  var x = document.getElementById("myMain");
  if (x.className === "mainnav") {
    x.className += " responsive";
  } else {
    x.className = "mainnav";
  }
}

// countUp NFTs and traits
const counters = document.querySelectorAll('.count');
const speed = 100;

counters.forEach((counter) => {
  const updateCount = () => {
    const target = parseInt(counter.getAttribute('data-target'));
    const count = parseInt(counter.innerText);
    const increment = Math.trunc(target / speed);

    if (count < target) {
      counter.innerText = count + increment;
      setTimeout(updateCount, 50);
    } else {
      counter.innerText = target;
    }
  };
  updateCount();
});

// Scroll trigger
function scrollTrigger(selector, options = {}) {
  let els = document.querySelectorAll(selector)
  els = Array.from(els)
  els.forEach(el => {
    addObserver(el, options)
  })
}



              
            
!
999px

Console