Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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

              
                <!--****************************************
    CREATE styles.css file in css folder and
    insert css styles inside the file.
    CREATE custom.js inside js folder and
    insert js scripts inside the file.
********************************************-->



<!DOCTYPE html>
<html lang="en">
<head>

<!--TITLE
<title>Website name || a non profit organisation</title>-->

<!--META TAGS
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="author" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />-->

<!--FONT AWESOME-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

<!--GOOGLE 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=Dancing+Script:wght@400;600;700&family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+Pro:wght@200;300;400;600;700;900&display=swap" rel="stylesheet"> 

<!--STYLESHEET
<link rel="stylesheet" href="css/styles.css">-->
</head>
<body>

<!--HEADER-->
<header>
<div class="header">
<section>
<span><a href="emailto:"><i class="fa fa-envelope"></i> support@websitename.com</a></span>
<span><a href="tel:"><i class="fa fa-phone"></i> (+64) 00 000 00000</a></span>
</section> 
<section>
<span><a href="#"><i class="fa fa-facebook"></i></a></span>
<span><a href="#"><i class="fa fa-instagram"></i></a></span>
<span><a href="#"><i class="fa fa-youtube"></i></a></span>
<span><a href="#"><i class="fa fa-twitter"></i></a></span>
</section>
</div>
</header>

<!--TOP NAVIGATION-->
<nav id="header">
<div class="topnav" id="myTopnav">
<a href="#"><img id="logo" src="https://i.ibb.co/BqRjXSV/ev-logo.png" alt=""></a>
<a href="#">Home</a>
<div class="dropdown">
<button class="dropbtn"> Events
<i class="fa fa-caret-down"></i>
</button>
<div class="dropdown-content animate">
<a href="#">Cubic</a>
<a href="#">Square</a>
</div>
</div> 
<a href="#contact">Contact</a>
<a href="#about">About</a>
<a href="#about" style="float:right;padding: 14px 2px;"><i class="fa fa-search"></i></a>
<a href="#about" style="float:right;padding: 16px 2px;"><i class="fa fa-user-circle-o"></i></a>
<a href="javascript:void(0);" style="font-size:15px;" class="icon" onclick="NavBar()">&#9776;</a>
</div>
</nav>



<!--BANNER-->
<div class="banner">
<section>
<h1 class="cursive"><em>M</em>ichelle <em>N</em>ame</h1>
<h2>We create events that are inspired by our clients. We work collaboratively to ensure your event is cohensive & thoughtful.</h2>
<a href="#" class="btn1">Contact Us</a>
<a href="#" class="btn2" style="background-color:#1e1e1e !important;">Recent Events</a>
</section>
</div>







<!--ABOUT MR-->
<div class="about_mr">
<section>
<img src="https://images.unsplash.com/photo-1499482125586-91609c0b5fd4?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxzZWFyY2h8MTd8fHBlcnNvbnxlbnwwfHwwfHw%3D&auto=format&fit=crop&w=500&q=60" alt="" class="inline-photo2 show-on-scroll2">
<img src="https://images.unsplash.com/photo-1470328358326-dee4879da669?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1yZWxhdGVkfDE2fHx8ZW58MHx8fHw%3D&auto=format&fit=crop&w=500&q=60" alt="" class="inline-photo3 show-on-scroll3">
</section>
<section>
<span class="line inline-photo3 show-on-scroll3"></span>
<h1 class="title inline-photo2 show-on-scroll2">Meet <em>Michelle</em></h1>
<h3>Marketer & Event Manager From Country</h3>
<p>Michelle [full_name] is a Marketer and Event Manager from [country]. He/She works in PR, TV Host and creates the best events in [province] collaborating with [collaboration] like, [names_here] etc</p>
<p>Now he/she is expanding into Talent Management, discovering new talent that he/she presents on his/her events and talent shows. </p>
<a href="#" class="btn1"><i class="fa fa-instagram"></i> Instagram</a>
</section>
</div>







<!--SECTION2-->
<div class="section2">
<div class="title_header">
<h1 class="title">Discover the best things we do</h1>
<h3>We exist for non-profits, social enterprises, community groups, activists,lorem politicians and individual citizens that are making.</h3>
<span class="border-shape"></span>
</div>
<div class="cards">
<section>
<div class="card">
<h3>We create amazing <em>Telivision Programmes</em> in an affordable cost</h3>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Similique illum excepturi</p>
<span><em>Finance</em> collecting & supporting</span>
<span class="mark">01</span>
</div>
<div class="card">
<h3>We create amazing <em>Telivision Programmes</em> in an affordable cost</h3>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Similique illum excepturi</p>
<span><em>Finance</em> collecting & supporting</span>
<span class="mark">02</span>
</div>
<div class="card">
<h3>We create amazing <em>Telivision Programmes</em> in an affordable cost</h3>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Similique illum excepturi</p>
<span><em>Finance</em> collecting & supporting</span>
<span class="mark">03</span>
</div>
</section>
<section>
<div class="card">
<h3>We create amazing <em>Telivision Programmes</em> in an affordable cost</h3>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Similique illum excepturi</p>
<span><em>Finance</em> collecting & supporting</span>
<span class="mark">04</span>
</div>
<div class="card">
<h3>We create amazing <em>Telivision Programmes</em> in an affordable cost</h3>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Similique illum excepturi</p>
<span><em>Finance</em> collecting & supporting</span>
<span class="mark">05</span>
</div>
<div class="card">
<h3>We create amazing <em>Telivision Programmes</em> in an affordable cost</h3>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Similique illum excepturi</p>
<span><em>Finance</em> collecting & supporting</span>
<span class="mark">06</span>
</div>
</section>
</div>
</div>










<!--SECTION3-->
<div class="section3">
<section>
<h1 class="title">What can he/she <em>achieve</em> in an event?</h1>
<p>Michelle can create business and corporative events, personal events and parties, but his/her specialization is [specialization fields].</p>
<p>His/Her event agency performs on a minimum ROI of [roi_here] and a cross selling ROI of [roi_here] average. As an example: [Zombies are trendy. They’re the new vampires. Zombie Ipsum is a great looking site with 50% more braaiinnns than other offerings.].</p>
<div class="card">
<span><img src="https://i.ibb.co/jkL4mJ7/icon1.png" alt=""></span>
<span>
<h3>Create Protecting Shield</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor.</p>
</span>
</div>
</section>
</div>












<!--CONTACT FORM-->
<div class="contact">
<section>
<div class="title_header">
<h1 class="title">Let's talk...!</h1>
<h3>We always love to hear from you. Having any queris please feel free to contact us.</h3>
<span class="border-shape"></span>
</div>
<div class="contact_info">
<ul>
<li><i class="fa fa-map-marker"></i></li>
<li>22 Baker Street, London,
United Kingdom, W1U 3BW </li>
</ul>
<ul>
<li><i class="fa fa-phone"></i></li>
<li>(+xx) xxx xxxx xxx</li>
</ul>
<ul>
<li><i class="fa fa-envelope"></i></li>
<li>support@michellerelayze.com</li>
</ul>
</div>
</section>
<section>
<form action="" method="POST">
<fieldset>
<input type="text" name="fname" placeholder="Full name*" maxlength="50" required="" />
</fieldset>
<fieldset>
<input type="tel" name="mobile" placeholder="Mobile no*" maxlength="15" required="" />
</fieldset>
<fieldset>
<input type="email" name="email" placeholder="Email address*" maxlength="100" required="" />
</fieldset>
<fieldset>
<textarea name="message" placeholder="Your message..." maxlength="500"></textarea>
</fieldset>
<fieldset>
<button type="submit" class="btn1">Submit</button>
</fieldset>
</form>
</section>
</div>










<!--SECTION4-->
<div class="section4">
<div class="title_header">
<h1 class="title">Latest news & articles directly from our blog</h1>
<h3>Lorem ipsum dolor sit amet, consetetur sadipi scing elitr, sed diam nonumy eirmo dr temp orr invidunt ut labore et dolore magna aliquyam </h3>
<span class="border-shape"></span>
</div>
<div class="cards">
<div class="card content">
<div class="card-content">
<div class="card-img">
<img src="https://images.unsplash.com/photo-1542751371-adc38448a05e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2850&q=80" alt="Gamer">
</div>
<div class="card-label">E-Sports</div>
<div class="card-title">
Fnatic raises $19 million, shakes up leadership team
</div>
</div>
</div>
<div class="card content">
<div class="card-content">
<div class="card-img">
<img src="https://images.unsplash.com/photo-1547394765-185e1e68f34e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80" alt="keyboard">
</div>
<div class="card-label">
Technology
</div>
<div class="card-title">
Google Stadia: The Future of Gaming
</div>
</div>
</div>
<div class="card content">
<div class="card-content">
<div class="card-img">
<img src="https://images.unsplash.com/photo-1519326844852-704caea5679e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2034&q=80" alt="Controller">
</div>
<div class="card-label">
Consoles
</div>
<div class="card-title">
PS5 won't launch before mid-2020
</div>
</div>
</div>
<div class="card content">
<div class="card-content">
<div class="card-img">
<img src="https://images.unsplash.com/photo-1547394765-185e1e68f34e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80" alt="keyboard">
</div>
<div class="card-label">
Technology
</div>
<div class="card-title">
Google Stadia: The Future of Gaming
</div>
</div>
</div>
</div>
</div>
</div>







<!--FOOTER-->
<footer>
<div class="middle_section">
<section>
<span>
<a href="#" target="_blank"><i class="fa fa-facebook"></i></a>
<a href="#" target="_blank"><i class="fa fa-instagram"></i></a>
<a href="#" target="_blank"><i class="fa fa-youtube"></i></a>
<a href="#" target="_blank"><i class="fa fa-twitter"></i></a>
</span>
<span>
<a href="#">Privacy Policy</a>
<a href="#">FAQ</a>
<a href="#">About Us</a>
<a href="#">Contact Us</a>
</span>
</section>
</div>
<div class="bottom_section">
<span>Copyright © 2021. All rights reserved</span>
</div>
</footer>





<!--ADDITIONAL-->
<a href="#" id="roll_back" class="animate"><i class="fa fa-angle-up"></i></a>

<!--YOU CAN REMOVE THIS-->
<div class="credits">
Logo: <a href="https://www.brandcrowd.com/maker/logo/strong-man-circle-12151" target="_blank">BrandCrowd</a>
NavBar: <a href="https://www.w3schools.com/howto/howto_js_responsive_navbar_dropdown.asp" target="_blank">W3Schools</a><br>
Blog: <a href="https://codepen.io/SebastianOpperman/pen/wZLrQz" target="_blank">Sebastian</a>
Images: <a href="https://images.unsplash.com" target="_blank">Unsplash</a>
</div>


<!--JAVASCRIPT
<script type="text/javascript" src="js/custom.js"></script>-->
</body>
</html>
              
            
!

CSS

              
                /*************************************************
               STYLE SHEET
**************************************************/



/*CUSTOM SCROLL BAR*/
*,html{
scroll-behavior: smooth;
}
*, *:after, *:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
:root{
scrollbar-color: rgb(210,210,210) rgb(46,54,69) !important;
scrollbar-width: thin !important;
--white:#fff;
--black:#1e1e1e;
--pink:#e30846;
--secondary:#202124;
--gray:#b8bca7;
--blue:#061221;
}
::-webkit-scrollbar {
height: 12px;
width: 8px;
background: #000;
}
::-webkit-scrollbar-thumb {
background: gray;
-webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.75);
}
::-webkit-scrollbar-corner {
background: #000;
}










/*DEFAULT*/
body{
margin:0;
overflow-x:hidden !important;
font-family: 'Source Sans Pro', sans-serif;
}

a{
text-decoration:none;
color:var(--white);
}

a,button{
transition:0.5s;
}

p{
line-height:1.8em;
letter-spacing:0.06em;
}

fieldset{
border:0;
}

a, button, input, textarea, select{
outline:none !important;
}

img{
width:99%;
}

.title{
font-family: 'Playfair Display', serif;
}

.cursive{
font-family: 'Dancing Script', cursive;
}

em{
font-style:normal;
color:var(--pink);
}

p{
line-height:1.6em;
letter-spacing:0.06em;
}

.title{
font-family: 'Playfair Display', serif;
}

.title_header{
width:60%;
text-align:center;
margin:auto;
}

.title_header h1{
font-size:2em;
}

.title_header h3{
font-size:1.2em;
font-weight:400;
color:rgba(1,1,1,0.7);
}

.btn1{
padding:20px;
text-align:center;
display:inline-block;
width:200px;
background-color:var(--pink);
border-radius:40px;
font-weight:600;
}

.btn1:hover{
background-color:var(--secondary);
}

.btn2{
padding:20px;
text-align:center;
display:inline-block;
width:250px;
border-radius:40px;
font-weight:600;
}

.btn1:hover{
background-color:var(--secondary);
}

.border-shape {
background: var(--secondary) none repeat scroll 0 0;
color: #fff;
display: block;
height: 3px;
left: 0;
margin: 20px auto;
position: relative;
right: 0;
text-align: center;
top: 0;
width: 80px;
}

.border-shape::before {
background: var(--pink) none repeat scroll 0 0;
bottom: 0;
content: "";
height: 1px;
left: 80px;
margin: 0 auto;
position: absolute;
text-align: center;
top: 1px;
width: 100%;
}

.border-shape::after {
background: var(--pink) none repeat scroll 0 0;
bottom: 0;
content: "";
height: 1px;
margin: 0 auto;
position: absolute;
right: 80px;
text-align: center;
top: 1px;
width: 100%;
}

@media (max-width:820px){
.btn1,.btn2{
padding:10px 15px;
width:150px;
}
.title_header{
width:100%;
}
.title_header h1{
font-size:1.5em;
}

.title_header h3{
font-size:1em;
}
}












/*ANIMATION*/
@keyframes arrows {
0%,
100% {
color: black;
transform: translateY(0);
}
50% {
color: #3AB493;
transform: translateY(20px);
}
}

.animate {
-webkit-animation: animatezoom 0.6s;
animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
from {-webkit-transform: scale(0)} 
to {-webkit-transform: scale(1)}
}

@keyframes animatezoom {
from {transform: scale(0)} 
to {transform: scale(1)}
}


















/*HEADER*/
.header{
width:100%;
position:relative;
display:flex;
align-items:center;
background-color:var(--pink);
padding:1rem 0;
padding-bottom:3rem;
}

.header section{
width:100%;
text-align:center;
padding:1rem 2rem;
display:flex;
align-items:center;
justify-content:center;
}

.header section span{
margin:0 20px;
}

.header section span a{
color:var(--white);
white-space:nowrap;
}

.header section span a:hover{
color:var(--dark);
}

@media (max-width:820px){
.header section:nth-child(1){
display:none;
}
}







/*TOP NAVIGATION*/
#header{
position:fixed;
top:5rem;
width:100%;
z-index:99999;
transition:0.5s;
}

.topnav {
overflow: hidden;
background-color: var(--blue);
width:80%;
margin:auto; 
box-shadow:0px 6px 16px -6px rgba(1,1,1,0.7);
transition:0.5s;
}

.topnav a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 16px 16px;
margin:auto 1rem;
text-decoration: none;
font-size: 17px;
position:relative;
top:10px;
}

#logo{
width:120px;
position:relative;
top:-10px;
}

#icon{
float:right;
}

#active{
display:flex;
}

#active img{
width:130px;
}

#active:hover{
color:#fff;
}

.topnav .icon {
display: none;
}

.dropdown {
float: left;
overflow: hidden;
}

.dropdown .dropbtn {
font-size: 17px;    
border: none;
outline: none;
color: white;
padding: 16px 16px;
background-color: inherit;
font-family: inherit;
margin:auto 1rem;
position:relative;
top:10px;
}

.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
border-top:2px solid #cd2027;
}

.dropdown-content a {
float: none;
color: black;
padding: 8px 16px;
margin:auto 0rem;
text-decoration: none;
display: block;
text-align: left;
top:0;
}

.topnav a:hover, .dropdown:hover .dropbtn {
color: #cd2027;
}

.dropdown-content a:hover {
background-color: #ddd;
color: black;
}

.dropdown:hover .dropdown-content {
display: block;
}

@media screen and (max-width: 1120px) {
.logo{
width:20px;
position:static;
}
.dropdown .dropbtn {
padding: 14px 16px;
}
.topnav a:not(:first-child), .dropdown .dropbtn {
display: none;
}
.topnav a.icon {
float: right;
display: block;
}
#active{
display:none;
}
}

@media screen and (max-width: 1120px) {
.topnav.responsive {position: relative;}
.topnav.responsive .icon {
position: absolute;
right: 0;
top: 0;
}
.topnav.responsive a {
float: none;
display: block;
text-align: left;
padding: 14px 16px;
}
.topnav.responsive .dropdown {float: none;}
.topnav.responsive .dropdown-content {position: relative;}
.topnav.responsive .dropdown .dropbtn {
display: block;
width: 100%;
text-align: left;
}
}









/*BANNER*/
.banner{
width:100%;
height:100vh;
background: linear-gradient(rgba(1,1,1,.7), rgba(1,1,1,.7)), url("https://i.ibb.co/mcbSLxz/section3.jpg");
background-size:cover;
background-position:center;
display:flex;
align-items:center;
justify-content:center;
color:var(--white);
position:relative;
}

.banner:after{
content:"";
background-image:url("https://i.ibb.co/8zB1N3z/wave.png");
background-size:cover;
width:100%;
height:100px;
position:absolute;
bottom:0;
}

.banner section{
width:55%;
text-align:center;
}

.banner section .cursive{
font-size:5em;
line-height:0;
}

.banner section h2{
font-weight:200;
line-height:1.6em;
}

.banner .btn1{
display:inline-block;
margin:2vh 20px;
}

@media (max-width:820px){
.banner section{
width:95%;
}
.banner section h2{
font-size:1.3em;
}
.banner section .cursive{
font-size:2.3em;
}
.banner .btn1{
margin:2vh 10px;
}
}









/*SECTION1*/
.section1{
display:flex;
align-items:center;
}

.section1 section{
padding:2rem;
width:100%;
font-size:18px;
color:rgba(1,1,1,0.7);
position:relative;
}

.section1 section em{
position:relative;
}

.section1 section em:before{
content:"";
position:absolute;
left:-3%;
top:-10%;
width:20px;
height:20px;
border-radius:50%;
background-image: linear-gradient(#cebfb6,#ddd);
z-index:-1;
}

.section1 section .title{
font-size:2.5em;
line-height:0;
color:var(--black);
}

.section1 section ol li{
padding:15px 0;
list-style:none;
}

.section1 section ol li:before{
content:"\f00c";
font-family:"FontAwesome";
background-color:#cebfb6;
border-radius:50%;
padding:8px;
margin:0 10px;
color:var(--secondary);
}

.section1 .dots{
width:auto;
position:absolute;
right:10%;
pointer-events:none;
--delay: 0s;
animation: arrows 4s var(--delay) infinite ease-in;
}













/*ABOUT MR*/
.about_mr{
display:flex;
align-items:center;
margin:2rem 0;
}

.about_mr section{
position:relative;
width:100%;
padding:4rem;
}

.about_mr section:nth-child(2){
padding:4rem 2rem;
}

.about_mr section:nth-child(1){
background-image:url("https://i.ibb.co/1v2CTjz/shape.png");
background-repeat:no-repeat;
background-position:center;
background-size:50% 99%;
}

.about_mr section img:nth-child(1){
width:70%;
border:5px solid var(--white);
border-radius:5px;
}

.about_mr section img:nth-child(2){
position:absolute;
right:15%;
bottom:5%;
width:40%;
border:5px solid var(--white);
}

.about_mr .title{
font-size:3em;
line-height:0em;
}

.about_mr h3{
font-weight:400;
}

.about_mr p{
font-size:20px;
color:rgba(1,1,1,0.7);
}

.about_mr .btn1{
display:block;
}

@media (max-width:820px){
.about_mr{
display:block;
}

.about_mr section{
padding:1rem;
}

.about_mr section:nth-child(2){
padding:4rem 1rem;
}

.about_mr .title{
font-size:1.8em;
}

.about_mr p{
font-size:18px;
}
}















/*SECTION2*/
.section2{
padding:3rem;
background-color:#f4f8f7;
}

.section2 .cards section{
display:flex;
align-items:center;
}

.section2 .cards section .card{
margin:10px;
background-color:var(--white);
border-radius:30px;
width:100%;
padding:2rem;
box-shadow: 0 0 20px 0 #dddddd8c;
position:relative;
}

.section2 .cards section .card h3{
font-weight:600;
color:rgba(1,1,1,0.8);
}

.section2 .cards section .card p{
color:rgba(1,1,1,0.7);
}

.section2 .cards section .card .mark{
padding:5px;
background-color:#cebfb6;
border-radius:50%;
float:right;
}

@media (max-width:820px){
.section2{
padding:1rem;
}
.section2 .cards section{
display:block;
}
.section2 .cards section .card{
margin:10px 0;
}
}












/*SECTION3*/
.section3{
width:100%;
height:110vh;
background-image:url("https://i.ibb.co/mcbSLxz/section3.jpg");
background-repeat:no-repeat;
background-size:60% 100%;
background-position:left center;
display:flex;
align-items:center;
justify-content:right;
position:relative;
}

.section3 section{
width:50%;
position:absolute;
right:5%;
padding:2rem;
background-color:var(--secondary);
color:var(--white);
}

.section3 section .card{
padding:0.5rem 1rem;
border:1px solid rgba(255,255,255,0.1);
margin:10px 0;
display:flex;
align-items:center;
}

.section3 section .card span{
padding:0 1rem;
}

@media (max-width:820px){
.section3{
display:block;
background-image:none;
}
.section3 section{
width:100%;
position:static;
padding:1rem;
}
}










/*SECTION4*/
.section4{
align-items:top;
padding:3rem;
background-color:#f3f7f6;
background: linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,.8)), url(".https://i.ibb.co/1v2CTjz/shape.png");
background-repeat:no-repeat;
}

.section4 .title_header{
padding:3rem;
width:60%;
}

.section4 section{
width:100%;
}


.section4 .cards {
width: calc(100% - 2em);
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr;
grid-gap: 1em;
grid-template-areas: "a a b c" "a a d d";
width: 100%;
}

.section4 .card {
width: 100%;
position: relative;
transition: all 0.25s ease;
cursor: pointer;
font-family: "Roboto", sans-serif;
font-weight: 300;
}
.section4 .card:last-child {
margin-bottom: 0;
}
.section4 .card:before {
height: 0;
content: "";
display: block;
padding-bottom: 47.36%;
}
.section4 .card.content:after {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 50%;
content: "";
background: linear-gradient(to bottom, rgba(0, 0, 0, 0), black);
}
.section4 .card:nth-child(1) {
grid-area: a;
}
.section4 .card:nth-child(2) {
grid-area: b;
}
.section4 .card:nth-child(3) {
grid-area: c;
}
.section4 .card:nth-child(4) {
grid-area: d;
}
.section4 .card-content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.section4 .card-img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.section4 .card-img img {
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
}
.section4 .card-label {
position: absolute;
top: 0.45rem;
left: 0.45rem;
background: #089f8a;
text-transform: uppercase;
font-weight: 300;
font-size: 0.7em;
color: white;
padding: 0.5em;
}
.section4 .card-title {
position: absolute;
left: 1em;
bottom: 1em;
color: #d6dbeb;
z-index: 5;
font-size: 0.8em;
}
.section4 .card.form {
position: relative;
}
.section4 .card.form:before {
background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);
}
.section4 .card.form:after {
position: absolute;
top: 0.5em;
left: 0.5em;
width: calc(100% - 1em);
height: calc(100% - 1em);
content: "";
background: #252833;
}
.section4 .card.form .form-title {
position: absolute;
top: 3rem;
left: 3rem;
font-size: 7vw;
font-weight: 900;
z-index: 5;
text-transform: uppercase;
background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
}
.section4 .card.form .form-title:before {
position: absolute;
top: 50%;
left: 50%;
width: 100%;
height: 100%;
content: "More";
opacity: 0.5;
filter: blur(10px);
transition: all 0.25s ease;
z-index: 2;
background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
transform: translateX(-50%) translateY(-50%);
}
.section4 .card:nth-child(2) .card-label {
background: #ef4e7b;
}
.section4 .card:nth-child(3) .card-label {
background: #1098ad;
}
.section4 .card:hover {
transform: scale(1.05);
box-shadow: 0 0 30px rgba(0, 0, 0, 0.35);
}
.section4 .card:hover .form-title:before {
filter: blur(3px);
opacity: 0.7;
}

@media (max-width:820px){
.section4{
padding:1rem;
}
.section4 .title_header{
padding:1rem;
width:100%;
}
.section4 .cards {
width: calc(100% - 2em);
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr 1fr 1fr 1fr;
grid-gap: 1em 0em;
grid-template-areas: "a" "a" "b" "c" "d";
width: 100%;
}
}












/*CONTACT FORM*/
.contact{
padding:3rem;
background-color:#f3f7f6;
background-size:cover;
display:flex;
position:relative;
}

.contact section{
width:100%;
margin:auto;
position:relative;
}

.contact section form{
width:80%;
background-color:var(--white);
padding:2rem 1rem;
box-shadow: 0 0 20px 0 #dddddd8c;
border-radius:30px;

}

.contact section input{
width:100%;
padding:1rem;
background-color:#f3f7f6;
border:0;
}

.contact section textarea{
width:100%;
padding:1rem;
resize:none;
background-color:#f3f7f6;
border:0;
}

.contact section button{
margin:auto;
border:0;
display:block;
color:var(--white);
}

.contact_info ul{
display:flex;
align-items:center;
width:90%;
margin:auto;
}

.contact_info ul li{
padding:1rem;
list-style:none;
line-height:1.8em;
} 

.contact_info ul li .fa{
color:var(--secondary);
padding:15px;
background-color:var(--white);
border-radius:10px;
font-size:2em;
box-shadow: 0 0 20px 0 #dddddd8c;
width:60px;
text-align:Center;
}

@media (max-width:820px){
.contact{
display:block;
padding:1rem;
}
.contact section form{
width:100%;
}
.contact_info ul{
width:100%;
}
}









/*FOOTER*/
footer{
width:100%;
background: linear-gradient(rgba(1,1,1,.8), rgba(1,1,1,.8)), url("https://i.ibb.co/mcbSLxz/section3.jpg");
background-size:cover;
background-repeat:no-repeat;
background-position:center;
background-attachment:local;
color:var(--white);
padding:3rem 0;
}

footer a{
color:var(--white);
}

footer a:hover{
color:var(--primary);
}

footer .top_section{
padding:1rem;
display:flex;
align-items:center;
}

footer .top_section section{
width:33%;
display:flex;
align-items:center;
justify-content:center;
}

footer .top_section section span{
padding:1rem;
}

footer .top_section section span .fa{
font-size:2em;
color:var(--primary);
}

footer .middle_section{
padding:1rem;
display:flex;
align-items:center;
justify-content:center;
}

footer .middle_section span{
display:block;
padding:1rem 0;
text-align:center;
}

footer .middle_section span a{
margin:0 20px;
}

footer .middle_section span a .fa{
font-size:1.5em;
}

footer .bottom_section{

text-align:center;
font-size:13px;
padding:1rem 0;
}

@media (max-width:820px){
footer{
background-attachment:local;
}

footer .middle_section{
display:block;
}
footer .middle_section span a{
white-space:nowrap;
margin:10px ;
}
}














/*ADDITIONAL*/
#roll_back{
position:fixed;
bottom:2rem;
right:2rem;
background-color:var(--pink);
border-radius:5px;
border:2px solid var(--white);
padding:5px 10px;
display:none;
align-items:center;
justify-content:center;
z-index:999999;
box-shadow:0px 6px 16px -6px rgba(1,1,1,0.5);
color:var(--white);
font-weight:900;
}


.credits{
background-color:#1e1e1e;
position:fixed;
bottom:2rem;
right:0;
color:rgba(255,255,255,0.7);
padding:10px;
z-index:9999;
font-weight:600;
font-size:13px;
box-shadow:0px 6px 16px -6px rgba(1,1,1,0.5);
}

.credits a{
color:rgba(255,255,255,0.7);
font-weight:200;
}
              
            
!

JS

              
                //TOP NAVIGATION
function NavBar() {
var x = document.getElementById("myTopnav");
if (x.className === "topnav") {
x.className += " responsive";
} else {
x.className = "topnav";
}
}
window.onscroll = function() {scrollFunction()};
function scrollFunction() {
if (document.body.scrollTop > 80 || document.documentElement.scrollTop > 80) {
document.getElementById("myTopnav").style.width = "100%";
document.getElementById("header").style.position = "fixed";
document.getElementById("header").style.top = "0%";
document.getElementById("roll_back").style.display = "flex";
} else {
document.getElementById("myTopnav").style.width = "80%";
document.getElementById("header").style.position = "fixed";
document.getElementById("header").style.top = "4rem";
document.getElementById("roll_back").style.display = "none";
}
}

              
            
!
999px

Console