h* {

    box-sizing: border-box;
}

body,
html {
    margin: 0;
    min-height: 100vh;
    background-image: url(https://static.igem.wiki/teams/4139/wiki/background-01.jpg);
}

body {
    font-family: 'Trebuchet MS', sans-serif;
    font-style: normal;
    font-weight: 700;
    
}

img {
    max-width: 100%;
}

header {
    background: #1972D6;
    text-align: center;
    list-style: none;
    height: 115px;
}

nav ul {
    margin: 0;
    padding: 0;
}

.primary-nav ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    justify-content: space-around;
    padding: 0px;
}

.logo {
    width: 30%;
    height: 30%;
    display: inline-flex;
    margin-left: 35%;
    margin-right: 25%;

}

.button {
    display: inline-block;
    padding: 34px 20px;
    border-style: solid;
    border-width: 10px;
    border-radius: 4px;
}

.button--blue {
    background-color: #1972D6;
    color: #FEF404;
    border-color: #1972D6;
    font-size: 24px
}

/* Dropdown Button */
.dropbtn {
    display: inline-block;
    padding: 34px 20px;
    border-style: solid;
    border-width: 10px;
    border-radius: 4px;
    background-color: #1972D6;
    color: #FEF404;
    border-color: #1972D6;
    background-color: #1972D6;
    color: #FEF404;
    border-color: #1972D6;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
    font-family: 'Trebuchet MS', sans-serif;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1972D6;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: #FEF404;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #4DA1FF;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #4DA1FF;
}

.button--light {
    background-color: #9EDD9B;
    color: #4B6C4A;
    border-color: #9EDD9B;
    margin: 10px;
    font-size: 18px;

}

.banner {
    text-align: center;
    padding: 40px;
    margin: 1;
    background: #9EDD9B;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.flex-parent {
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
    flex-direction: column;
    text-align: center;

}

footer {
    background: #4B6C4A;
    height: 115px;
    align-content: bottom;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #9EDD9B;


}

a:visited {
    text-decoration: none;
    /*text-decoration-color: none;*/
}


h1 {
    font-size: 66px;
    margin: 0px;
    color: #000000;

}

h2 {
    font-size: 40px;
    color: #4DA1FF;
}

h3 {
    font-size: 24px;
    color: #4DA1FF;
    padding: 25px 20%;
}

h4 {
    font-size: 15px;
    margin: 0px;
}

p {
    font-size: 16px;
    text-align: center;
    padding: 25px 20%;
}

/*
    padding-left: 20%;
    padding-right: 20%;
*/
.team{
     display: flex;
  flex-wrap: wrap;
  justify-content: center;
    padding: 30px;
}
.flip-card {
    background-color: transparent;
    width: 300px;
    height: 300px;
    perspective: 1000px;
    padding: 30px;
    /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;

    transition: transform 0.8s;
    transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
    background-color: #bbb;
    color: black;
}

/* Style the back side */
.flip-card-back {
    background-color: dodgerblue;
    color: white;
    transform: rotateY(180deg);
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}






