*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  width: 100%;
  height: 100vh;
  background: #F2E2BA;
  background-size: 400% 400%;
  position: relative;
}

nav{
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: black;
  background-size: 400% 400%;
}

nav li{
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  cursor:pointer;
  font-size:18px;
}

.right{
  float:right;
}

.left{
  float:left;
}

a{
  background-color: inherit;
  color: inherit;
  text-decoration: none;
}

a:hover{
  color:#05fff7; 
  text-decoration:none; 
  cursor:pointer;  
}

nav ul li .active{
  background:blue;
  color: black;
  border-radius:6px;
  text-decoration: none;
}

img{
  float: right;
}

.container{
  background:inherit;
  padding: 20px;
}

/* Style the tab */
.tab{
  overflow: hidden;
  border: 1px solid #ccc;
  background: linear-gradient(90deg, #BAF2BB, #BAF2D8, #BAD7F2, #F2BAC9, #F2E2BA);
  background-size: 200%;
  animation:change 5s ease-in-out infinite;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  text-align: center;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

@keyframes change {
  0%{
      background-position: 0 50%;
  }
  50%{
      background-position: 100% 50%;
  }
  100%{
      background-position: 0 50%;
  }

}

