@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:100,300,400,700');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i');gn

/*setting the basic para*/
*{
    margin: 0;
    padding: 0;
    font-family: "Open Sans",sans-serif;
    box-sizing: border-box;
}

body, html {
    font-family: 'Roboto Slab', serif;
    margin: 0;
    width: 100%;
    height: 100%;
    padding: 0;
}
 
body {
   background-color: #f1f1f1;
   /*display: flex;
   display: -webkit-flex;*/
   -webkit-justify-content: center;
   -webkit-align-items: center;
   justify-content: center;
   align-items: center;
   align-content: center;
}

/*Top Navigation Code*/
.topnav {
    background-color: #072227;
    overflow: hidden;
    position: fixed;
    width: 100%;
    top:0;
    z-index: 10;
}
  
/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
}
  
/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}
  
/* Add a color to the active/current link */
.topnav a.active {
    background-color: #04AA6D;
    color: white;
}

.background {
    background-image: url(Images/bodyBg.png);
    background-repeat: repeat;
    background-attachment: fixed;
    height: 100vh;
}
  
.foreground {
    height: 100vh;
    overflow-y: scroll;
}

/*News Section*/

/*Heading*/
.news-heading h1 {
    background-color: #fff;
    font-size: 50px;
    text-align: center;
    margin-top: 45px;
}

/*Flexbox Cards*/

/*Cards setup*/
.cards {
    width: 100%;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction: column;
}

/*Hover Styling*/

/*Info Hover*/
.card__info-hover {
    position: absolute;
    padding: 16px;
    width: 100%;
    opacity: 0;
    top: 0;
}

/*Card Hover*/
.card {
    margin-right: 10%;
    margin-left: 10%;
    margin-bottom: 25px;
    width: 80%;
    transition: all .4s cubic-bezier(0.175, 0.885, 0, 1);
    background-color: #fff;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 13px 10px -7px rgba(0, 0, 0,0.1);
}

.card:hover {
    box-shadow: 0px 30px 18px -8px rgba(0, 0, 0,0.1);
    transform: scale(1.10, 1.10);
}

/*Text*/

/*Styling Basic Text*/
.card__info {
    z-index: 2;
    background-color: #fff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 16px 24px 24px 24px;
}

/*Title*/
.card__title {
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 500;
    color: #868686;
}

/*Description*/
.card__text {
    margin-top: 5px;
    margin-bottom: 10px;
    font-family: 'Roboto Slab', serif;
}

/*Version link*/
.card__version {
    font-size: 12px;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}

/*Hover Info Code*/
.card:hover .card__info {
    background-color: transparent;
    position: relative;
}

.card:hover .card__info-hover {
    opacity: 1;
}

/* Footer styles */
.footer {
    background-color: #333;
    color: #fff;
    text-align: right;
    padding: 5px;
    position: fixed;
    bottom:0;
    z-index: 10;
    width: 100%;
    height: 50px;
}

/* Social icons styles */
.social-icons {
    display: flex;
    justify-content: right;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    background-color: #333;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in-out;
    margin: 0 10px;
}

.social-icon:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.social-icon img {
    width: 25px;
    height: 25px;
}

.footer p {
    position: absolute;
    bottom: 10px;
    left: 10px;
    opacity: 75%;
}


/*Responsive Code Here*/

/*Tablet*/
@media screen and (max-width:850px) {
    .news-heading h1 {
        font-size: 45px;
    }
}

/*Mobile*/
@media screen  and (max-width:600px) {
    .topnav a {
        padding: 8px 16px;
        font-size: 14px;
    }

    .news-heading h1 {
        font-size: 35px;
    }

    .footer p {
        font-size: 12px;
        margin-top: 10px;
    }

    .news-heading h1 {
        margin-top: 30px;
    }
}