*{
    margin:0;
    padding:0;
    
}

/* header */
.topnav {
    overflow: hidden;
    background-color: #333;
  }
  
  .topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size:25px;
  }
  
  .topnav a:hover {
    background-color: rgb(212, 200, 93);
    color: black;
  }
  
  .active {
    background-color: #2c94cf ;
    color: white;
  }
  
  .topnav .icon {
    display: none;
  }
body{
     background: url(Backg.jpg);
    background: linear-gradient(rgba(0,0,50,0.5),rgba(47, 50, 0, 0.5)),url(PhotoGrid.jpg);   
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: rgb(255, 255, 255);
    line-height: 1.6;
    text-align: center;
    font-size: 30px;
}
.container{
    max-width: 960px;
    margin: auto;
    padding: 0 10px;
}
#showcase{
    height: 350px;
}
#showcase h1{
    font-size: 50px;
    padding: 0px;
    line-height: 1.3;
    position: relative;
    animation: heading;
    animation-direction: 3s;
    animation-fill-mode: forwards;
}
@keyframes heading{
    0%  {top: -50px}
    100% {top: 200px}
}
#content{
    position: relative;
    animation-name:content;
    animation-duration: 3s;
    animation-fill-mode: forwards;
}
@keyframes content{
    0% {left: -1000px;}
    100% {left: 0}
}
.btn{
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    border: #fff 1px solid;
    margin-top: 40px;
    margin-bottom: 40px;
    opacity: 0;
    animation-name: btn;
    animation-duration: 3s;
    animation-fill-mode: forwards; 

    transition-property: transform;
    transition-duration: 1s;
}
.btn:hover{
    transform: rotateY(180deg);
}
@keyframes btn{
    0% {opacity: 0}
    100% {opacity: 1}

}

/* On smaller screens, decrease text size */

@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
      float: right;
      display: block;
    }
  }
  
  @media screen and (max-width: 600px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }

@media only screen and (max-width: 300px) {
font-size: 6px;
}
 .btn{
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    border: #fff 1px solid;
  
}
.btn:hover{
    transform:none;
}
  /* Media queries */
  @media(max-width: 768px){  
text-align:center;    
 }
}