@charset "utf-8";
/* CSS Document */
body{
	font: 15px/1.5 Arial, Helvetica, sans-serif;
	padding: 0;
	margin: 0;
	background-color: #f4f4f4;
}

/*Global*/
.container{
	width: 80%;
	margin: auto;
	overflow: hidden;
}

ul{
	margin: 0;
	padding: 0;
}

.button_1{
	height: 38px;
	background: #FC080C;
	border: 0;
	padding-right: 20px;
	padding-left: 20px;
	color: white;
}

/*Header*/
header{
	background: #35424a;
	color: white;
	padding-top: 20px;
	min-height: 70px;
	border-bottom: #FC0A0E 3px solid;
}

header a{
	color: #FFFFFF;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 16 px;
}

/*space between the menu*/
header li{
	float: left;
	display: inline;
	padding: 0 10px 0 5px;
}

header #branding{
	float: center;
}

header #branding h1{
	margin: 0;
}

header nav{
	float: right;
	margin-top: 20px;
}

header .highlight, header .current a{
	color: red;
	font-weight: bold;
}

header a:hover{
	color: red;
	font-weight: bold;
}
header nav h3{
	font-size: 20px;
	text-align:center;
}
/*added info to nav*/
/*this is to hide the sub menu*/
nav ul ul{
	position: absolute;
	 top: 90px;
	opacity: 0;
	visibility: hidden;
	transition: top .3s;
	text-align:center;
}
/*this is to show the sub menu when pasing mouse over*/

nav ul li:hover > ul{
	top: 0px;
	opacity: 1;
	visibility: visible;
	background: #1F233F;
}
nav ul li a img:hover{
	color: red;
	border-radius: 5px;
	box-shadow: 0 0 5px #33ffff,
		        0 0 5px #66ffff;
}
nav ul ul li{
	position: relative;
	margin: 0px;
	width: 150px;
	float: none;
	display: list-item;
	border-bottom: 1px solid rgba(0,0,0,0.3);
}
nav ul ul li a{
	line-height: 25px;
	
}
nav ul ul ul li{
	position: relative;
	top: -70px;
	left: 150px;
	}
/*Showcase*/
#showcase{
	min-height:400px;
	background:url("../assets/pr beach.jpg") no-repeat 0 -400px;
	text-align: center;
	color: white;
}

#showcase h1{
	margin-top: 100px;
	font-size: 55px;
	margin-bottom: 10px;
}

#showcase p{
	font-size: 20px;
}

/*newsletter*/
#newsletter{
	padding:15px;
	color: #ffffff;
	background: #35424a;
}

#newsletter h1{
	float: left;
}

#newsletter form{
	float: right;
	margin-top: 15px;
}

#newsletter input[type="email"]{
	padding: 4px;
	height: 25px;
	width: 250px;
}

/*cards*/
/*add fonts*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
}

body {
  background: #eedfcc;
  color: #555555;
  font-size: 14px;
}

img {
  display: block;
  width: 100%;
  height: 100%;
}

.wrapper {
  width: 100%;
  margin: 20px auto;
}

.cards_wrap {
  display: flex;
  flex-wrap: wrap;
}

.cards_wrap .card_item {
  width: 25%;
  padding: 10px;
}

.cards_wrap .card_inner {
  background: #fff;
}

.cards_wrap .card_top {
  width: 100%;
  height: auto;
  padding: 10px;
  padding-bottom: 0;
}

.cards_wrap .card_bottom {
  padding: 15px;
}

.cards_wrap .card_bottom .card_category {
  text-transform: uppercase;
  text-align: center;
}

.cards_wrap .card_bottom .card_info {
  padding: 15px;
  margin: 10px 0;
  border: 1px dashed #0071bc;
}

.cards_wrap .card_bottom .card_info .title {
  color: #0071bc;
  font-size: 18px;
  margin-bottom: 5px;
}

.cards_wrap .card_bottom .card_creator {
  text-align: center;
}

@media (max-width: 1024px) {
  .cards_wrap .card_item {
    width: 33.3%;
  }
}

@media (max-width: 768px) {
  .cards_wrap .card_item {
    width: 50%;
  }
}

@media (max-width: 528px) {
  .cards_wrap .card_item {
    width: 100%;
  }
}

/*footer*/
footer{
	padding: 20px;
	margin-top: 20px;
	color:#ffffff;
	background-color: #35424a;
	text-align: center;
	width: 100%;
	
}

@media(max-width: 768px){
	header #branding,
	header nav,
	header nav li,
	#newsletter form,
}
	
	/*table*/
table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

table tr {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: .35em;
}

table th,
table td {
  padding: .625em;
  text-align: center;
}

table th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media screen and (max-width: 600px) {
  table {
    border: 0;
  }

  table caption {
    font-size: 1.3em;
  }
  
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  
  table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
  }
  
  table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  table td:last-child {
    border-bottom: 0;
  }
}


table_bottom:{ 
 border: none;
    clip: rect(0 0 0 0);
    height: 2px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}
  
/* general styling */
body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.25;
}


.buttonr{
  color: white;
  background-color: skyblue; /* blue */
  border: #2807FF;
  padding: 2px 5px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
	border: medium;
}
.buttonr{
  transition-duration: 0.4s;
}

.buttonr:hover {
  color: white;
background-color: #f01010; /* red*/
 }

/* nav bar 2 */
nav2{
	background: #35424a;
	color: aliceblue;
	padding-top: 30px;
	min-height: 70px;
	border-bottom: #FC0A0E 3px solid;
}

nav2 a{
	color: #FFFFFF;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 18 px;
}

/*space between the menu*/
nav2 li{
	color: white;
	font-weight: bold;
	background-color: navy;
	float: center;
	display: inline;
	padding: 2px 15px 2px 15px;
}

nav2 #branding{
	float: center;
}

nav2 #branding h1{
	margin: 0;
}

nav2 nav{
	float: right;
	margin-top: 20px;
}

nav2 .highlight, nav2 .current a{
	color: white;
	font-weight: bold;
}

nav2 a:hover{
	color: red;
	font-weight: bold;
}
nav2 nav h3{
	font-size: 20px;
	text-align:center;
}


/* CSS */
button {
  border: #FB0509 5 thick;
  color: white;
  padding: 5px 10px;
  text-align: center;
  	border-radius: 8px;
	font-size: 20px;
  margin: 4px 2px;
  cursor: pointer;
}
button { text-decoration: none;}
button:hover{
	background-color: crimson;
	font-weight: bold;
}

/* nav_2 */
/* Style the links inside the navigation bar */
nav_2 a {
  float: left;
  color: #ffffff;
	background: #1A35B4;
  text-align: center;
  text-decoration: none;
  font-size: 20px;
  padding: 5px 10px;
  border-radius: 8px;
	margin: 4px 2px;
	position: relative;
	width: 150px;
	display: list-item;
	border-bottom: 1px solid rgba(0,0,0,0.3);
}
nav_2 li{
float: left;
	display: inline;
	padding: 0 10px 0 10px;
}
/* Change the color of links on hover */
nav_2 a:hover {
  background-color: red;
  color: white;
}

/* Add a color to the active/current link */
nav_2 a.active {
  background-color: #100A92;
  color: white;
}

/* this resest from this point the indicated */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* Button for cards*/
/* styling the container */
.container {
  height: 100%; /* so it can show the full height*/
  display: flex; /* to center the container*/
  align-items: center; /*to cernter hotizontaly and vertically use these 2*/
  justify-content: center; /*to cernter hotizontaly and vertically use these 2*/
}

.buttons {
  display: flex;
  flex-direction: column;
}

.btn {
  text-decoration: none; /* get rid of the hyperlink blue*/
  padding: 10px 10px;
  font-size: 1.25rem;
  position: relative;
  margin: 10px;
}

/* button 1*/
.btn-1 {
  background-color: darkblue;
  color: #ffffff;
	text-align: center;
  border-radius: 15px;
  transition: transform 0.3s ease;
}
/*efects*/
.btn-1::after,
.btn-1::before {
  content: "";
  position: absolute;
  opacity: 0.3;
  background: darkblue;
  border-radius: inherit;
  width: 100%;
  height: 100%;
  left: 0;
  bottom: 0;
  z-index: -1;
  transition: transform 0.3s ease;
}

.btn-1:hover {
  transform: translate(-10px, -12px);
}

.btn-1:hover::after {
  transform: translate(6px, 6px);
}

.btn-1:hover::before {
  transform: translate(12px, 12px);
}

