body{
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body::before{
content: "";
background: url('Images/back5.jpg') no-repeat center center/cover;
position: absolute;
height: 100vh;
width: 100%;
z-index: -1;
opacity: 0.95;
}
.navbar{
display: flex;
flex-direction: row;
justify-content: space-between;
border-radius: 5px;
padding-top: 20px;
z-index: 1;
transition: display 0.5s;
}
.navbar ul{
display: flex;
flex-direction: row;
justify-content: space-around;
list-style: none;
}
.navbar ul li a{
text-decoration: none;
font-size: 20px;
color: white;
font-weight: bold;
font-family: cursive;
margin-left: 50px;
padding: 5px;
border: 2px solid white;
border-radius: 8px;
}
.navbar ul li a:hover{
background-color: rgb(212, 10, 212);
color: black;
}
.navbar .searchbar {
width: min-content;
max-width: 500px;
margin-right: 50px;
display: flex;
align-items: center;
}
.navbar .searchbar input {
width: 400px;
font-size: 15px;
border-radius: 5px;
outline: none;
background-color: black;
color: white;
font-weight: bold;
border: 2px solid white;
}
.navbar .searchbar input:focus {
width: 500px;
}
.main-container{
height: 500px;
margin-top: 20px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
color: white;
}
.main-container .header{
font-size: 30px;
color: rgb(24, 221, 24);
}
.main-container .header-button .getStarted{
background-color: rgb(206, 9, 140);
font-size: 25px;
outline: none;
color: white;
padding: 10px;
width: 200px;
border-radius: 5px;
}
.main-container .header-button .getStarted:hover{
background-color: rgb(122, 6, 84);
border-radius: 10px;
}
No comments:
Post a Comment