0% found this document useful (0 votes)
14 views12 pages

Scrap

This document contains CSS code that styles various elements on a website, including headers, navigation menus, banners, images, footers and more. It defines styles for different sections and elements, and includes media queries to adjust styles on smaller screens. Styles are defined for colors, spacing, positioning and other visual properties.

Uploaded by

Poseidon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views12 pages

Scrap

This document contains CSS code that styles various elements on a website, including headers, navigation menus, banners, images, footers and more. It defines styles for different sections and elements, and includes media queries to adjust styles on smaller screens. Styles are defined for colors, spacing, positioning and other visual properties.

Uploaded by

Poseidon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

@import url('https://fonts.googleapis.com/css2?

family=Nunito&display=swap');

*{

font-family: 'Nunito', sans-serif;

margin: 0;

padding: 0;

box-sizing: border-box;

.first{

background: #111;

min-height: 100vh;

.first .bannerVideo{

position: absolute;

top: 0;

left: 0;

width: 100%;

height: 100%;

.first .bannerVideo video{

position: absolute;

top: 0;

left: 0;

width: 100%;

height: 100%;

object-fit: cover;

opacity: 0;

.first .bannerVideo video.active{

opacity: 1;

.second h2{
background: cyan ;

text-align: center;

.second img {

display: block;

margin-left: auto;

margin-right: auto;

.second{

background-color: antiquewhite;

.second p{

text-align: center;

.containerr {

display: grid;

align-items: center;

grid-template-columns: 1fr 1fr 1fr;

column-gap: 15px;

img {

max-width: 100%;

max-height:100%;

.text {

font-size: 15px;

.container{

position: relative;

padding: 0 100px;

display: flex;
justify-content: flex-start;

align-items: center;

min-height: 100vh;

.container header{

position: absolute;

top: 0;

left: 0;

width: 100%;

display: flex;

justify-content: space-between;

align-items: center;

padding: 30px 100px;

.container header .logo{

font-weight: 700;

text-transform: uppercase;

color: #fff;

font-size: 1.5em;

text-decoration: none;

.container header ul{

position: relative;

display: flex;

.container ul li{

list-style: none;

margin: 0 20px;

text-decoration: none;

.container ul li a{
position: relative;

text-decoration: none;

font-size: 18px;

padding: 4px 10px;

color: #fff;

.container header ul li a:hover,

.container header ul li a.active

background: #fff;

color: #111;

.container .content{

display: flex;

justify-content: flex-start;

align-items: center;

.container .content .bannerText{

position: relative;

max-width: 700px;

.container .content .bannerText div{

transition: 0.5s ease-in-out;

display: none;

.container .content .bannerText div.active{

display: initial;

.container .content .bannerText div h2{

color: #fff;

font-size: 6em;
line-height: 1em;

font-weight: 700;

.container .content .bannerText p{

color: #fff;

font-size: 18px;

margin: 20px 0;

.controls {

position: absolute;

bottom: 0;

right: 0;

display: flex;

.controls li{

width: 70px;

height: 70px;

display: flex;

justify-content: center;

align-items: center;

background: #fff;

cursor: pointer;

.controls li:hover{

background: yellow;

.menuIcon

display: none;

@media (max-width: 991px)


{

.container

padding: 20px;

.container::before

width: 100%;

.container header

padding: 10px 20px;

.container .content .bannerText div h2

font-size: 3em;

.container .content .bannerText

text-align: center;

.container header ul

position: fixed;

top: 0;

left: 0;

width: 100%;

height: 100vh;

background: #fff;

z-index: 1000;

display: none;
align-items: center;

justify-content: center;

flex-direction: column;

.container header.active ul

display: flex;

.container header ul li

text-align: center;

margin: 10px;

.container header ul li a

color: #333;

font-size: 1.5em;

.container header ul li a:hover

color: #f00;

cursor: pointer;

.menuIcon

position: fixed;

top: 0;

right: 0;

width: 50px;

height: 50px;

display: initial;
z-index: 10000;

background: #fff url(menu.png);

background-size: 30px;

background-repeat: no-repeat;

background-position: center;

cursor: pointer;

.menuIcon.active

background: #fff url(close.png);

background-size: 25px;

background-repeat: no-repeat;

background-position: center;

cursor: pointer;

.sci li a

width: 50px;

height: 50px;

.controls li

width: 60px;

height: 60px;

/*Water*/

.water

width: 80%;

margin: auto;
text-align: center;

padding-top: 100px;

.water h1

font-size: 38px;

font-weight: 600;

.water p

color: #777;

font-size: 14px;

font-weight: 300;

line-height: 22px;

padding: 10px;

.totalwater

margin-top: 5%;

display: flex;

justify-content: space-between;

.proswater

background:#fff3f3;

border-radius:10px;

flex-basis: 31%;

margin-bottom: 5%;

padding: 20px 12px;

box-sizing: border-box;

transition: 0.5s;
}

.proswater:hover

box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);

cursor: pointer;

/*Footer*/

.footer

width: 100%;

text-align: center;

padding: 30px 0;

.footer h4

margin-bottom: 25px;

margin-top: 20px;

font-weight: 600;

/*Background Formatting*/

.third

background-image: url("Screenshot\ 2023-11-09\ at\ 04-44-43\ Water\

Pollution\ Types\ Causes\ and\ Effects\ —\ Deep\ Blue\ Cleanup.png");

height: auto;

width: auto;

background-position: center;

background-size: cover;

.third h1

{
color: #fff;

.third .descw

color: #fff;

.last

background-image: url("Screenshot\ 2023-11-09\ 065151.png");

height: auto;

width: auto;

background-position: center;

background-size: cover;

.five h1

color: #b80c0c;

.five

background-image: url("default.png");

height: auto;

width: auto;

background-position: center;

background-size: cover;

.footer

background: #111;

.footer h4
{

color: #fff;

.footer p

color: #fff;

/*Read More Button*/

.readmore

background: #fff;

border-radius: 2px;

flex-basis: 0%;

margin-bottom: 5%;

padding: 5px 6px;

box-sizing: border-box;

transition: 0.5s;

text-decoration: none;

color: #111;

.readmore:hover

box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);

cursor: pointer;

You might also like