awwwards_series/awwwards_ss2/style.css
2024-04-23 18:51:48 -05:00

891 lines
No EOL
17 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
html{
height: 100%;
width: 100%;
color: black;
scrollbar-width: none;
}
li{
list-style: none;
}
a{
text-decoration: none;
color: inherit;
}
#main{
position: relative;
z-index: 10;
}
/*===== Loader =====*/
.loading{
height: 100%;
width: 100%;
background-color: #000;
position: fixed;
z-index: 999;
top: 0;
transition: all ease 0.7s;
display: flex;
align-items: center;
justify-content: center;
}
.loading h1{
font-size: 4vw;
color: transparent;
background: linear-gradient(to right,orange,orangered);
-webkit-background-clip: text;
position: absolute;
opacity: 0;
animation-name: load;
animation-duration: 1s;
animation-delay: 1s;
animation-timing-function: linear;
}
.loading h1:nth-child(2){
animation-delay: 2s;
}
.loading h1:nth-child(3){
animation-delay: 3s;
}
@keyframes load{
0%{
opacity: 0;
}
10%{
opacity: 1;
}
90%{
opacity: 1;
}
100%{
opacity: 0;
}
}
/*===== Section1 =====*/
.section-1{
min-height: 100vh;
width: 100%;
position: relative;
padding: 0 2vw;
background-color: #EFEAE3;
}
.section-1 video{
position: relative;
border-radius: 30px;
margin-top: 4vw;
width: 100%;
}
nav{
padding: 2vw 0;
width: 100%;
display: flex;
align-items: center;
position: relative;
justify-content: space-between;
z-index: 100;
}
nav h3{
display: none;
}
#navbar{
display: flex;
align-items: center;
gap: 1vw;
}
#navbar p{
padding: 0.6rem 1.2rem;
border: 1px solid #0000003c;
border-radius: 50px;
font-size: 18px;
font-weight: 500;
color: #000000bb;
transition: all ease 0.3s;
position: relative;
overflow: hidden;
}
#navbar p::after{
content: "";
position: absolute;
height: 100%;
width: 100%;
background-color: black;
left: 0;
bottom: -100%;
border-radius: 50%;
transition: all ease 0.3s;
}
#navbar p:hover::after{
bottom: 0;
border-radius: 0;
}
#navbar p a{
color: #000000bb;
position: relative;
z-index: 9;
}
#navbar p:hover a{
color: white;
}
#hero-top{
height: 65vh;
width: 100%;
display: flex;
align-items: flex-end;
justify-content: space-between;
border-bottom: 1px solid #0000003c;
padding-bottom: 2.5vw;
}
#left h3{
width: 30vw;
font-size: 1.8vw;
line-height: 1.8vw;
letter-spacing: -1px;
}
#right h1{
font-size: 10vw;
text-align: right;
line-height: 8vw;
letter-spacing: -5px;
}
#hero-bottom{
position: absolute;
width: 46vw;
height: 36vw;
right: 0;
top: 65vh;
}
#hero-1{
background-color: #FE320A;
height: 100%;
width: 100%;
border-top-left-radius: 50%;
border-bottom-left-radius: 50%;
filter: blur(10px);
position: absolute;
}
#hero-2{
background: linear-gradient(#FE320A, #fe3f0a);
height: 30vw;
width: 30vw;
border-radius: 50%;
position: absolute;
animation-name: anime2;
animation-duration: 5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
filter: blur(25px);
}
#hero-3{
background: linear-gradient(#FE320A, #fe3f0a);
height: 30vw;
width: 30vw;
position: absolute;
border-radius: 50%;
filter: blur(25px);
animation-name: anime1;
animation-duration: 5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
@keyframes anime1{
from {
transform: translate(55%, -3%);
}
to {
transform: translate(0%, 10%);
}
}
@keyframes anime2{
from {
transform: translate(5%, -5%);
}
to {
transform: translate(-20%, 30%);
}
}
/*===== Section2 =====*/
.section-2{
min-height: 100vh;
width: 100%;
padding: 8vw 0;
position: relative;
background-color: #EFEAE3;
}
.section-2-top{
overflow-x: auto;
white-space: nowrap;
scrollbar-width: none; /* Firefox 64 ===> -ms-overflow-style: none; (IE 11)*/
}
.text-moving{
white-space: nowrap;
display: inline-block;
animation-name: textmoving;
animation-duration: 10s;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
.section-2-top h1 {
font-size: 9vw;
display: inline-block;
}
#dot{
height: 70px;
width: 70px;
border-radius: 50%;
display: inline-block;
background-color: #FE320A;
margin: 1vw 2vw;
}
@keyframes textmoving {
from {
transform: translateX(0);
}
to {
transform: translateX(-100%);
}
}
.section-2-bottom{
height: 80vh;
width: 100%;
padding: 4.5vw;
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
z-index: 9;
}
.section-2-bottom h1{
font-size: 4vw;
width: 60%;
line-height: 4vw;
font-weight: 600;
letter-spacing: -3px;
}
.section-2-bottom2{
width: 20%;
}
.section-2-bottom2 img{
width: 100%;
margin-top: 20rem;
border-radius: 15px;
}
.section-2-bottom2 p{
margin-top: 2vw;
font-size: 1vw;
}
.section-2 .sunspot{
height: 32vw;
width: 32vw;
position: absolute;
border-radius: 50%;
background: linear-gradient(to top right, #ff2d03, #ff5c0b);
top: 58%;
left: 25%;
filter: blur(20px);
animation-name: sunspot;
animation-duration: 6s;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-timing-function: ease-in-out;
}
@keyframes sunspot{
from {
filter: blur(20px);
transform: translate(10%, -10%) skew(0);
}
to {
filter: blur(30px);
transform: translate(-10%, 10%) skew(-12deg);
}
}
/*===== Section3 =====*/
.section-3{
min-height: 100vh;
width: 100%;
padding: 4vw 0;
background-color: #EFEAE3;
}
.topic{
height: 150px;
width: 100%;
position: relative;
border-bottom: 1px solid #38383864;
overflow: hidden;
display: flex;
align-items: center;
padding: 0 2vw;
}
.topic h2{
font-size: 3vw;
position: relative;
z-index: 9;
}
.topic .overlay{
height: 100%;
width: 100%;
background-color: orange;
position: absolute;
left: 0;
top: -100%;
transition: all ease 0.25s;
}
.topic:hover .overlay, .topic-line:hover .overlay{
top: 0;
cursor: pointer;
}
.topic-line{
height: 150px;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
text-align: end;
}
.topic-line p{
text-transform: uppercase;
font-size: 16px;
position: relative;
z-index: 9;
}
.topic-line span{
text-transform: capitalize;
font-size: 16px;
position: relative;
z-index: 9;
color: gray;
}
#overlay-image{
height: 30vw;
width: 24vw;
border-radius: 15px;
position: fixed;
z-index: 99;
left: 50%;
top: 25%;
display: none;
background-size: cover;
background-position: center;
}
.container-2{
display: none;
}
/*===== Section4 =====*/
.section-4{
min-height: 100vh;
width: 100%;
padding: 2vw 2vw;
background-color: #EFEAE3;
}
.wrapper{
display: flex;
justify-content: center;
align-items: center;
height: 100%;
width: 100%;
border-radius: 25px;
background-color: #0B0500;
color: #EFEAE3;
}
.indicator{
width: 60%;
display: flex;
flex-direction: column;
margin: 100px;
}
.indicator li{
display: flex;
align-items: center;
padding: 10px 10px;
cursor: pointer;
font-size: 4vw;
font-weight: 600;
color: #4F4A45;
border-left: 3px solid #4F4A45;
line-height: 55px;
}
.indicator li.active{
border-left-color: #FE330A;
color: #EFEAE3;
}
.content{
width: 100%;
height: 100%;
overflow: hidden;
}
.content li{
display: none;
}
.content li.active{
display: block;
overflow: hidden;
}
.content li img{
border-radius: 30px;
width: 100%;
height: 100%;
}
/*===== Section5 + Full screen =====*/
#section-5{
height: 100vh;
width: 100%;
}
#footer-bottom {
border-top: 1px solid #dadada;
height: 10vh;
width: 100%;
}
#full-screen{
height: 100vh;
width: 100%;
background-color: #00000070;
position: fixed;
z-index: 99;
top: -100%;
transition: all ease 0.5s;
}
#full-screen-div{
height: 50%;
width: 100%;
background-color: #EFEAE3;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
}
/*===== Footer =====*/
.footer{
position: fixed;
height: 105vh;
width: 100%;
background-color: #0B0500;
color: #fff;
z-index: 9;
bottom: 0;
display: flex;
justify-content: flex-end;
flex-direction: column;
padding: 1vw 3vw;
}
.footer h1 {
font-size: 20vw;
}
.footer-sunspot {
height: 100vh;
width: 100%;
background: linear-gradient(to top right, #ff2d03, #ff5c0b);
filter: blur(30px);
animation-name: footerSunspot;
animation-duration: 10s;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-timing-function: ease-in-out;
}
@keyframes footerSunspot{
from {
filter: blur(100px);
transform: translate(20%, -10%) skew(0);
}
to {
filter: blur(50px);
transform: translate(-10%, 10%) skew(-12deg);
}
}
.footer-copyright{
border-top: 1px solid #dadada;
height: 10vh;
width: 100%;
}
.footer-text{
display: flex;
justify-content: space-between;
margin-top: 20px;
}
/*========== Responsive section1 ==========*/
@media (max-width:1200px){
#hero-top{
height: 50vh;
}
#left h3{
font-size: 2vw;
}
#right h1{
font-size: 12vw;
line-height: 10vw;
}
#hero-bottom{
top: 50vh;
}
}
@media (max-width:890px){
#hero-top{
height: 40vh;
}
#hero-bottom{
top: 40vh;
}
#left h3{
width: 40vw;
font-size: 2.5vw;
line-height: 3vw;
}
}
@media (max-width:600px){
.loading h1{
font-size: 9vw;
}
.section-1{
padding: 0;
}
nav{
padding: 8vw 5vw;
}
nav img{
transition: all ease 0.2s;
height: 9vh;
}
#navbar{
display: none;
}
nav h3{
display: block;
padding: 3vw 5vw;
border: 1px solid #ababab;
border-radius: 50px;
font-size: 4vw;
font-weight: 200;
padding-left: 10vw;
}
#hero-top{
height: 70vh;
padding: 7vw 5vw;
padding-bottom: 10vw;
flex-direction: column-reverse;
position: relative;
z-index: 9;
}
#left h3 {
width: 80%;
font-size: 5vw;
line-height: 6vw;
}
#hero-top h1{
font-size: 17vw;
text-align: right;
line-height: 15vw;
}
.section-1 video {
position: relative;
border-radius: 15px;
margin-top: 4vw;
height: 70vh;
object-fit: cover;
object-position: center;
width: 92%;
margin-left: 4%;
}
#hero-bottom{
top: 60vh;
}
}
@media (max-width:450px){
#hero-top{
height: 60vh;
}
#hero-top h1{
letter-spacing: -2px;
}
}
@media (max-width:380px){
#hero-top{
height: 50vh;
}
#left h3 {
font-size: 4.5vw;
line-height: 5vw;
}
#hero-top h1{
font-size: 16vw;
line-height: 14vw;
}
}
/*========== Responsive section2 ==========*/
@media (max-width:1200px){
.section-2-bottom{
height: 70vh;
}
.section-2-bottom h1{
font-size: 5vw;
width: 68%;
line-height: 5vw;
}
.section-2-bottom2{
width: 25%;
}
.section-2-bottom2 img{
margin-top: 20rem;
}
#dot{
height: 40px;
width: 40px;
margin: 1vw 1vw;
}
}
@media (max-width:950px){
.section-2-bottom2 p{
margin-top: 2rem;
font-size: 1.3vw;
}
.section-2 .sunspot{
height: 62vw;
width: 62vw;
}
}
@media (max-width:780px){
.section-2-bottom h1{
font-size: 6vw;
width: 60%;
line-height: 6vw;
}
.section-2-bottom2 img{
margin-top: 10rem;
}
.section-2-bottom2 p{
font-size: 1.5vw;
}
}
@media (max-width:750px){
#section-2 {
padding: 5vw 0;
position: relative;
}
.section-2-bottom{
display: flex;
align-items: flex-start;
flex-direction: column;
position: relative;
z-index: 9;
}
.section-2-bottom h1 {
margin-top: 2rem;
font-size: 4.5vw;
width: 100%;
line-height: 5vw;
}
.section-2-bottom2{
width: 50%;
margin-top: -6rem;
}
.section-2-bottom2 p{
font-size: 1.8vw;
}
#dot{
height: 30px;
width: 30px;
}
}
@media (max-width:620px){
.section-2-bottom2{
width: 60%;
}
.section-2-bottom h1{
font-size: 30px;
line-height: 35px;
}
.section-2-bottom2 p{
font-size: 14px;
}
}
@media (max-width:580px){
.section-2-bottom2{
width: 70%;
}
.section-2-bottom2 p{
font-size: 12px;
}
#bottom-part2 img {
width: 350px;
}
}
@media (max-width:450px){
.section-2-bottom2{
width: 90%;
}
}
/*========== Responsive section3 ==========*/
@media (max-width: 1200px){
.section3-topic{
margin-top: 100px;
}
.topic{
height: 100px;
}
.topic h2{
font-size: 3.5vw;
}
.container{
margin-top: -4rem;
}
}
@media (max-width: 980px){
.section3-topic{
font-size: 14px;
}
.container{
display: none;
}
.container-2{
display: grid;
grid-template-columns: 1fr 1fr;
padding:2.5rem;
grid-gap: 2rem;
margin-top: -5rem;
}
.container2-content img{
width: 100%;
height: 500px;
object-fit: cover;
border-radius: 10px;
margin-bottom: 2rem;
}
.container2-content h2{
font-size: 30px;
}
.container2-content p{
text-transform: uppercase;
}
.container2-content span{
text-transform: uppercase;
color: gray;
font-size: 14px;
}
}
@media (max-width: 750px){
.container2-content img{
height: 50vw;
object-fit: cover;
border-radius: 10px;
margin-bottom: 2rem;
}
.container2-content h2{
font-size: 3.5vw;
}
.container2-content p{
font-size: 14px;
text-transform: uppercase;
}
.container2-content span{
font-size: 12px;
}
}
@media (max-width: 480px){
.container-2{
grid-template-columns: 1fr;
padding:1.5rem;
}
.container2-content img{
height: 100vw;
}
.container2-content h2{
font-size: 5vw;
}
}
/*========== Responsive section4 ==========*/
@media (max-width:1200px){
.wrapper{
height: 80vh;
}
.indicator li{
font-size: 5vw;
line-height: 50px;
}
}
@media (max-width:1050px){
.wrapper{
height: 70vh;
}
}
@media (max-width:950px){
.section-4{
height: 50vh;
}
.wrapper{
height: 60vh;
}
.indicator li{
line-height: 30px;
}
}
@media (max-width:800px){
.section-4{
padding: 2rem 2rem;
}
.wrapper{
height: 90vh;
display: flex;
flex-direction: column;
}
.indicator{
width: 50%;
margin-top: 50px;
margin-bottom: 100px;
}
.indicator li{
font-size: 40px;
font-weight: 700;
line-height: 30px;
}
.content li img{
border-radius: 10px;
width: 100%;
height: 100%;
object-fit: cover;
}
}
@media (max-width:480px){
.wrapper{
height: 80vh;
}
.indicator{
margin-left: 30px;
}
.indicator{
width: 60%;
}
}
/*========== Responsive section6 ==========*/
@media (max-width:1200px){
#section-5{
height: 80vh;
}
}
@media (max-width:1000px){
#section-5{
height: 60vh;
}
}
@media (max-width:650px){
.footer-text{
font-size: 14px;
}
}
@media (max-width:495px){
#section-5{
height: 50vh;
}
.footer-copyright{
height: 15vh;
}
.footer-text{
font-size: 12px;
display: grid;
}
}