Update backg.css
This commit is contained in:
parent
59ef42a765
commit
92c02ddf4c
319
backg.css
319
backg.css
|
@ -1,161 +1,160 @@
|
||||||
* {
|
* {
|
||||||
font-family: montserrat;
|
padding: 0;
|
||||||
padding: 0;
|
margin: 0;
|
||||||
margin: 0;
|
}
|
||||||
}
|
|
||||||
|
.wrapper {
|
||||||
.wrapper {
|
background-image: url(somet2.jpg);
|
||||||
background-image: url(somet2.jpg);
|
background-position: center center;
|
||||||
background-position: center center;
|
background-size: cover;
|
||||||
background-size: cover;
|
}
|
||||||
}
|
|
||||||
|
header {
|
||||||
header {
|
text-align: center;
|
||||||
text-align: center;
|
display: flex;
|
||||||
display: flex;
|
flex-direction: column;
|
||||||
flex-direction: column;
|
align-items: center;
|
||||||
align-items: center;
|
height: 60px;
|
||||||
height: 60px;
|
position: fixed;
|
||||||
position: fixed;
|
margin: auto;
|
||||||
margin: auto;
|
width: 100%;
|
||||||
width: 100%;
|
}
|
||||||
}
|
|
||||||
|
.logo {
|
||||||
.logo {
|
max-width: 250px;
|
||||||
max-width: 250px;
|
color: #ff0077;
|
||||||
color: #ff0077;
|
font-size: 30px;
|
||||||
font-size: 30px;
|
margin: 20px;
|
||||||
margin: 20px;
|
font-weight: 700;
|
||||||
font-weight: 700;
|
text-transform: uppercase;
|
||||||
text-transform: uppercase;
|
}
|
||||||
}
|
|
||||||
|
nav {
|
||||||
nav {
|
margin-bottom: 20px;
|
||||||
margin-bottom: 20px;
|
}
|
||||||
}
|
|
||||||
|
.nav-items {
|
||||||
.nav-items {
|
list-style: none;
|
||||||
list-style: none;
|
margin: 0;
|
||||||
margin: 0;
|
padding: 0;
|
||||||
padding: 0;
|
}
|
||||||
}
|
|
||||||
|
.nav-items li {
|
||||||
.nav-items li {
|
display: inline-block;
|
||||||
display: inline-block;
|
margin-right: 20px;
|
||||||
margin-right: 20px;
|
position: relative;
|
||||||
position: relative;
|
}
|
||||||
}
|
|
||||||
|
.nav-items a {
|
||||||
.nav-items a {
|
text-decoration: none;
|
||||||
text-decoration: none;
|
color: rgb(255, 0, 119);
|
||||||
color: rgb(255, 0, 119);
|
font-weight: bold;
|
||||||
font-weight: bold;
|
text-transform: uppercase;
|
||||||
text-transform: uppercase;
|
padding: 5px 15px;
|
||||||
padding: 5px 15px;
|
transition: all 0.3s ease-in-out;
|
||||||
transition: all 0.3s ease-in-out;
|
}
|
||||||
}
|
|
||||||
|
.nav-items a:hover {
|
||||||
.nav-items a:hover {
|
background: #ffb7c6;
|
||||||
background: #ffb7c6;
|
color: #ff02d5;
|
||||||
color: #ff02d5;
|
transform: scale(1.1);
|
||||||
transform: scale(1.1);
|
}
|
||||||
}
|
|
||||||
|
.dropdown-menu {
|
||||||
.dropdown-menu {
|
display: none;
|
||||||
display: none;
|
position: absolute;
|
||||||
position: absolute;
|
top: 100%;
|
||||||
top: 100%;
|
left: 0;
|
||||||
left: 0;
|
background: #ffb7c6;
|
||||||
background: #ffb7c6;
|
padding: 10px;
|
||||||
padding: 10px;
|
list-style: none;
|
||||||
list-style: none;
|
border-radius: 5px;
|
||||||
border-radius: 5px;
|
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
|
||||||
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
|
}
|
||||||
}
|
|
||||||
|
.dropdown:hover .dropdown-menu {
|
||||||
.dropdown:hover .dropdown-menu {
|
display: block;
|
||||||
display: block;
|
}
|
||||||
}
|
|
||||||
|
.banner-text {
|
||||||
.banner-text {
|
display: flex;
|
||||||
display: flex;
|
justify-content: center;
|
||||||
justify-content: center;
|
height: 100vh;
|
||||||
height: 100vh;
|
align-items: center;
|
||||||
align-items: center;
|
color: #a33267;
|
||||||
color: #a33267;
|
text-align: center;
|
||||||
text-align: center;
|
}
|
||||||
}
|
|
||||||
|
.single-banner h2 {
|
||||||
.single-banner h2 {
|
font-size: 70px;
|
||||||
font-size: 70px;
|
text-transform: uppercase;
|
||||||
text-transform: uppercase;
|
animation: animate 3s infinite alternate;
|
||||||
animation: animate 3s infinite alternate;
|
font-family: impact;
|
||||||
font-family: impact;
|
}
|
||||||
}
|
|
||||||
|
@keyframes animate {
|
||||||
@keyframes animate {
|
0%, 100% {
|
||||||
0%, 100% {
|
transform: translateY(-6px);
|
||||||
transform: translateY(-6px);
|
}
|
||||||
}
|
50% {
|
||||||
50% {
|
transform: translateY(0);
|
||||||
transform: translateY(0);
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@keyframes floatingBackground {
|
||||||
@keyframes floatingBackground {
|
0% {
|
||||||
0% {
|
transform: scale(1) translate(0, 0);
|
||||||
transform: scale(1) translate(0, 0);
|
}
|
||||||
}
|
50% {
|
||||||
50% {
|
transform: scale(1.02) translate(-5px, 5px);
|
||||||
transform: scale(1.02) translate(-5px, 5px);
|
}
|
||||||
}
|
100% {
|
||||||
100% {
|
transform: scale(1) translate(0, 0);
|
||||||
transform: scale(1) translate(0, 0);
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
.animated-bg {
|
||||||
.animated-bg {
|
position: fixed;
|
||||||
position: fixed;
|
width: 100vw;
|
||||||
width: 100vw;
|
height: 100vh;
|
||||||
height: 100vh;
|
background: url('somet2.jpg') no-repeat center center/cover;
|
||||||
background: url('somet2.jpg') no-repeat center center/cover;
|
background-size: contain;
|
||||||
background-size: contain;
|
image-rendering: high-quality;
|
||||||
image-rendering: high-quality;
|
animation: floatingBackground 5s ease-in-out infinite alternate;
|
||||||
animation: floatingBackground 5s ease-in-out infinite alternate;
|
}
|
||||||
}
|
|
||||||
|
body {
|
||||||
body {
|
opacity: 1;
|
||||||
opacity: 1;
|
transition: opacity 0.5s ease-in-out;
|
||||||
transition: opacity 0.5s ease-in-out;
|
}
|
||||||
}
|
|
||||||
|
body.fade-out {
|
||||||
body.fade-out {
|
opacity: 0;
|
||||||
opacity: 0;
|
}
|
||||||
}
|
|
||||||
|
.animated-bg {
|
||||||
.animated-bg {
|
transition: opacity 0.5s ease-in-out;
|
||||||
transition: opacity 0.5s ease-in-out;
|
}
|
||||||
}
|
|
||||||
|
body {
|
||||||
body {
|
opacity: 0;
|
||||||
opacity: 0;
|
animation: fadeIn 0.5s forwards;
|
||||||
animation: fadeIn 0.5s forwards;
|
transition: opacity 0.5s ease-in-out;
|
||||||
transition: opacity 0.5s ease-in-out;
|
|
||||||
|
}
|
||||||
}
|
|
||||||
|
@keyframes fadeIn {
|
||||||
@keyframes fadeIn {
|
to {
|
||||||
to {
|
opacity: 1;
|
||||||
opacity: 1;
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
body.fade-out {
|
||||||
body.fade-out {
|
opacity: 0;
|
||||||
opacity: 0;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
.animated-bg {
|
||||||
.animated-bg {
|
transition: opacity 0.5s ease-in-out;
|
||||||
transition: opacity 0.5s ease-in-out;
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user