main_style.css 1.81 KB
*
{
    margin: 0;
    padding: 0;
}

header
{
    background-image:linear-gradient(rgba(0,0,0,0.5),rgba(0,0,100,0.5)), url(/images/back1.jpg);
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: 5s;

    animation-name: animate;
    animation-direction: alternate-reverse;
    animation-duration: 30s;
    animation-fill-mode:forwards;
    animation-iteration-count: infinite;
    animation-play-state: running;
    animation-timing-function:ease-in-out;
}
@keyframes animate{
    0%{
        background-image:linear-gradient(rgba(0,0,0,0.5),rgba(0,0,100,0.5)), url(/images/back1.jpg);
    }
    33%{
        background-image:linear-gradient(rgba(0,0,0,0.5),rgba(0,0,100,0.5)), url(/images/back2.jpg);
    
    }
    66%{
        background-image:linear-gradient(rgba(0,0,0,0.5),rgba(0,0,100,0.5)), url(/images/back3.jpg);
    
    }
}
.nav-bar
{
    background: rgb(0,0,0,0.5);
    height: 80px;
}

.logo{
    background-color: #fff;
    margin: 10px 50px;
    height: 60px;
}

.menu{
    float: right;
    list-style: none;
    margin:20px;
}

.menu li{
    display: inline-block;
    margin: 10px 5px;
}

.menu li a{
    text-decoration: none;
    color: #fff;
    padding: 5px 10px;
    font-family: sans-serif;
    letter-spacing: 2px;
    border: 1px solid #fff;
}

.menu li a:hover{
    background: #fff;
    transition: .4s;
    color: #000;
}

.welcome{
    position:relative;
    text-align:center;
    font-family: sans-serif;
    color:#fff;
    top: 30%;
}

.welcome h1{
    font-size: 42px;
    margin: 25px;
}

.btn{
    font-size:18px;
    letter-spacing: 2px;
    margin:5px;
    padding:7px 10px;
    text-decoration: none;
    border: 1px solid #fff;
}

.btn{
    color:#fff;

}
.btn:hover{
    background: #fff;
    color: #000;
    transition: .4s;
}