body {
margin: 0;
background: #e6e6e6;
}
.header {
padding: 80px;
text-align: center;
background: #7B9669;
background-image: url("/assets/images/websitebanner.png");
color: black;
display: flex;
justify-content: center;
align-items: center;
}
.banner-container {
width: 1000px;
background: #e6e6e6;
border-radius: 25px;
}
.header h1 {
font-size: 40px;
}
.navbar{
overflow: hidden;
display: flex;
justify-content: center;
background-color: #30363d;
}
.navbar a{
float: left;
display: block; 
color: white;
text-align: center;
padding: 14px 20px;
text-decoration: none;
}
.navbar a.right{
float: right;
}
.navbar a:hover {
background-color: #BAC8b1;
color: black;
}
.menu-btn {
display: none;
}
.menu-icon{
background-color: #404e3b;
display: none;
padding: 20px 20px;
cursor: pointer;
}
.menu-icon .nav-icon {
display: inline-block;
vertical-align: middle;
background: #e6e6e6;
height: 2px;
width: 18px;
display: block;
position: relative;
transition: background .2s ease-out;
}
.menu-icon .nav-icon::before,
.menu-icon .nav-icon::after {
background: #e6e6e6;
content:"";
height: 100%;
width: 100%;
position: absolute;
left: 0;
transition: background .2s ease-out;
}
.menu-icon .nav-icon::before{
top: -5px;
background: #e6e6e6;
}
.menu-icon .nav-icon::after{
top: 5px;
background: #e6e6e6;
}
.grid-container {
display: grid;
max-width: 1500px;
margin: auto;
justify-items: center;
align-items: center;
align-content: center;
gap: 1em;
padding: 20px;
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}
.flip-card {
background-color: transparent;
width: 400px;
height: 550px;
perspective: 1000px;
padding: 20px;
}
.flip-card-inner {
background-color: white;
position: relative;
width: 100%;
height: 100%;
text-align: center;
transition: transform 0.8s;
transform-style: preserve-3d;
}
.flip-card-inner .front-link {
display: none;
}
.flip-card:hover .flip-card-inner {
transform: rotateY(-180deg);
}
.flip-card-front, .flip-card-back {
position: absolute;
width: 100%;
height: 100%;
-webkit-backface-visibililty: hidden;
backface-visibility:hidden;
}
.flip-card-front {
background-color: #6c8480;
color: black;
border: 1px solid #404e3b;
}
.flip-card-front h1 {
color: white;
}
.flip-card-back {
background-color: #6c8480;
color: white;
transform: rotateY(180deg);
}
.flip-card-back p{
font-size: 18px;
text-align: center;
  margin-top: 50px;  
  max-width: 100%;
  margin-left: 10px;
  margin-right: 10px;
  box-sizing: border-box;
}
.flip-card-back a{
color: #fff;
}
.image-container {
padding: 20px;
}
.image-container img {
    float:left;
    margin-left: 30px;
    margin-right: 20px;
    max-width: 100%;
    height: auto;
}
.centerimage {
display: block;
margin: auto;
margin-bottom: 20px;
}
.project-main {
display: flex;
flex-wrap: wrap;
width: 960px;
margin: auto;
}
.text-container {
margin-left: 30px;
margin-right: 30px;
max-width: 100%;
box-sizing: border-box;
}
.text-container h2{
text-align: center;
font-size: 28px;
}
.text-container p{
font-size: 16px;
}
.small-screen-card {
display: none;
}
.small-screen-text {
display: none;
}
@media screen and (max-width: 600px) {
.flip-card{
display: none;
}
.text-container{
display: none;
}
.menu-icon {
display: flex;
justify-content: center;
background-color: #30363d;
}
.navbar{
max-height: 0;
overflow:hidden;
flex-direction: column;
transition: max-height 0.2s ease-out;
}
.menu-btn:checked ~ .navbar {
max-height: 300px;
}
.menu-btn:checked + .menu-icon .nav-icon {
background: transparent;
}
.menu-btn:checked ~ .menu-icon .nav-icon:before {
transform: rotate(45deg);
top:0;
}
.menu-btn:checked ~ .menu-icon .nav-icon:after {
transform: rotate(-45deg);
top:0;
}
.project-main {
display: flex;
flex-wrap: wrap;
width: auto;
margin: auto;
}
.small-screen-card {
display: block;
background-color: #6c8480;
color: black;
border: 1px solid #404e3b;
margin: 10px;
} 
.small-screen-card h1 {
display: block;
color: white;
text-align: center;
}
.small-screen-card img{
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px
}
.small-screen-text {
display: block;
font-size: 16px;
margin: 20px;
}
}
.footer {
padding: 20px;
background: #ddd;
text-align: center;
}
